]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update Ukrainian translation
[thirdparty/glibc.git] / ChangeLog
CommitLineData
686ab290
AM
12014-08-26 Allan McRae <allan@archlinux.org>
2
6aa09f71
AM
3 * po/uk.po: Update Ukrainian translation from translation project.
4
edc0660e
AM
5 * po/fr.po: Update French translation from translation project.
6
7eea72ac
AM
7 * po/ru.po: Update Russian translation from translation project.
8
93c49eff
AM
9 * po/pl.po: Update Polish translation from translation project.
10
46acaf63
AM
11 * po/cs.po: Update Czech translation from translation project.
12
a9f5ce98
AM
13 * po/de.po: Update German translation from translation project.
14
373f2b78
AM
15 * po/bg.po: Update Bulgarian translation from translation project.
16
e7548bd8
AM
17 * po/sv.po: Update Sweedish translation from translation project.
18
c526bf4d
AM
19 * po/nl.po: Update Dutch translation from translation project.
20
686ab290
AM
21 * po/es.po: Update Spanish translation from translation project.
22
eb72478a
SP
232014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24
dd763fdb
SP
25 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26
318c7a58
SP
27 * catgets/Makefile (CPPFLAGS-gencat): Remove.
28 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29 (CPPFLAGS-iconvconfig): Likewise.
30 * timezone/Makefile (CPPFLAGS-zic): Likewise.
31
eb72478a
SP
32 * include/libc-symbols.h: Remove unnecessary check for
33 NOT_IN_libc.
34 * nptl/pthreadP.h: Likewise.
35 * sysdeps/aarch64/setjmp.S: Likewise.
36 * sysdeps/alpha/setjmp.S: Likewise.
37 * sysdeps/arm/sysdep.h: Likewise.
38 * sysdeps/i386/setjmp.S: Likewise.
39 * sysdeps/m68k/setjmp.c: Likewise.
40 * sysdeps/posix/getcwd.c: Likewise.
41 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43 * sysdeps/s390/s390-32/setjmp.S: Likewise.
44 * sysdeps/s390/s390-64/setjmp.S: Likewise.
45 * sysdeps/sh/sh3/setjmp.S: Likewise.
46 * sysdeps/sh/sh4/setjmp.S: Likewise.
47 * sysdeps/unix/alpha/sysdep.h: Likewise.
48 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
49 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
51 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
60 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61 * sysdeps/x86_64/setjmp.S: Likewise.
62
d44a052c
JM
632014-08-13 Joseph Myers <joseph@codesourcery.com>
64
65 [BZ #17263]
66 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
67 <stdint.h>.
68 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
69 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
70
508ce3ac
SP
712014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
72
e44c8b0e
SP
73 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
74
508ce3ac
SP
75 [BZ #17262]
76 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
77 and __x86_64__ when disabling x87 inline functions.
78
b4acef1f
L
792014-08-12 H.J. Lu <hongjiu.lu@intel.com>
80
81 [BZ #17259]
82 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
83 asm statement with __cpuid_count.
84
61b1ef6e
MF
852014-08-12 Mike Frysinger <vapier@gentoo.org>
86
87 * configure.ac: Change __ehdr_start code to dereference the struct.
88 Run readelf on the output to look for relocations.
89 * configure: Regenerated.
90
898c62f4
JM
912014-08-12 Joseph Myers <joseph@codesourcery.com>
92
93 [BZ #17261]
94 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
95 value to 0.
96 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
97
9a8a5720
RM
982014-08-12 Roland McGrath <roland@hack.frob.com>
99
100 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
101
4e75751c
BO
1022014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
103
104 [BZ #16892]
105 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
106 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
107
bb2ce416
SA
1082014-08-12 Sean Anderson <seanga2@gmail.com>
109
110 * malloc/malloc.c: Fix typo in comment.
111
7950a4ee
AM
1122014-08-09 Allan McRae <allan@archlinux.org>
113
114 * Regenerate libc.po.
115
f469c49f
MF
1162014-08-08 Mike Frysinger <vapier@gentoo.org>
117
118 * intl/tst-gettext2.sh: Check every lang file for creation.
119
656b84c2
WD
1202014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
121
122 * sysdeps/aarch64/fpu/math_private.h
123 (libc_feholdsetround_noex_aarch64_ctx): New function.
124
538e9e45
W
1252014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
126
127 * sysdeps/arm/armv6/strcpy.S (strcpy):
128 Fix performance issue in misaligned cases.
129
d4795e4a
AZ
1302014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
131
132 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
133 Move definition from termios.h.
134 (struct termio): Likewise.
135 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
136 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
137 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
138 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
139 Likewise.
140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
141 Move definition to ioctl-types.h
142 (struct termio): Likewise.
143 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
144 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
145 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
146 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
147 Likewise.
148
64accb62
RH
1492014-08-05 Richard Henderson <rth@redhat.com>
150
27bb6dc0
RH
151 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
152 exceptions.
153 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
154 Add fraiseexcpt.
155 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
156 Use __feraiseexcept.
157 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
158 Protect libm symbols with IS_IN_libm.
159
64accb62
RH
160 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
161
e5292691
BO
1622014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
163
164 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
165
5b4bd2d4
WN
1662014-08-04 Will Newton <will.newton@linaro.org>
167
168 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
169 file.
170
fcadaeef
MF
1712014-08-04 Mike Frysinger <vapier@gentoo.org>
172
173 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
174 variants for each function.
175
43a94c64
RM
1762014-08-04 Roland McGrath <roland@hack.frob.com>
177
178 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
179 appended ...
180 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
181 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
182 appended ...
183 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
184 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
185 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
186 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
187 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
188 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
189 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
190 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
191 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
192 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
194 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
196 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
198 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
200 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
202 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
204 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
206 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
208 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
210 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
212 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
214 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
215 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
216 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
217 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
218 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
219 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
220 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
221 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
222 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
223 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
224 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
225 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
226 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
227 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
228 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
229 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
230 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
231 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
232 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
233 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
234 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
235 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
236 Update #include.
237 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
238 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
239
8f3c1fa4
RM
2402014-08-04 Roland McGrath <roland@hack.frob.com>
241
242 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
243 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
244 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
245 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
246 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
247 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
248
ca08746f
RM
2492014-08-04 Roland McGrath <roland@hack.frob.com>
250
251 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
252 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
253 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
254 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
255
9c925ff9
RM
2562014-08-04 Roland McGrath <roland@hack.frob.com>
257
258 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
259 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
260 (__libc_vfork): Define function under this name.
261 (__vfork): Define as an alias.
262 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
263 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
264
e641054c
RM
2652014-08-04 Roland McGrath <roland@hack.frob.com>
266
267 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
268 that was previously under [RESET_PID].
269 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
270
dacdc867
AS
2712014-08-04 Andreas Schwab <schwab@suse.de>
272
273 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
274
41f725ff
MF
2752014-08-03 Mike Frysinger <vapier@gentoo.org>
276
277 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
278 (main): Likewise.
279
277cfb31
RM
2802014-08-01 Roland McGrath <roland@hack.frob.com>
281
282 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
283
4896f049
RH
2842014-08-01 Richard Henderon <rth@redhat.com>
285
286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
287 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
288 typo in exact zero test.
289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
292
6f64e7d7
RM
2932014-08-01 Roland McGrath <roland@hack.frob.com>
294
295 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
296 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
297 * sysdeps/arm/sysdep.h: ... here.
298 [!__ASSEMBLER__]: Include <stdint.h>.
299
3f3dd810
SP
3002014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
301
a476ac4b
SP
302 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
303 (HAVE_WCTYPE_H): Likewise.
304 (HAVE_ISWCTYPE): Likewise.
305 (ENABLE_NLS): Likewise.
306 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
307 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
308
78dd658a
SP
309 * posix/regex_internal.c: Check if DEBUG is defined and is
310 set.
311
3f3dd810
SP
312 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
313 (HAVE_MBSRTOWCS): Likewise.
314 * posix/fnmatch.c: Include string.h unconditionally.
315
95ee7fb1
SL
3162014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
317
318 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
319 reversal.
320
23fe486b
RM
3212014-07-31 Roland McGrath <roland@hack.frob.com>
322
f61a113f
RM
323 * sysdeps/generic/safe-fatal.h: New file.
324 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
325 * nptl/forward.c: Include it.
326 (__pthread_unwind): Use __safe_fatal as default action, rather
327 than a bogus use of INTERNAL_SYSCALL that could never work.
328
9fe7e787
RM
329 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
330 * configure.ac (libc_cv_builtin_trap): New test.
331 * configure: Regenerated.
332 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
333 (ABORT_INSTRUCTION): Define using __builtin_trap.
334
23fe486b
RM
335 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
336 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
337 * sysdeps/nptl/nptl-signals.h: New file.
338 * nptl/pthreadP.h: Include <nptl-signals.h>.
339
f349489e
SL
3402014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
341
342 * sysdeps/s390/s390-64/utf16-utf32-z9.c
343 (ONE_DIRECTION): Define.
344 * sysdeps/s390/s390-64/utf8-utf16-z9.c
345 (ONE_DIRECTION): Define.
346 * sysdeps/s390/s390-64/utf8-utf32-z9.c
347 (ONE_DIRECTION): Define.
348
2f438e20
SL
3492014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
350
351 * sysdeps/s390/Makefile: Delete file.
352 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
353 * sysdeps/s390/__longjmp.c: Delete file.
354 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
355 Remove fields __flags and __reserved.
356 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
357 and add versioning.
358 * sysdeps/s390/rtld-__longjmp.c: Delete file.
359 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
360 * sysdeps/s390/rtld-setjmp.S: Likewise.
361 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
362 * sysdeps/s390/s390-32/__longjmp.c: ... here.
363 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
364 * sysdeps/s390/s390-32/setjmp.S: ... here.
365 Add versioning.
366 (__sigsetjmp): Remove setting __flags field.
367 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
368 * sysdeps/s390/s390-64/__longjmp.c: ... here.
369 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
370 * sysdeps/s390/s390-64/setjmp.S: ... here.
371 Add versioning.
372 (__sigsetjmp): Remove setting __flags field.
373 * sysdeps/s390/setjmp.S: Delete file.
374 * sysdeps/s390/sigjmp.c: Likewise.
375 * sysdeps/s390/v1-longjmp.c: Likewise.
376 * sysdeps/s390/v1-setjmp.h: Likewise.
377 * sysdeps/s390/v1-sigjmp.c: Likewise.
378 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
379 Remove v1-longjmp_chk.
380 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
381 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
382 Include debug/longjmp_chk.c and add versioning.
383 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
384 Include nptl/pt-longjmp.c and add versioning.
385 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
386 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
387 Include __longjmp.c.
388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
389 Move to ...
390 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
391 (__getcontext): Remove setting __flags field.
392 Add versioning.
393 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
394 Don't restore upper high grps.
395 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
396 Likewise.
397 (__swapcontext): Remove setting uc_flags field.
398 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
399 Delete file.
400 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
401 Include __longjmp.c.
402 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
403 Move to ...
404 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
405 (__getcontext): Remove setting __flags field.
406 Add versioning.
407 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
408 (__swapcontext): Remove setting uc_flags field.
409 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
411 Remove fields uc_high_gprs and __reserved.
412 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
413 New file with reverted content.
414 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
415 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
416 Regenerated.
417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
418 Regenerated.
419
6c9578a2
AS
4202014-07-31 Andreas Schwab <schwab@suse.de>
421
422 * config.h.in (HAVE_IFUNC): Define to 0.
423 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
424 definedness.
425
05f3633d
LM
4262014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
427
428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
429 memmove-avx-unaligned, memcpy-avx-unaligned and
430 mempcpy-avx-unaligned.
431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
432 Add tests for AVX memcpy functions.
433 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
434 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
435 memcpy_chk.
436 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
437 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
438 memmove_chk.
439 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
440 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
441 mempcpy_chk.
442 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
443 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
444 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
445
a53fbd8e
AZ
4462013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
447
448 [BZ #17213]
449 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
450 powerpc64le.
451
0961f7e1
JL
4522014-07-29 Jeff Layton <jlayton@poochiereds.net>
453
454 [BZ #16839]
455 * manual/llio.texi: Add section about open file description locks.
456 * manual/examples/ofdlocks.c: Example of open file description
457 lock usage.
458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
459 F_OFD_SETLK, and F_OFD_SETLKW.
460
cc5fb300
AM
4612014-07-23 Allan McRae <allan@archlinux.org>
462
463 * po/es.po: Update Spanish translation from translation project.
464
23329dca
AS
4652014-07-18 Andreas Schwab <schwab@linux-m68k.org>
466
467 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
468
9c82da17
MR
4692014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
470
471 [BZ #17078]
472 * sysdeps/arm/dl-machine.h (elf_machine_rela)
473 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
474 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
475
29c4f53e
JM
4762014-07-17 Joseph Myers <joseph@codesourcery.com>
477
831b9896
JM
478 [BZ #17088]
479 * math/fesetenv.c (__fesetenv)
480 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
481 * math/feupdateenv.c (__feupdateenv)
482 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
483
b21c2d50
JM
484 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
485 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
486 (__ASSUME_SOCKETCALL): Do not define.
487
067764ef
JM
488 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
489 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
490 (__ASSUME_SOCKETCALL): Do not define.
491 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
492 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
493 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
494 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
495 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
496 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
497 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
498 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
499
642530c1
JM
500 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
501 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
502 (__ASSUME_SOCKETCALL): Do not define.
503 (__ASSUME_IPC64): Define unconditionally.
504 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
505 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
506 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
507 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
508 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
509 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
510 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
511 Likewise.
512
03f77315
JM
513 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
514 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
515 (__ASSUME_SOCKETCALL): Do not define.
516 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
517 (__ASSUME_FUTEX_LOCK_PI): Likewise.
518 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
519 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
520 (__ASSUME_REQUEUE_PI): Define unconditionally.
521 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
522 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
523 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
524 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
526 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
527
083b1f7c
JM
528 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
529 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
530 (__ASSUME_SOCKETCALL): Do not define.
531 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
532 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
533 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
534 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
535 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
536 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
537
5be44ea6
JM
538 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
539 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
540 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
541 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
542 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
543 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
544 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
545 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
546 (__ASSUME_GETCPU_SYSCALL): Likewise.
547
d95ffd4c
JM
548 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
549 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
550 cases for individual architectures.
551 * sysdeps/gnu/configure: Regenerated.
552 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
553 LIBC_SLIBDIR_RTLDDIR.
554 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
555 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
556 LIBC_SLIBDIR_RTLDDIR.
557 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
559 LIBC_SLIBDIR_RTLDDIR.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
561 Regenerated.
562 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
563 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
564 file.
565 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
566 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
567 file.
568 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
569 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
570 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
571 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
572
29c4f53e
JM
573 * sysdeps/aarch64/shlib-versions: Move to ...
574 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
575 * sysdeps/alpha/shlib-versions: Move to ...
576 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
577 * sysdeps/arm/shlib-versions: Move to ...
578 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
579 * sysdeps/hppa/shlib-versions: Move all contents except for
580 libgcc_s entry to ...
581 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
582 entry from ...
583 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
584 * sysdeps/ia64/shlib-versions: Move to ...
585 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
586 entry from ...
587 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
588 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
589 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
590 * sysdeps/microblaze/shlib-versions: Move to ...
591 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
592 * sysdeps/mips/shlib-versions: Move to ...
593 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
594 entry from ...
595 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
596 * sysdeps/tile/shlib-versions: Move to ...
597 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
598 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
599 from ...
600 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
601 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
602 entry from ...
603 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
604
32bead5b
WN
6052014-07-17 Will Newton <will.newton@linaro.org>
606
57977c4b
WN
607 * sysdeps/arm/bits/atomic.h
608 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
609 (__arch_compare_and_exchange_bool_16_int): Likewise.
610 (__arch_compare_and_exchange_bool_64_int): Likewise.
611
32bead5b
WN
612 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
613 into an #else block.
614
37fccd41
RM
6152014-07-16 Roland McGrath <roland@hack.frob.com>
616
617 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
618 just Linux configurations. Test empirically that the compiler sets
619 __ARM_EABI__, rather than using the tuple to decide.
620 * sysdeps/arm/preconfigure: Regenerated.
621 * sysdeps/unix/sysv/linux/arm/configure: File removed.
622 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
623 contents appended ...
624 * sysdeps/arm/configure.ac: ... here.
625 * sysdeps/arm/configure: Regenerated.
626
b365f3ec
RM
6272014-07-15 Roland McGrath <roland@hack.frob.com>
628
8badf496
RM
629 * nptl/pthread_kill.c: New file.
630 * nptl/pthread_sigmask.c: New file.
631 * nptl/pthread_sigqueue.c: New file.
632
3df6f22e
RM
633 * sysdeps/nptl/lowlevellock.h: New file.
634 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
635 * sysdeps/nptl/lowlevellock-futex.h: New file.
636
b365f3ec
RM
637 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
638 Remove dead declarations.
639
f2fef657
L
6402014-07-14 H.J. Lu <hongjiu.lu@intel.com>
641
642 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
643 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
644 config-cflags-avx2.
645 * sysdeps/x86_64/configure.ac: Likewise.
646 * sysdeps/i386/configure: Regenerated.
647 * sysdeps/x86_64/configure: Likewise.
648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
649 memset-avx2 only if config-cflags-avx2 is yes.
650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
651 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
652 defined.
653 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
654 only if HAVE_AVX2_SUPPORT is defined.
655 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
656
f6c44d47
AM
6572014-07-14 Alan Modra <amodra@gmail.com>
658
659 [BZ #17153]
660 * elf/elf.h (DT_PPC64_NUM): Correct value.
661 * NEWS: Add to fixed bug list.
662
7ee03f00
JM
6632014-07-13 Jim Meyering <meyering@fb.com>
664
665 [BZ 17150]
666 regex: don't deref NULL upon heap allocation failure
667 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
668 failure in one more place.
669 To trigger the segfault, configure grep -with-included-regex,
670 build it, and run these commands:
671 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
672
9d39d517
AS
6732014-07-13 Andreas Schwab <schwab@linux-m68k.org>
674
675 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
676
a75b89b7
RH
6772014-07-11 Richard Henderson <rth@redhat.com>
678
679 * sysdeps/aarch64/libm-test-ulps: Update.
680
771eb141
FW
6812014-07-10 Florian Weimer <fweimer@redhat.com>
682
683 [BZ #17135]
684 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
685 * nptl/allocatestack.c (__nptl_setxid_error): New function.
686 (__nptl_setxid): Initialize error member. Call
687 __nptl_setxid_error.
688 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
689 * nptl/descr.h (struct xid_command): Add error member.
690 * nptl/tst-setuid3.c: New file.
691 * nptl/Makefile (tests): Add it.
692
bc1da176
AZ
6932014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694
695 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
696 New define.
697 (__lll_trylock): Use __lll_base_trylock.
698 (__lll_cond_trylock): Likewise.
699
887865fc
RM
7002014-07-10 Roland McGrath <roland@hack.frob.com>
701
c0c6bac9
RM
702 * nptl/pthread_create.c (start_thread): Use atomic_or and
703 lll_futex_wake directly rather than lll_robust_dead.
704 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
705 (lll_robust_dead): Macro removed.
6a42be57 706 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
707 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
708 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
709 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
710 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
711 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
712 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
713 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
714 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
716 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
717 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
719 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
721
887865fc
RM
722 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
723 Use atomic_compare_and_exchange_val_acq directly rather than
724 lll_robust_trylock.
725 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
726 (__lll_robust_trylock, lll_robust_trylock): Removed.
727 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
728 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
729 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
731 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
732 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
733 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
734 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
736 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
737 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
738 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
740 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
741
58536726
FW
7422014-07-02 Florian Weimer <fweimer@redhat.com>
743
744 * manual/locale.texi (Locale Names): New section documenting
745 locale name syntax. Adjust menu and node chaining accordingly.
746 (Choosing Locale): Reference Locale Names, Locale Categories.
747 Mention setting LC_ALL=C. Reflect that name syntax is now
748 documented.
749 (Locale Categories): New section title. Reference Locale Names.
750 LC_ALL is an environment variable, but not a category.
751 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
752 description, now in Locale Name. Reference that section. Locale
753 name syntax is now documented.
754
4e8f95a0
FW
7552014-07-02 Florian Weimer <fweimer@redhat.com>
756
757 [BZ #17137]
758 * locale/findlocale.c (name_present, valid_locale_name): New
759 functions.
760 (_nl_find_locale): Use the loc_name variable to store name
761 candidates. Call name_present and valid_locale_name to check and
762 validate locale names. Return an error if the locale is invalid.
763
d1836456
FW
7642014-07-02 Florian Weimer <fweimer@redhat.com>
765
766 * locale/setlocale.c (setlocale): Use strdup for allocating
767 composite name copy.
768
d69b7f5a
SP
7692014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
770
888c679b
SP
771 Sync up with gnulib.
772 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
773 [!_LIBC && ENABLE_NLS]: Include gettext.h.
774 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
775 and _GL_ARG_NONNULL.
776 [USE_UNLOCKED_IO]: Include unlocked-io.h.
777 [!_LIBC]: Include code for Windows and Cygwin.
778 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
779 Include prototype for int strerror_r.
780 [!_LIBC] (is_open): New function.
781 (flush_stdout): New function.
782 (print_errno_message): Use it.
783 (error): Likewise.
784 (error_at_line): Likewise.
785 (error_tail) Add function attribute macros. Use
786 __builtin_expect.
787
180e0e4b
SP
788 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
789
d22f1fe2
SP
790 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
791
12f2254b
SP
792 * io/ftw.c: Include sys/param.h unconditionally.
793
c3c7c360
SP
794 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
795
d62aa75a
SP
796 [BZ #17125]
797 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
798 libc_freeres_ptr.
799 (freecache): New function to free CACHE on exit.
800
d69b7f5a
SP
801 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
802 initialization.
803
5efe06a1
DM
8042014-07-09 David S. Miller <davem@davemloft.net>
805
806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
807
7000d82e
DM
808 * sysdeps/sparc/nptl/internaltypes.h: Delete.
809 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
810 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
811 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
812 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
813 * sysdeps/sparc/nptl/sem_init.c: Likewise.
814 * sysdeps/sparc/nptl/sem_post.c: Likewise.
815 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
816 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
817 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
818 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
819 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
820 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
821
c213442d
AS
8222014-07-09 Andreas Schwab <schwab@suse.de>
823
4a2552c3
AS
824 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
825 output.
826 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
827 (do_test): Likewise.
828
c213442d
AS
829 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
830
82374e65
WN
8312014-07-09 Will Newton <will.newton@linaro.org>
832
833 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
834 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
835 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
836 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
837 * sysdeps/hppa/start.S (_start): Likewise.
838
6680738a
SP
8392014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
840
6ee3eab4
SP
841 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
842
6680738a
SP
843 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
844 defined.
845
80b5c505
SP
8462014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
847
e35c53e3
SP
848 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
849 after checking that it is non-NULL.
850
80b5c505
SP
851 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
852
91f4b564
AZ
8532014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
854
27b75f56
AZ
855 * sysdeps/powerpc/memmove.c: Remove file.
856 * sysdeps/powerpc/powerpc32/power4/memcopy.h
857 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
858 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
859 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
860 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
861 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
862 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
863 string memmove instead of removed powerpc one.
864
e7f95bb5
AZ
865 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
866 [weak_alias]: Fix compiler warning due trailing data.
867 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
868 [weak_alias]: Likewise.
869 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
870 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
871
91f4b564
AZ
872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
873 (__libc_ifunc_impl_list): Add memmove functions.
874
7c33f1e5
SP
8752014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
876
877 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
878 Remove code.
879 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
880 Likewise
881 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
882 Likewise
883 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
884 Likewise
885 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
886 Likewise
887 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
888 Likewise
889 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
890 Likewise
891 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
892 Likewise
893 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
894 Likewise
895 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
896 Likewise
897 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
898 Likewise
899 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
900 Likewise
901 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
902 Likewise
903 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
904 Likewise
905 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
906 Likewise
907 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
908 Likewise
909 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
910 Likewise
911
3f17b03b
AZ
9122014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913
87868c24
AZ
914 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
915 to avoid alignment traps in non-cacheable memory.
916 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
917
07aedd78
AZ
918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
919 multiarch objects.
920 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
921 file: multiarch power7 memmove.
922 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
923 multiarch default memmove.
924 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
925 multiarch memove for powerpc32/power4.
926
17762f66
AZ
927 * string/bcopy.c: Use full path to include memmove.c.
928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
929 multiarch objects.
930 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
931 bcopy for powerpc64.
932 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
933 bcopy for powerpc64.
934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
935 and memmove implementations.
936 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
937 optimized multiarch memmove for POWER7/powerpc64.
938 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
939 default multiarch memmove for powerpc64.
940 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
941 multiarch for powerpc64.
942 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
943 for POWER7/powerpc64.
944 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
945 memmove for POWER7/powerpc64.
946
d6f68bbe
AZ
947 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
948 glibc default one.
949
3f17b03b
AZ
950 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
951 __ELF_NATIVE_CLASS equal to 64.
952
08192659
RM
9532014-07-07 Roland McGrath <roland@hack.frob.com>
954
f4c4021b
RM
955 * sysdeps/nptl/lowlevellock.h: File removed.
956
f083450f
RM
957 * NEWS: NPTL is no longer an add-on!
958 * nptl/internaltypes.h: Moved ...
959 * sysdeps/nptl/internaltypes.h: ... here.
960 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
961 * sysdeps/nptl/fork.c: Likewise.
962 * sysdeps/nptl/gai_misc.h: Likewise.
963 * sysdeps/nptl/librt-cancellation.c: Likewise.
964 * sysdeps/nptl/jmp-unwind.c: Likewise.
965 * sysdeps/nptl/setxid.h: Likewise.
966 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
967 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
968 * sysdeps/unix/sysv/linux/arm/Implies: New file.
969 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
970 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
971 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
972 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
973 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
974 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
975 * sysdeps/unix/sysv/linux/mips/Implies: New file.
976 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
977 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
978 * sysdeps/unix/sysv/linux/sh/Implies: New file.
979 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
980 * sysdeps/unix/sysv/linux/tile/Implies: New file.
981 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
982 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
983 * nptl/Makeconfig: Moved ...
984 * sysdeps/nptl/Makeconfig: ... here.
985 * nptl/configure: File removed.
986 * nptl/ANNOUNCE: File removed.
987 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
988 * sysdeps/unix/sysv/linux/configure: Regenerated.
989
08192659
RM
990 * nptl/Makefile (routines): Add libc_pthread_init,
991 libc_multiple_threads, register-atfork and unregister-atfork.
992 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
993 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
994 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
995 pthread-pi-defines.sym, structsem.sym.
996 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
997 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
998 [$(subdir) = nptl] (tests): Add tst-setgetname.
999 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1000 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1001 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1002 [!LIBC_SIGACTION]: Remove aliases.
1003 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1004 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1005 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1006 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1007 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1008 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1009 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1011 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1012 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1013 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1014 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1015 __libc_allocate_rtsig_private.
1016 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1017 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1018 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1019 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1020 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1021 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1022 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1023 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1024 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1025 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1026 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1027 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1028 * nptl/internaltypes.h: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1030 * sysdeps/nptl/jmp-unwind.c: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1032 * nptl/libc-lowlevellock.c: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1034 * nptl/libc_multiple_threads.c: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1036 * nptl/libc_pthread_init.c: ... here.
1037 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1038 * nptl/lowlevelbarrier.sym: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1040 * nptl/lowlevelcond.sym: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1042 * nptl/lowlevellock.c: ... here.
1043 * nptl/lowlevellock.h: Moved ...
1044 * sysdeps/nptl/lowlevellock.h: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1046 * nptl/lowlevelrobustlock.c: ... here.
1047 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1048 * nptl/lowlevelrobustlock.sym: ... here.
1049 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1050 * nptl/lowlevelrwlock.sym: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1052 * nptl/pt-fork.c: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1054 * nptl/pthread-pi-defines.sym: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1056 * nptl/pthread_attr_getaffinity.c: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1058 * nptl/pthread_attr_setaffinity.c: ... here.
1059 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1060 * nptl/pthread_mutex_cond_lock.c: ... here.
1061 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1062 Update #include.
1063 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1064 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1065 * nptl/pthread_once.c: ... here, replacing old file.
1066 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1067 * nptl/pthread_yield.c: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1069 * nptl/register-atfork.c: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1071 * nptl/sem_post.c: ... here.
1072 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1073 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1074 * nptl/sem_timedwait.c: ... here.
1075 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1076 * nptl/sem_trywait.c: ... here.
1077 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1078 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1079 * nptl/sem_wait.c: ... here.
1080 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1081 * nptl/structsem.sym: ... here.
1082 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1083 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1084 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1085 * nptl/unregister-atfork.c: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1087 * nptl/unwindbuf.sym: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1089 * sysdeps/nptl/fork.c: ... here.
1090 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1091 * sysdeps/nptl/fork.h: ... here.
1092 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1093 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1094 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1096 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1098 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1100 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1102 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1104 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1106 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1108 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1110 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1112 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1114 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1116 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1118 * sysdeps/unix/sysv/linux/raise.c: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1120 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1122 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1124 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1126 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1128 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1129 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1130 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1132 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1133 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1134
96baf6ff
SP
11352014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1136
1137 * sysdeps/generic/memcopy.h: Add comment for
1138 MEMCPY_OK_FOR_FWD_MEMMOVE.
1139
6b7b14b2
WN
11402014-07-04 Will Newton <will.newton@linaro.org>
1141
1570a72b
WN
1142 * string/memchr.c: Merge from gnulib.
1143 [_LIBC]: Remove conditionals.
1144 (__ptr_t): Remove define.
1145 (LONG_MAX_32_BITS): Likewise.
1146 (LONG_MAX): Likewise.
1147 (MEMCHR): Use ANSI prototype and optimize algorithm.
1148
6b7b14b2
WN
1149 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1150
38851324
SP
11512014-07-03 Roland McGrath <roland@hack.frob.com>
1152
3d9eb57c
RM
1153 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1154 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1155
78b984ae
RM
1156 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1157 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1158 in a bare environment with no <stdlib.h> installed.
1159 * sysdeps/nptl/configure: Regenerated.
1160
2d5976a5
RM
1161 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1162
c1f5acd4
RM
1163 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1164 AC_EGREP_CPP for kernel header checks, so they only succeed if
1165 including <linux/version.h> actually works right.
1166 * sysdeps/unix/sysv/linux/configure: Regenerated.
1167
4d614fe5
RM
1168 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1169 value so it's not diagnosed as unused.
1170
38851324
SP
1171 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1172 thing) with "ifeq ($(subdir),rt)".
1173
b3ec00e5
RH
11742014-07-03 Richard Henderson <rth@redhat.com>
1175
69862e25
RH
1176 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1177 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1178 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1179
d5e16ade
RH
1180 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1181 (math_force_eval): New.
1182
ca7b945c
RH
1183 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1184 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1185
cd1175a3
RH
1186 * sysdeps/alpha/fpu/s_round.c: Remove file.
1187 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1188
b3ec00e5
RH
1189 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1190 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1191 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1192 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1193 (_dl_start, print_statistics): Likewise.
1194 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1195 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1196
1197 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1198 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1199 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1200 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1201 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1202 (HP_SMALL_TIMING_AVAIL): Define.
1203 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1204 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1205 (HP_SMALL_TIMING_AVAIL): Define.
1206 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1207 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1208
1209 * sysdeps/aarch64/hp-timing.h: New file.
1210
1211 * sysdeps/generic/hp-timing.h: Remove dead comment.
1212 * sysdeps/generic/hp-timing-common.h: New file.
1213 * sysdeps/alpha/hp-timing.h: Include it.
1214 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1215 * sysdeps/i386/i686/hp-timing.h: Likewise.
1216 * sysdeps/ia64/hp-timing.h: Likewise.
1217 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1218 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1220 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1221 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1222 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1223 (hp_timing_t): New.
1224
1225 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1226 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1227 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1228 * elf/rtld.c (_dl_start_final): Likewise.
1229 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1230 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1231 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1232 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1233 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1235 (HP_TIMING_DIFF_INIT): Remove.
1236 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1237 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1238 (HP_TIMING_DIFF_INIT): Remove.
1239 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1240 * sysdeps/i386/i686/hp-timing.c: Remove file.
1241 * sysdeps/x86_64/hp-timing.c: Remove file.
1242 * sysdeps/ia64/hp-timing.c: Remove file.
1243 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1244 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1246 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1247
1248 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1249 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1250 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1251 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1252 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1253 (HP_TIMING_ACCUM): Remove.
1254 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1255 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1256 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1257
1258 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1259 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1260 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1261 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1262 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1263 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1264 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1265 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1266
1267 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1268
225f410f
MR
12692014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1270
1271 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1272
3247f285
SP
12732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1274
1275 Sync up with gettext.
1276 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1277 [_MSC_VER]: Include malloc.h
1278 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1279 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1280 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1281 TEMP_FAILURE_RETRY. Cast return of alloca.
1282 [!_LIBC] Call gl_rwlock_init.
1283 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1284
d12704c7
SP
12852014-07-02 Roland McGrath <roland@hack.frob.com>
1286
1287 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1288 before checking its value.
1289
99f8dc92
SP
12902014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1291
05fdac77
SP
1292 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1293
99f8dc92
SP
1294 * debug/memcpy_chk.c: Don't include pagecopy.h.
1295 * debug/mempcpy_chk.c: Likewise.
1296 * string/memcpy.c: Likewise.
1297 * string/memmove.c: Likewise.
1298 * sysdeps/powerpc/memmove.c: Likewise.
1299 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1300 definition of PAGE_COPY_FWD_MAYBE here...
1301 * sysdeps/generic/pagecopy.h: ... from here.
1302 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1303
bc8ea385
VR
13042014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1305 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306
1307 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1309 optimizations.
1310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1311 (__libc_ifunc_impl_list): Likewise.
1312 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1313 multiarch strcat for PPC64.
1314 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1315 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1316
fe5f34e4
RM
13172014-07-02 Roland McGrath <roland@hack.frob.com>
1318
1319 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1320
256aa665
SP
13212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1322
d4eb8195
SP
1323 * intl/loadmsgcat.c: Remove declaration of
1324 get_sysdep_segment_value.
1325 (get_sysdep_segment_value): Use ISO C style.
1326 (_nl_load_domain): Use ISO C style. Get rid of redundant
1327 semicolon. Fix typo and formatting in comment.
1328 (_nl_unload_domain): Use ISO C style.
1329
256aa665
SP
1330 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1331
b100f9aa
WN
13322014-07-02 Will Newton <will.newton@linaro.org>
1333
1334 * malloc/obstack.c: Merge from gnulib master.
1335 [HAVE_CONFIG_H]: Remove conditional code.
1336 [!_LIBC]: Include config.h.
1337 [!ELIDE_CODE]: Don't include inttypes.h, include
1338 stdint.h unconditionally.
1339 (print_and_abort): Mark as _Noreturn.
1340 (_obstack_allocated_p): Mark as __attribute_pure__.
1341 (obstack_free): Rename to __obstack_free.
1342 [!__attribute__]: Remove conditional code.
1343 * malloc/obstack.h: Merge from gnulib master.
1344 [__cplusplus]: Move conditional down.
1345 [!__attribute_pure__]: Define __attribute_pure__ here
1346 if it is not already defined.
1347 (_obstack_memory_used): Mark as __attribute_pure__.
1348 [!__obstack_free]: Define as obstack_free.
1349 [__GNUC__]: Remove check for ancient NeXT gcc.
1350
c4c41244
PE
13512014-07-02 Will Newton <will.newton@linaro.org>
1352 Paul Eggert <eggert@cs.ucla.edu>
1353
1354 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1355
e1e041c4
SP
13562014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1357
1358 * resolv/gethnamaddr.c: Add comment warning that the file is
1359 not maintained.
1360
ccf431ff
CD
13612014-07-01 Carlos O'Donell <carlos@redhat.com>
1362
d34570a6
CD
1363 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1364 entries.
1365
ccf431ff
CD
1366 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1367 entry for aio_cancel and aio_cancel64.
1368 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1369 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1370 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1371 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1372 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1373 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1374 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1375 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1376 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1377 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1378 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1379 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1380 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1381
ca06321d
RM
13822014-07-01 Roland McGrath <roland@hack.frob.com>
1383
1384 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1385 * nptl/pthread_mutex_lock.c: Likewise.
1386 * nptl/pthread_mutex_timedlock.c: Likewise.
1387 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1388
a1ac3184
RH
13892014-07-01 Richard henderson <rth@redhat.com>
1390
631021e0
RH
1391 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1392 (__isnan, __isnanl): Remove.
1393 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1394
a1ac3184
RH
1395 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1396
0c1d731f
SL
13972014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1398
1399 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1400
76985d3e
SP
14012014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1402
1403 * resolv/nss_dns/dns-host.c (getanswer_r)
1404 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1405
b0cb3096
JM
14062014-07-01 Joseph Myers <joseph@codesourcery.com>
1407
1408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1409 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1410 undefine.
1411 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1412 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1413
4d76cb39
RM
14142014-07-01 Roland McGrath <roland@hack.frob.com>
1415
1416 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1417 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1418
1419 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1420 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1421
1422 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1423 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1424 ... here.
1425 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1426 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1427
1428 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1429 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1430 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1431 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1432
1433 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1434 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1435 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1436 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1438 Moved ...
1439 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1440 ... here.
1441 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1456 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1460 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1461 ... here.
1462 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1465 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1466 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1467 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1468 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1469 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1470
0cdcad17
DH
14712014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1472
1473 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1474 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1475 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1476 Add sysdep.
1477
9b71d0e3
AZ
14782014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479
1480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1481
665390c2
JM
14822014-06-30 Joseph Myers <joseph@codesourcery.com>
1483
ae05a9d7
JM
1484 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1485 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1486
a7672a2f
JM
1487 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1488
665390c2
JM
1489 * sysdeps/arm/libm-test-ulps: Regenerated.
1490
d7a05d07
MR
14912014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1492 Roland McGrath <roland@hack.frob.com>
1493
1494 * test-skeleton.c (signal_handler): Kill the whole process group
1495 before killing the child individually.
1496 (main): Report any failure on `setpgid'.
1497
46f1d8a6
RM
14982014-06-30 Roland McGrath <roland@hack.frob.com>
1499
1500 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1501 from _TLS_H to _ARM_NPTL_TLS_H.
1502 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1503 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1504
9c37ec0b
JM
15052014-06-30 Joseph Myers <joseph@codesourcery.com>
1506
ce9c5b3e
JM
1507 [BZ #16539]
1508 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1509 (__expm1l): Return argument unchanged when small but not
1510 subnormal.
1511
3a6e9887
JM
1512 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1513 include macro name.
1514 (_FP_UNPACK_RAW_1_P): Likewise.
1515 (_FP_PACK_RAW_1): Likewise.
1516 (_FP_PACK_RAW_1_P): Likewise.
1517 (_FP_MUL_MEAT_1_wide): Likewise.
1518 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1519 (_FP_MUL_MEAT_1_hard): Likewise.
1520 (_FP_DIV_MEAT_1_imm): Likewise.
1521 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1522 (_FP_DIV_MEAT_1_udiv): Likewise.
1523 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1524 (_FP_UNPACK_RAW_2): Likewise.
1525 (_FP_UNPACK_RAW_2_P): Likewise.
1526 (_FP_PACK_RAW_2): Likewise.
1527 (_FP_PACK_RAW_2_P): Likewise.
1528 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1529 (_FP_MUL_MEAT_2_wide): Likewise.
1530 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1531 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1532 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1533 (_FP_MUL_MEAT_2_gmp): Likewise.
1534 (_FP_DIV_MEAT_2_udiv): Likewise.
1535 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1536 (_FP_FRAC_SRL_4): Likewise.
1537 (_FP_FRAC_SRST_4): Likewise.
1538 (_FP_FRAC_SRS_4): Likewise.
1539 (_FP_UNPACK_RAW_4): Likewise.
1540 (_FP_UNPACK_RAW_4_P): Likewise.
1541 (_FP_PACK_RAW_4): Likewise.
1542 (_FP_PACK_RAW_4_P): Likewise.
1543 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1544 (_FP_MUL_MEAT_4_wide): Likewise.
1545 (_FP_MUL_MEAT_4_gmp): Likewise.
1546 (umul_ppppmnnn): Likewise.
1547 (_FP_DIV_MEAT_4_udiv): Likewise.
1548 (__FP_FRAC_ADD_4): Likewise.
1549 (__FP_FRAC_SUB_3): Likewise.
1550 (__FP_FRAC_SUB_4): Likewise.
1551 (__FP_FRAC_DEC_3): Likewise.
1552 (__FP_FRAC_DEC_4): Likewise.
1553 (__FP_FRAC_ADDI_4): Likewise.
1554 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1555 (_FP_FRAC_SRL_8): Likewise.
1556 (_FP_FRAC_SRS_8): Likewise.
1557
9c37ec0b
JM
1558 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1559 include macro name.
1560 (FP_UNPACK_RAW_EP): Likewise.
1561 (FP_PACK_RAW_E): Likewise.
1562 (FP_PACK_RAW_EP): Likewise.
1563 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1564 (_FP_ISSIGNAN): Likewise.
1565 (_FP_ADD_INTERNAL): Likewise.
1566 (_FP_FMA): Likewise.
1567 (_FP_CMP): Likewise.
1568 (_FP_SQRT): Likewise.
1569 (_FP_TO_INT): Likewise.
1570 (_FP_FROM_INT): Likewise.
1571 (FP_EXTEND): Likewise.
1572 (_FP_DIV_MEAT_N_loop): Likewise.
1573
2125f674
MR
15742014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1575
1576 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1577 throughout.
1578
edea4028
JM
15792014-06-29 Joseph Myers <joseph@codesourcery.com>
1580
1581 [BZ #17097]
1582 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1583 result with correct sign in case of exponents that produce
1584 overflow except for X very close to 1.
1585
dd0ba018
PE
15862014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1587
1588 mktime: merge #if/#ifdef usage from glibc
1589 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1590 as that works with both Glibc's and Gnulib's style.
1591 See thread starting at Siddhesh Poyarekar's bug report at:
1592 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1593
64df73c2
SP
15942014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
1596 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1597 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1598 * sysdeps/tile/tilegx/memmove.c: Remove file.
1599
f1eafb41
JM
16002014-06-27 Joseph Myers <joseph@codesourcery.com>
1601
1602 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1603 abi-name definition.
1604 * scripts/soversions.awk: Do not handle or generate ABI lines.
1605 * shlib-versions: Remove ABI entries.
1606 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1607 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1608
58eb0862
RM
16092014-06-27 Roland McGrath <roland@hack.frob.com>
1610
37caf178
RM
1611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1612 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1613 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1616 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1618 Moved ...
1619 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1620 ... here.
1621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1624 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1628 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1634 Moved ...
1635 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1641 Moved ...
1642 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1644 Moved ...
1645 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1649 Moved ...
1650 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1658 Moved ...
1659 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1663 Moved ...
1664 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1666 Moved ...
1667 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1668 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1671 Moved ...
1672 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1673 ... here.
1674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1675 Identical file removed.
1676 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1677 Moved ...
1678 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1680 Identical file removed.
1681 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1684 Moved ...
1685 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1687 Identical file removed.
1688 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1689 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1690 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1691 Identical file removed.
1692 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1693 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1695 Identical file removed.
1696 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1699 Identical file removed.
1700 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1701 Moved ...
1702 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1703 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1704 Identical file removed.
1705 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1706 Moved ...
1707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1709 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1711 Identical file removed.
1712 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1713 Moved ...
1714 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1715 ... here.
1716 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1717 Identical file removed.
1718 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1719 Moved ...
1720 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1721 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1722 Identical file removed.
1723 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1724 Moved ...
1725 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1726 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1727 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1731 Moved ...
1732 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1733 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1734 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1735
58eb0862
RM
1736 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1737 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1738 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1739 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1740 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1741
6f12d062
AS
17422014-06-27 Arjun Shankar <arjun.is@lostca.se>
1743
1744 [BZ #17092]
1745 * nscd/nscd.c (monitor_child): Return exit status of child
1746 instead of return value from wait syscall.
1747
be254932
JM
17482014-06-27 Joseph Myers <joseph@codesourcery.com>
1749
cb403c34
JM
1750 * configure.ac (libc_commonpagesize): Remove variable.
1751 (libc_relro_required): Likewise.
1752 (libc_cv_z_relro): Remove configure test.
1753 * configure: Regenerated.
1754 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1755 variable.
1756 (libc_relro_required): Likewise.
1757 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1758 (libc_relro_required): Likewise.
1759 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1760 (libc_relro_required): Likewise.
1761 * sysdeps/arm/preconfigure: Regenerated.
1762 * sysdeps/ia64/preconfigure: Remove file.
1763 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1764 variable.
1765 (libc_relro_required): Likewise.
1766
be254932
JM
1767 [BZ #16561]
1768 [BZ #16562]
1769 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1770 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1771 recompute overflowing results in original rounding mode.
1772 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1773 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1774 recompute overflowing results in original rounding mode.
1775 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1776 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1777 recompute overflowing results in original rounding mode.
1778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1779 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1780 recompute overflowing results in original rounding mode.
1781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1782 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1783 recompute overflowing results in original rounding mode.
1784 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1785 (libc_feholdsetround_ctx): New macro.
1786 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1787 * sysdeps/i386/fpu/libm-test-ulps: Update.
1788 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1789
b351d85a
JM
17902014-06-26 Joseph Myers <joseph@codesourcery.com>
1791
1792 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1793 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1794 corresponding .cpsetup call.
1795
3cb4de47
RM
17962014-06-26 Roland McGrath <roland@hack.frob.com>
1797
1798 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1799 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1800 * sysdeps/arm/Makefile [$(subdir) = csu]
1801 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1802 (static-only-routines): Add aeabi_read_tp here.
1803 (shared-only-routines): Add libc-aeabi_read_tp here.
1804 (CFLAGS-libc-start.c): Add -fexceptions here.
1805 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1806 (sysdep_routines, static-only-routines, shared-only-routines):
1807 Don't add to these here.
1808 (CFLAGS-libc-start.c): Likewise.
1809
1810 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1811 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1812 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1813 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1814 * sysdeps/arm/Makefile [$(subdir) = rt]
1815 (librt-sysdep_routines, librt-shared-only-routines):
1816 Append rt-aeabi_unwind_cpp_pr1 here.
1817 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1818 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1819 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1820 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1821 Append nptl-aeabi_unwind_cpp_pr1 here.
1822 (tests): Filter out tst-cleanupx4 here.
1823 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1824 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1825 Don't do those here.
1826
354426bb
JM
18272014-06-26 Joseph Myers <joseph@codesourcery.com>
1828
1829 * scripts/list-sources.sh: Do not handle ports specially.
1830
28b0a8c9
RM
18312014-06-26 Roland McGrath <roland@hack.frob.com>
1832
a3dd035d
RM
1833 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1834 * sysdeps/arm/feupdateenv.c: Likewise.
1835
28b0a8c9
RM
1836 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1837
e66a8203
JM
18382014-06-26 Joseph Myers <joseph@codesourcery.com>
1839
1840 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1841 trailing whitespace removed.
1842 * scripts/config.guess: Update to version 2014-03-23.
1843 * scripts/config.sub: Update to version 2014-05-01
1844 * scripts/install-sh: Update to version 2013-12-25.23.
1845 * scripts/move-if-change: Update from gnulib.
1846
74171115
SP
18472014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1848
b97c9ce5
SP
1849 * debug/memmove_chk.c: Remove pagecopy.h include.
1850
4000f892
SP
18512014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1852
74171115
SP
1853 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1854 identical to gnulib mktime.
1855
a8779c28
JM
18562014-06-26 Joseph Myers <joseph@codesourcery.com>
1857
e64708de
JM
1858 * configure.ac: Do not test for machine being rs6000. Do not test
1859 for powerpc*-*soft.
1860 * configure: Regenerated.
1861
a8779c28
JM
1862 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1863 test.
1864 * configure: Regenerated.
1865 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1866 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1867 Remove configure test.
1868 * sysdeps/arm/configure: Regenerated.
1869 * sysdeps/nptl/configure.ac: Do not check
1870 libc_cv_asm_cfi_directives.
1871 * sysdeps/nptl/configure: Regenerated.
1872 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1873 * sysdeps/x86_64/nptl/configure: Remove generated file.
1874 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1875 unconditional.
1876 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1877
2aac0a86
SP
18782014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1879
059bf913
SP
1880 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1881 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1882 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1883 it is defined.
1884
4cf5b6d0
SP
1885 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1886 instead of whether it is defined.
1887 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1888 * sysdeps/hppa/dl-machine.h: Likewise.
1889 * sysdeps/ia64/dl-machine.h: Likewise.
1890 * sysdeps/m68k/dl-machine.h: Likewise.
1891 * sysdeps/microblaze/dl-machine.h: Likewise.
1892 * sysdeps/mips/dl-machine.: Likewise.
1893 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1894 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1895 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1896 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1897 * sysdeps/sh/dl-machine.h: Likewise.
1898 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1900 * sysdeps/tile/dl-machine.h: Likewise.
1901 * sysdeps/x86_64/dl-machine.h: Likewise.
1902
2aac0a86
SP
1903 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1904 code.
1905 (verify_persistent_db): Likewise.
1906
6ad2df0b
RM
19072014-06-26 Roland McGrath <roland@hack.frob.com>
1908
d8a483f3
RM
1909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1910 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1914 Moved ...
1915 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1916 ... here.
1917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1920 Identical file removed.
1921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1926 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1930 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1932 Moved ...
1933 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1939 Moved ...
1940 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1944 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1946 Identical file removed.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1948 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1952 Moved ...
1953 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1954 ... here.
1955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1966 Moved ...
1967 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1969 Moved ...
1970 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1974 Moved ...
1975 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1977 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1978
52ae23b4
RM
1979 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1980 folded into ...
1981 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1982 * sysdeps/unix/sysv/linux/s390/Versions
1983 (libpthread: GLIBC_2.19): New version set.
1984 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1985 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1986 (librt: GLIBC_2.3.3): New version set.
1987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1988 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1989 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1991 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1993 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1995 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1997 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1999 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2001 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2003 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2005 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2007 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2009 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2011 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2013 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2015 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2017 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2023 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2025 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2027 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2029 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2031 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2032
39507e4a
RM
2033 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2034 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2035 (__libc_vfork): Define the function under this name.
2036 [!NOT_IN_libc] (__vfork): Make this an alias.
2037 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2038 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2039 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2040 (__libc_vfork): Define the function under this name.
2041 [!NOT_IN_libc] (__vfork): Make this an alias.
2042 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2043 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2044 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2046 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2047 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2048
e549ee56
RM
2049 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2050 code that was previously under [RESET_PID].
2051 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2052 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2053 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2054
6ad2df0b
RM
2055 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2056 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2057 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2058 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2059 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2060 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2061 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2062 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2063 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2064 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2066 Moved ...
2067 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2071 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2072 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2073 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2075 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2077 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2078 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2079 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2080 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2081 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2085 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2086 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2087 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2088 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2089 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2091 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2092 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2093 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2095 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2096
7c1c1d8e
RM
20972014-06-25 Roland McGrath <roland@hack.frob.com>
2098
2099 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2100 that was previously under [RESET_PID].
2101 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2102
3e239be6
JM
21032014-06-25 Joseph Myers <joseph@codesourcery.com>
2104
74385da5
JM
2105 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2106 not undefine and redefine.
2107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2108 [O_CLOEXEC]: Make code unconditional.
2109 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2110 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2111 <kernel-features.h>.
2112 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2113 conditional variable definition.
2114 (shm_open) [O_CLOEXEC]: Make code unconditional.
2115 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2116 code.
2117
c2570a0b
JM
2118 * configure.ac (USE_REGPARMS): Don't define here.
2119 * configure: Regenerated.
2120 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2121 * sysdeps/i386/configure: Regenerated.
2122
11b076bb
JM
2123 * nptl/createthread.c: Don't include kernel-features.h.
2124 * nptl/pthread_cancel.c: Likewise.
2125 * nptl/pthread_condattr_setclock.c: Likewise.
2126 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2127 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2128 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2129 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2130 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2131 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2132 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2135 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2136 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2137 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2138 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2139 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2140 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2141 * nscd/gai.c: Likewise.
2142 * nss/nss_db/db-open.c: Likewise.
2143 * sysdeps/generic/ldsodefs.h: Likewise.
2144 * sysdeps/sh/nptl/tls.h: Likewise.
2145 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2146 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2147 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2148 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2149 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2150 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2151 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2152 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2153 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2154 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2155 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2156 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2157 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2158 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2159 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2160 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2161 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2162 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2163 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2164 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2165 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2167 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2168 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2169 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2170 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2171 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2172 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2173 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2174 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2175 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2176 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2177 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2178 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2179 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2180 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2181 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2182 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2183 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2184 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2185 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2186 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2187 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2189 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2190 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2191 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2192 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2193 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2194 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2195 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2196 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2197 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2199 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2200 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2225 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2226 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2227 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2228 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2229 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2231 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2232 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2233 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2234 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2235 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2236 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2237 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2238 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2239 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2240 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2241 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2242 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2243 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2244 * sysdeps/unix/sysv/linux/system.c: Likewise.
2245 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2246 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2247 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2248 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2249 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2251 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2252
92072d57
JM
2253 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2254 * configure: Regenerated.
2255 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2256
3e239be6
JM
2257 * configure.ac (base_machine): Do not set specially for particular
2258 machines here.
2259 * configure: Regenerated.
2260 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2261 settings from configure.ac.
2262 * sysdeps/i386/preconfigure: New file.
2263 * sysdeps/s390/preconfigure: Likewise.
2264 * sysdeps/sh/preconfigure: Likewise.
2265 * sysdeps/sparc/preconfigure: Likewise.
2266
06d50baa
RM
22672014-06-25 Roland McGrath <roland@hack.frob.com>
2268
74836003
RM
2269 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2270 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2271 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2272 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2273 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2274 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2275 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2276 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2277 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2278 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2279 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2280 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2281 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2282 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2283 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2284 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2286 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2287 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2288
2289 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2290 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2291 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2292 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2293 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2294 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2295 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2296 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2297 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2298 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2299 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2300 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2301 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2302 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2303 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2304 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2305 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2306 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2307 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2308 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2310 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2311 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2312 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2314 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2315 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2316 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2317 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2318 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2319 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2320 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2321 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2322 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2323 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2324 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2325 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2326 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2327
06d50baa
RM
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2333 Moved ...
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2335 ... here.
2336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2341 Moved ...
2342 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2350 Moved ...
2351 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2353 Moved ...
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2358 Moved ...
2359 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2363 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2369 Moved ...
2370 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2371 ... here.
2372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2377 Moved ...
2378 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2386 Moved ...
2387 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2389 Moved ...
2390 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2394 Moved ...
2395 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2399 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2400
a4ccbc9b
JM
24012014-06-25 Joseph Myers <joseph@codesourcery.com>
2402
0828edbf
JM
2403 * timezone/checktab.awk: Update from tzcode 2014e.
2404 * timezone/private.h: Likewise.
2405 * timezone/tzfile.h: Likewise.
2406 * timezone/zdump.c: Likewise.
2407 * timezone/zic.c: Likewise.
2408
a4ccbc9b
JM
2409 * sysdeps/unix/sysv/linux/kernel-features.h
2410 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2412 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2413 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2414 Remove conditional code.
2415
9aea0cb8
WN
24162014-06-25 Will Newton <will.newton@linaro.org>
2417
2418 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2419 (_dl_arm_cap_flags): Add HWCAP2 values.
2420 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2421 (_DL_HWCAP_COUNT): Increase to 37.
2422 (_DL_HWCAP_LAST): New define.
2423 (_DL_HWCAP2_LAST): New define.
2424 (_dl_procinfo): Add support for printing
2425 AT_HWCAP2 entries.
2426 (_dl_string_hwcap): Use _dl_hwcap_string.
2427
6eaa65ce
AZ
24282014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2429
2430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2431
0f5b7185
JM
24322014-06-25 Joseph Myers <joseph@codesourcery.com>
2433
cfd2ea50
JM
2434 * README: Do not mention ports directory.
2435
cecf2ed4
JM
2436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2437 Remove macro.
2438 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2439 <kernel-features.h>.
2440 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2441 conditional variable definition.
2442 (__futimes): Update comment.
2443 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2444 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2445
a638de82
JM
2446 [BZ #16560]
2447 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2448 arguments close to 0.
2449 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2450 Likewise.
2451 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2452 Likewise.
2453 * math/auto-libm-test-in: Add more tests of exp10.
2454 * math/auto-libm-test-out: Regenerated.
2455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2456
0f5b7185
JM
2457 * sysdeps/unix/sysv/linux/kernel-features.h
2458 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2459 * sysdeps/unix/sysv/linux/readv.c: Do not include
2460 <kernel-features.h>.
2461 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2462 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2463 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2464 unconditional.
2465 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2466 conditional code.
2467 * sysdeps/unix/sysv/linux/writev.c: Do not include
2468 <kernel-features.h>.
2469 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2470 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2471 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2472 unconditional.
2473 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2474 conditional code.
2475
c7aec4be
WN
24762014-06-25 Will Newton <will.newton@linaro.org>
2477
2478 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2479 comment changes throughout the file. Remove checks
2480 for HAVE_*_H definitions that are not required.
2481 (__gen_tempname): Call abort if an unknown kind value is
2482 passed.
2483
c5241f95
AS
24842014-06-25 Andreas Schwab <schwab@suse.de>
2485
2486 [BZ #17086]
2487 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2488 scalbln, scalblnf, scalblnl in libc.
2489
911422da
SP
24902014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2491
2492 [BZ #17086]
2493 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2494 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2495 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2496
0d749bbe
RM
24972014-06-24 Roland McGrath <roland@hack.frob.com>
2498
2499 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2500 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2501 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2502 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2503 Update #include.
2504 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2505 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2506 Update #include.
2507 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2508 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2509 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2510 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2511 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2512 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2513 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2514 * sysdeps/x86/bits/semaphore.h: ... here.
2515 * sysdeps/x86/nptl/elide.h: Moved ...
2516 * sysdeps/x86/elide.h: ... here.
2517 * sysdeps/x86_64/nptl/Implies: File removed.
2518 * sysdeps/i386/nptl/Implies: File removed.
2519
0ea5d373
JM
25202014-06-24 Joseph Myers <joseph@codesourcery.com>
2521
4060283d
JM
2522 [BZ #16539]
2523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2524 return the argument for normal arguments with exponent below -64.
2525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2526 Likewise.
2527 * math/auto-libm-test-in: Add another test of expm1.
2528 * math/auto-libm-test-out: Regenerated.
2529
e7dd3c8c
JM
2530 [BZ #16287]
2531 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2532 calling __erfcl for arguments at least 16.
2533 * math/auto-libm-test-in: Add more tests of erf.
2534 * math/auto-libm-test-out: Regenerated.
2535
0ea5d373
JM
2536 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2537 individual architectures.
2538 * sysdeps/unix/sysv/linux/configure: Regenerated.
2539 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2540 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2541 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2542 (ldd_rewrite_script): Define variable.
2543 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2545 file.
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2547 generated file.
2548 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2549 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2550 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2551 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2552 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2553 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2554 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2555 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2556
2307e126
SP
25572014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2558
2559 [BZ #17084]
2560 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2561 Rename member __data.d to __data.__elision_data.
2562
c0a4ed77
W
25632014-06-24 Wilco <wdijkstr@arm.com>
2564
2565 * NEWS: Add 16918 to fixed bug list.
2566
b8c00573
W
25672014-06-24 Wilco <wdijkstr@arm.com>
2568
2569 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2570
b5570d92
W
25712014-06-24 Wilco <wdijkstr@arm.com>
2572
2573 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2574 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2575 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2576 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2577 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2578 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2579 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2580 Use _FPU_MASK_RM.
2581
947bdca2
W
25822014-06-24 Wilco <wdijkstr@arm.com>
2583
2584 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2585
00f669ed
W
25862014-06-24 Wilco <wdijkstr@arm.com>
2587
2588 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2589 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2590 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2591 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2592
db59bad3
W
25932014-06-24 Wilco <wdijkstr@arm.com>
2594
2595 [BZ #16918]
2596 * sysdeps/arm/feupdateenv.c (feupdateenv):
2597 Rewrite to reduce FPSCR accesses and fix return value.
2598
001f7b77
W
25992014-06-24 Wilco <wdijkstr@arm.com>
2600
2601 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2602 Optimize to avoid unnecessary FPSCR writes.
2603 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2604 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2605 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2606 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2607
4841e6a6
W
26082014-06-24 Wilco <wdijkstr@arm.com>
2609
2610 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2611 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2612 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2613 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2614 Call libc_fetestexcept_vfp.
2615 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2616 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2617 __SOFTFP__ ifdef so that they can be built for softfp.
2618
0813022c
SP
26192014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2620
08e5862f
SP
2621 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2622 argument type signed char.
2623
0813022c
SP
2624 * Makerules (check-abi): Dump diff of symlist if the test
2625 fails.
2626
3fc7236a
RM
26272014-06-23 Roland McGrath <roland@hack.frob.com>
2628
aba8ef95
RM
2629 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2630 using abort.
2631
3fc7236a
RM
2632 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2633 Remove unused variable ST.
2634
4da6db51
JM
26352014-06-23 Joseph Myers <joseph@codesourcery.com>
2636
4648909d
JM
2637 [BZ #16354]
2638 [BZ #17061]
2639 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2640 small arguments before calling __expm1.
2641 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2642 small arguments before calling __expm1f.
2643 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2644 small arguments before calling __expm1l.
2645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2646 Likewise.
2647 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2648 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2649 spurious underflow for some cosh tests.
2650 * math/auto-libm-test-out: Regenerated.
2651 * sysdeps/i386/fpu/libm-test-ulps: Update.
2652
46a3d3c7
JM
2653 [BZ #17050]
2654 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2655 (__ieee754_y1): Set errno if return value overflows.
2656 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2657 (__ieee754_y1f): Set errno if return value overflows.
2658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2659 (__ieee754_y1l): Set errno if return value overflows.
2660 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2661 (__ieee754_y1l): Set errno if return value overflows.
2662 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2663 * math/auto-libm-test-out: Regenerated.
2664
863893ec
JM
2665 * math/gen-auto-libm-tests.c: Document use of
2666 ignore-zero-inf-sign.
2667 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2668 (input_flags): Add ignore-zero-inf-sign.
2669 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2670 * math/gen-libm-test.pl (generate_testfile): Handle
2671 ignore-zero-inf-sign.
2672 * math/auto-libm-test-in: Mark some cpow tests with
2673 ignore-zero-inf-sign and some with xfail-rounding.
2674 * math/auto-libm-test-out: Regenerated.
2675 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2676 * sysdeps/i386/fpu/libm-test-ulps: Update.
2677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2678
4da6db51
JM
2679 [BZ #16315]
2680 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2681 overflowing or underflowing operations take place with sign of
2682 result.
2683 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2684 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2685 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2686 (__ieee754_pow): Recompute overflowing and underflowing results in
2687 original rounding mode.
2688 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2689 (__powl_helper): Allow negative argument X and scale negated value
2690 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2691 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2692 overflowing or underflowing operations take place with sign of
2693 result.
2694 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2695 Include <math.h>.
2696 * math/auto-libm-test-in: Add more tests of pow.
2697 * math/auto-libm-test-out: Regenerated.
2698 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2699 (pow_tonearest_test_data): Remove.
2700 (pow_test_tonearest): Likewise.
2701 (pow_towardzero_test_data): Likewise.
2702 (pow_test_towardzero): Likewise.
2703 (pow_downward_test_data): Likewise.
2704 (pow_test_downward): Likewise.
2705 (pow_upward_test_data): Likewise.
2706 (pow_test_upward): Likewise.
2707 (main): Don't call removed functions.
2708 * sysdeps/i386/fpu/libm-test-ulps: Update.
2709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2710
5686b236
RM
27112014-06-23 Roland McGrath <roland@hack.frob.com>
2712
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2714 Moved ...
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2717 Moved ...
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2720 Moved ...
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2723 Moved ...
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2726 File removed.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2728 File removed.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2730 File removed.
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2732 File removed.
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2734 File removed.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2736 File removed.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2738 File removed.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2740 File removed.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2742 File removed.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2744 File removed.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2746 File removed.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2748 File removed.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2750 Moved ...
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2753 Moved ...
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2755 ... here.
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2757 Moved ...
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2760 Moved ...
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2763 Moved ...
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2766 Moved ...
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2769 Moved ...
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2772 Moved ...
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2775 Moved ...
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2779 ... here.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2781 Moved ...
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2784 Moved ...
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2786 ... here.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2788 Moved ...
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2790 ... here.
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2792 Moved ...
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2794 ... here.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2796 Moved ...
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2799 Moved ...
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2804 Moved ...
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2806 ... here.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2808 Moved ...
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2810 ... here.
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2812 Moved ...
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2815 Moved ...
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2818 Moved ...
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2821 Moved ...
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2824 Moved ...
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2826 ... here.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2828 Moved ...
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2831 Moved ...
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2834 Moved ...
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2837 Moved ...
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2842 Moved ...
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2845 Moved ...
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2848 Moved ...
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2850 ... here.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2852 Moved ...
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2854 ... here.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2856 Moved ...
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2858 ... here.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2860 Moved ...
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2863 Moved ...
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2866 Moved ...
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2869 Moved ...
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2871 ... here.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2873 Moved ...
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2875 ... here.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2877 Moved ...
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2879 ... here.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2881 Moved ...
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2884 Moved ...
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2886
e6d90d67
WD
28872014-06-23 Will Newton <will.newton@linaro.org>
2888 Wilco <wdijkstr@arm.com>
2889
2890 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2891 implementation. Include get-rounding-mode.h.
2892 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2893 [!libc_feholdsetround_noex_ctx]: Define
2894 libc_feholdsetround_noex_ctx.
2895 [!libc_feholdsetround_noexf_ctx]: Define
2896 libc_feholdsetround_noexf_ctx.
2897 [!libc_feholdsetround_noexl_ctx]: Define
2898 libc_feholdsetround_noexl_ctx.
2899 (libc_feholdsetround_ctx): New function.
2900 (libc_feresetround_ctx): New function.
2901 (libc_feholdsetround_noex_ctx): New function.
2902 (libc_feresetround_noex_ctx): New function.
2903
d42df555
RM
29042014-06-23 Roland McGrath <roland@hack.frob.com>
2905
88a46474
RM
2906 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2907 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2908 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2909 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2910 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2911 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2912
15bed472
RM
2913 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2914 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2915 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2916 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2917 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2918 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2920 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2922 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2924 Moved ...
2925 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2926 ... here.
2927 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2928 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2930 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2932 Moved ...
2933 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2939 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2941 Moved ...
2942 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2944 Moved ...
2945 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2947 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2949 Moved ...
2950 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2954 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2955 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2956 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2960 Moved ...
2961 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2962 ... here.
2963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2974 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2975 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2976 Moved ...
2977 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2983 Moved ...
2984 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2988 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2989
d42df555
RM
2990 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2991 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3001 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3005 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3006 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3007 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3008 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3011 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3013 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3015 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3017 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3018
76e5216e
JM
30192014-06-23 Joseph Myers <joseph@codesourcery.com>
3020
3021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3022 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3023 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3024 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3025 (IPV6_PMTUDISC_INTERFACE): Likewise.
3026 (IPV6_PMTUDISC_OMIT): Likewise.
3027
7a81cbcc
AS
30282014-06-23 Andreas Schwab <schwab@suse.de>
3029
3030 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3031 Remove unused errout label.
3032
db224009
AZ
30332014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3034
3035 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3036 macro: hardware supports Vector Crypto instructions.
3037
f393b4aa
WN
30382014-06-23 Will Newton <will.newton@linaro.org>
3039
cc7d0447
WN
3040 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3041 rather than __builtin_expect.
3042
d6d06225
WN
3043 * elf/dl-lookup.c (undefined_msg): Remove variable.
3044 (_dl_lookup_symbol_x): Replace undefined_msg with string
3045 literal.
3046
f393b4aa
WN
3047 * elf/dl-lookup.c (do_lookup_unique): New function.
3048 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3049 to a separate function.
3050
ac60763e
AS
30512014-06-23 Andreas Schwab <schwab@suse.de>
3052
3053 [BZ #17079]
3054 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3055 before reading the next line.
3056
c5c13355
WN
30572014-06-23 Will Newton <will.newton@linaro.org>
3058
3059 * test-skeleton.c (signal_handler): Use printf and %m
3060 rather than perror. Use printf rather than fprintf to
3061 stderr. Use puts rather than fputs to stderr.
3062 (main): Likewise.
3063
bd3675f9
LC
30642014-06-22 Ludovic Courtès <ludo@gnu.org>
3065
3066 * nscd/nscd.c (thread_info_t): Remove typedef.
3067 (thread_info): Remove variable.
3068
d03efb2f
AM
30692014-06-21 Allan McRae <allan@archlinux.org>
3070
3071 * NEWS: Mention CVE-2014-4043.
3072
bc4a86fa
RM
30732014-06-20 Roland McGrath <roland@hack.frob.com>
3074
dc9a54f8
RM
3075 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3076 * nptl/smp.h: ... here.
3077
bd7022c4
RM
3078 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3079
26ffd5e6
RM
3080 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3081 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3082 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3083 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3084
93a6d082
RM
3085 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3086 * nptl/stack-aliasing.h: New file.
3087 * sysdeps/i386/i686/stack-aliasing.h: New file.
3088 * sysdeps/i386/i686/nptl/Makefile: File removed.
3089 * sysdeps/x86_64/stack-aliasing.h: New file.
3090 * sysdeps/x86_64/nptl/Makefile
3091 (CFLAGS-pthread_create.c): Variable removed.
3092
bc4a86fa
RM
3093 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3094 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3095 old file.
3096 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3097 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3098 old file.
3099
2272ffc1
JM
31002014-06-21 Joseph Myers <joseph@codesourcery.com>
3101
3102 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3103 (__ASSUME_SIGFRAME_V2): Remove macro.
3104 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3105 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3106 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3107 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3108 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3109 Declare as function. Remove conditional macro definitions.
3110 (__default_rt_sa_restorer): Likewise.
3111 (__default_sa_restorer_v1): Remove declaration.
3112 (__default_sa_restorer_v2): Likewise.
3113 (__default_rt_sa_restorer_v1): Likewise.
3114 (__default_rt_sa_restorer_v2): Likewise.
3115 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3116 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3117 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3118
4b88139b
RM
31192014-06-20 Roland McGrath <roland@hack.frob.com>
3120
3121 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3122 (libpthread-routines): Add sysdep.
3123 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3124 * sysdeps/unix/sysv/linux/sparc/Versions
3125 (libpthread: GLIBC_2.3.3): New version set.
3126 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3127 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3128 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3130 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3131 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3132 Moved ...
3133 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3135 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3137 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3139 * sysdeps/sparc/nptl/sem_init.c: ... here.
3140 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3141 * sysdeps/sparc/nptl/sem_post.c: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3143 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3145 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3146 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3148 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3149 (libpthread-routines): Add cpu_relax.
3150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3151 File removed.
3152 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3153 (librt: GLIBC_2.3.3): New version set.
3154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3155 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3157 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3160 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3162 Moved ...
3163 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3165 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3167 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3169 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3171 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3173 Moved ...
3174 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3175 Update #include.
3176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3177 Moved ...
3178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3179 Update #include.
3180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3181 Moved ...
3182 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3183 Update #include.
3184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3185 Moved ...
3186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3187 Update #include.
3188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3189 Moved ...
3190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3191 Update #include.
3192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3193 Moved ...
3194 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3195 Update #include.
3196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3197 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3203 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3205 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3207 Moved ...
3208 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3210 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3212 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3213
d7109027
JM
32142014-06-20 Joseph Myers <joseph@codesourcery.com>
3215
9bc6103d
JM
3216 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3217 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3218 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3219 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3220 * nscd/nscd.c: Likewise.
3221 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3222 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3223 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3224 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3225
d7109027
JM
3226 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3227 <kernel-features.h>.
3228 (init_mq_netlink): Remove conditional have_sock_cloexec
3229 definitions. Remove code conditional on have_sock_cloexec < 0.
3230 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3231 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3232 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3233 <kernel-features.h>.
3234 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3235 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3236
d92d8f8a
L
32372014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3238
3239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3240 Add tests for memset_chk and memset.
3241
3242 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3243 with AVX2_Usable.
3244
4e6d2347
MR
32452014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3246
257ce712
MR
3247 [BZ #16046]
3248 * elf/tst-dl-iter-static.c: New file.
3249 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3250
4e6d2347
MR
3251 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3252 error.
3253
a2a76afe
JM
32542014-06-20 Joseph Myers <joseph@codesourcery.com>
3255
7fd00f99
JM
3256 * sysdeps/unix/sysv/linux/kernel-features.h
3257 (__ASSUME_F_GETOWN_EX): Remove macro.
3258 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3259 <kernel-features.h>.
3260 (miss_F_GETOWN_EX): Remove variable or macro.
3261 (do_fcntl): Do not check miss_F_GETOWN_EX.
3262 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3263
4a103975
JM
3264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3265 Remove macro.
3266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3267 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3268 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3269
a2a76afe
JM
3270 * sysdeps/unix/sysv/linux/kernel-features.h
3271 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3272 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3273 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3274 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3275
90e5dd48
MR
32762014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3277
3278 [BZ #17075]
3279 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3280 Fix calculation of the symbol's value.
3281 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3282 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3283 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3284 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3285 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3286 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3287 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3288 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3289 (modules-names): Add `tst-armtlsdescmod',
3290 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3291 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3292 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3293 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3294 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3295 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3296 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3297 ($(objpfx)tst-armtlsdescloc): New dependency.
3298 ($(objpfx)tst-armtlsdescextnow): Likewise.
3299 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3300 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3301 TLS scheme support.
3302 * sysdeps/arm/configure: Regenerate.
3303
809fdf0d
JM
33042014-06-20 Joseph Myers <joseph@codesourcery.com>
3305
3306 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3307 (__atfct_seterrno_2): Likewise.
3308 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3309 <kernel-features.h>.
3310 (__ASSUME_ATFCTS): Do not undefine and redefine.
3311 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3312 (__have_atfcts): Remove conditional definition.
3313 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3314 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3315 unreachable if [__ASSUME_ATFCTS].
3316 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3317 not undefine and redefine.
3318 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3319 <kernel-features.h>.
3320 (faccessat) [__NR_faccessat]: Make code unconditional.
3321 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3322 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3323 <kernel-features.h>.
3324 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3325 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3326 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3327 <kernel-features.h>.
3328 (fchownat) [__NR_fchownat]: Make code unconditional.
3329 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3330 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3331 <kernel-features.h>.
3332 (futimesat) [__NR_futimesat]: Make code unconditional.
3333 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3334 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3335 <kernel-features.h>.
3336 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3337 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3338 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3339 <kernel-features.h>.
3340 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3341 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3342 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3343 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3344 <kernel-features.h>.
3345 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3346 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3347 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3348 <kernel-features.h>.
3349 (linkat) [__NR_linkat]: Make code unconditional.
3350 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3351 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3352 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3353 <kernel-features.h>.
3354 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3355 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3356 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3357 <kernel-features.h>.
3358 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3359 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3360 * sysdeps/unix/sysv/linux/openat.c: Do not include
3361 <kernel-features.h>.
3362 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3363 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3364 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3365 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3366 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3367 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3368 <kernel-features.h>.
3369 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3370 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3371 result of INLINE_SYSCALL directly, not via int variable.
3372 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3373 <kernel-features.h>.
3374 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3375 (renameat) [__NR_renameat]: Make code unconditional.
3376 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3377 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3378 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3379 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3380 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3381 (__ASSUME_ATFCTS): Do not undefine and redefine.
3382 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3383 <kernel-features.h>.
3384 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3385 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3386 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3387 <kernel-features.h>.
3388 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3389 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3390 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3391 (__ASSUME_ATFCTS): Do not undefine and redefine.
3392 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3393 <kernel-features.h>.
3394 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3395 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3396 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3397 <kernel-features.h>.
3398 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3399 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3400
224c6c51
L
34012014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3404
aa6ec754
AS
34052014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3406
3407 [BZ #17069]
3408 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3409 constructed tree before returning error.
3410 * posix/bug-regexp36.c: Expand test case.
3411
d8c2869d
SL
34122014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3413
3ef6b850
SL
3414 [BZ #6803]
3415 * math/libm-test.inc (scalbln_test_date):
3416 Add errno expectations.
3417 * math/w_scalblnf.c: New File.
3418 Add wrapper which checks for setting errno to ERANGE.
3419 Add weak_alias for corresponding scalbln function.
3420 * math/w_scalbln.c: Likewise.
3421 * math/w_scalblnl.c: Likewise.
3422 * math/Makefile (libm-calls): Add w_scalbln.
3423 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3424 Remove weak_alias for corresponding scalbln function.
3425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3427 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3429 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3430 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3431 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3432 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3433 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3434 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3435 Remove long_double_symbol for scalblnl function in libm, libc.
3436 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3437 Add wrapper which checks for setting errno to ERANGE.
3438 Add long_double_symbol for scalblnl function in libm, libc.
3439 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3440 Remove long_double_symbol for scalblnl in libm.
3441 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3442 Add wrapper which checks for setting errno to ERANGE.
3443 Add long_double_symbol for scalblnl function in libm.
3444 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3445 Do not use wrapper because of own implementation.
3446
c8daec5c
L
34472014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3448
3449 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3450 3 bytes for __pad1 for x32.
3451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3452
5c74e47c
LM
34532014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3454 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3457 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3460 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3461
4d43ef1e
AS
34622014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3463
3464 [BZ #17069]
3465 * posix/regcomp.c (parse_expression): Deallocate partially
3466 constructed tree before returning error.
3467 * posix/Makefile.c (tests): Add bug-regex36.
3468 (generated): Add bug-regex36.mtrace.
3469 (tests-special): Add $(objpfx)bug-regex36-mem.out
3470 (bug-regex36-ENV): New variable.
3471 ($(objpfx)bug-regex36-mem.out): New rule.
3472 * posix/bug-regex36.c: New file.
3473
51a7380b
WN
34742014-06-19 Will Newton <will.newton@linaro.org>
3475
3476 * malloc/malloc.c (systrim): If extra is zero then return
3477 early.
3478
91b84fe5
SP
34792014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3480
3481 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3482
f940b965
RE
34832014-06-19 Richard Earnshaw <rearnsha@arm.com>
3484
3485 * sysdeps/aarch64/strchr.S: New file.
3486
4ba7a00f
JM
34872014-06-18 Joseph Myers <joseph@codesourcery.com>
3488
3489 [BZ #17022]
3490 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3491 from arguments -2 or below.
3492 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3493 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3494
b3a9f56b
AS
34952014-06-18 Andreas Schwab <schwab@suse.de>
3496
3497 [BZ #17062]
3498 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3499 of a bracket expr not to run off the end of the string.
3500 * posix/Makefile (tests): Add tst-fnmatch3.
3501 * posix/tst-fnmatch3.c: New file.
3502
85d89278
JM
35032014-06-18 Joseph Myers <joseph@codesourcery.com>
3504
3505 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3506 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3507 [$(cross-compiling) = no]: Likewise.
3508 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3509 [$(cross-compiling) = no]: Likewise.
3510
754c5a08
RS
35112014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3512
3513 [BZ #17031]
3514 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3515 double, adjusted for any remainder from the high double.
3516 * math/libm-test.inc (nearbyint): Add tests.
3517 (rint): Likewise.
3518
556f529d
AZ
35192014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3520
3521 * nptl/sysdeps/powerpc/Makefile: Moved ...
3522 * sysdeps/powerpc/nptl/Makefile: ... here.
3523 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3524 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3525 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3526 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3527 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3528 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3529 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3530 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3531 * nptl/sysdeps/powerpc/tls.h: Moved ...
3532 * sysdeps/powerpc/nptl/tls.h: ... here.
3533
91c03c53
JM
35342014-06-16 Joseph Myers <joseph@codesourcery.com>
3535
3536 [BZ #16681]
3537 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3538 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3539 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3540 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3541 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3542 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3543 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3544 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3545 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3546
a76e63c5
AS
35472014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3548
3549 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3550
f2f6d82f
AS
35512014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3552
ea8a15f6
AS
3553 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3554 defined operator.
3555
f2f6d82f
AS
3556 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3557 $TIMEOUTFACTOR.
3558
a7291117
FW
35592014-06-16 Florian Weimer <fweimer@redhat.com>
3560
3561 [BZ #17058]
3562 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3563 non-executed part of the test.
3564
3d7c00e3
AS
35652014-06-16 Andreas Schwab <schwab@suse.de>
3566
3567 * string/bits/string2.h (strdup, strndup): Update feature guard.
3568
6957fb31
DM
35692014-06-14 David S. Miller <davem@davemloft.net>
3570
3571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3572
11b9e55b
AS
35732014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3574
1d2a0492
AS
3575 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3576 that was previously under [RESET_PID].
3577 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3578
11b9e55b
AS
3579 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3580 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3581 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3583 (__libc_vfork): New strong alias.
3584 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3585
0f6901d0
AK
35862014-06-14 Andi Kleen <ak@linux.intel.com>
3587
3588 * sysdeps/generic/elide.h: New file.
3589
38bbbb9f
SL
35902014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3591
3592 * Makefile (installed-headers): Adjust path of pthread.h header.
3593
45193bb8
RM
35942014-06-13 Roland McGrath <roland@hack.frob.com>
3595
9a25fd1e
RM
3596 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3597 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3598 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3599 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3600
4004f7e4
RM
3601 * nptl/sysdeps/s390/Makefile: Moved ...
3602 * sysdeps/s390/nptl/Makefile: ... here.
3603 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3604 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3605 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3606 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3607 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3608 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3609 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3610 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3611 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3612 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3613 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3614 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3615 * nptl/sysdeps/s390/tls.h: Moved ...
3616 * sysdeps/s390/nptl/tls.h: ... here.
3617
45193bb8
RM
3618 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3619 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3620
f6fdf533
DM
36212014-06-13 David S. Miller <davem@davemloft.net>
3622
3623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3626 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3630 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3631 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3632 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3633 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3634 Remove RESET_PID cpp guards.
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3636 Remove RESET_PID cpp guards.
3637 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3638
f5d71e14
AS
36392014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3640
3641 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3642 __sp to uintptr_t.
3643
b7aa8caa
AK
36442014-06-13 Andi Kleen <ak@linux.intel.com>
3645
4b266200
AZ
3646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3648 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3649 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3650 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3651 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3652 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3653 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3654 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3655 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3657 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3659 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3660 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3661 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3664 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3665 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3666
3667 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3668 (pthread_rwlock_rdlock): Add elision.
3669 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3670 (pthread_rwlock_wrlock): Add elision.
3671 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3672 (pthread_rwlock_trywrlock): Add elision.
3673 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3674 (pthread_rwlock_tryrdlock): Add elision.
3675 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3676 (pthread_rwlock_tryrdlock): Add elision unlock.
3677 * nptl/sysdeps/pthread/pthread.h:
3678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3679 (PTHREAD_RWLOCK_INITIALIZER,
3680 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3681 Handle new elision field.
3682 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3683 * sysdeps/arm/nptl/bits/pthreadtypes.h
3684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3685 * sysdeps/sh/nptl/bits/pthreadtypes.h
3686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3687 * sysdeps/tile/nptl/bits/pthreadtypes.h
3688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3689 * sysdeps/a/nptl/bits/pthreadtypes.h
3690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3691 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3693 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3695 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3697 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3699 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3700 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3701 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3703 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3704 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3705 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3706 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3707 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3708 (elision_init): Set try_xbegin to zero when no RTM.
3709 * sysdeps/x86/nptl/bits/pthreadtypes.h
3710 (pthread_rwlock_t): Change __pad1 to __rwelision.
3711 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3712
a832bdd3
AK
37132014-06-13 Andi Kleen <ak@linux.intel.com>
3714
3715 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3716 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3717 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3718 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3719
995a46bb
MI
37202014-06-13 Meador Inge <meadori@codesourcery.com>
3721
3722 [BZ #16996]
03ed7738 3723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3724 that the cached result has been set before returning it.
3725
45262aee
RM
37262014-06-12 Roland McGrath <roland@hack.frob.com>
3727
febf6cc5
RM
3728 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3729 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3731 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3733 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3734
e2682246
RM
3735 * nptl/sysdeps/sparc/Makefile: Moved ...
3736 * sysdeps/sparc/nptl/Makefile: ... here.
3737 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3738 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3739 * nptl/sysdeps/sparc/tls.h: Moved ...
3740 * sysdeps/sparc/nptl/tls.h: ... here.
3741 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3742 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3743 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3744 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3745 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3746 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3747 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3748 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3749 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3750 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3751 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3752 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3753 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3754 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3755 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3756 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3757 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3759 Update #include.
3760 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3761 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3762 Update #include.
3763 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3764 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3765 Update #include.
3766 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3767 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3768 Update #include.
3769
b0725f43
RM
3770 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3771
b14368b8
RM
3772 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3773 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3774
c5620eb3
RM
3775 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3776 (struct list_links): Type removed.
3777 (struct thread_node, struct timer_node): Replace struct list_links
3778 with struct list_head.
3779 (list_unlink_ip): Likewise.
3780 * sysdeps/pthread/timer_routines.c
3781 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3782 (list_append, list_insbefore): Likewise.
3783 (list_init): Function removed.
3784 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3785 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3786 * sysdeps/pthread/Makefile: ... here, new file.
3787
3788 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3789 * sysdeps/nptl/Implies: ... here.
3790 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3791 * nptl/sysdeps/pthread/list.h: Moved ...
3792 * include/list.h: ... here.
3793 * nptl/sysdeps/pthread/createthread.c: Moved ...
3794 * nptl/createthread.c: ... here.
3795 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3796 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3797 * nptl/pt-longjmp.c: ... here.
3798 * nptl/sysdeps/pthread/Makefile: Moved ...
3799 * sysdeps/nptl/Makefile: ... here.
3800 * nptl/sysdeps/pthread/Subdirs: Moved ...
3801 * sysdeps/nptl/Subdirs: ... here.
3802 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3803 * sysdeps/nptl/aio_misc.h: ... here.
3804 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3805 * sysdeps/nptl/bits/libc-lock.h: ... here.
3806 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3807 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3808 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3809 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3810 * nptl/sysdeps/pthread/configure: Moved ...
3811 * sysdeps/nptl/configure: ... here.
3812 * nptl/sysdeps/pthread/configure.ac: Moved ...
3813 * sysdeps/nptl/configure.ac: ... here.
3814 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3815 * sysdeps/nptl/gai_misc.h: ... here.
3816 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3817 * sysdeps/nptl/librt-cancellation.c: ... here.
3818 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3819 * sysdeps/nptl/malloc-machine.h: ... here.
3820 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3821 * sysdeps/nptl/pthread-functions.h: ... here.
3822 * nptl/sysdeps/pthread/pthread.h: Moved ...
3823 * sysdeps/nptl/pthread.h: ... here.
3824 * nptl/sysdeps/pthread/setxid.h: Moved ...
3825 * sysdeps/nptl/setxid.h: ... here.
3826 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3827 * sysdeps/nptl/sigfillset.c: ... here.
3828 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3829 * sysdeps/nptl/tcb-offsets.h: ... here.
3830 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3831 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3832 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3833 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3834 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3835 * sysdeps/pthread/allocalim.h: ... here.
3836 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3837 * sysdeps/pthread/bits/sigthread.h: ... here.
3838 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3839 * sysdeps/pthread/flockfile.c: ... here.
3840 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3841 * sysdeps/pthread/ftrylockfile.c: ... here.
3842 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3843 * sysdeps/pthread/funlockfile.c: ... here.
3844 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3845 * sysdeps/pthread/posix-timer.h: ... here.
3846 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3847 * sysdeps/pthread/timer_create.c: ... here.
3848 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3849 * sysdeps/pthread/timer_delete.c: ... here.
3850 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3851 * sysdeps/pthread/timer_getoverr.c: ... here.
3852 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3853 * sysdeps/pthread/timer_gettime.c: ... here.
3854 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3855 * sysdeps/pthread/timer_routines.c: ... here.
3856 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3857 * sysdeps/pthread/timer_settime.c: ... here.
3858 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3859 * sysdeps/pthread/tst-timer.c: ... here.
3860 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3861 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3862
e876b090
RM
3863 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3864 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3865
f6b07b3d
RM
3866 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3867 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3868 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3869 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3870 Update #include target.
3871 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3872 * sysdeps/i386/i686/nptl/Makefile: ... here.
3873 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3874 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3875 Update #include target.
3876 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3877 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3878 * nptl/sysdeps/i386/Makefile: Moved ...
3879 * sysdeps/i386/nptl/Makefile: ... here.
3880 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3881 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3882 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3883 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3884 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3885 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3886 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3887 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3888 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3889 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3890 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3891 * nptl/sysdeps/i386/tls.h: Moved ...
3892 * sysdeps/i386/nptl/tls.h: ... here.
3893
45262aee
RM
3894 * sysdeps/sh/Makefile [$(subdir) = csu]
3895 (gen-as-const-headers): Add tcb-offsets.sym.
3896 * nptl/sysdeps/sh/Makefile: File removed.
3897 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3898 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3899 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3900 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3901 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3902 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3903 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3904 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3905 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3906 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3907 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3908 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3909 * nptl/sysdeps/sh/tls.h: Moved ...
3910 * sysdeps/sh/nptl/tls.h: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3912 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3914 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3915 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3916 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3920 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3922 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3924 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3926 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3928 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3930 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3931 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3932 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3936 Moved ...
3937 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3938 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3939 Moved ...
3940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3943 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3944 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3945 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3946 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3947 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3948 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3950 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3952 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3954 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3956 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3957 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3958 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3959
35a5e3e3
SL
39602014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3961
3962 * posix/spawn_faction_addopen.c: Include string.h.
3963
14642b85
RM
39642014-06-11 Roland McGrath <roland@hack.frob.com>
3965
3966 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3967 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3968 * nptl/sysdeps/x86_64/Makefile: Moved ...
3969 * sysdeps/x86_64/nptl/Makefile: ... here.
3970 * nptl/sysdeps/x86_64/configure: Moved ...
3971 * sysdeps/x86_64/nptl/configure: ... here.
3972 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3973 * sysdeps/x86_64/nptl/configure.ac: ... here.
3974 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3975 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3976 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3977 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3978 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3979 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3980 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3981 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3982 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3983 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3984 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3985 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3986 * nptl/sysdeps/x86_64/tls.h: Moved ...
3987 * sysdeps/x86_64/nptl/tls.h: ... here.
3988 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3989 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3990 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3991 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3992
3993 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3994
31c44fea
AZ
39952014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3996
3997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3998
e81a4f9a
JM
39992014-06-11 Joseph Myers <joseph@codesourcery.com>
4000
4001 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4002 type.
4003 [POSIX] (off_t): Likewise.
4004 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4005 [POSIX] (S_ISBLK): Require macro.
4006 [POSIX] (S_ISCHR): Likewise.
4007 [POSIX] (S_ISDIR): Likewise.
4008 [POSIX] (S_ISFIFO): Likewise.
4009 [POSIX] (S_ISREG): Likewise.
4010 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4011 optional-macro.
4012 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4013 type.
4014 [POSIX] (time_t): Likewise.
4015 [POSIX] (timer_t): Likewise.
4016
89e435f3
FW
40172014-06-11 Florian Weimer <fweimer@redhat.com>
4018
4019 [BZ #17048]
4020 * posix/spawn_int.h (struct __spawn_action): Make the path string
4021 non-const to support deallocation.
4022 * posix/spawn_faction_addopen.c
4023 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4024 * posix/spawn_faction_destroy.c
4025 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4026 path in all spawn_do_open actions.
4027 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4028 posix_spawn_file_actions_addopen.
4029
c3a2ebe1
CM
40302014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4031
4032 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4033 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4034 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4035 conditional code always true.
4036 (__libc_vfork): New alias.
4037
9503784a
RM
40382014-06-11 Roland McGrath <roland@hack.frob.com>
4039
c9cab3d2
RM
4040 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4041 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4042
d3996c79
RM
4043 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4044
ba5ec611
RM
4045 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4046 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4047
f12b4814
RM
4048 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4049 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4050
9503784a
RM
4051 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4052 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4053
e23d3d26
VR
40542014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4055
4056 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4057 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4058 multiarch strcmp for PPC64.
4059 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4060 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4062 multiarch optimizations.
4063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4064 (__libc_ifunc_impl_list): Likewise.
4065
42b1161e
SP
40662014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4067
4068 * benchtests/scripts/validate_benchout.py: New script.
4069 * benchtests/Makefile (bench-func): Call it.
4070 * benchtests/scripts/benchout.schema.json: New file.
4071
2d0fc4dc
CM
40722014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4073
4a594c34
AZ
4074 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4075 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4076 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4077 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4078 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4079 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4080 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4081 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4082 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4083 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4084 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4085 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4086 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4087 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4088 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4089 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4091 Moved ...
4a594c34 4092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4093 ... here.
4a594c34 4094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4095 Moved ...
4a594c34
AZ
4096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4098 Moved ...
4a594c34 4099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4100 ... here.
4a594c34 4101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4102 Moved ...
4a594c34 4103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4104 ... here.
4a594c34 4105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4106 Moved ...
4a594c34
AZ
4107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4109 Moved ...
4a594c34 4110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4111 ... here.
4a594c34 4112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4113 Moved ...
4a594c34 4114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4115 ... here.
4a594c34 4116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4117 Moved ...
4a594c34
AZ
4118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4120 Moved ...
4a594c34 4121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4122 ... here.
4a594c34 4123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4124 Moved ...
4a594c34 4125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4126 ... here.
4a594c34 4127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4128 Moved ...
4a594c34 4129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4130 ... here.
4a594c34 4131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4132 Moved ...
4a594c34
AZ
4133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4135 Moved ...
4a594c34 4136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4137 ... here.
4a594c34 4138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4139 Moved ...
4a594c34 4140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4141 ... here.
4a594c34 4142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4143 Moved ...
4a594c34 4144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4145 ... here.
4a594c34 4146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4147 Moved ...
4a594c34
AZ
4148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4150 Moved ...
4a594c34 4151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4152 ... here.
4a594c34 4153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4154 Moved ...
4a594c34 4155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4156 ... here.
4a594c34 4157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4158 Moved ...
4a594c34
AZ
4159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4161 Moved ...
4a594c34 4162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4163 ... here.
4a594c34 4164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4165 Moved ...
4a594c34
AZ
4166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4168 Moved ...
4a594c34
AZ
4169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4171 Moved ...
4a594c34 4172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4173 ... here.
4a594c34 4174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4175 Moved ...
4a594c34 4176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4177 ... here.
4a594c34 4178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4179 Moved ...
4a594c34 4180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4181 ... here.
4a594c34 4182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4183 Moved ...
4a594c34
AZ
4184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4186 Moved ...
4a594c34 4187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4188 ... here.
4a594c34 4189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4190 Moved ...
4a594c34 4191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4192 ... here.
4a594c34
AZ
4193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4194 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4196 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4198 Moved ...
4a594c34 4199 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4200 ... here.
4a594c34
AZ
4201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4202 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4204 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4206 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4208 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4209 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4210 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4212 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4214 Moved ...
4a594c34
AZ
4215 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4217 Moved ...
4a594c34
AZ
4218 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4219 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4220 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4222 Moved ...
4a594c34
AZ
4223 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4227 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4228 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4229 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4230
0570cfed
W
42312014-06-10 Wilco <wdijkstr@arm.com>
4232
4233 * math/test-fenv-return.c: New file.
4234 * math/Makefile: Add new test test-fenv-return.
4235
f8ba1b56
JM
42362014-06-10 Joseph Myers <joseph@codesourcery.com>
4237
4238 [BZ #17042]
4239 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4240 when x - 1 is zero.
4241 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4242 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4243 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4244 0.0L for an argument of 1.0L.
4245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4246 Likewise.
4247 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4248 value when x - 1 is zero.
4249 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4250 * sysdeps/i386/fpu/libm-test-ulps: Update.
4251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4252
2c3520d9
BO
42532014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4254
4255 [BZ #15119]
4256 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4257
acaa4d24
RM
42582014-06-09 Roland McGrath <roland@hack.frob.com>
4259
4260 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4261 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4262
962b744d
RM
42632014-06-09 Roland McGrath <roland@hack.frob.com>
4264
d752f0cc
RM
4265 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4266 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4267
34eda6d1
RM
4268 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4269 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4270
50f0a637
RM
4271 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4272 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4273
08f41f04
RM
4274 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4275 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4276
962b744d
RM
4277 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4278 if not already defined.
4279 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4280 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4281 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4282 (TLS_INIT_TP): Use it.
4283 (TLS_DEFINE_INIT_TP): New macro.
4284 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4285
09f19b05
JM
42862014-06-09 Joseph Myers <joseph@codesourcery.com>
4287
4288 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4289 constant.
4290 [POSIX] (IXANY): Likewise.
4291 [POSIX] (OLCUC): Likewise.
4292 [POSIX || POSIX2008] (CBAUD): Do not allow.
4293 [POSIX || POSIX2008] (DEFECHO): Likewise.
4294 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4295 [POSIX || POSIX2008] (ECHOKE): Likewise.
4296 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4297 [POSIX || POSIX2008] (EXTA): Likewise.
4298 [POSIX || POSIX2008] (EXTB): Likewise.
4299 [POSIX || POSIX2008] (FLUSHO): Likewise.
4300 [POSIX || POSIX2008] (LOBLK): Likewise.
4301 [POSIX || POSIX2008] (PENDIN): Likewise.
4302 [POSIX || POSIX2008] (SWTCH): Likewise.
4303 [POSIX || POSIX2008] (VDISCARD): Likewise.
4304 [POSIX || POSIX2008] (VDSUSP): Likewise.
4305 [POSIX || POSIX2008] (VLNEXT): Likewise.
4306 [POSIX || POSIX2008] (VREPRINT): Likewise.
4307 [POSIX || POSIX2008] (VSTATUS): Likewise.
4308 [POSIX || POSIX2008] (VWERASE): Likewise.
4309 (B*): Change to B[0123456789]*.
4310 * conform/data/time.h-data [POSIX || UNIX98]
4311 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4312 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4313 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4314 [POSIX] (tm_*): Do not allow.
4315
686554bf
JM
43162014-06-07 Joseph Myers <joseph@codesourcery.com>
4317
4318 * Makefile (install): Don't set LANGUAGE.
4319 * Makefile.in (install): Likewise.
4320 * assert/Makefile (test-assert-ENV): Remove variable.
4321 (test-assert-perr-ENV): Likewise.
4322 * elf/Makefile (neededtest4-ENV): Likewise.
4323 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4324 [$(cross-compiling) = no]: Don't set LANGUAGE.
4325 * io/ftwtest-sh (LANG): Remove variable.
4326 * libio/Makefile (tst-widetext-ENV): Likewise.
4327 * manual/install.texi (Running make install): Don't refer to
4328 environment settings for make install.
4329 * INSTALL: Regenerated.
4330 * nptl/tst-tls6.sh: Don't set LANG.
4331 * posix/globtest.sh (LANG): Remove variable.
4332 * string/Makefile (tester-ENV): Likewise.
4333 (inl-tester-ENV): Likewise.
4334 (noinl-tester-ENV): Likewise.
4335 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4336 [$(cross-compiling) = no]: Don't set LANGUAGE.
4337 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4338 without explicit environment settings.
4339
68e6b6b1
RM
43402014-06-06 Roland McGrath <roland@hack.frob.com>
4341
4342 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4343 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4344 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4345 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4346
4d3ae034
CM
43472014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4348
4349 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4350 other files in the crypt directory.
4351 * crypt/crypt.c: Remove duplicate includes.
4352 * crypt/crypt-entry.c: Likewise.
4353 * crypt/crypt_util.c: Likewise.
4354
8540f6d2
JM
43552014-06-06 Joseph Myers <joseph@codesourcery.com>
4356
4357 * Makeconfig (run-program-env): New variable.
4358 (run-program-prefix-before-env): Likewise.
4359 (run-program-prefix-after-env): Likewise.
4360 (run-program-prefix): Define in terms of new variables.
4361 (built-program-cmd-before-env): New variable.
4362 (built-program-cmd-after-env): Likewise.
4363 (built-program-cmd): Define in terms of new variables.
4364 (test-program-prefix-before-env): New variable.
4365 (test-program-prefix-after-env): Likewise.
4366 (test-program-prefix): Define in terms of new variables.
4367 (test-program-cmd-before-env): New variable.
4368 (test-program-cmd-after-env): Likewise.
4369 (test-program-cmd): Define in terms of new variables.
4370 * Rules (make-test-out): Use $(run-program-env).
4371 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4372 (help): Do not mention environment variables. Mention
4373 --timeoutfactor option.
4374 (timeoutfactor): New variable.
4375 (blacklist_exports): Remove function.
4376 (exports): Remove variable.
4377 (command): Do not include ${exports}.
4378 * manual/install.texi (Configuring and compiling): Do not mention
4379 test wrappers preserving environment variables. Mention that last
4380 assignment to a variable must take precedence.
4381 * INSTALL: Regenerated.
4382 * benchtests/Makefile (run-bench): Use $(run-program-env).
4383 * catgets/Makefile ($(objpfx)test1.cat): Use
4384 $(built-program-cmd-before-env), $(run-program-env) and
4385 $(built-program-cmd-after-env).
4386 ($(objpfx)test2.cat): Do not specify environment variables
4387 explicitly.
4388 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4389 $(run-program-env) and $(built-program-cmd-after-env).
4390 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4391 $(run-program-env) and $(test-program-cmd-after-env).
4392 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4393 explicitly.
4394 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4395 run_program_env and test_program_cmd_after_env arguments.
4396 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4397 * elf/tst-pathopt.sh: Use run_program_env argument.
4398 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4399 $(test-wrapper-env) and $(run-program-env).
4400 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4401 run_program_env arguments.
4402 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4403 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4404 $(test-program-prefix-before-env), $(run-program-env) and
4405 $(test-program-prefix-after-env).
4406 ($(objpfx)tst-gettext2.out): Likewise.
4407 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4408 run_program_env and test_program_prefix_after_env arguments.
4409 * intl/tst-gettext2.sh: Likewise.
4410 * intl/tst-gettext4.sh: Do not set environment variables
4411 explicitly.
4412 * intl/tst-gettext6.sh: Likewise.
4413 * intl/tst-translit.sh: Likewise.
4414 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4415 $(test-program-prefix-before-env), $(run-program-env) and
4416 $(test-program-prefix-after-env).
4417 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4418 run_program_env and test_program_prefix_after_env arguments.
4419 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4420 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4421 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4422 explicitly with each use of ${test_wrapper_env}.
4423 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4424 $(test-program-prefix-before-env), $(run-program-env) and
4425 $(test-program-prefix-after-env).
4426 * posix/tst-getconf.sh: Do not set environment variables
4427 explicitly.
4428 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4429 run_program_env and test_program_prefix_after_env arguments.
4430 * stdio-common/tst-printf.sh: Do not set environment variables
4431 explicitly.
4432 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4433 $(test-program-prefix-before-env), $(run-program-env) and
4434 $(test-program-prefix-after-env).
4435 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4436 run_program_env and test_program_prefix_after_env arguments.
4437 Split $test calls into $test_pre and $test.
4438 * timezone/Makefile (build-testdata): Use
4439 $(built-program-cmd-before-env), $(run-program-env) and
4440 $(built-program-cmd-after-env).
4441
ed36bfa1
AZ
44422014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4443
4444 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4445 strlen for non SHARED builds.
4446
fc75bf46
SP
44472014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4448
4449 * nptl/allocatestack.c (check_list): Inlined function...
4450 (__reclaim_stacks): ... here.
4451
d89b3d80
OB
44522014-06-05 Ondřej Bílka <neleai@seznam.cz>
4453
4454 [BZ #15698]
4455 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4456 memory overrun.
4457
2bf18041
JM
44582014-06-05 Joseph Myers <joseph@codesourcery.com>
4459
4460 * Rules (make-test-out): Include
4461 LOCPATH=$(common-objpfx)localedata in default environment.
4462 * debug/Makefile (tst-chk1-ENV): Remove variable.
4463 (tst-chk2-ENV): Likewise.
4464 (tst-chk3-ENV): Likewise.
4465 (tst-chk4-ENV): Likewise.
4466 (tst-chk5-ENV): Likewise.
4467 (tst-chk6-ENV): Likewise.
4468 (tst-lfschk1-ENV): Likewise.
4469 (tst-lfschk2-ENV): Likewise.
4470 (tst-lfschk3-ENV): Likewise.
4471 (tst-lfschk4-ENV): Likewise.
4472 (tst-lfschk5-ENV): Likewise.
4473 (tst-lfschk6-ENV): Likewise.
4474 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4475 (tst-iconv7-ENV): Likewise.
4476 * intl/Makefile (LOCPATH-ENV): Likewise.
4477 (tst-codeset-ENV): Likewise.
4478 (tst-gettext3-ENV): Likewise.
4479 (tst-gettext5-ENV): Likewise.
4480 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4481 (tst-fopenloc-ENV): Likewise.
4482 (tst-fgetws-ENV): Remove variable.
4483 (tst-ungetwc1-ENV): Likewise.
4484 (tst-ungetwc2-ENV): Likewise.
4485 (bug-ungetwc2-ENV): Likewise.
4486 (tst-swscanf-ENV): Likewise.
4487 (bug-ftell-ENV): Likewise.
4488 (tst-fgetwc-ENV): Likewise.
4489 (tst-fseek-ENV): Likewise.
4490 (tst-ftell-partial-wide-ENV): Likewise.
4491 (tst-ftell-active-handler-ENV): Likewise.
4492 (tst-ftell-append-ENV): Likewise.
4493 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4494 (tst-regexloc-ENV): Likewise.
4495 (bug-regex1-ENV): Likewise.
4496 (tst-regex-ENV): Likewise.
4497 (tst-regex2-ENV): Likewise.
4498 (bug-regex5-ENV): Likewise.
4499 (bug-regex6-ENV): Likewise.
4500 (bug-regex17-ENV): Likewise.
4501 (bug-regex18-ENV): Likewise.
4502 (bug-regex19-ENV): Likewise.
4503 (bug-regex20-ENV): Likewise.
4504 (bug-regex22-ENV): Likewise.
4505 (bug-regex23-ENV): Likewise.
4506 (bug-regex25-ENV): Likewise.
4507 (bug-regex26-ENV): Likewise.
4508 (bug-regex30-ENV): Likewise.
4509 (bug-regex32-ENV): Likewise.
4510 (bug-regex33-ENV): Likewise.
4511 (bug-regex34-ENV): Likewise.
4512 (bug-regex35-ENV): Likewise.
4513 (tst-rxspencer-ENV): Likewise.
4514 (tst-rxspencer-no-utf8-ENV): Likewise.
4515 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4516 (tst-sscanf-ENV): Likewise.
4517 (tst-swprintf-ENV): Likewise.
4518 (tst-swscanf-ENV): Likewise.
4519 (test-vfprintf-ENV): Likewise.
4520 (scanf13-ENV): Likewise.
4521 (bug14-ENV): Likewise.
4522 (tst-grouping-ENV): Likewise.
4523 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4524 (tst-strtod3-ENV): Likewise.
4525 (tst-strtod4-ENV): Likewise.
4526 (tst-strtod5-ENV): Likewise.
4527 (testmb2-ENV): Likewise./
4528 * string/Makefile (tst-strxfrm-ENV): Likewise.
4529 (tst-strxfrm2-ENV): Likewise.
4530 (bug-strcoll1-ENV): Likewise.
4531 (test-strcasecmp-ENV): Likewise.
4532 (test-strncasecmp-ENV): Likewise.
4533 * time/Makefile (tst-strptime-ENV): Likewise.
4534 (tst-ftime_l-ENV): Likewise.
4535 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4536 (tst-mbrtowc-ENV): Likewise.
4537 (tst-wcrtomb-ENV): Likewise.
4538 (tst-mbrtowc2-ENV): Likewise.
4539 (tst-c16c32-1-ENV): Likewise.
4540 (tst-mbsnrtowcs-ENV): Likewise.
4541
cd1fb604
OB
45422014-06-05 Ondřej Bílka <neleai@seznam.cz>
4543
4544 * manual/resource.texi (How to get information about the memory
4545 subsystem?): Fix typo.
4546 Reported by Peon de la Parra Ivan <peon@keba.com>
4547
b42eca7d
GY
45482014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4549
4550 [BZ #16882]
4551 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4552 (pthread_spin_lock): Branch out of spin loop to proper location.
4553 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4554 (pthread_spin_lock): Likewise.
4555
902b71f9
DM
4556 * nptl/tst-spin4.c: New test.
4557 * nptl/Makefile (tests): Add tst-spin4.
4558
f9d2d032
AS
45592014-06-03 Andreas Schwab <schwab@suse.de>
4560
4561 [BZ #15946]
4562 * resolv/res_send.c (send_dg): Reload file descriptor after
4563 calling reopen.
4564
cf7bfd28
SL
45652014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4566
4567 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4568
111cc714
RH
45692014-06-03 Richard Henderson <rth@redhat.com>
4570
89b4bd6b
RH
4571 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4572 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4573 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4574 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4575 in the SAVE_PID block.
4576 (__libc_vfork): New alias.
71840409 4577 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4578
111cc714
RH
4579 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4580 child in registers, not on the stack. Remove RESET_PID conditionals.
4581 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4582
ccc39911
MS
45832014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4584
4585 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4586
693096cc
W
45872014-06-03 Wilco <wdijkstr@arm.com>
4588
4589 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4590 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4591 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4592 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4593 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4594 Likewise.
4595
0b4366bc
W
45962014-06-03 Wilco <wdijkstr@arm.com>
4597
4598 * sysdeps/aarch64/fpu/math_private.h
4599 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4600 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4601 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4602 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4603 Fix declarations.
4604
8747cd03
KS
46052014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4606
4607 * crypt/crypt-private.h: Include ufc-crypt.h.
4608 (__b64_from_24bit): Declare extern.
4609 * crypt/crypt_util.c(__b64_from_24bit): New function.
4610 (b64t): New static const variable.
4611 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4612 (b64t): Remove variable.
4613 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4614 * crypt/sha256-crypt.c: Include crypt-private.h.
4615 (b64t): Remove variable.
4616 (__sha256_crypt_r): Remove b64_from_24bit and replace
4617 with __b64_from_24bit.
4618 * crypt/sha512-crypt.c: Likewise.
4619
d936d379
RM
46202014-06-02 Roland McGrath <roland@hack.frob.com>
4621
4622 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4623 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4624 Label the code __libc_vfork rather than __vfork.
4625 [!NOT_IN_libc] (vfork): Define as weak alias.
4626 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4627 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4628 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4629
9fa76613
SP
46302014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4631
4632 * malloc/malloc.c (malloc_info): Fix format specifier for
4633 n_mmaps.
4634
a88dadbe
W
46352014-06-02 Wilco <wdijkstr@arm.com>
4636
4637 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4638 FPCR write.
4639
c95b3011
W
46402014-06-02 Wilco <wdijkstr@arm.com>
4641
4642 [BZ #17009]
4643 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4644 Rewrite to reduce FPCR/FPSR accesses.
4645
6b4d7a90
DM
46462014-06-01 David S. Miller <davem@davemloft.net>
4647
4648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4649
30f3d07c
DM
46502014-05-31 David S. Miller <davem@davemloft.net>
4651
4652 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4653 to occur in round to nearest mode when |x| >= 2.0
4654
74f31c18
RH
46552014-05-30 Richard Henderson <rth@twiddle.net>
4656
f0712b54
RH
4657 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4658 (PSEUDO_RET_NOERRNO): Remove.
4659 (ret): Don't redefine.
4660 (ret_NOERRNO): Define in terms of ret.
4661 (ret_ERRVAL): Likewise.
4662
74f31c18
RH
4663 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4664 use of PSEUDO_RET; perform the error check directly.
4665
30477995
MM
46662014-05-30 Marko Myllynen <myllynen@redhat.com>
4667
4668 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4669 with __int128_t.
4670
62a58816
SP
46712014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4672
4673 * malloc/malloc (malloc_info): Fix formatting.
4674
4d653a59
SP
46752014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4676 Roland McGrath <roland@hack.frob.com>
4677
4678 * malloc/malloc (malloc_info): Also print mmapped statistics.
4679
5190c17f
RM
46802014-05-30 Roland McGrath <roland@hack.frob.com>
4681
4682 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4683 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4684
987c0269
OB
46852014-05-30 Ondřej Bílka <neleai@seznam.cz>
4686
4687 * malloc/malloc.c (malloc_info): Inline mi_arena.
4688
af4e8ef9
RH
46892014-05-29 Richard Henderson <rth@twiddle.net>
4690
1670e207
RH
4691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4692 Remove comma before expanding ASM_ARGS_##nr.
4693 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4694 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4695 of ASM_ARGS_##nr.
4696 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4697 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4698 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4699 (ASM_ARGS_1): Add leading comma.
4700
11a28aee
RH
4701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4702 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4703 to __errno_location.
4704 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4705 Remove the expected plt for __errno_location.
4706
a17e5ffb 4707 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4708 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4709 call to __read_tp.
4710
b5be4597
RH
4711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4712 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4713 it and break it down.
4714 (DOCARGS_0, DOCARGS_1): Do nothing.
4715 (DOCARGS_2): Update to store into the new stack frame.
4716 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4717 (UNDOCARGS_1): Update to restore from the new stack frame.
4718 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4719 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4720
645d44ab
RH
4721 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4722 (SINGLE_THREAD_P): New parameter for result regno.
4723 (PSEUDO): Update to match; use cbz instead of beq.
4724
a8b4f04a
RH
4725 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4726 Use ENTRY to define the _nocancel entry point. Share the syscall
4727 and syscall error check paths with the cancel path.
4728 (PSEUDO_END): New.
4729
af4e8ef9
RH
4730 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4731 whitespace; tabs before and after asm mnemonics.
4732
26b0d2e1
EW
47332014-05-29 Eric Wong <normalperson@yhbt.net>
4734
4735 [BZ #15132]
4736 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4737 Call fstat64 or stat64 internally, depending on arguments passed.
4738 Replace stat buffer argument with file descriptor argument.
4739 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4740 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4741 Pass fd to __internal_statvfs instead of calling fstat64.
4742 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4743 Pass fd to __internal_statvfs64 instead of calling fstat64.
4744 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4745 Pass -1 to __internal_statvfs instead of calling stat64.
4746 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4747 Pass -1 to __internal_statvfs64 instead of calling stat64.
4748
1efe2bd9
RM
47492014-05-28 Roland McGrath <roland@hack.frob.com>
4750
0d3b7a19
RM
4751 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4752 that was previously under [RESET_PID].
4753 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4754
1efe2bd9
RM
4755 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4756 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4757
a6bea3ca
RM
47582014-05-27 Roland McGrath <roland@hack.frob.com>
4759
30b6629e
RM
4760 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4761
a6bea3ca
RM
4762 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4763 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4764
3dfb9a5c
OB
47652014-05-27 Ondřej Bílka <neleai@seznam.cz>
4766
4767 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4768
774f9285
AS
47692014-05-27 Andreas Schwab <schwab@suse.de>
4770
4771 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4772 TLS_INIT_TP macro.
4773 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4774 * elf/rtld.c (init_tls, dl_main): Likewise.
4775 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4776 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4777 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4778 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4779 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4780 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4781 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4782 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4783 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4784 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4785 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4786 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4787 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4788 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4789 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4790 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4791 * sysdeps/generic/tls.h: Update description.
4792
36ffe739
WN
47932014-05-27 Will Newton <will.newton@linaro.org>
4794
4795 [BZ #16990]
4796 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4797 and restore r2 rather than just restoring.
4798
2482ae43
SP
47992014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4800
4801 [BZ #16724]
4802 * libio/tst-ftell-append.c: New test case.
4803 * libio/Makefile (tests): Add test case.
4804 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4805 append mode.
4806 * libio/wfileops.c (do_ftell_wide): Likewise.
4807
3d1024e8
AZ
48082014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4809
bab90016
AZ
4810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4811
c7a8d667
AZ
4812 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4813 ...
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4816 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4817 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4819 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4821 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4823 Moved ...
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4825 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4826 Moved ...
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4829 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4831 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4833 ...
4834 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4836 Moved ...
4837 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4838 here.
4839 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4840 ...
4841 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4843 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4844
daee7851
AZ
4845 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4846 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4848 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4849
50a40819
AZ
4850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4851 merge into ...
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4854 ...
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4857 ...
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4860 Moved ...
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4862 here.
4863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4864 Moved ...
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4867 Moved ...
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4869
8464c2a1
AZ
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4871 conditional [RESET_PID].
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4874 removed.
4875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4876 removed.
4877
3d1024e8
AZ
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4879 <tcb-offsets.h>.
4880 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4881 (__libc_vfork): New strong alias.
4882 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4883 removed.
4884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4885 Removed.
4886
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4888 <tcb-offsets.h>.
4889 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4890 (__libc_vfork): New strong alias.
4891 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4892 removed.
4893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4894 removed.
4895
fdfd175d
CD
48962014-05-26 Carlos O'Donell <carlos@redhat.com>
4897
4898 * malloc/malloc.c (mi_arena): New function.
4899 (malloc_info): Remove nested function mi_arena. Call non-nosted
4900 function mi_arena.
4901
d298c416
AZ
49022014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4903
4904 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4905 by insrwi.
4906 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4907 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4908 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4909 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4910 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4911 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4912 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4913
b60ea6ff
AS
49142014-05-26 Andreas Schwab <schwab@suse.de>
4915
4916 [BZ #16984]
4917 * locale/programs/repertoire.c (repertoire_read): Add slash
4918 between I18NPATH element and file name.
4919 * locale/programs/locfile.c (locfile_read): Likewise.
4920
67365926
SL
49212014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4922
4923 * nptl/pthread_mutexattr_settype.c
4924 (__pthread_mutexattr_settype):
4925 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4926
f8bdf1f0
SL
49272014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4928
4929 * nptl/tst-mutex5 (do_test):
4930 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4931
15eaf6ff
SP
49322014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4933
4934 * benchtests/README: Document 'init' directive.
4935 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4936 BENCH_INIT.
4937 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4938 (parse_file): Recognize 'init' directive.
4939
75f11331
KM
49402014-05-26 Kyle McMartin <kyle@redhat.com>
4941
4942 [BZ #16796]
4943 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4944 alignment of struct pthread.
4945
c3ec475c
SP
49462014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
4948 [BZ #16878]
4949 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4950 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4951 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4952 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4953
82aab97c
RH
49542014-05-25 Richard Henderson <rth@twiddle.net>
4955
aa2f176d
RH
4956 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4957 (SINGLE_THREAD_P_PIC): Remove.
4958 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4959 (SINGLE_THREAD_P_PIC): Remove.
4960
ca3cfa40
RH
4961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4962 branch to syscall error ...
4963 (PSEUDO): ... here.
4964 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4965 from __local_syscall_error to .Lsyscall_error.
4966 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4967 (SYSCALL_ERROR): Update label name.
4968
6e6c2d01
RH
4969 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4970 Do not use DOARGS/UNDOARGS.
4971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4972 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4973 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4974 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4975 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4976
c69abcee
RH
4977 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4978 block comment.
4979
82aab97c
RH
4980 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4981 define if !NOT_IN_libc.
4982 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4983 define with non-default symbol versions.
4984
8820e3ac
RH
49852014-05-23 Richard Henderson <rth@twiddle.net>
4986
900e445f
RH
4987 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4988 (vfork, __vfork): Define via compat_symbol.
4989
8820e3ac
RH
4990 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4991 [!HAVE_IFUNC] (vfork_compat): Remove.
4992 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4993
e59252a5
JM
49942014-05-23 Joseph Myers <joseph@codesourcery.com>
4995
4996 [BZ #16978]
4997 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4998 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4999 variable.
5000
132c7f5f
RH
50012014-05-23 Richard Henderson <rth@twiddle.net>
5002
bc89e962
RH
5003 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5004 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5005 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5006 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5007
5008 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5009 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5010 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5011 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5012 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5013 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5014 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5015 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5016 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5017 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5018 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5019 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5020 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5021 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5022 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5023 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5025 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5026 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5027 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5028 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5029 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5030 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5031 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5032 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5034 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5035 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5036 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5037 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5038 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5039 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5040 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5041 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5042 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5043 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5044 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5045 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5046 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5047 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5048 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5049 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5050 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5051 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5052 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5053 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5055 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5057 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5058 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5059 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5061 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5063 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5064
e2fa4bc2
RH
5065 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5066 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5067 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5068 before exiting on error.
5069 (__libc_vfork): New strong alias.
5070 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5071 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5072
279b24e2
RH
5073 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5074 that was previously under [RESET_PID].
5075 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5076
132c7f5f
RH
5077 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5078
b72592e7
JM
50792014-05-23 Joseph Myers <joseph@codesourcery.com>
5080
5081 [BZ #16977]
5082 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5083 value when x - 1 is zero.
5084 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5085 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5086 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5087 0.0L for an argument of 1.0L.
5088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5089 Likewise.
5090 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5091 value when x - 1 is zero.
5092 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5093 * sysdeps/i386/fpu/libm-test-ulps: Update.
5094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5095
2302d679
RV
50962014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5097
5098 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5099 alphasort and versionsort.
5100
32999d63
AZ
51012014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5102
5103 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5104 macro.
5105 [copysignf]: Likewise.
5106
019324d0
SP
51072014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
5109 * crypt/md5-crypt.c: Fix formatting.
5110
34fff5c2
KS
51112014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5112
5113 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5114 (b64_from_24bit): New function.
5115
3d2badac
AZ
51162014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117
5118 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5119 libc_hidden_builtin_def to ifunc.
5120 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5121 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5122
f7bb179f 51232014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5124
5125 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5126 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5127
4134b50d
JM
51282014-05-21 Joseph Myers <joseph@codesourcery.com>
5129
bb7d0337
JM
5130 * nscd/Depend (linuxthreads): Remove.
5131 (nptl): Add.
5132 * resolv/Depend (linuxthreads): Remove.
5133 * rt/Depend (linuxthreads): Remove.
5134
4134b50d
JM
5135 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5136 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5137 $(common-objpfx)elf/.
5138 (link-libc-before-gnulib): Likewise.
5139 (elfobjdir): Remove variable.
5140 * Makefile (install): Use $(elf-objpfx) instead of
5141 $(common-objpfx)elf/.
5142 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5143 $(elfobjdir)/.
5144 (link-libc-deps): Likewise.
5145 ($(common-objpfx)libc.so): Likewise.
5146 ($(common-objpfx)linkobj/libc.so): Likewise.
5147 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5148 instead of $(common-objpfx)elf/.
5149 (symbolic-link-list): Likewise.
5150 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5151 [$(cross-compiling) = no]: Likewise.
5152 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5153 $(elfobjdir)/.
5154 (static-gnulib-arch): Likewise.
5155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5156 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5157 $(common-objpfx)elf/.
5158
3612eb8f
RH
51592014-05-21 Richard Henderson <rth@redhat.com>
5160
a6b3657b
RH
5161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5162 (SINGLE_THREAD_P): Use the correct width load. Fold
5163 into the ldr offset.
5164
3612eb8f
RH
5165 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5166 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5167
175cef41
JM
51682014-05-20 Joseph Myers <joseph@codesourcery.com>
5169
5170 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5171 (libgcc_s_resume): Use __attribute_used__.
5172 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5173 Likewise.
5174
e13bccd3
AZ
51752014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5176
5177 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5178 optimization when used with float constants.
5179
7c112a38
AZ
5180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5181
ae75a883
AJ
51822014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5183
5184 [BZ #16915]
5185 * locale/nl_langinfo_l.c: Make direct reference to every
5186 _nl_current_CATEGORY symbol.
5187 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5188 (tests-static): Add tst-langinfo-static.
5189 (tests-special): Add tst-langinfo-static.out.
5190 ($(objpfx)tst-langinfo.out): Redirect output.
5191 ($(objpfx)tst-langinfo-static.out): New.
5192 * localedata/tst-langinfo.sh: Send output to stdout.
5193 * localedata/tst-langinfo-static.c: New file.
5194
4406c41c
AJ
5195 [BZ #16965]
5196 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5197 when the shift amount is modulo the limb size.
5198
4c0a1e63
RH
51992014-05-20 Richard Henderson <rth@redhat.com>
5200
de9d8f20
RH
5201 [BZ #16967]
5202 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5203 Change type of sa_flags from unsigned int to int.
5204
4c0a1e63
RH
5205 [BZ #16966]
5206 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5207
5208 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5209
a60339aa
WN
52102014-05-20 Will Newton <will.newton@linaro.org>
5211
5212 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5213 Test the return value of the system call in the nocancel case.
5214
7d05a816
YR
52152014-05-20 Will Newton <will.newton@linaro.org>
5216 Yvan Roux <yvan.roux@linaro.org>
5217
5218 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5219 #include of asm/ptrace.h.
5220 (PTRACE_GET_THREAD_AREA): Remove #undef.
5221 (PTRACE_GETHBPREGS): Likewise.
5222 (PTRACE_SETHBPREGS): Likewise.
5223 (struct user_regs_struct): New structure.
5224 (struct user_fpsimd_struct): New structure.
5225 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5226 #include of asm/ptrace.h and second #include of sys/user.h.
5227 (PTRACE_GET_THREAD_AREA): Remove #undef.
5228 (PTRACE_GETHBPREGS): Likewise.
5229 (PTRACE_SETHBPREGS): Likewise.
5230 (ELF_NGREG): Use new struct user_regs_struct.
5231 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5232
af121e37
AZ
52332014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5237
834caf06
JM
52382014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5239
5240 [BZ #16958]
5241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5242 membar to avoid block loads/stores to overlap previous stores.
5243
e184a918
RH
52442014-05-17 Richard Henderson <rth@redhat.com>
5245
5246 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5247 Create the __##syscall_name##_nocancel entry point.
5248 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5249 Remove; let the sysdep-cancel.h code create it.
5250
f56c7a6a
DM
52512014-05-17 David S. Miller <davem@davemloft.net>
5252
5253 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5254 Protect with __USE_GNU.
5255 (TIOCSET_TEMPT): Likewise.
5256 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5257 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5258 these are already provided in bits/ioctl-types.h
5259
f75616b2
RM
52602014-05-16 Roland McGrath <roland@hack.frob.com>
5261
3edeca86
RM
5262 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5263 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5264
f75616b2
RM
5265 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5266 Use wait4 regardless of [__NR_waitpid].
5267
deb0f7f6
MR
52682014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5269
5270 PR libgcc/60166
5271 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5272 (_FP_NANSIGN_Q): Set the quiet bit.
5273
79520f4b
JM
52742014-05-16 Joseph Myers <joseph@codesourcery.com>
5275
5276 * benchtests/Makefile
5277 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5278 not $(common-objpfx)math/libm.so.
5279 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5280 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5281 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5282 $(common-objpfx)dlfcn/libdl.so.
5283 ($(objpfx)tst-audit8): Depend on $(libm), not
5284 $(common-objpfx)math/libm.so.
5285 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5286 not $(common-objpfx)dlfcn/libdl.so.
5287 * math/Makefile
5288 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5289 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5290 [$(build-shared) = yes].
5291 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5292 $(common-objpfx)nptl/libpthread.so.
5293 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5294 $(common-objpfx)math/libm.so$(libm.so-version) or
5295 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5296 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5297 $(common-objpfx)dlfcn/libdl.so.
5298 * setjmp/Makefile (link-libm): Remove variable.
5299 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5300 * stdio-common/Makefile (link-libm): Remove variable.
5301 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5302 * stdlib/Makefile (link-libm): Remove variable.
5303 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5304 ($(objpfx)tst-strtod-round): Likewise.
5305 ($(objpfx)tst-tininess): Likewise.
5306 ($(objpfx)tst-strtod-underflow): Likewise.
5307 ($(objpfx)tst-strtod6): Likewise.
5308 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5309 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5310 $(common-objpfx)dlfcn/libdl.so.
5311
026b0fe4
AZ
53122014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5313
5314 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5315 BSD terminal modes definitions.
5316
def4bcb2
RM
53172014-05-16 Roland McGrath <roland@hack.frob.com>
5318
fe39b021
RM
5319 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5320 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5321
1d1fc46e 5322 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5323 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5324 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5325 Don't do #include_next.
5326 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5327 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5328 Don't do #include_next.
5329 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5330 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5331 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5332 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5333
c72399fb
AM
53342014-05-16 Allan McRae <allan@archlinux.org>
5335
d51d659d
AM
5336 * po/sv.po: Update Swedish translation from translation project.
5337
c72399fb
AM
5338 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5339 in sed expression.
5340
d0583c40
AJ
53412014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5342
5343 [BZ #16917]
5344 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5345 errno if the TIOCGPTN ioctl fails with an error different than
5346 EINVAL.
5347 * login/tst-ptsname.c: New file.
5348 * login/Makefile (tests): Add tst-ptsname.
5349
d16e6ec7
AJ
5350 [BZ #16943]
5351 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5352 and prlimit64.
5353
cf26a0cb
SP
53542014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5355
5356 [BZ #16849]
5357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5358 herrno to return EAI_AGAIN.
5359
5675da1e
RM
53602014-05-14 Roland McGrath <roland@hack.frob.com>
5361
a5d87b3d
RM
5362 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5363 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5364 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5365 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5366 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5367 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5369 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5371 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5372 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5377 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5378 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5379 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5380 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5383 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5385 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5386 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5387 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5388 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5389 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5390 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5391 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5393 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5395 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5397 Moved ...
5398 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5408 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5414 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5416 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5418 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5420 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5422 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5424 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5426 Moved ...
5427 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5429 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5431 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5433 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5435 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5441 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5443 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5445 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5447 Moved ...
5448 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5450 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5451
039890a6
RM
5452 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5453 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5454 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5455 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5456 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5458 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5460 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5462 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5464 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5466 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5467 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5468 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5469 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5470 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5471 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5472 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5473 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5474 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5475 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5476 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5477 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5478 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5479 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5481 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5482 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5483
65c89320
RM
5484 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5485 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5486
348f8e8c
RM
5487 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5488 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5489 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5491 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5493 Moved ...
5494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5496 Moved ...
5497 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5499 Moved ...
5500 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5502 Moved ...
5503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5505 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5506 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5507 Moved ...
5508 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5509 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5510 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5512 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5514 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5516 Moved ...
5517 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5519 Moved ...
5520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5521 ... here.
5522 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5523 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5525 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5527 Moved ...
5528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5529 ... here.
5530 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5531 Moved ...
5532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5534 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5536 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5538 Moved ...
5539 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5541 Moved ...
5542 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5544 Moved ...
5545 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5547 Moved ...
5548 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5550 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5551 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5552 Moved ...
5553 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5555 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5557 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5559 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5561 Moved ...
5562 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5563 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5564 Moved ...
5565 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5566 ... here.
5567 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5568 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5570 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5572 Moved ...
5573 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5574 ... here.
5575 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5576 Moved ...
5577 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5579 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5581 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5583 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5585 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5587 Moved ...
5588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5590 Moved ...
5591 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5593 Moved ...
5594 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5596 Moved ...
5597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5599 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5601 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5603 Moved ...
5604 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5606 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5608 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5610 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5611 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5612 Moved ...
5613 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5614 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5615 Moved ...
5616 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5617 ... here.
5618 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5619 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5621 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5622 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5623 Moved ...
5624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5625 ... here.
5626 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5627 Moved ...
5628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5629 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5630 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5631 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5632 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5633 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5634 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5636 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5637 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5638 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5639
5085af05
RM
5640 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5641 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5642
708f0813
RM
5643 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5644 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5645
c96067bc
RM
5646 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5647 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5648 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5649 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5650 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5652 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5654 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5658 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5660 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5662 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5664 Moved ...
5665 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5667 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5669 Moved ...
5670 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5672 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5674 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5678 Moved ...
5679 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5680 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5681 Moved ...
5682 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5684 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5686 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5688 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5689 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5690 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5691 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5692 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5693 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5694 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5695 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5696 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5697 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5698 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5699
ec136444
RM
5700 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5701 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5702 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5703 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5704 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5705
2fbdf533
RM
5706 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5707 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5708 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5709 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5710 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5711 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5712 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5713 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5714 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5715 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5716
4c68138b
RM
5717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5718 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5719
4eaae765
RM
5720 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5721 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5722 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5723 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5724 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5725 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5726 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5727 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5728 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5729 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5730 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5731 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5732 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5733 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5735 Update #include.
5736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5737 Likewise.
5738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5739 Likewise.
5740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5741 Likewise.
5742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5743 Likewise.
5744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5745 Likewise.
5746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5747 Likewise.
5748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5749 Likewise.
5750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5751 Likewise.
5752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5753 Likewise.
4ef6befa
RM
5754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5760 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5763 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5764 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5765 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5766 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5767 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5768 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5769
941d7dfd
RM
5770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5771 that was previously under [RESET_PID].
5772 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5773 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5774 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5775
1b731c35
RM
5776 * sysdeps/i386/nptl/Implies: New file.
5777 * sysdeps/x86_64/nptl/Implies: New file.
5778 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5779 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5780 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5781 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5782
e2787137
RM
5783 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5784 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5785 (__libc_vfork): New strong alias.
5786 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5787 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5788
5789 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5790 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5791 (__libc_vfork): New strong alias.
5792 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5793 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5794
5675da1e
RM
5795 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5796 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5797 (__libc_vfork): New strong alias.
5798 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5799 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5800 * nptl/pt-vfork.c: New file.
5801 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5802 (libpthread: GLIBC_2.20): New version set (empty).
5803
4f02e2b8
WN
58042014-05-14 Will Newton <will.newton@linaro.org>
5805
5806 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5807 rather than #if.
5808
0bf061d3
JM
58092014-05-14 Joseph Myers <joseph@codesourcery.com>
5810
1a84c3d6
JM
5811 [BZ #16564]
5812 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5813 arguments with exponent 65 or above.
5814 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5815 arguments 0x1p113L or above.
5816 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5817 to arguments 0x1p107L or above.
5818 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5819 positive arguments with exponent 65 or above.
5820 * math/auto-libm-test-in: Add more tests of log1p.
5821 * math/auto-libm-test-out: Regenerated.
5822
01dbacd2
JM
5823 [BZ #16928]
5824 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5825 non-finite arguments is +0.
5826 * math/s_cacosf.c (__cacosf): Likewise.
5827 * math/s_cacosl.c (__cacosl): Likewise.
5828 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5829 * sysdeps/i386/fpu/libm-test-ulps: Update.
5830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5831
913d03c8
JM
5832 [BZ #16927]
5833 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5834 value.
5835 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5836 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5837 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5838 for explicit high bit of mantissa when testing for argument equal
5839 to 1.
5840 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5841 * sysdeps/i386/fpu/libm-test-ulps: Update.
5842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5843
0bf061d3
JM
5844 [BZ #16516]
5845 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5846 (__erf): Scale by 16 instead of 8 in potentially underflowing
5847 case. Ensure exception if result actually underflows.
5848 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5849 (__erff): Scale by 16 instead of 8 in potentially underflowing
5850 case. Ensure exception if result actually underflows.
5851 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5852 (efx8): Remove variable.
5853 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5854 case. Ensure exception if result actually underflows.
5855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5856 (efx8): Remove variable.
5857 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5858 case. Ensure exception if result actually underflows.
5859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5860 (efx8): Remove variable.
5861 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5862 case. Ensure exception if result actually underflows.
5863 * math/auto-libm-test-in: Add more tests of erf.
5864 * math/auto-libm-test-out: Regenerated.
5865
73ba67cb
AS
58662014-05-14 Andreas Schwab <schwab@suse.de>
5867
3d8c8bff
AS
5868 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5869 Remove code conditionalized on USE___THREAD.
5870
73ba67cb
AS
5871 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5872 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5873 not definedness.
5874
5c521ecd
JM
58752014-05-14 Joseph Myers <joseph@codesourcery.com>
5876
5e7698c6
JM
5877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5878 Define unconditionally.
5879 (__ASSUME_O_CLOEXEC): Likewise.
5880 (__ASSUME_SOCK_CLOEXEC): Likewise.
5881 (__ASSUME_IN_NONBLOCK): Likewise.
5882 (__ASSUME_PIPE2): Likewise.
5883 (__ASSUME_EVENTFD2): Likewise.
5884 (__ASSUME_SIGNALFD4): Likewise.
5885 (__ASSUME_DUP3): Likewise.
5886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5887 (__ASSUME_DUP3): Do not define.
5888 (__ASSUME_EVENTFD2): Likewise.
5889 (__ASSUME_IN_NONBLOCK): Likewise.
5890 (__ASSUME_O_CLOEXEC): Likewise.
5891 (__ASSUME_PIPE2): Likewise.
5892 (__ASSUME_SIGNALFD4): Likewise.
5893 (__ASSUME_SOCK_CLOEXEC): Likewise.
5894 (__ASSUME_UTIMES): Undefine.
5895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5896 (__ASSUME_UTIMES): Do not define.
5897 (__ASSUME_O_CLOEXEC): Likewise.
5898 (__ASSUME_SOCK_CLOEXEC): Likewise.
5899 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5900 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5901 0x020621].
5902 (__ASSUME_PIPE2): Likewise.
5903 (__ASSUME_EVENTFD2): Likewise.
5904 (__ASSUME_SIGNALFD4): Likewise.
5905 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5906 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5907 Do not define.
5908 (__ASSUME_EVENTFD2): Likewise.
5909 (__ASSUME_SIGNALFD4): Likewise.
5910 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5911 (__ASSUME_32BITUIDS): Likewise.
5912 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5913 (__ASSUME_IPC64): Likewise.
5914 (__ASSUME_ST_INO_64_BIT): Likewise.
5915 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5916 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5918 (__ASSUME_UTIMES): Do not define.
5919 (__ASSUME_PSELECT): Likewise.
5920 (__ASSUME_PPOLL): Likewise.
5921 (__ASSUME_O_CLOEXEC): Likewise.
5922 (__ASSUME_SOCK_CLOEXEC): Likewise.
5923 (__ASSUME_IN_NONBLOCK): Likewise.
5924 (__ASSUME_PIPE2): Likewise.
5925 (__ASSUME_EVENTFD2): Likewise.
5926 (__ASSUME_SIGNALFD4): Likewise.
5927 (__ASSUME_DUP3): Likewise.
5928 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5929 (__ASSUME_UTIMES): Likewise.
5930 (__ASSUME_O_CLOEXEC): Likewise.
5931 (__ASSUME_SOCK_CLOEXEC): Likewise.
5932 (__ASSUME_IN_NONBLOCK): Likewise.
5933 (__ASSUME_PIPE2): Likewise.
5934 (__ASSUME_EVENTFD2): Likewise.
5935 (__ASSUME_SIGNALFD4): Likewise.
5936 (__ASSUME_DUP3): Likewise.
5937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5938 (__ASSUME_UTIMES): Likewise.
5939 (__ASSUME_O_CLOEXEC): Likewise.
5940 (__ASSUME_SOCK_CLOEXEC): Likewise.
5941 (__ASSUME_IN_NONBLOCK): Likewise.
5942 (__ASSUME_PIPE2): Likewise.
5943 (__ASSUME_EVENTFD2): Likewise.
5944 (__ASSUME_SIGNALFD4): Likewise.
5945 (__ASSUME_DUP3): Likewise.
5946 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5947 Likewise.
5948 (__ASSUME_UTIMES): Likewise.
5949 (__ASSUME_EVENTFD2): Likewise.
5950 (__ASSUME_SIGNALFD4): Likewise.
5951 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5952 (__ASSUME_O_CLOEXEC): Likewise.
5953 (__ASSUME_SOCK_CLOEXEC): Likewise.
5954 (__ASSUME_IN_NONBLOCK): Likewise.
5955 (__ASSUME_PIPE2): Likewise.
5956 (__ASSUME_EVENTFD2): Likewise.
5957 (__ASSUME_SIGNALFD4): Likewise.
5958 (__ASSUME_DUP3): Likewise.
5959 (__ASSUME_UTIMES): Undefine.
5960
5c521ecd
JM
5961 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5962 feclearexcept. Remove symbol versioning code.
5963 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5964 symbol versioning code.
5965 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5966 symbol versioning code.
5967 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5968 feupdateenv. Remove symbol versioning code.
5969 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5970 fegetexceptflag. Remove symbol versioning code.
5971 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5972 fesetexceptflag. Remove symbol versioning code.
5973 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5974 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5975 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5976 (__posix_fadvise64_l32): Remove prototype.
5977 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5978 code.
5979
5da9dfad
RM
59802014-05-13 Roland McGrath <roland@hack.frob.com>
5981
5982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5983 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5984 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5985 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5986
893b4f37
SK
59872014-05-13 Sami Kerola <kerolasa@iki.fi>
5988
5989 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5990 current working directory
5991
e0db6517
RM
59922014-05-13 Roland McGrath <roland@hack.frob.com>
5993
58aa195d
RM
5994 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5995 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5996 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5997 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5998 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5999 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6000 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6003 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6004 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6007 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6008 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6009 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6010 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6011 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6012 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6013 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6014 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6015 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6016 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6017 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6018 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6019 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6020 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6021 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6022 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6023 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6024 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6025 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6026 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6027 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6028 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6029 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6030 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6031 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6032 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6033 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6034 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6035 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6036
8c6d01f0
RM
6037 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6038 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6039
6040 * sysdeps/unix/sysv/linux/arm/Makefile
6041 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6042 Add rt-aeabi_unwind_cpp_pr1.
6043 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6044 Add nptl-aeabi_unwind_cpp_pr1.
6045 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6046 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6047 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6048 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6049 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6050 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6051
6052 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6053 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6054 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6055 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6056
bba6da4e
RM
6057 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6058 Deconditionalize the code that was previously under [RESET_PID].
6059 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6060
e0db6517
RM
6061 * sysdeps/generic/exit-thread.h: New file.
6062 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6063 * include/unistd.h (__exit_thread): Remove declaration.
6064 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6065 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6066 * csu/libc-start.c: Include <exit-thread.h>.
6067 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6068 * nptl/pthread_create.c: Include <exit-thread.h>.
6069 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6070 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6071 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6072 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6073 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6074 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6075 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6076 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6077 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6078 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6079 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6080 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6081 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6082 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6083 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6084 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6085 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6086
01eb16fd
AS
60872014-05-13 Andreas Schwab <schwab@suse.de>
6088
6089 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6090
637461d9
JM
60912014-05-12 Joseph Myers <joseph@codesourcery.com>
6092
6093 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6094 (__ASSUME_UTIMES): Do not condition on kernel version.
6095 (__ASSUME_PSELECT): Define unconditionally.
6096 (__ASSUME_PPOLL): Likewise.
6097 (__ASSUME_ATFCTS): Likewise.
6098 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6099 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6100 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6101 (__ASSUME_UTIMENSAT): Define unconditionally.
6102 (__ASSUME_PRIVATE_FUTEX): Likewise.
6103 (__ASSUME_FALLOCATE): Likewise.
6104 (__ASSUME_O_CLOEXEC): Likewise.
6105 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6106 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6107 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6108 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6109 (__ASSUME_IN_NONBLOCK): Likewise.
6110 (__ASSUME_PIPE2): Likewise.
6111 (__ASSUME_EVENTFD2): Likewise.
6112 (__ASSUME_SIGNALFD4): Likewise.
6113 (__ASSUME_DUP3): Likewise.
6114 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6115 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6116 (__ASSUME_AT_RANDOM): Likewise.
6117 (__ASSUME_PREADV): Likewise.
6118 (__ASSUME_PWRITEV): Likewise.
6119 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6120 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6121 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6122 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6123 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6124 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6125 (__ASSUME_O_CLOEXEC): Define unconditionally.
6126 (__ASSUME_PSELECT): Do not undefine conditionally.
6127 (__ASSUME_PPOLL): Likewise.
6128 (__ASSUME_ATFCTS): Likewise.
6129 (__ASSUME_SET_ROBUST_LIST): Likewise.
6130 (__ASSUME_UTIMENSAT): Likewise.
6131 (__ASSUME_FDATASYNC): Define unconditionally.
6132 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6133 (__ASSUME_SIGFRAME_V2): Likewise.
6134 )__ASSUME_EVENTFD2): Likewise.
6135 (__ASSUME_SIGNALFD4): Likewise.
6136 (__ASSUME_PSELECT): Do not undefine conditionally.
6137 (__ASSUME_PPOLL): Likewise.
6138 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6139 (__ASSUME_PSELECT): Define unconditionally.
6140 (__ASSUME_PPOLL): Likewise.
6141 (__ASSUME_O_CLOEXEC): Likewise.
6142 (__ASSUME_SOCK_CLOEXEC): Likewise.
6143 (__ASSUME_IN_NONBLOCK): Likewise.
6144 (__ASSUME_PIPE2): Likewise.
6145 (__ASSUME_EVENTFD2): Likewise.
6146 (__ASSUME_SIGNALFD4): Likewise.
6147 (__ASSUME_DUP3): Likewise.
6148 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6149 (__ASSUME_O_CLOEXEC): Likewise.
6150 (__ASSUME_SOCK_CLOEXEC): Likewise.
6151 (__ASSUME_IN_NONBLOCK): Likewise.
6152 (__ASSUME_PIPE2): Likewise.
6153 (__ASSUME_EVENTFD2): Likewise.
6154 (__ASSUME_SIGNALFD4): Likewise.
6155 (__ASSUME_DUP3): Likewise.
6156 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6157 (__ASSUME_EVENTFD2): Likewise.
6158 (__ASSUME_SIGNALFD4): Likewise.
6159 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6160
315eb1d8
AS
61612014-05-12 Andreas Schwab <schwab@suse.de>
6162
6163 [BZ #16932]
6164 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6165 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6166 than maximum RPC packet size.
6167 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6168 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6169 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6170 (_nss_nis_getservbyport_r): Likewise.
6171
91df99f7
WN
61722014-05-12 Will Newton <will.newton@linaro.org>
6173
6174 * malloc/Makefile (tests): Add tst-mallopt.
6175 * malloc/tst-mallopt.c: New file.
6176
0a982a29
RM
61772014-05-09 Roland McGrath <roland@hack.frob.com>
6178
6179 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6180 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6181
0ded08a5
AZ
61822014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6183
6184 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6185 (tst-tlsmod6.so): Likewise.
6186
55d4d550
RM
61872014-05-09 Roland McGrath <roland@hack.frob.com>
6188
6189 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6190
77d08aca
JM
61912014-05-09 Joseph Myers <joseph@codesourcery.com>
6192
6193 [BZ #16064]
6194 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6195 and <dl-procinfo.h>.
6196 (__fegetenv): Save SSE state in envp->__eip if supported.
6197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6198 envp->__eip if supported.
6199 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6200 and <dl-procinfo.h>.
6201 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6202 __data_offset and __data_selector in environment to 0. Set SSE
6203 state if supported.
6204 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6205 test-fenv-sse.
6206 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6207 -mfpmath=sse.
6208 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6209
28162f4d
WN
62102014-05-09 Will Newton <will.newton@linaro.org>
6211
6212 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6213 and libc_relro_required for ARM.
6214 * sysdeps/arm/preconfigure: Regenerate.
6215
5a414ff7
DV
62162014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6217 Stefan Liebler <stli@linux.vnet.ibm.com>
6218
6219 * config.make.in (enable-lock-elision): New Makefile variable.
6220 * configure.ac: Likewise.
6221 * configure: Regenerate.
6222 * sysdeps/s390/configure.ac:
6223 Add check for gcc transactions support.
6224 * sysdeps/s390/configure: Regenerate.
6225 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6226 Build elision files if enabled.
6227 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6228 Add lock elision support for s390.
6229 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6230 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6231 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6232 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6233 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6234 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6235 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6236 Likewise.
6237 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6238 Likewise.
6239 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6240 Likewise.
6241 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6242 Likewise.
6243 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6244 (__lll_timedlock_elision, __lll_lock_elision)
6245 (__lll_unlock_elision, __lll_trylock_elision)
6246 (lll_timedlock_elision, lll_lock_elision)
6247 (lll_unlock_elision, lll_trylock_elision): Add.
6248 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6249 (pthread_mutex_t): Add lock elision support for s390.
6250
1a2f40e5
W
62512014-05-14 Wilco <wdijkstr@arm.com>
6252
6253 * sysdeps/arm/fclrexcpt.c: Cleanup.
6254 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6255 * sysdeps/arm/feenablxcpt.c: Cleanup.
6256 * sysdeps/arm/fegetenv.c: Cleanup.
6257 * sysdeps/arm/fegetexcept.c: Cleanup.
6258 * sysdeps/arm/fegetround.c: Cleanup.
6259 * sysdeps/arm/feholdexcpt.c: Cleanup.
6260 * sysdeps/arm/fesetenv.c: Cleanup.
6261 * sysdeps/arm/fesetround.c: Cleanup.
6262 * sysdeps/arm/feupdateenv.c: Cleanup.
6263 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6264 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6265 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6266 * sysdeps/arm/ftestexcept.c: Cleanup.
6267 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6268 * sysdeps/arm/setfpucw.c: Cleanup.
6269
f63c86fe
WN
62702014-05-09 Will Newton <will.newton@linaro.org>
6271
6272 * sysdeps/arm/armv7/strcmp.S: New file.
6273 * NEWS: Mention addition of ARMv7 optimized strcmp.
6274
7a1a51b5
RM
62752014-05-08 Roland McGrath <roland@hack.frob.com>
6276
95afbbe5
RM
6277 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6278 look for %.ac rather than %.in.
6279
6280 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6281 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6282 * sysdeps/mach/hurd/configure: Regenerated.
6283 * sysdeps/unix/sysv/linux/configure: Regenerated.
6284
7a1a51b5
RM
6285 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6286
5057ad3b
SE
62872014-05-07 Steve Ellcey <sellcey@mips.com>
6288
6289 [BZ# 16922]
6290 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6291 (LONG_SUB): Ditto.
6292 (PTR_SUB): Ditto.
6293
8dc97517
AS
62942014-05-07 Andreas Schwab <schwab@suse.de>
6295
6296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6297 when skipping over non-matching result from nscd.
6298
ce0c5b8f
OB
62992014-05-07 Ondřej Bílka <neleai@seznam.cz>
6300
6301 [BZ #16876]
6302 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6303
a1189263
OB
6304 [BZ #16877]
6305 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6306 nscd security class.
ce0c5b8f 6307
0f58d252
RM
63082014-05-06 Roland McGrath <roland@hack.frob.com>
6309
6310 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6311 * sysdeps/arm/unwind.h: ... here.
6312
83df9ad0
AJ
63132014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6314
ce0c5b8f
OB
6315 [BZ# 16916]
6316 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6317 Define.
83df9ad0 6318
f360f94a
VR
63192014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6320
6321 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6322 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6323 multiarch strncpy for PPC64.
6324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6325 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6327 multiarch optimizations.
6328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6329 (__libc_ifunc_impl_list): Likewise.
6330 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6332 multiarch stpncpy for PPC64.
6333 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6334 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6335
978a41c3
AS
63362014-05-06 Andreas Schwab <schwab@suse.de>
6337
6338 [BZ #16912]
6339 * gmon/mcount.c (_MCOUNT_DECL): Use
6340 atomic_compare_and_exchange_bool_acq instead of
6341 catomic_compare_and_exchange_bool_acq.
6342
eb1ed03d
RM
63432014-05-05 Roland McGrath <roland@hack.frob.com>
6344
fe658845
RM
6345 * elf/Makefile (others, install-bin): Remove pldd.
6346 (pldd-modules): Variable removed.
6347 ($(objpfx)pldd): Target removed.
6348 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6349 (others, install-bin): Append pldd here.
6350 ($(objpfx)pldd): New target.
6351
eb1ed03d
RM
6352 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6353 to 0, so the first #if test emitted later doesn't see it undefined.
6354 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6355 * sysdeps/gnu/errlist.c: Regenerated.
6356
19c4bec0
AZ
63572014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6358
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6360 [libc_hidden_builtin_def]: Define to empty value.
6361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6362 [libc_hidden_builtin_def]: Likewise.
6363 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6364 [libc_hidden_builtin_def]: Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6366 [libc_hidden_builtin_def]: Likewise.
6367 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6368 __redirect_memcpy and define ifunc as default hidden symbol.
6369 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6370 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6371
7776e669
AC
63722014-05-04 Adam Conrad <adconrad@0c3.net>
6373
6374 * locale/iso-4217.def: Reintroduce XDR currency.
6375
d69aeb12
AM
63762014-05-04 Allan McRae <allan@archlinux.org>
6377
6378 * po/eo.po: Update Esperanto translation from translation project.
6379
8f1df5cf
CD
63802014-05-02 Carlos O'Donell <carlos@redhat.com>
6381
6382 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6383 and FEATURE_INDEX_MAX to 1.
6384 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6385
13e402e7
SE
63862014-05-01 Steve Ellcey <sellcey@mips.com>
6387
6388 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6389 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6390 * iconvdata/big5.c (ONE_DIRECTION): Define.
6391 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6392 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6393 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6394 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6395 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6396 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6397 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6398 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6399 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6400 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6401 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6402 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6403 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6404 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6405 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6406 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6407 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6408 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6409 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6410 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6411 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6412 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6413 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6414 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6415 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6416 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6417 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6418 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6419 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6420 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6421 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6422 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6423 * iconvdata/johab.c (ONE_DIRECTION): Define.
6424 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6425 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6426 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6427 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6428 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6429 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6430 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6431 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6432 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6433 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6434
c727f032
RM
64352014-05-01 Roland McGrath <roland@hack.frob.com>
6436
8f2f08d0
RM
6437 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6438 (_IO_JUMPS_OFFSET): Define to 0.
6439
c727f032
RM
6440 * nptl/sysdeps/pthread/bits/libc-lock.h
6441 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6442 (__libc_lock_define_initialized_recursive): Always define using
6443 initializer. Modern compilers treat uninitialized (implicit zero) and
6444 explicit zero initializers the same (i.e. put the datum in bss).
6445
a849e800
AS
64462014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6447
6448 * nscd/nscd-client.h: Include <string.h>.
6449
5331255b
DM
64502014-05-01 David S. Miller <davem@davemloft.net>
6451
6452 [BZ #16885]
6453 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6454 multiple zero bytes exist at the end of a string.
6455 Reported by Aurelien Jarno <aurelien@aurel32.net>
6456
6457 * string/test-strcmp.c (check): Add explicit test for situations where
6458 there are multiple zero bytes after the first.
6459
4fdfe821
AS
64602014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6461
6462 [BZ #16890]
6463 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6464 when compiling wprintf.
6465 * stdio-common/tstdiomisc.c (t3): New function.
6466 (main): Call it.
6467
0cdddc25
SE
64682014-05-01 Steve Ellcey <sellcey@mips.com>
6469
6470 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6471 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6472 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6473 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6474
6426d77e
SE
64752014-05-01 Steve Ellcey <sellcey@mips.com>
6476
6477 * stdlib/longlong.h: Updated from GCC.
6478
6d96f5e4
WN
64792014-05-01 Will Newton <will.newton@linaro.org>
6480 Bernard Ogden <bernie.ogden@linaro.org>
6481
7470db0c
WN
6482 * NEWS: Update fixed bug list.
6483
6d96f5e4
WN
6484 [BZ #15119]
6485 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6486
211d653c
DM
64872014-04-30 David S. Miller <davem@davemloft.net>
6488
4fa262fa
DM
6489 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6490 (libc_feholdexcept_setround_sparc_ctx): New function.
6491 (libc_fesetenv_sparc_ctx): Likewise.
6492 (libc_feupdateenv_sparc_ctx): Likewise.
6493 (libc_feholdsetround_sparc_ctx): Likewise.
6494 (libc_feholdexcept_setround_ctx): Define.
6495 (libc_feholdexcept_setroundf_ctx): Likewise.
6496 (libc_feholdexcept_setroundl_ctx): Likewise.
6497 (libc_fesetenv_ctx): Likewise.
6498 (libc_fesetenvf_ctx): Likewise.
6499 (libc_fesetenvl_ctx): Likewise.
6500 (libc_feupdateenv_ctx): Likewise.
6501 (libc_feupdateenvf_ctx): Likewise.
6502 (libc_feupdateenvl_ctx): Likewise.
6503 (libc_feresetround_ctx): Likewise.
6504 (libc_feresetroundf_ctx): Likewise.
6505 (libc_feresetroundl_ctx): Likewise.
6506 (libc_feholdsetround_ctx): Likewise.
6507 (libc_feholdsetroundf_ctx): Likewise.
6508 (libc_feholdsetroundl_ctx): Likewise.
6509
1d3d93ef
DM
6510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6511 with __USE_GNU instead of XOPEN cpp guards.
6512
8aa583c3
DM
6513 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6514 0.
6515
211d653c
DM
6516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6517 with XOPEN cpp guards.
6518
60c8f1f6
JB
65192014-04-30 Julian Brown <julian@codesourcery.com>
6520
6521 [BZ #16888]
6522 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6523 handling.
6524
9a461d46
JM
65252014-04-30 Joseph Myers <joseph@codesourcery.com>
6526
d0f5b3f8
JM
6527 [BZ #9894]
6528 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6529 Change to 2.6.32.
6530 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6531 * sysdeps/unix/sysv/linux/configure: Regenerated.
6532 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6533 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6534 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6535 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6536 * README: Update reference to required Linux kernel version.
6537 * manual/install.texi (Linux): Update reference to required Linux
6538 kernel headers version.
6539 * INSTALL: Regenerated.
6540
9a461d46
JM
6541 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6542 header inclusion.
6543 [POSIX] (limits.h): Likewise.
6544 [POSIX] (math.h): Likewise.
6545 [POSIX] (sys/wait.h): Likewise.
6546 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6547 function.
6548 [POSIX] (stddef.h): Do not allow header inclusion.
6549
1775babf
AZ
65502014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6551
57f41c40 6552 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6553
8f630cca
YY
65542014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6555
6556 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6557 Return immediately after lll_futex_wake.
6558
1cdeb237
SP
65592014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
bc8f194c
SP
6561 [BZ #16791]
6562 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6563 structure.
6564 (datahead_init_pos): Call datahead_init_common early.
6565 (datahead_init_neg): Likewise.
6566
1cdeb237
SP
6567 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6568 datahead_init_neg): New functions.
6569 * nscd/aicache.c (addhstaiX): Use them.
6570 * nscd/grpcache.c (cache_addgr): Likewise.
6571 * nscd/hstcache.c (cache_addhst): Likewise.
6572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6573 * nscd/netgroupcache.c (do_notfound): Likewise.
6574 (addgetnetgrentX): Likewise.
6575 (addinnetgrX): Likewise.
6576 * nscd/pwdcache.c (cache_addpw): Likewise.
6577 * nscd/servicescache.c (cache_addserv): Likewise.
6578
16b293a7
SP
65792014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6580 Atsushi Onoe <atsushi@onoe.org>
6581
6582 [BZ #14308]
6583 [BZ #12994]
6584 [BZ #13651]
6585 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6586 one response is valid.
6587 * resolv/res_send.c (send_dg): Check for validity of other
6588 response if the current response is a referral.
6589
a28a9b94
SE
65902014-04-29 Steve Ellcey <sellcey@mips.com>
6591
6592 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6593
2ca180e9
SL
65942014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6595
6596 [BZ #16823]
6597 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6598 Always divide by positive zero when computing -Inf result.
6599 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6600 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6601
18f2945a
AZ
66022014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6603
6604 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6605 FPSCR if value do not change.
6606 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6607 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6608 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6609 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6610 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6611 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6612 function.
6613
5abebba4
CD
66142014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6615
6616 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6617 * sysdeps/unix/sysv/linux/hppa: Move directory from
6618 ports/systeps/unix/sysv/linux/hppa.
6619 * README: Update listing for hppa-*-linux-gnu.
6620
f7ed60c2
OB
66212014-04-28 Ondřej Bílka <neleai@seznam.cz>
6622
fff763a5
OB
6623 [BZ #16754]
6624 * manual/stdio.texi (Hook functions): Fix types of stream hook
6625 functions.
f7ed60c2
OB
6626 [BZ #16854]
6627 * socket/sys/socket.h: Fix typo in comment.
6628
df639d73
WD
66292014-04-28 Wilco <wdijkstr@arm.com>
6630
f7ed60c2 6631 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6632 * sysdeps/arm/math_private.h: New file.
6633 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6634
48332d82
L
66352014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6638 with __int128_t.
6639 (La_x86_64_retval): Likewise.
6640
e5e0d9a4
IB
66412014-04-24 Ian Bolton <ian.bolton@arm.com>
6642
6643 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6644 fpsr if value didn't change.
6645 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6646 to fpcr if value didn't change.
6647 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6648 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6649 fpsr or fpcr if value didn't change.
6650 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6651 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6652 fpcr if value didn't change.
6653 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6654 to fpsr if value didn't change.
6655
bacc75f7
SP
66562014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6657
6658 * nptl/tst-sem3.c: Use test-skeleton.c
6659 (main): Rename to do_test. Use return instead of
6660 exit.
6661 * nptl/tst-sem4.c: Use test-skeleton.c
6662 (main): Rename to do_test.
6663
a059d359
DM
66642014-04-22 David S. Miller <davem@davemloft.net>
6665
6666 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6667 (struct sigaction): New struct member __glibc_reserved0, change
6668 type of sa_flags to int.
6669
ea6c92f3
YZ
66702014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6671
6672 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6673 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6674
766c4a36
SP
66752014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6676
6677 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6678 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6679
140cc7ab
VK
66802014-04-22 Will Newton <will.newton@linaro.org>
6681 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6682
6683 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6684 (__longjmp): Add longjmp and longjmp_target SystemTap
6685 probes.
6686 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6687 (__sigsetjmp): Add setjmp SystemTap probe.
6688
c54e5cf7
CD
66892014-04-17 Carlos O'Donell <carlos@redhat.com>
6690
6691 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6692 match manual order.
6693
75ffb047
AZ
66942014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6695
6696 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6697
2cd925f7
AZ
6698 * sysdeps/powerpc/fpu/fenv_private.h
6699 (libc_feholdexcept_setroundl_ctx): Define to
6700 libc_feholdexcept_setround_ppc_ctx.
6701 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6702 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6703 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6704 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6705
39e6cd8d
IB
67062014-04-17 Ian Bolton <ian.bolton@arm.com>
6707
6708 * sysdeps/aarch64/math-tests.h: New file.
6709
f9281df9
SY
67102014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6711
6712 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6713 New.
6714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6715 Check and set bit_AVX2_Usable.
6716 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6717 macro.
6718 (bit_AVX2): Likewise.
6719 (index_AVX2_Usable): Likewise.
6720 (CPUID_AVX2): Likewise.
6721 (HAS_AVX2): Likewise.
6722
37d35007
WN
67232014-04-17 Will Newton <will.newton@linaro.org>
6724
7c677662
WN
6725 * manual/setjmp.texi (System V contexts): Add note that
6726 calling setcontext on a context created by a call to a
6727 signal handler is undefined. Update text to note that
6728 setcontext from a signal handler is possible but not
6729 recommended.
6730
37d35007 6731 [BZ #16629]
e04a4e9d
WN
6732 * stdlib/tst-setcontext.c: Include signal.h.
6733 (main): Check that the signal stack before and
6734 after swapcontext is the same.
6735
37d35007
WN
6736 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6737 Re-implement to restore registers in user code and avoid
6738 rt_sigreturn system call.
6739
423a7160
W
67402014-04-17 Wilco <wdijkstr@arm.com>
6741
6742 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6743 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6744 * math/test-fenv.c: Skip exception trap tests on targets which only
6745 support non-stop mode.
6746
bc93ab29
IB
67472014-04-17 Ian Bolton <ian.bolton@arm.com>
6748 Wilco Dijkstra <wilco.dijkstra@arm.com>
6749
6750 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6751 (libc_feholdsetround_aarch64_ctx)
6752 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6753 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6754 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6755 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6756 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6757 (libc_feresetround_noexl_ctx): Define.
6758
95fc5fa3
RH
67592014-04-16 Richard Henderson <rth@redhat.com>
6760
ddb04724
RH
6761 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6762
d77c0899
RH
6763 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6764 unwind tables.
6765
a3df56fc
RH
6766 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6767 const from the non-libc, non-ldso copy.
6768
95fc5fa3
RH
6769 * sysdeps/alpha/libm-test-ulps: Regenerate.
6770
7e0b6763
IB
67712014-04-16 Ian Bolton <ian.bolton@arm.com>
6772 Wilco Dijkstra <wilco.dijkstra@arm.com>
6773
6774 * sysdeps/aarch64/fpu/math_private.h: New file.
6775
a9ea2e0c
MS
67762014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6777
6778 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6779
ea8ba7cd
IZ
67802014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6781
7e54fd04 6782 [BZ #16275]
ea8ba7cd
IZ
6783 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6784 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6786 Intel MPX bound registers before _dl_profile_fixup.
6787 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6788 registers after _dl_profile_fixup. Save and restore bound
6789 registers bnd0/bnd1 when calling _dl_call_pltexit.
6790 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6791 (LR_BND_OFFSET): Likewise.
6792 (LRV_BND0_OFFSET): Likewise.
6793 (LRV_BND1_OFFSET): Likewise.
6794
9f2a4fbc
ST
67952014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6796
6797 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6798 to...
6799 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6800 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6801 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6802 fields.
9f2a4fbc 6803
fd15a59b
ST
68042014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6805
6806 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6807
f19dfa0a
SL
68082014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6809
6810 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6811
4fa8bc3b
SL
68122014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6813
6814 [BZ #14770]
6815 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6816 * sysdeps/s390/configure: Regenerate.
6817
8ea587db
SL
6818 [BZ #16824]
6819 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6820 Set round-to-nearest internally to reduce error accumulation.
6821
aa5f0ff1
AM
68222014-04-16 Alan Modra <amodra@gmail.com>
6823
6824 [BZ #16740]
6825 [BZ #16619]
6826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6827 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6828 * NEWS: Update fixed bug list.
aa5f0ff1 6829
bb9c256f
SP
68302014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6831
6832 * benchtests/Makefile: Depend on libraries in build directory.
6833 (bench-math): Separate out math tests.
6834 (bench-pthread): Separate out pthread tests.
6835 (bench): Include math and pthread tests.
6836
f737dfd0
CD
68372014-04-14 Carlos O'Donell <carlos@redhat.com>
6838
6839 [BZ #16831]
6840 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6841 _dl_debug_initialize.
6842
0699f766
CD
6843 * configure.ac: Remove SELinux header check.
6844 * configure: Regenerate.
6845 * nscd/selinux.c (perms): Array of const char* to permission names.
6846 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6847 default policy. Call string_to_security_class and string_to_av_perm to
6848 translate strings. Enforce default policy and call avs_has_perm with
6849 results of translated strings.
6850
809bd45f
DM
68512014-04-13 David S. Miller <davem@davemloft.net>
6852
6853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6854
89e691f2
AM
68552014-04-12 Allan McRae <allan@archlinux.org>
6856
6857 [BZ #16838]
6858 * manual/string.texi (Collation Functions): Fix qsort argument
6859 order in example.
6860 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6861
9c9daaeb
CM
68622014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6863
6864 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6865 Make the test a no-op if there are no exceptions defined.
6866
95561fb9
PP
68672014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6868
fe8d072c 6869 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6870 enable-hardcoded-path-in-tests
6871
970c602a
WN
68722014-04-11 Will Newton <will.newton@linaro.org>
6873
6874 * benchtests/Makefile (extra-objs): Add json-lib.o.
6875 (bench-func): Tidy up JSON output.
6876 * benchtests/bench-skeleton.c: Include json-lib.h.
6877 (main): Use JSON library functions to do output of
6878 benchmark results.
6879 * benchtests/bench-timing-type.c (main): Output the
6880 timing type simply, leaving formatting to the user.
6881 * benchtests/json-lib.c: New file.
6882 * benchtests/json-lib.h: Likewise.
6883
36875b06
TR
68842014-04-11 Torvald Riegel <triegel@redhat.com>
6885
6886 [BZ #15215]
6887 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6888 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6889 memory barriers. Add comments.
6890 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6891 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6892 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6893 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6894 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6895 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6896
579db35a
SL
68972014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6898
6899 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6900 * sysdeps/s390/s390-64/configure.ac: ... this ...
6901 * sysdeps/s390/configure.ac: ... to here.
6902 * sysdeps/s390/s390-32/configure: Delete file.
6903 * sysdeps/s390/s390-64/configure: Delete file.
6904 * sysdeps/s390/configure: Regenerate.
6905
c12e9f37
JAPH
69062014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6907
6908 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6909
439bda32
WN
69102014-04-11 Will Newton <will.newton@linaro.org>
6911
6912 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6913 to zero if it is not defined elsewhere. (mtrim): Test
6914 the value of MALLOC_DEBUG with #if rather than #ifdef.
6915
6a5d6ea1
TR
69162014-04-10 Torvald Riegel <triegel@redhat.com>
6917
6918 * benchtests/pthread_once-inputs: New file.
6919 * benchtests/pthread_once-source.c: New file.
6920 * benchtests/README: Update documentation.
6921
a4c75cfd
IZ
69222014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6923 H.J. Lu <hongjiu.lu@intel.com>
6924
7e54fd04 6925 [BZ #16275]
a4c75cfd
IZ
6926 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6927 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6928 * sysdeps/x86_64/configure: Regenerated.
6929 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6930 macro.
6931 (REGISTER_SAVE_RAX): Likewise.
6932 (REGISTER_SAVE_RCX): Likewise.
6933 (REGISTER_SAVE_RDX): Likewise.
6934 (REGISTER_SAVE_RSI): Likewise.
6935 (REGISTER_SAVE_RDI): Likewise.
6936 (REGISTER_SAVE_R8): Likewise.
6937 (REGISTER_SAVE_R9): Likewise.
6938 (REGISTER_SAVE_BND0): Likewise.
6939 (REGISTER_SAVE_BND1): Likewise.
6940 (REGISTER_SAVE_BND2): Likewise.
6941 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6942 bound registers when calling _dl_fixup.
6943
27822ce6
AZ
69442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6945
6946 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6947 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6948 of its definition.
27822ce6
AZ
6949 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6950 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6951 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6952 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6953 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6954 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6955 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6956
a88ddc90
PTB
69572014-04-09 Peter Brett <peter@peter-b.co.uk>
6958
6959 [BZ #15514]
6960 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6961 pathconf(_PC_NAME_MAX).
6962
01f8eac2
AZ
69632014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6964
6965 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6966 Remove macro usage.
6967 (__PTHREAD_SPINS): Move definition to ...
6968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6969 (__PTHREAD_SPINS): ... here.
6970 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6971 (__PTHREAD_SPIN): Likewise.
6972 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6973 (__PTHREAD_SPIN): Likewise.
6974 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6975 (__PTHREAD_SPIN): Likewise.
6976 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6977 (__PTHREAD_SPIN): Likewise.
6978 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6979 (__PTHREAD_SPIN): Likewise.
6980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6981 (__PTHREAD_SPIN): Likewise.
6982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6983 (__PTHREAD_SPIN): Likewise.
6984 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6985 (__PTHREAD_SPIN): Likewise.
6986 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6987 (__PTHREAD_SPIN): Likewise.
6988 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6989 (__PTHREAD_SPIN): Likewise.
6990 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6991 (__PTHREAD_SPIN): Likewise.
6992 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6993 (__PTHREAD_SPIN): Likewise.
6994
de21c33c
AZ
6995 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6996 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6997 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6998 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6999 imply folder.
7000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7001 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7002 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7003 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7004 correct imply path.
7005 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7006 strlen symbol for non multi-arch builds.
7007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7008 missing hidden_def and weak_alias.
7009
862c472e
CD
70102014-04-08 Carlos O'Donell <carlos@redhat.com>
7011
7012 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7013
8667f90e
WN
70142014-04-07 Will Newton <will.newton@linaro.org>
7015
7016 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7017 and contents. [!_LIBC] Remove #ifndef and contents.
7018 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7019 * string/memccpy.c (__memccpy): Use ANSI prototype.
7020 * string/memfrob.c (memfrob): Likewise.
7021 * string/strcoll.c (STRCOLL): Likewise.
7022 * string/strlen.c (strlen): Likewise.
7023 * string/strtok.c (STRTOK): Likewise.
7024 * string/strcat.c: Remove unused #include of memcopy.h.
7025 (strcat): Use ANSI prototype.
7026 * string/strchr.c: Remove unused #include of memcopy.h.
7027 (strchr): Use ANSI prototype.
7028 * string/strcmp.c: Remove unused #include of memcopy.h.
7029 (strcmp): Use ANSI prototype.
7030 * string/strcpy.c: Remove unused #include of memcopy.h.
7031 (strcpy): Use ANSI prototype.
7032
7ffa9423
AZ
70332014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034
7035 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7036 * config.make.in (config-extra-cppflags): Set it from
7037 libc_extra_cppflags.
7038 * configure.ac (libc_extra_cflags): Make it accumulate over
7039 configure fragments.
7040 (libc_extra_cppflags): New flag.
7041 * configure. Regenerate.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7043 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7044 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7046
8bd70862
AZ
7047 [BZ #16815]
7048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7049 result for FE_DOWNWARD rounding mode.
7050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7051 Likewise.
7052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7053
d42f3448
CM
70542014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7055
7056 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7057 in function argument name.
7058
1c21d115
DS
70592014-04-03 David Svoboda <svoboda@cert.org>
7060
7061 [BZ #5666]
7062 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7063 explicitly.
7064
fcccd512
RM
70652014-04-03 Roland McGrath <roland@hack.frob.com>
7066
7067 * elf/dl-unmap-segments.h: New file.
7068 * sysdeps/generic/ldsodefs.h
7069 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7070 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7071 * elf/dl-fptr.c: Likewise.
7072 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7073 * sysdeps/aarch64/tlsdesc.c: Likewise.
7074 * sysdeps/arm/tlsdesc.c: Likewise.
7075 * sysdeps/i386/tlsdesc.c: Likewise.
7076 * sysdeps/tile/dl-runtime.c: Likewise.
7077 * sysdeps/x86_64/tlsdesc.c: Likewise.
7078 * elf/dl-load.h: New file.
7079 * elf/dl-load.c: Include it.
7080 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7081 Macros moved to dl-load.h.
7082 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7083 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7084 Use _dl_unmap_segments in place of __munmap.
7085 Break out segment-mapping loop into ...
7086 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7087
f6488e2b
WN
70882014-04-03 Will Newton <will.newton@linaro.org>
7089
7090 * elf/dl-lookup.c (do_lookup_x): Remove comment
7091 referring to nested function and move variable
7092 declarations down to before first use.
7093
6f05bafe
JM
70942014-04-02 Joseph Myers <joseph@codesourcery.com>
7095
a84e78c8
JM
7096 [BZ #16799]
7097 [BZ #16800]
7098 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7099 with 0 numerator.
7100 * math/s_catanf.c (__catanf): Likewise.
7101 * math/s_catanh.c (__catanh): Likewise.
7102 * math/s_catanhf.c (__catanhf): Likewise.
7103 * math/s_catanhl.c (__catanhl): Likewise.
7104 * math/s_catanl.c (__catanl): Likewise.
7105 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7106 by positive zero when computing -Inf result.
7107 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7108 (catanh_test): Likewise.
7109 * sysdeps/i386/fpu/libm-test-ulps: Update.
7110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7111
6f05bafe
JM
7112 [BZ #16789]
7113 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7114 instead of using underflowing value in computing result.
7115 * math/s_clog10.c (__clog10): Likewise.
7116 * math/s_clog10f.c (__clog10f): Likewise.
7117 * math/s_clog10l.c (__clog10l): Likewise.
7118 * math/s_clogf.c (__clogf): Likewise.
7119 * math/s_clogl.c (__clogl): Likewise.
7120 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7121 (clog10_test): Likewise.
7122 * sysdeps/i386/fpu/libm-test-ulps: Update.
7123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7124
b0abbc21
AM
71252014-04-02 Alan Modra <amodra@gmail.com>
7126
7127 [BZ #16739]
7128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7129 output when value is near a power of two. Use int64_t for lx and
7130 remove casts. Use decimal rather than hex exponent constants.
7131 Don't use long double multiplication when double will suffice.
7132 * math/libm-test.inc (nextafter_test_data): Add tests.
7133 * NEWS: Add 16739 and 16786 to bug list.
7134
af6b1797
AM
7135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7136
483818d7
AM
7137 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7138
f6c55796
WN
71392014-04-01 Will Newton <will.newton@linaro.org>
7140
7141 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7142 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7143
13f7fe35
FW
71442014-04-01 Florian Weimer <fweimer@redhat.com>
7145
7146 [BZ #13347]
7147 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7148 * nptl/tst-setuid2.c: New file.
7149 * nptl/Makefile (xtests): Add tst-setuid2.
7150
c859b32e
AM
71512014-04-01 Alan Modra <amodra@gmail.com>
7152
7153 [BZ #16786]
7154 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7155
54fa2475
JM
71562014-03-31 Joseph Myers <joseph@codesourcery.com>
7157
8795b4a4
JM
7158 [BZ #6803]
7159 [BZ #6804]
7160 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7161 set errno as appropriate.
7162 * math/w_scalbf.c (__scalbf): Likewise.
7163 * math/w_scalbl.c (__scalbl): Likewise.
7164 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7165 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7166 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7167 Add more NaN tests.
7168
54fa2475
JM
7169 [BZ #16349]
7170 * math/w_atan2.c: Include <errno.h>.
7171 (__atan2): Set errno for result underflowing to zero.
7172 * math/w_atan2f.c: Include <errno.h>.
7173 (__atan2f): Set errno for result underflowing to zero.
7174 * math/w_atan2l.c: Include <errno.h>.
7175 (__atan2l): Set errno for result underflowing to zero.
7176 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7177 tests.
7178 * math/auto-libm-test-out: Regenerated.
7179
757d9dd5
AZ
71802014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7181
7182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7183 Encode instruction correctly in little endian.
7184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7185 Likewise.
7186 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7187 Likewise.
7188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7189 Likewise.
7190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7191 Likewise.
7192
d7a68734
JM
71932014-03-31 Joseph Myers <joseph@codesourcery.com>
7194
47c5adeb
JM
7195 [BZ #9894]
7196 * sysdeps/unix/sysv/linux/kernel-features.h
7197 [__sparc__ && !__arch64__ && !__sparc_v9__]
7198 (__ASSUME_SET_ROBUST_LIST): Do not define.
7199 [__sparc__ && !__arch64__ && !__sparc_v9__]
7200 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7201 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7202 Likewise.
7203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7204 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7205 (__ASSUME_REQUEUE_PI): Likewise.
7206 (__ASSUME_SET_ROBUST_LIST): Likewise.
7207 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7208 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7209 Undefine.
7210 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7212 Likewise.
7213 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7214 Likewise.
7215 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7216 Likewise.
7217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7218 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7219 Undefine.
7220 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7221 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7222 Likewise.
7223
d7a68734
JM
7224 [BZ #16648]
7225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7227 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7228
c760f5c2
WN
72292014-03-31 Will Newton <will.newton@linaro.org>
7230
7231 * benchtests/Makefile (bench): Add ffs and ffsll to list
7232 of tests.
7233 * benchtests/ffs-inputs: New file.
7234 * benchtests/ffsll-inputs: Likewise.
7235
ea6029b1
JM
72362014-03-29 Joseph Myers <joseph@codesourcery.com>
7237
7238 [BZ #16770]
7239 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7240 too large before casting to int.
7241 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7242 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7243 * math/libm-test.inc (scalb_test_data): Add more tests.
7244
cf806aff
SP
72452014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7246
56737508
SP
7247 * benchtests/Makefile (DETAILED_OPT): New make option.
7248 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7249 set.
7250 * benchtests/bench-skeleton.c: Include stdbool.h.
7251 (main): Store and print timings per input.
7252 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7253 member to each argument value.
7254 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7255 (_print_arg_data): Initialize per-input timing to 0.
7256
cb5e4aad
SP
7257 * benchtests/Makefile (timing-type): New binary.
7258 (bench-clean): Also remove bench-timing-type.
7259 (bench): New target for timing-type.
7260 (bench-func): Print output in JSON format.
7261 * benchtests/bench-skeleton.c (main): Print output in JSON
7262 format.
7263 * benchtests/bench-timing-type.c: New file.
7264 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7265 (TIMING_PRINT_STATS): Remove.
7266 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7267 name separately.
7268
cf806aff
SP
7269 * benchtests/bench-modf.c: Remove.
7270 * benchtests/modf-inputs: New inputs file.
7271
289e0779
JM
72722014-03-28 Joseph Myers <joseph@codesourcery.com>
7273
7274 [BZ #16362]
7275 * math/s_clog10.c (M_PI_LOG10E): New macro.
7276 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7277 imaginary parts are 0.
7278 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7279 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7280 imaginary parts are 0.
7281 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7282 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7283 imaginary parts are 0.
7284 * math/libm-test.inc (clog10_test_data): Update expected results
7285 for when real and imaginary parts are 0.
7286
277ae3f1
PP
72872014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7288
7289 * elf/dl-load.c: Finish conversion of __builtin_expect into
7290 __glibc_{un}likely.
7291
03a7091f
JM
72922014-03-27 Joseph Myers <joseph@codesourcery.com>
7293
7294 [BZ #16348]
7295 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7296 1+x for argument with exponent below -67.
7297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7298 Likewise.
7299 * math/auto-libm-test-in: Add more tests of exp.
7300 * math/auto-libm-test-out: Regenerated.
7301
ea7d8b95
SP
73022014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7303
dd3022d7
SP
7304 [BZ #16759]
7305 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7306 (nscd_getnetgrent): Use it.
7307
ea7d8b95
SP
7308 [BZ #16760]
7309 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7310 of stpcpy.
7311
df5b85da
AK
73122014-03-27 Andi Kleen <ak@linux.intel.com>
7313
57f41c40
AS
7314 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7315 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7316 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7317 (lll_robust_unlock): Remove out of line section. Use cfi
7318 intrinsics.
df5b85da 7319 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7320 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7321 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7322 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7323 (lll_robust_unlock): Remove out of line section. Use cfi
7324 intrinsics.
df5b85da
AK
7325 (LLL_STUB_UNWIND_INFO*): Remove.
7326
fbd6b5a4
SP
73272014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7328
7329 [BZ #16758]
7330 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7331 blank values.
7332
1b26b855
PP
73332014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7334
7335 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7336
9be36fb8
JM
73372014-03-26 Joseph Myers <joseph@codesourcery.com>
7338
7339 [BZ #16198]
7340 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7341 fnstenv.
7342 * math/test-fenv-preserve.c: New file.
7343 * math/Makefile (tests): Add test-fenv-preserve.
7344
60a2f3c1
WN
73452014-03-26 Will Newton <will.newton@linaro.org>
7346
7347 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7348
a5e5f1e2
RM
73492014-03-25 Roland McGrath <roland@hack.frob.com>
7350
7351 * scripts/versionlist.awk: Partition the version sets and emit all
7352 GLIBC_* (sorted) before all others (sorted).
7353
00f4012a
JM
73542014-03-25 Joseph Myers <joseph@codesourcery.com>
7355
7356 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7357 GLIBC_2.2.5 version.
7358
7bc5a741
AZ
73592014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7360
7361 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7362 calls.
7363
7578473b
AZ
7364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7365 previous change.
7366
f3f1dab3
AZ
7367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7368
6da36183
AS
73692014-03-25 Andreas Schwab <schwab@suse.de>
7370
7371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7372 label to be used after in6ailist is initialized.
7373
f3f1dab3 73742014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7375
7578473b 7376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7377 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7378
046651c1
JM
73792014-03-25 Joseph Myers <joseph@codesourcery.com>
7380
7381 [BZ #16357]
7382 [BZ #16599]
7383 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7384 min_plus_half.
7385 (fp_formats): Update initializers.
7386 (init_fp_formats): Initialize new field.
7387 (output_for_one_input_case): Allow underflow for results up to
7388 min_plus_half.
7389 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7390 * math/auto-libm-test-in: Don't mark some underflows from asin and
7391 atanh as spurious.
7392 * math/auto-libm-test-out: Regenerated.
7393 * sysdeps/i386/fpu/libm-test-ulps: Update.
7394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7395
003e49ed
AS
73962014-03-25 Andreas Schwab <schwab@suse.de>
7397
7398 * libio/Makefile (tst-ftell-partial-wide-ENV)
7399 (tst-ftell-active-handler-ENV): Define.
7400
de031874
SL
74012014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7402
7403 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7404
55a81e3b
PP
74052014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7406
7407 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7408
f3426898
JM
74092014-03-24 Joseph Myers <joseph@codesourcery.com>
7410
7411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7412 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7413 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7414
a42faf59
PP
74152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7416
7417 [BZ #16634]
a42faf59 7418 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7419 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7420 (open_path): Change from boolean 'secure' to complete flag 'mode'
7421 (_dl_map_object): Adjust.
a42faf59
PP
7422 * elf/Makefile (tests): Add tst-dlopen-aout.
7423 * elf/tst-dlopen-aout.c: New test.
7424
50936127
SL
74252014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7426
7427 [BZ #16714]
7428 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7429 (struct stat): Rename member pad0 to __glibc_reserved0.
7430
26011b5c
SL
7431 [BZ #16712]
7432 * sysdeps/s390/s390-32/bits/wordsize.h
7433 (__WORDSIZE32_SIZE_ULONG): New define.
7434 * sysdeps/s390/s390-64/bits/wordsize.h
7435 (__WORDSIZE32_SIZE_ULONG): Likewise.
7436 * sysdeps/generic/stdint.h (SIZE_MAX):
7437 Define as UL if __WORDSIZE32_SIZE_ULONG.
7438
a2d86bf1
SL
7439 [BZ #16713]
7440 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7441 (__glibc_reserved0): New variable.
7442 (sa_flags): Change type to int.
7443
78b6eebc
SL
7444 * posix/Makefile (before-compile): Use += before-compile instead
7445 of a :=.
7446
f1399b5a
SL
7447 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7448 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7449
a071766e
AS
74502014-03-20 Andreas Schwab <schwab@suse.de>
7451
7452 [BZ #16743]
7453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7454 non-matching result from nscd.
7455
27c673b8
SP
74562014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7457
7458 * scripts/bench.py: Moved to ...
7459 * benchtests/scripts/bench.py: ... here.
7460 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7461
44152e4b
AS
74622014-03-24 Andreas Schwab <schwab@suse.de>
7463
7464 [BZ #16002]
7465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7466 alloca_account and account alloca use for struct in6ailist.
7467
b376a11a
JM
74682014-03-24 Joseph Myers <joseph@codesourcery.com>
7469
7470 [BZ #16284]
7471 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7472 rounding mode to recompute results that overflow to infinity or
7473 underflow to zero.
7474 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7475 bug 16284.
7476 * math/auto-libm-test-out: Regenerated.
7477 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7478 (ccosh_test): Likewise.
7479 (csin_test_data): Use plus_oflow.
7480 (csin_test): Use ALL_RM_TEST.
7481 (csinh_test_data): Use plus_oflow.
7482 (csinh_test): Use ALL_RM_TEST.
7483 * sysdeps/i386/fpu/libm-test-ulps: Update.
7484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7485
f7be7376
JM
74862014-03-21 Joseph Myers <joseph@codesourcery.com>
7487
1ca2d03e
JM
7488 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7489 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7490 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7491
f7be7376
JM
7492 [BZ #16731]
7493 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7494 when x - 1 is zero.
7495 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7496 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7497 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7498 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7499 argument is 1.
7500 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7501 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7502 zero.
7503 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7504 * sysdeps/i386/fpu/libm-test-ulps: Update.
7505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7506
fdf4534d
SP
75072014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7508
df26ea53
SP
7509 * scripts/bench.pl: Remove file.
7510 * scripts/bench.py: New benchmark script.
7511 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7512 * benchtests/README: Mention python dependency.
7513 * scripts/pylintrc: New file.
7514 * scripts/pylint: New file.
7515
fdf4534d
SP
7516 * bits/mathdef.h: Use #ifdef instead of #if.
7517 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7518 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7519 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7520 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7521 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7522 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7523
6f23d093
AZ
75242014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7526
7527 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7529 and strpbrk-ppc64 objects.
7530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7531 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7532 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7533 multiarch strpbrk for POWER7.
7534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7535 multiarch strpbrk for PPC64.
7536 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7537 ifunc selector.
7538 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7539 strpbrk for POWER7.
7540
8c92dfff
JM
75412014-03-20 Joseph Myers <joseph@codesourcery.com>
7542
7543 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7544 (atan_test): Likewise.
7545 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7546 (atanh_test): Use ALL_RM_TEST.
7547 (atan2_test_data): Likewise.
7548 (cabs_test): Likewise.
7549 (cacosh_test): Likewise.
7550 (carg_test): Likewise.
7551 (casin_test): Likewise.
7552 (casinh_test): Likewise.
7553 (cbrt_test): Likewise.
7554 (csqrt_test): Likewise.
7555 (erf_test): Likewise.
7556 (erfc_test): Likewise.
7557 (pow10_test): Likewise.
7558 (exp2_test): Likewise.
7559 (hypot_test): Likewise.
7560 (j0_test): Likewise.
7561 (j1_test): Likewise.
7562 (lgamma_test): Likewise.
7563 (gamma_test): Likewise.
7564 (sincos_test): Likewise.
7565 (tanh_test): Likewise.
7566 (y0_test): Likewise.
7567 (y1_test): Likewise.
7568 * sysdeps/i386/fpu/libm-test-ulps: Update.
7569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7570
6eaf95cb
AZ
75712014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7572
a387428c
SP
7573 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7575 and strcspn-ppc64 objects.
7576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7577 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7578 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7579 multiarch strcspn for POWER7.
7580 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7581 multiarch strcspn for PPC64.
7582 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7583 ifunc selector.
7584 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7585 strcspn for POWER7.
7586
ae3a5dff
JM
75872014-03-20 Joseph Myers <joseph@codesourcery.com>
7588
7589 * math/gen-libm-test.pl (generate_testfile): Expect only function
7590 name as argument to AUTO_TESTS_* and pass results for all rounding
7591 modes to parse_args.
7592 (parse_auto_input): Separate inputs of automatic tests from
7593 outputs before storing in %auto_tests.
7594 * math/libm-test.inc (acos_test_data): Update call to
7595 AUTO_TESTS_f_f.
7596 (acos_test): Use ALL_RM_TEST.
7597 (acos_tonearest_test_data): Remove.
7598 (acos_test_tonearest): Likewise.
7599 (acos_towardzero_test_data): Likewise.
7600 (acos_test_towardzero): Likewise.
7601 (acos_downward_test_data): Likewise.
7602 (acos_test_downward): Likewise.
7603 (acos_upward_test_data): Likewise.
7604 (acos_test_upward): Likewise.
7605 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7606 (asin_test_data): Likewise.
7607 (asin_test): Use ALL_RM_TEST.
7608 (asin_tonearest_test_data): Remove.
7609 (asin_test_tonearest): Likewise.
7610 (asin_towardzero_test_data): Likewise.
7611 (asin_test_towardzero): Likewise.
7612 (asin_downward_test_data): Likewise.
7613 (asin_test_downward): Likewise.
7614 (asin_upward_test_data): Likewise.
7615 (asin_test_upward): Likewise.
7616 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7617 (atan_test_data): Likewise.
7618 (atanh_test_data): Likewise.
7619 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7620 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7621 (carg_test_data): Likewise.
7622 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7623 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7624 (ccosh_test_data): Likewise.
7625 (cexp_test_data): Likewise.
7626 (clog_test_data): Likewise.
7627 (clog10_test_data): Likewise.
7628 (cos_test_data): Update call to AUTO_TESTS_f_f.
7629 (cos_test): Use ALL_RM_TEST.
7630 (cos_tonearest_test_data): Remove.
7631 (cos_test_tonearest): Likewise.
7632 (cos_towardzero_test_data): Likewise.
7633 (cos_test_towardzero): Likewise.
7634 (cos_downward_test_data): Likewise.
7635 (cos_test_downward): Likewise.
7636 (cos_upward_test_data): Likewise.
7637 (cos_test_upward): Likewise.
7638 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7639 (cosh_test): Use ALL_RM_TEST.
7640 (cosh_tonearest_test_data): Remove.
7641 (cosh_test_tonearest): Likewise.
7642 (cosh_towardzero_test_data): Likewise.
7643 (cosh_test_towardzero): Likewise.
7644 (cosh_downward_test_data): Likewise.
7645 (cosh_test_downward): Likewise.
7646 (cosh_upward_test_data): Likewise.
7647 (cosh_test_upward): Likewise.
7648 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7649 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7650 (ctan_test_data): Likewise.
7651 (ctan_test): Use ALL_RM_TEST.
7652 (ctan_tonearest_test_data): Remove.
7653 (ctan_test_tonearest): Likewise.
7654 (ctan_towardzero_test_data): Likewise.
7655 (ctan_test_towardzero): Likewise.
7656 (ctan_downward_test_data): Likewise.
7657 (ctan_test_downward): Likewise.
7658 (ctan_upward_test_data): Likewise.
7659 (ctan_test_upward): Likewise.
7660 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7661 (ctanh_test): Use ALL_RM_TEST.
7662 (ctanh_tonearest_test_data): Remove.
7663 (ctanh_test_tonearest): Likewise.
7664 (ctanh_towardzero_test_data): Likewise.
7665 (ctanh_test_towardzero): Likewise.
7666 (ctanh_downward_test_data): Likewise.
7667 (ctanh_test_downward): Likewise.
7668 (ctanh_upward_test_data): Likewise.
7669 (ctanh_test_upward): Likewise.
7670 (erf_test_data): Update call to AUTO_TESTS_f_f.
7671 (erfc_test_data): Likewise.
7672 (exp_test_data): Likewise.
7673 (exp_test): Use ALL_RM_TEST.
7674 (exp_tonearest_test_data): Remove.
7675 (exp_test_tonearest): Likewise.
7676 (exp_towardzero_test_data): Likewise.
7677 (exp_test_towardzero): Likewise.
7678 (exp_downward_test_data): Likewise.
7679 (exp_test_downward): Likewise.
7680 (exp_upward_test_data): Likewise.
7681 (exp_test_upward): Likewise.
7682 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7683 (exp10_test): Use ALL_RM_TEST.
7684 (exp10_tonearest_test_data): Remove.
7685 (exp10_test_tonearest): Likewise.
7686 (exp10_towardzero_test_data): Likewise.
7687 (exp10_test_towardzero): Likewise.
7688 (exp10_downward_test_data): Likewise.
7689 (exp10_test_downward): Likewise.
7690 (exp10_upward_test_data): Likewise.
7691 (exp10_test_upward): Likewise.
7692 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7693 (expm1_test_data): Likewise.
7694 (expm1_test): Use ALL_RM_TEST.
7695 (expm1_tonearest_test_data): Remove.
7696 (expm1_test_tonearest): Likewise.
7697 (expm1_towardzero_test_data): Likewise.
7698 (expm1_test_towardzero): Likewise.
7699 (expm1_downward_test_data): Likewise.
7700 (expm1_test_downward): Likewise.
7701 (expm1_upward_test_data): Likewise.
7702 (expm1_test_upward): Likewise.
7703 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7704 (fma_test): Use ALL_RM_TEST.
7705 (fma_towardzero_test_data): Remove.
7706 (fma_test_towardzero): Likewise.
7707 (fma_downward_test_data): Likewise.
7708 (fma_test_downward): Likewise.
7709 (fma_upward_test_data): Likewise.
7710 (fma_test_upward): Likewise.
7711 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7712 (j0_test_data): Update call to AUTO_TESTS_f_f.
7713 (j1_test_data): Likewise.
7714 (jn_test_data): Update call to AUTO_TESTS_if_f.
7715 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7716 (log_test_data): Update call to AUTO_TESTS_f_f.
7717 (log10_test_data): Likewise.
7718 (log1p_test_data): Likewise.
7719 (log2_test_data): Likewise.
7720 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7721 (pow_tonearest_test_data): Likewise.
7722 (sin_test_data): Update call to AUTO_TESTS_f_f.
7723 (sin_test): Use ALL_RM_TEST.
7724 (sin_tonearest_test_data): Remove.
7725 (sin_test_tonearest): Likewise.
7726 (sin_towardzero_test_data): Likewise.
7727 (sin_test_towardzero): Likewise.
7728 (sin_downward_test_data): Likewise.
7729 (sin_test_downward): Likewise.
7730 (sin_upward_test_data): Likewise.
7731 (sin_test_upward): Likewise.
7732 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7733 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7734 (sinh_test): Use ALL_RM_TEST.
7735 (sinh_tonearest_test_data): Remove.
7736 (sinh_test_tonearest): Likewise.
7737 (sinh_towardzero_test_data): Likewise.
7738 (sinh_test_towardzero): Likewise.
7739 (sinh_downward_test_data): Likewise.
7740 (sinh_test_downward): Likewise.
7741 (sinh_upward_test_data): Likewise.
7742 (sinh_test_upward): Likewise.
7743 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7744 (sqrt_test): Use ALL_RM_TEST.
7745 (sqrt_tonearest_test_data): Remove.
7746 (sqrt_test_tonearest): Likewise.
7747 (sqrt_towardzero_test_data): Likewise.
7748 (sqrt_test_towardzero): Likewise.
7749 (sqrt_downward_test_data): Likewise.
7750 (sqrt_test_downward): Likewise.
7751 (sqrt_upward_test_data): Likewise.
7752 (sqrt_test_upward): Likewise.
7753 (tan_test_data): Update call to AUTO_TESTS_f_f.
7754 (tan_test): Use ALL_RM_TEST.
7755 (tan_tonearest_test_data): Remove.
7756 (tan_test_tonearest): Likewise.
7757 (tan_towardzero_test_data): Likewise.
7758 (tan_test_towardzero): Likewise.
7759 (tan_downward_test_data): Likewise.
7760 (tan_test_downward): Likewise.
7761 (tan_upward_test_data): Likewise.
7762 (tan_test_upward): Likewise.
7763 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7764 (tgamma_test_data): Likewise.
7765 (y0_test_data): Likewise.
7766 (y1_test_data): Likewise.
7767 (yn_test_data): Update call to AUTO_TESTS_if_f.
7768 (main): Do not call removed functions.
7769
d71aeee8
JM
77702014-03-19 Joseph Myers <joseph@codesourcery.com>
7771
7772 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7773 (ldexp_test_data): Remove.
7774 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7775 scalbn_test_data.
7776 (scalb_test): Use ALL_RM_TEST.
7777
baaf1ded
AS
77782014-03-19 Andreas Schwab <schwab@suse.de>
7779
7780 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7781
b1115e91
JM
77822014-03-19 Joseph Myers <joseph@codesourcery.com>
7783
7784 [BZ #16649]
7785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7789 (__ASSUME_PREADV): Undefine.
7790 (__ASSUME_PWRITEV): Likewise.
7791
0283ecca
RM
77922014-03-18 Roland McGrath <roland@hack.frob.com>
7793
7d375303
RM
7794 * bits/mman-linux.h: Add comment about non-Linux use.
7795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7796 bits/mman-linux.h resting place.
7797
0283ecca
RM
7798 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7799 * bits/mman-linux.h: ... here.
7800
aebe1003
AZ
78012014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7802
7803 * conform/conformtest.pl: Add standard definition when calling C
7804 preprocessor on data files.
7805 (checknamespace): Remove unused variable.
7806
b29b6bb8
JM
78072014-03-18 Joseph Myers <joseph@codesourcery.com>
7808
7809 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7810 minus_oflow, plus_uflow and minus_uflow in expected results.
7811 * math/libm-test.inc (scalbn_test_data): Add more tests of
7812 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7813 minus_uflow.
7814 (scalbn_test): Use ALL_RM_TEST.
7815 (scalbln_test_data): Add more tests of negative arguments. Use
7816 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7817 (scalbln_test): Use ALL_RM_TEST.
7818
c8f8fa15
RM
78192014-03-18 Roland McGrath <roland@hack.frob.com>
7820
7821 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7822
fede7a5f
WN
78232014-03-18 Will Newton <will.newton@linaro.org>
7824
7825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7826 inaccurate comment.
7827
80cf0a58
JM
78282014-03-18 Joseph Myers <joseph@codesourcery.com>
7829
7830 * Makerules [!subdir] (check-abi): Exit with error status if a
7831 test failed.
7832
b3620862
JM
78332014-03-17 Joseph Myers <joseph@codesourcery.com>
7834
7835 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7836 for rint. Include results for all rounding modes.
7837 (nearbyint_test): Use ALL_RM_TEST.
7838 (rint_test_data): Include all tests used for nearbyint.
7839
788bba36
WN
78402014-03-17 Will Newton <will.newton@linaro.org>
7841
04ec140a
WN
7842 * nptl/sysdeps/pthread/pthread.h: Revert previous
7843 change.
7844
7579d8d5
WN
7845 * sysdeps/generic/ldsodefs.h: Revert previous
7846 change.
7847
c15cf13a
WN
7848 * libio/genops.c: Revert previous change.
7849 * libio/libioP.h: Likewise.
7850 * stdio-common/vfprintf.c: Likewise.
7851
d0ac1324
WN
7852 * sysdeps/generic/math_private.h: Revert previous
7853 change.
7854
9290130a
WN
7855 * sysdeps/generic/math_private.h: Check whether
7856 HAVE_RM_CTX is defined with #ifdef rather
7857 than #if.
7858
afb466fc
WN
7859 * argp/argp-fmtstream.h: Check whether
7860 __STRICT_ANSI__ is defined with #ifdef rather
7861 than #if.
7862 * argp/argp.h: Likewise.
7863
f7efd7c3
WN
7864 * libio/genops.c: Check whether
7865 _IO_JUMPS_OFFSET is defined with #ifdef rather
7866 than #if.
7867 * libio/libioP.h: Likewise.
7868 * stdio-common/vfprintf.c: Likewise.
7869
53f1bed3
WN
7870 * sysdeps/generic/ldsodefs.h: Check whether
7871 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7872 than #if.
7873
788bba36
WN
7874 * nptl/sysdeps/pthread/pthread.h: Check
7875 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7876 its value.
7877
fcd89ebe
SP
78782014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7879
ae42bbc5
SP
7880 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7881 setting O_APPEND.
7882 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7883 test case.
7884
ea33158c
SP
7885 [BZ #16680]
7886 * libio/fileops.c (_IO_file_open): Seek to end of file but
7887 don't cache the offset.
7888 (get_file_offset): Remove function.
7889 (do_ftell): Use cached offset when available.
7890 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7891 don't cache the offset.
7892 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7893 case.
7894 (do_one_test): Call it.
7895 (do_ftell_test): Fix up expected old offset for a+ mode.
7896 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7897 available.
7898
b1dbb426
SP
7899 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7900 up test status with function return status.
7901 (do_write_test): Likewise.
7902 (do_append_test): Likewise.
7903
fcd89ebe
SP
7904 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7905 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7906 Remove.
7907
9962a2d3
JM
79082014-03-17 Joseph Myers <joseph@codesourcery.com>
7909
7910 * math/gen-libm-test.pl (parse_args): Handle results specified for
7911 each rounding mode separately.
7912 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7913 tests and results from lrint_tonearest_test_data,
7914 lrint_towardzero_test_data, lrint_downward_test_data and
7915 lrint_upward_test_data.
7916 (lrint_test): Use ALL_RM_TEST.
7917 (lrint_tonearest_test_data): Remove.
7918 (lrint_test_tonearest): Likewise.
7919 (lrint_towardzero_test_data): Likewise.
7920 (lrint_test_towardzero): Likewise.
7921 (lrint_downward_test_data): Likewise.
7922 (lrint_test_downward): Likewise.
7923 (lrint_upward_test_data): Likewise.
7924 (lrint_test_upward): Likewise.
7925 (llrint_test_data): Merge in per-rounding-mode tests and results
7926 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7927 llrint_downward_test_data and llrint_upward_test_data.
7928 (llrint_test): Use ALL_RM_TEST.
7929 (llrint_tonearest_test_data): Remove.
7930 (llrint_test_tonearest): Likewise.
7931 (llrint_towardzero_test_data): Likewise.
7932 (llrint_test_towardzero): Likewise.
7933 (llrint_downward_test_data): Likewise.
7934 (llrint_test_downward): Likewise.
7935 (llrint_upward_test_data): Likewise.
7936 (llrint_test_upward): Likewise.
7937 (rint_test_data): Merge in per-rounding-mode tests and results
7938 from rint_tonearest_test_data, rint_towardzero_test_data,
7939 rint_downward_test_data and rint_upward_test_data. Add
7940 per-rounding-mode results for tests not in those arrays.
7941 (rint_test): Use ALL_RM_TEST.
7942 (rint_tonearest_test_data): Remove.
7943 (rint_test_tonearest): Likewise.
7944 (rint_towardzero_test_data): Likewise.
7945 (rint_test_towardzero): Likewise.
7946 (rint_downward_test_data): Likewise.
7947 (rint_test_downward): Likewise.
7948 (rint_upward_test_data): Likewise.
7949 (rint_test_upward): Likewise.
7950 (main): Don't call removed functions.
7951
5006148e
RM
79522014-03-14 Roland McGrath <roland@hack.frob.com>
7953
7954 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7955 "Compiled on ..." crapola. It is anti-useful.
7956
d6fe5e58
JM
79572014-03-14 Joseph Myers <joseph@codesourcery.com>
7958
7959 * scripts/evaluate-test.sh: Handle fourth argument to determine
7960 whether test run should stop on failure.
7961 * Makeconfig (stop-on-test-failure): New variable.
7962 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7963 $(stop-on-test-failure).
7964 * Makefile (tests): Give a summary of results from testing and
7965 exit with failure status if they include an ERROR or FAIL.
7966 (xtests): Likewise.
7967 * manual/install.texi (Configuring and compiling): Mention
7968 stop-on-test-failure=y.
7969 * INSTALL: Regenerated.
7970
498a2233
RM
79712014-03-14 Roland McGrath <roland@hack.frob.com>
7972
22dbc19d
RM
7973 * scripts/versionlist.awk: New file.
7974 * Makerules [$(build-shared) = yes]
7975 (postclean-generated): Add Versions.def, not Versions.def.v and
7976 Versions.def.v.i.
7977 ($(common-objpfx)Versions.def.v.i): Target removed.
7978 ($(common-objpfx)Versions.def): New target.
7979 ($(common-objpfx)Versions.all): Depend on that rather that
7980 $(common-objpfx)Versions.def.v.
7981 * Versions.def: File removed.
7982
498a2233
RM
7983 * Makeconfig (+gccwarn): Add -Wundef.
7984 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7985 a dl-sysdep.h breaking its contract.
7986 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7987 * include/stackinfo.h: New file.
7988 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7989 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7990 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7991 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7992 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7993 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7994 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7995 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7996 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7997 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7998 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7999 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8000 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8001 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8002 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8003
c7de5025
AZ
80042014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8005
8006 [BZ #16707]
8007 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8008 implementation.
8009 * math/libm-test.inc (round_test_data): Add more tests.
8010
98fb27a3
AZ
8011 [BZ #16706]
8012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8013 implementation.
8014 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8015
374f7f61
AZ
8016 [BZ #16701]
8017 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8018 implementation.
8019 * math/libm-test.inc (ceil_test_data): Add more tests.
8020
4655c291
AZ
8021 * math/libm-test.inc (trunc_test_data): Add more tests related to
8022 BZ#16414.
8023
d7329d4b
RM
80242014-03-14 Roland McGrath <roland@hack.frob.com>
8025
8026 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8027 with #if rather than #ifdef.
8028 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8029
aa4de9ce
L
80302014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8031
8032 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8033 first. Disable AVX-512 GCC support if assembler doesn't support
8034 it.
8035 * sysdeps/x86_64/configure: Regenerated.
8036
2e03fae7
CD
80372014-03-13 Carlos O'Donell <carlos@redhat.com>
8038
8039 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8040 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8041 (__old_pthread_attr_setstack): Likewise.
8042 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8043 [!_STACK_GROWS_DOWN]: Likewise.
8044
43ca83ec
MF
80452014-03-13 Mike Frysinger <vapier@gentoo.org>
8046
8047 * config.make.in (have-bash2): Delete.
8048 * configure.ac (libc_cv_have_bash2): Delete.
8049 * configure: Regenerate.
8050 * elf/Makefile (common-ldd-rewrite): Rename to ...
8051 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8052 (sh-ldd-rewrite): Delete.
8053 (bash-ldd-rewrite): Delete.
8054 (have-bash2): Delete checks.
57f41c40
AS
8055 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8056 ldd-rewrite.
c66e48b4
MF
8057
8058 * config.make.in (have-ksh): Delete.
8059 (KSH): Delete.
8060 * configure.ac (libc_cv_have_ksh): Delete.
8061 * configure: Regenerate.
8062
b93834ef
MF
8063 * elf/Makefile: Delete $(have-ksh) check.
8064 ($(objpfx)sotruss): Change KSH to BASH.
8065 * elf/sotruss.ksh: Rename to ...
8066 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8067 function style to match POSIX. Drop ksh vim mode setting.
8068
f3a4632a
MF
8069 * manual/time.texi (Specifying the Time Zone with TZ): Change
8070 Tuesday to Thursday.
8071
5896c8bd
MF
8072 * debug/tst-longjmp_chk2.c: Update header comment.
8073 (stackoverflow_handler): Add comment. Call assert on pass value.
8074
2d63a517
IZ
80752014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8076
7e54fd04 8077 [BZ #16194]
2d63a517
IZ
8078 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8079 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8080 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8081 (La_x86_64_vector): Add zmm.
8082 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8083 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8084 ($(objpfx)tst-audit10): New target.
8085 ($(objpfx)tst-audit10.out): Likewise.
8086 (tst-audit10-ENV): New.
8087 (AVX512-CFLAGS): Likewise.
8088 (CFLAGS-tst-audit10.c): Likewise.
8089 (CFLAGS-tst-auditmod10a.c): Likewise.
8090 (CFLAGS-tst-auditmod10b.c): Likewise.
8091 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8092 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8093 * sysdeps/x86_64/configure: Regenerated.
8094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8095 AVX-512 zmm register support.
8096 (_dl_x86_64_save_sse): Likewise.
8097 (_dl_x86_64_restore_sse): Likewise.
8098 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8099 size vector registers.
8100 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8101 (ZMM_SIZE): Likewise.
8102 * sysdeps/x86_64/tst-audit10.c: New file.
8103 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8104 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8105
44c4e5d5
RM
81062014-03-13 Roland McGrath <roland@hack.frob.com>
8107
8108 * configure.ac (HAVE_EHDR_START): New check.
8109 * configure: Regenerated.
8110 * config.h.in (HAVE_EHDR_START): New #undef.
8111 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8112 assuming the lowest-addressed segment maps the start of the file.
8113
acd6e389
JM
81142014-03-13 Joseph Myers <joseph@codesourcery.com>
8115
8116 * INSTALL: Regenerated.
8117
6f918f36
WN
81182014-03-13 Will Newton <will.newton@linaro.org>
8119
8120 * manual/setjmp.texi (System V contexts): Improve
8121 clarity and grammar of documentation.
8122
798212a0
PP
81232014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8124
8125 [BZ #16381]
798212a0 8126 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8127 (tests-pie): Add tst-pie2.
798212a0
PP
8128 * elf/tst-pie2.c: New file.
8129 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8130 for ET_EXEC.
8131 * elf/rtld.c (map_doit): Load executable as lt_executable.
8132 (dl_main): Likewise.
8133
abe6d90c
JM
81342014-03-12 Joseph Myers <joseph@codesourcery.com>
8135
8136 [BZ #16642]
8137 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8138 (__ASSUME_PSELECT): Undefine.
8139
dd3946c6
AZ
81402014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8141
8142 [BZ #16689]
8143 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8144 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8145 static build.
8146 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8147 selector for static builds.
8148
c44496df
SP
81492014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8150
8151 [BZ #16695]
8152 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8153 key in the buffer.
8154
27c7220a
AZ
81552014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8156
57f41c40
AS
8157 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8158 IFUNC selector for static builds.
27c7220a 8159
600fa361
JM
81602014-03-11 Joseph Myers <joseph@codesourcery.com>
8161
76c96cf7
JM
8162 * sysdeps/mips/math_private.h [__mips_hard_float]
8163 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8164 libc_feresetround_mips_ctx.
8165 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8166 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8167 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8168
600fa361
JM
8169 [BZ #16677]
8170 * math/s_nextafter.c (__nextafter): Do not return value from
8171 overflowing computation.
8172 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8173 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8175 Likewise.
8176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8177 Likewise.
8178 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8179 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8180
d7706c32
RM
81812014-03-11 Roland McGrath <roland@hack.frob.com>
8182
8183 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8184 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8185 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8186 the new mov targetting sp.
8187
4facea47
AZ
81882014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8189
8190 [BZ #16683]
8191 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8192 Define it for static builds as well.
8193 (NO_BZERO_IMPL): Likewise.
8194
e65caf1f
VR
81952014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8196
8197 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8198 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8199 multiarch strspn for PPC64.
8200 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8201 * sysdeps/powerpc/powerpc64/multiarch/strspn-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 strspn
8205 multiarch optimizations
8206 * string/strspn.c (strspn): Using macro to redefine symbol name.
8207
ba9cc071
AZ
82082014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8209 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8210
8211 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8212 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8213 multiarch strncat for PPC64.
8214 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8215 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8217 (__libc_ifunc_impl_list): Likewise.
8218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8219 multiarch optimizations
8220
8b4ff974
SP
82212014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8222
8223 [BZ #16639]
8224 * nscd/nscd.service: Make service type forking.
8225
54b46a4b
AZ
82262014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8227
8228 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8229 sign in non default rounding modes.
8230 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8231
e9996ef7
JM
82322014-03-08 Joseph Myers <joseph@codesourcery.com>
8233
8234 * math/libm-test.inc (ALL_RM_TEST): New macro.
8235 (ceil_test): Use ALL_RM_TEST.
8236 (cimag_test): Likewise.
8237 (conj_test): Likewise.
8238 (copysign_test): Likewise.
8239 (cproj_test): Likewise.
8240 (creal_test): Likewise.
8241 (fabs_test): Likewise.
8242 (floor_test): Likewise.
8243 (fmax_test): Likewise.
8244 (fmin_test): Likewise.
8245 (fmod_test): Likewise.
8246 (fpclassify_test): Likewise.
8247 (frexp_test): Likewise.
8248 (ilogb_test): Likewise.
8249 (isfinite_test): Likewise.
8250 (finite_test): Likewise.
8251 (isgreater_test): Likewise.
8252 (isgreaterequal_test): Likewise.
8253 (isinf_test): Likewise.
8254 (isless_test): Likewise.
8255 (islessequal_test): Likewise.
8256 (islessgreater_test): Likewise.
8257 (isnan_test): Likewise.
8258 (isnormal_test): Likewise.
8259 (issignaling_test): Likewise.
8260 (isunordered_test): Likewise.
8261 (logb_test): Likewise.
8262 (logb_downward_test_data): Remove.
8263 (logb_test_downward): Likewise.
8264 (lround_test): Use ALL_RM_TEST.
8265 (llround_test): Likewise.
8266 (modf_test): Likewise.
8267 (nexttoward_test): Likewise.
8268 (remainder_test): Likewise.
8269 (drem_test): Likewise.
8270 (remainder_tonearest_test_data): Likewise.
8271 (remainder_test_tonearest): Likewise.
8272 (drem_test_tonearest): Likewise.
8273 (remainder_towardzero_test_data): Likewise.
8274 (remainder_test_towardzero): Likewise.
8275 (drem_test_towardzero): Likewise.
8276 (remainder_downward_test_data): Likewise.
8277 (remainder_test_downward): Likewise.
8278 (drem_test_downward): Likewise.
8279 (remainder_upward_test_data): Likewise.
8280 (remainder_test_upward): Likewise.
8281 (drem_test_upward): Likewise.
8282 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8283 (round_test): Use ALL_RM_TEST.
8284 (signbit_test): Likewise.
8285 (trunc_test): Likewise.
8286 (significand_test): Likewise.
8287 (main): Don't call removed functions.
8288
bc61d27c
JM
82892014-03-07 Joseph Myers <joseph@codesourcery.com>
8290
5c780849
JM
8291 [BZ #16674]
8292 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8293 || __USE_XOPEN2K8].
8294 (ILL_ILLOPN): Likewise.
8295 (ILL_ILLADR): Likewise.
8296 (ILL_ILLTRP): Likewise.
8297 (ILL_PRVOPC): Likewise.
8298 (ILL_PRVREG): Likewise.
8299 (ILL_COPROC): Likewise.
8300 (ILL_BADSTK): Likewise.
8301 (FPE_INTDIV): Likewise.
8302 (FPE_INTOVF): Likewise.
8303 (FPE_FLTDIV): Likewise.
8304 (FPE_FLTOVF): Likewise.
8305 (FPE_FLTUND): Likewise.
8306 (FPE_FLTRES): Likewise.
8307 (FPE_FLTINV): Likewise.
8308 (FPE_FLTSUB): Likewise.
8309 (SEGV_MAPERR): Likewise.
8310 (SEGV_ACCERR): Likewise.
8311 (BUS_ADRALN): Likewise.
8312 (BUS_ADRERR): Likewise.
8313 (BUS_OBJERR): Likewise.
8314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8315 (TRAP_TRACE): Likewise.
8316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8317 __USE_XOPEN2K8].
8318 (CLD_KILLED): Likewise.
8319 (CLD_DUMPED): Likewise.
8320 (CLD_TRAPPED): Likewise.
8321 (CLD_STOPPED): Likewise.
8322 (CLD_CONTINUED): Likewise.
8323 (POLL_IN): Likewise.
8324 (POLL_OUT): Likewise.
8325 (POLL_MSG): Likewise.
8326 (POLL_ERR): Likewise.
8327 (POLL_PRI): Likewise.
8328 (POLL_HUP): Likewise.
8329 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8330 Likewise.
8331 (ILL_ILLOPN): Likewise.
8332 (ILL_ILLADR): Likewise.
8333 (ILL_ILLTRP): Likewise.
8334 (ILL_PRVOPC): Likewise.
8335 (ILL_PRVREG): Likewise.
8336 (ILL_COPROC): Likewise.
8337 (ILL_BADSTK): Likewise.
8338 (FPE_INTDIV): Likewise.
8339 (FPE_INTOVF): Likewise.
8340 (FPE_FLTDIV): Likewise.
8341 (FPE_FLTOVF): Likewise.
8342 (FPE_FLTUND): Likewise.
8343 (FPE_FLTRES): Likewise.
8344 (FPE_FLTINV): Likewise.
8345 (FPE_FLTSUB): Likewise.
8346 (SEGV_MAPERR): Likewise.
8347 (SEGV_ACCERR): Likewise.
8348 (BUS_ADRALN): Likewise.
8349 (BUS_ADRERR): Likewise.
8350 (BUS_OBJERR): Likewise.
8351 (BUS_MCEERR_AR): Likewise.
8352 (BUS_MCEERR_AO): Likewise.
8353 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8354 (TRAP_TRACE): Likewise.
8355 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8356 __USE_XOPEN2K8].
8357 (CLD_KILLED): Likewise.
8358 (CLD_DUMPED): Likewise.
8359 (CLD_TRAPPED): Likewise.
8360 (CLD_STOPPED): Likewise.
8361 (CLD_CONTINUED): Likewise.
8362 (POLL_IN): Likewise.
8363 (POLL_OUT): Likewise.
8364 (POLL_MSG): Likewise.
8365 (POLL_ERR): Likewise.
8366 (POLL_PRI): Likewise.
8367 (POLL_HUP): Likewise.
8368 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8369 (ILL_ILLOPN): Likewise.
8370 (ILL_ILLADR): Likewise.
8371 (ILL_ILLTRP): Likewise.
8372 (ILL_PRVOPC): Likewise.
8373 (ILL_PRVREG): Likewise.
8374 (ILL_COPROC): Likewise.
8375 (ILL_BADSTK): Likewise.
8376 (FPE_INTDIV): Likewise.
8377 (FPE_INTOVF): Likewise.
8378 (FPE_FLTDIV): Likewise.
8379 (FPE_FLTOVF): Likewise.
8380 (FPE_FLTUND): Likewise.
8381 (FPE_FLTRES): Likewise.
8382 (FPE_FLTINV): Likewise.
8383 (FPE_FLTSUB): Likewise.
8384 (SEGV_MAPERR): Likewise.
8385 (SEGV_ACCERR): Likewise.
8386 (BUS_ADRALN): Likewise.
8387 (BUS_ADRERR): Likewise.
8388 (BUS_OBJERR): Likewise.
8389 (BUS_MCEERR_AR): Likewise.
8390 (BUS_MCEERR_AO): Likewise.
8391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8392 (TRAP_TRACE): Likewise.
8393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8394 __USE_XOPEN2K8].
8395 (CLD_KILLED): Likewise.
8396 (CLD_DUMPED): Likewise.
8397 (CLD_TRAPPED): Likewise.
8398 (CLD_STOPPED): Likewise.
8399 (CLD_CONTINUED): Likewise.
8400 (POLL_IN): Likewise.
8401 (POLL_OUT): Likewise.
8402 (POLL_MSG): Likewise.
8403 (POLL_ERR): Likewise.
8404 (POLL_PRI): Likewise.
8405 (POLL_HUP): Likewise.
8406 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8407 Likewise.
8408 (ILL_ILLOPN): Likewise.
8409 (ILL_ILLADR): Likewise.
8410 (ILL_ILLTRP): Likewise.
8411 (ILL_PRVOPC): Likewise.
8412 (ILL_PRVREG): Likewise.
8413 (ILL_COPROC): Likewise.
8414 (ILL_BADSTK): Likewise.
8415 (ILL_BADIADDR): Likewise.
8416 (ILL_BREAK): Likewise.
8417 (FPE_INTDIV): Likewise.
8418 (FPE_INTOVF): Likewise.
8419 (FPE_FLTDIV): Likewise.
8420 (FPE_FLTOVF): Likewise.
8421 (FPE_FLTUND): Likewise.
8422 (FPE_FLTRES): Likewise.
8423 (FPE_FLTINV): Likewise.
8424 (FPE_FLTSUB): Likewise.
8425 (FPE_DECOVF): Likewise.
8426 (FPE_DECDIV): Likewise.
8427 (FPE_DECERR): Likewise.
8428 (FPE_INVASC): Likewise.
8429 (FPE_INVDEC): Likewise.
8430 (SEGV_MAPERR): Likewise.
8431 (SEGV_ACCERR): Likewise.
8432 (SEGV_PSTKOVF): Likewise.
8433 (BUS_ADRALN): Likewise.
8434 (BUS_ADRERR): Likewise.
8435 (BUS_OBJERR): Likewise.
8436 (BUS_MCEERR_AR): Likewise.
8437 (BUS_MCEERR_AO): Likewise.
8438 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8439 (TRAP_TRACE): Likewise.
8440 (TRAP_BRANCH): Likewise.
8441 (TRAP_HWBKPT): Likewise.
8442 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8443 __USE_XOPEN2K8].
8444 (CLD_KILLED): Likewise.
8445 (CLD_DUMPED): Likewise.
8446 (CLD_TRAPPED): Likewise.
8447 (CLD_STOPPED): Likewise.
8448 (CLD_CONTINUED): Likewise.
8449 (POLL_IN): Likewise.
8450 (POLL_OUT): Likewise.
8451 (POLL_MSG): Likewise.
8452 (POLL_ERR): Likewise.
8453 (POLL_PRI): Likewise.
8454 (POLL_HUP): Likewise.
8455 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8456 (ILL_ILLOPN): Likewise.
8457 (ILL_ILLADR): Likewise.
8458 (ILL_ILLTRP): Likewise.
8459 (ILL_PRVOPC): Likewise.
8460 (ILL_PRVREG): Likewise.
8461 (ILL_COPROC): Likewise.
8462 (ILL_BADSTK): Likewise.
8463 (FPE_INTDIV): Likewise.
8464 (FPE_INTOVF): Likewise.
8465 (FPE_FLTDIV): Likewise.
8466 (FPE_FLTOVF): Likewise.
8467 (FPE_FLTUND): Likewise.
8468 (FPE_FLTRES): Likewise.
8469 (FPE_FLTINV): Likewise.
8470 (FPE_FLTSUB): Likewise.
8471 (SEGV_MAPERR): Likewise.
8472 (SEGV_ACCERR): Likewise.
8473 (BUS_ADRALN): Likewise.
8474 (BUS_ADRERR): Likewise.
8475 (BUS_OBJERR): Likewise.
8476 (BUS_MCEERR_AR): Likewise.
8477 (BUS_MCEERR_AO): Likewise.
8478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8479 (TRAP_TRACE): Likewise.
8480 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8481 __USE_XOPEN2K8].
8482 (CLD_KILLED): Likewise.
8483 (CLD_DUMPED): Likewise.
8484 (CLD_TRAPPED): Likewise.
8485 (CLD_STOPPED): Likewise.
8486 (CLD_CONTINUED): Likewise.
8487 (POLL_IN): Likewise.
8488 (POLL_OUT): Likewise.
8489 (POLL_MSG): Likewise.
8490 (POLL_ERR): Likewise.
8491 (POLL_PRI): Likewise.
8492 (POLL_HUP): Likewise.
8493 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8494 (ILL_ILLOPN): Likewise.
8495 (ILL_ILLADR): Likewise.
8496 (ILL_ILLTRP): Likewise.
8497 (ILL_PRVOPC): Likewise.
8498 (ILL_PRVREG): Likewise.
8499 (ILL_COPROC): Likewise.
8500 (ILL_BADSTK): Likewise.
8501 (FPE_INTDIV): Likewise.
8502 (FPE_INTOVF): Likewise.
8503 (FPE_FLTDIV): Likewise.
8504 (FPE_FLTOVF): Likewise.
8505 (FPE_FLTUND): Likewise.
8506 (FPE_FLTRES): Likewise.
8507 (FPE_FLTINV): Likewise.
8508 (FPE_FLTSUB): Likewise.
8509 (SEGV_MAPERR): Likewise.
8510 (SEGV_ACCERR): Likewise.
8511 (BUS_ADRALN): Likewise.
8512 (BUS_ADRERR): Likewise.
8513 (BUS_OBJERR): Likewise.
8514 (BUS_MCEERR_AR): Likewise.
8515 (BUS_MCEERR_AO): Likewise.
8516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8517 (TRAP_TRACE): Likewise.
8518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8519 __USE_XOPEN2K8].
8520 (CLD_KILLED): Likewise.
8521 (CLD_DUMPED): Likewise.
8522 (CLD_TRAPPED): Likewise.
8523 (CLD_STOPPED): Likewise.
8524 (CLD_CONTINUED): Likewise.
8525 (POLL_IN): Likewise.
8526 (POLL_OUT): Likewise.
8527 (POLL_MSG): Likewise.
8528 (POLL_ERR): Likewise.
8529 (POLL_PRI): Likewise.
8530 (POLL_HUP): Likewise.
8531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8532 (ILL_ILLOPN): Likewise.
8533 (ILL_ILLADR): Likewise.
8534 (ILL_ILLTRP): Likewise.
8535 (ILL_PRVOPC): Likewise.
8536 (ILL_PRVREG): Likewise.
8537 (ILL_COPROC): Likewise.
8538 (ILL_BADSTK): Likewise.
8539 (FPE_INTDIV): Likewise.
8540 (FPE_INTOVF): Likewise.
8541 (FPE_FLTDIV): Likewise.
8542 (FPE_FLTOVF): Likewise.
8543 (FPE_FLTUND): Likewise.
8544 (FPE_FLTRES): Likewise.
8545 (FPE_FLTINV): Likewise.
8546 (FPE_FLTSUB): Likewise.
8547 (SEGV_MAPERR): Likewise.
8548 (SEGV_ACCERR): Likewise.
8549 (BUS_ADRALN): Likewise.
8550 (BUS_ADRERR): Likewise.
8551 (BUS_OBJERR): Likewise.
8552 (BUS_MCEERR_AR): Likewise.
8553 (BUS_MCEERR_AO): Likewise.
8554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8555 (TRAP_TRACE): Likewise.
8556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8557 __USE_XOPEN2K8].
8558 (CLD_KILLED): Likewise.
8559 (CLD_DUMPED): Likewise.
8560 (CLD_TRAPPED): Likewise.
8561 (CLD_STOPPED): Likewise.
8562 (CLD_CONTINUED): Likewise.
8563 (POLL_IN): Likewise.
8564 (POLL_OUT): Likewise.
8565 (POLL_MSG): Likewise.
8566 (POLL_ERR): Likewise.
8567 (POLL_PRI): Likewise.
8568 (POLL_HUP): Likewise.
8569 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8570 (ILL_ILLOPN): Likewise.
8571 (ILL_ILLADR): Likewise.
8572 (ILL_ILLTRP): Likewise.
8573 (ILL_PRVOPC): Likewise.
8574 (ILL_PRVREG): Likewise.
8575 (ILL_COPROC): Likewise.
8576 (ILL_BADSTK): Likewise.
8577 (ILL_DBLFLT): Likewise.
8578 (ILL_HARDWALL): Likewise.
8579 (FPE_INTDIV): Likewise.
8580 (FPE_INTOVF): Likewise.
8581 (FPE_FLTDIV): Likewise.
8582 (FPE_FLTOVF): Likewise.
8583 (FPE_FLTUND): Likewise.
8584 (FPE_FLTRES): Likewise.
8585 (FPE_FLTINV): Likewise.
8586 (FPE_FLTSUB): Likewise.
8587 (SEGV_MAPERR): Likewise.
8588 (SEGV_ACCERR): Likewise.
8589 (BUS_ADRALN): Likewise.
8590 (BUS_ADRERR): Likewise.
8591 (BUS_OBJERR): Likewise.
8592 (BUS_MCEERR_AR): Likewise.
8593 (BUS_MCEERR_AO): Likewise.
8594 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8595 (TRAP_TRACE): Likewise.
8596 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8597 __USE_XOPEN2K8].
8598 (CLD_KILLED): Likewise.
8599 (CLD_DUMPED): Likewise.
8600 (CLD_TRAPPED): Likewise.
8601 (CLD_STOPPED): Likewise.
8602 (CLD_CONTINUED): Likewise.
8603 (POLL_IN): Likewise.
8604 (POLL_OUT): Likewise.
8605 (POLL_MSG): Likewise.
8606 (POLL_ERR): Likewise.
8607 (POLL_PRI): Likewise.
8608 (POLL_HUP): Likewise.
8609 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8610 (ILL_ILLOPN): Likewise.
8611 (ILL_ILLADR): Likewise.
8612 (ILL_ILLTRP): Likewise.
8613 (ILL_PRVOPC): Likewise.
8614 (ILL_PRVREG): Likewise.
8615 (ILL_COPROC): Likewise.
8616 (ILL_BADSTK): Likewise.
8617 (FPE_INTDIV): Likewise.
8618 (FPE_INTOVF): Likewise.
8619 (FPE_FLTDIV): Likewise.
8620 (FPE_FLTOVF): Likewise.
8621 (FPE_FLTUND): Likewise.
8622 (FPE_FLTRES): Likewise.
8623 (FPE_FLTINV): Likewise.
8624 (FPE_FLTSUB): Likewise.
8625 (SEGV_MAPERR): Likewise.
8626 (SEGV_ACCERR): Likewise.
8627 (BUS_ADRALN): Likewise.
8628 (BUS_ADRERR): Likewise.
8629 (BUS_OBJERR): Likewise.
8630 (BUS_MCEERR_AR): Likewise.
8631 (BUS_MCEERR_AO): Likewise.
8632 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8633 (TRAP_TRACE): Likewise.
8634 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8635 __USE_XOPEN2K8].
8636 (CLD_KILLED): Likewise.
8637 (CLD_DUMPED): Likewise.
8638 (CLD_TRAPPED): Likewise.
8639 (CLD_STOPPED): Likewise.
8640 (CLD_CONTINUED): Likewise.
8641 (POLL_IN): Likewise.
8642 (POLL_OUT): Likewise.
8643 (POLL_MSG): Likewise.
8644 (POLL_ERR): Likewise.
8645 (POLL_PRI): Likewise.
8646 (POLL_HUP): Likewise.
8647 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8648 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8649
bc61d27c
JM
8650 [BZ #16670]
8651 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8652 before #include of <time.h>.
8653 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8654 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8655 (test-xfail-UNIX98/sched.h/conform): Likewise.
8656
302949e2
MS
86572014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8658
8659 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8660 error absence of trapping exception support.
8661 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8662
a00f522a
JM
86632014-03-07 Joseph Myers <joseph@codesourcery.com>
8664
6f99f280
JM
8665 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8666 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8667 * timezone/Makefile (testdata): Move definition above include of
8668 Rules.
8669 (test-zones): New variable.
8670 (tests-special): Add zone files.
8671 (build-testdata): Use $(evaluate-test).
8672
0b20a9e8
JM
8673 * elf/Makefile (tests-special): Rename tests to end with .out.
8674 ($(objpfx)noload-mem): Likewise.
8675 ($(objpfx)tst-leaks1-mem): Likewise.
8676 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8677 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8678 $(objpfx)test-iconvconfig.out.
8679 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8680 set -e inside subshell and redirect output to file.
8681 * iconvdata/Makefile (generated): Rename tests to end with .out.
8682 Correct type.
8683 (tests-special): Rename tests to end with .out.
8684 ($(objpfx)mtrace-tst-loading): Likewise.
8685 * intl/Makefile (generated): Likewise.
8686 (tests-special): Likewise.
8687 ($(objpfx)mtrace-tst-gettext): Likewise.
8688 * misc/Makefile (generated): Likewise.
8689 (tests-special): Likewise.
8690 ($(objpfx)tst-error1-mem): Likewise.
8691 * nptl/Makefile (tests-special): Likewise.
8692 ($(objpfx)tst-stack3-mem): Likewise.
8693 (generated): Likewise.
8694 * posix/Makefile (generated): Likewise.
8695 (tests-special): Likewise.
8696 (xtests-special): Likewise.
8697 ($(objpfx)tst-fnmatch-mem): Likewise.
8698 ($(objpfx)bug-regex2-mem): Likewise.
8699 ($(objpfx)bug-regex14-mem): Likewise.
8700 ($(objpfx)bug-regex21-mem): Likewise.
8701 ($(objpfx)bug-regex31-mem): Likewise.
8702 ($(objpfx)tst-vfork3-mem): Likewise.
8703 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8704 ($(objpfx)tst-pcre-mem): Likewise.
8705 ($(objpfx)tst-boost-mem): Likewise.
8706 ($(objpfx)bug-ga2-mem): Likewise.
8707 ($(objpfx)bug-glob2-mem): Likewise.
8708 * resolv/Makefile (generate): Likewise.
8709 (tests-special): Likewise.
8710 (xtests-special): Likewise.
8711 (generated): Likewise.
8712 ($(objpfx)mtrace-tst-leaks): Likewise.
8713 ($(objpfx)mtrace-tst-leaks2): Likewise.
8714
265d52ab
JM
8715 * scripts/merge-test-results.sh: New file.
8716 * Makefile (tests-special-notdir): New variable.
8717 (tests): Run merge-test-results.sh.
8718 (xtests): Likewise.
8719 * Rules (tests-special-notdir): New variable.
8720 (xtests-special-notdir): Likewise.
8721 (tests): Run merge-test-results.sh
8722 (xtests): Likewise.
8723
54ee292d
JM
8724 * Makeconfig (test-xfail-name): New variable.
8725 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8726 compute variable name for expected failures.
8727 * conform/Makefile (conformtest-headers-data): New variable.
8728 (conformtest-standards): Likewise.
8729 (conformtest-headers-ISO): Likewise.
8730 (conformtest-headers-ISO99): Likewise.
8731 (conformtest-headers-ISO11): Likewise.
8732 (conformtest-headers-POSIX): Likewise.
8733 (conformtest-headers-XPG3): Likewise.
8734 (conformtest-headers-XPG4): Likewise.
8735 (conformtest-headers-UNIX98): Likewise.
8736 (conformtest-headers-XOPEN2K): Likewise.
8737 (conformtest-headers-POSIX2008): Likewise.
8738 (conformtest-headers-XOPEN2K8): Likewise.
8739 (conformtest-header-list-base): Likewise.
8740 (conformtest-header-list-tests): Likewise.
8741 (conformtest-header-base): Likewise.
8742 (conformtest-header-tests): Likewise.
8743 (tests-special): Add $(conformtest-header-list-tests). If
8744 [$(fast-check) && !$(cross-compiling)], add
8745 $(conformtest-header-tests) instead of
8746 $(objpfx)run-conformtest.out.
8747 (generated): Add $(conformtest-header-list-base). If
8748 [$(fast-check) && !$(cross-compiling)], add
8749 $(conformtest-header-base). Remove previous setting.
8750 ($(conformtest-header-list-tests)): New target.
8751 (test-xfail-run-conformtest): Remove variable.
8752 ($(objpfx)run-conformtest.out): Remove target.
8753 (test-xfail-ISO11/complex.h/conform): New variable.
8754 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8755 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8756 (test-xfail-XPG3/varargs.h/conform): Likewise.
8757 (test-xfail-XPG4/varargs.h/conform): Likewise.
8758 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8759 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8760 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8761 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8762 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8763 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8764 (test-xfail-XPG3/ftw.h/conform): Likewise.
8765 (test-xfail-XPG3/grp.h/conform): Likewise.
8766 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8767 (test-xfail-XPG3/limits.h/conform): Likewise.
8768 (test-xfail-XPG3/pwd.h/conform): Likewise.
8769 (test-xfail-XPG3/search.h/conform): Likewise.
8770 (test-xfail-XPG3/signal.h/conform): Likewise.
8771 (test-xfail-XPG3/stdio.h/conform): Likewise.
8772 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8773 (test-xfail-XPG3/string.h/conform): Likewise.
8774 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8775 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8776 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8777 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8778 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8779 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8780 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8781 (test-xfail-XPG3/termios.h/conform): Likewise.
8782 (test-xfail-XPG3/time.h/conform): Likewise.
8783 (test-xfail-XPG3/unistd.h/conform): Likewise.
8784 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8785 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8786 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8787 (test-xfail-XPG4/netdb.h/conform): Likewise.
8788 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8789 (test-xfail-XPG4/signal.h/conform): Likewise.
8790 (test-xfail-XPG4/stdio.h/conform): Likewise.
8791 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8792 (test-xfail-XPG4/stropts.h/conform): Likewise.
8793 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8794 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8795 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8796 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8797 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8798 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8799 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8800 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8801 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8802 (test-xfail-XPG4/termios.h/conform): Likewise.
8803 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8804 (test-xfail-XPG4/unistd.h/conform): Likewise.
8805 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8806 (test-xfail-POSIX/sched.h/conform): Likewise.
8807 (test-xfail-POSIX/signal.h/conform): Likewise.
8808 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8809 (test-xfail-POSIX/tar.h/conform): Likewise.
8810 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8811 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8812 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8813 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8814 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8815 (test-xfail-UNIX98/sched.h/conform): Likewise.
8816 (test-xfail-UNIX98/signal.h/conform): Likewise.
8817 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8818 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8819 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8820 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8821 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8822 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8823 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8824 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8825 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8826 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8827 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8828 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8829 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8830 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8831 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8832 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8833 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8834 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8835 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8836 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8837 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8838 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8839 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8840 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8841 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8842 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8843 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8844 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8845 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8846 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8847 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8848 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8849 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8850 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8851 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8852 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8853 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8854 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8855 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8856 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8857 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8858 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8859 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8860 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8861 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8862 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8863 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8864 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8865 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8866 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8867 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8868 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8869 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8870 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8871 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8872 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8873 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8874 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8875 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8876 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8877 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8878 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8879 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8880 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8881 (conformtest-cc-flags): Likewise.
8882 ($(conformtest-header-tests): New target.
8883 * conform/check-header-lists.sh: New file.
8884 * conform/run-conformtest.sh: Remove.
8885
a00f522a
JM
8886 * conform/conformtest.pl: Allow ' and \ in values given for
8887 constants.
8888 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8889 inclusion.
8890 [POSIX] (sys/types.h): Likewise.
8891 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8892 inclusion.
8893 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8894 inclusion.
8895 * conform/data/signal.h-data (SIGIO): Remove expectation.
8896 [XPG3] (SIGBUS): Do not expect.
8897 [POSIX || XPG3] (SIGPOLL): Likewise.
8898 [POSIX || XPG3] (SIGPROF): Likewise.
8899 [POSIX || XPG3] (SIGSYS): Likewise.
8900 [XPG3] (SIGTRAP): Likewise.
8901 [POSIX || XPG3] (SIGURG): Likewise.
8902 [POSIX || XPG3] (SIGVTALRM): Likewise.
8903 [POSIX || XPG3] (SIGXCPU): Likewise.
8904 [POSIX || XPG3] (SIGXFSZ): Likewise.
8905 [POSIX] (SA_SIGINFO): Expect.
8906 [XPG3] (siginfo_t): Do not expect type or contents.
8907 [POSIX] (si_pid): Do not expect element.
8908 [POSIX] (si_uid): Likewise.
8909 [POSIX] (si_addr): Likewise.
8910 [POSIX] (si_status): Likewise.
8911 [POSIX] (si_band): Likewise.
8912 [XPG4] (si_value): Likewise.
8913 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8914 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8915 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8916 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8917 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8918 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8919 [POSIX || XPG3] (ILL_COPROC): Likewise.
8920 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8921 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8922 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8923 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8924 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8925 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8926 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8927 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8928 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8929 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8930 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8931 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8932 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8933 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8934 [POSIX || XPG3] (CLD_EXITED): Likewise.
8935 [POSIX || XPG3] (CLD_KILLED): Likewise.
8936 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8937 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8938 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8939 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8940 [POSIX || XPG3] (POLL_IN): Likewise.
8941 [POSIX || XPG3] (POLL_OUT): Likewise.
8942 [POSIX || XPG3] (POLL_MSG): Likewise.
8943 [POSIX || XPG3] (POLL_ERR): Likewise.
8944 [POSIX || XPG3] (POLL_PRI): Likewise.
8945 [POSIX || XPG3] (POLL_HUP): Likewise.
8946 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8947 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8948 (SIG*): Do not allow.
8949 [XPG3] (si_*): Likewise.
8950 [XPG3] (SI_*): Likewise.
8951 [XPG3 || XPG4] (sigev_*): Likewise.
8952 [XPG3 || XPG4] (SIGEV_*): Likewise.
8953 [XPG3 || XPG4] (sival_*): Likewise.
8954 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8955 [POSIX || XPG3] (BUS_*): Likewise.
8956 [POSIX || XPG3] (CLD_*): Likewise.
8957 [POSIX || XPG3] (FPE_*): Likewise.
8958 [POSIX || XPG3] (ILL_*): Likewise.
8959 [POSIX || XPG3] (POLL_*): Likewise.
8960 [POSIX || XPG3] (SEGV_*): Likewise.
8961 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8962 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8963 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8964 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8965 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8966 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8967 Specify type and value.
8968 (TVERSLEN): Likewise.
8969 (REGTYPE): Likewise.
8970 (AREGTYPE): Likewise.
8971 (LNKTYPE): Likewise.
8972 (SYMTYPE): Likewise.
8973 (CHRTYPE): Likewise.
8974 (BLKTYPE): Likewise.
8975 (DIRTYPE): Likewise.
8976 (FIFOTYPE): Likewise.
8977 (CONTTYPE): Likewise.
8978 (TSUID): Likewise.
8979 (TSGID): Likewise.
8980 (TSVTX): Likewise.
8981 (TUREAD): Likewise.
8982 (TUWRITE): Likewise.
8983 (TUEXEC): Likewise.
8984 (TGREAD): Likewise.
8985 (TGWRITE): Likewise.
8986 (TGEXEC): Likewise.
8987 (TOREAD): Likewise.
8988 (TOWRITE): Likewise.
8989 (TOEXEC): Likewise.
8990 [POSIX] (TSVTX): Expect constant.
8991
aa97dee1
JM
89922014-03-06 Joseph Myers <joseph@codesourcery.com>
8993
f214606a
JM
8994 * Makefile (tests): Change dependencies to ....
8995 (tests-special): ... additions to this variable.
8996 (tests): Depend on $(tests-special).
8997 * Makerules (check-abi-list): New variable.
8998 (check-abi): Depend on $(check-abi-list).
8999 [$(subdir) = elf] (tests-special): Add
9000 $(objpfx)check-abi-libc.out.
9001 [$(build-shared) = yes && subdir] (tests-special): Add
9002 $(check-abi-list).
9003 [$(build-shared) = yes && subdir] (tests): Do not depend on
9004 check-abi.
9005 * Rules (tests): Depend on $(tests-special).
9006 (xtests): Depend on $(xtests-special).
9007 * catgets/Makefile (tests): Change dependencies to ....
9008 (tests-special): ... additions to this variable.
9009 * conform/Makefile (tests): Change dependencies to ....
9010 (tests-special): ... additions to this variable.
9011 * elf/Makefile (tests): Change dependencies to ....
9012 (tests-special): ... additions to this variable.
9013 * grp/Makefile (tests): Change dependencies to ....
9014 (tests-special): ... additions to this variable.
9015 * iconv/Makefile (xtests): Change dependencies to ....
9016 (xtests-special): ... additions to this variable.
9017 * iconvdata/Makefile (tests): Change dependencies to ....
9018 (tests-special): ... additions to this variable.
9019 * intl/Makefile (tests): Change dependencies to ....
9020 (tests-special): ... additions to this variable. Also add
9021 $(objpfx)tst-gettext.out.
9022 * io/Makefile (tests): Change dependencies to ....
9023 (tests-special): ... additions to this variable.
9024 * libio/Makefile (tests): Change dependencies to ....
9025 (tests-special): ... additions to this variable.
9026 * malloc/Makefile (tests): Change dependencies to ....
9027 (tests-special): ... additions to this variable.
9028 * misc/Makefile (tests): Change dependencies to ....
9029 (tests-special): ... additions to this variable.
9030 * nptl/Makefile (tests): Change dependencies to ....
9031 (tests-special): ... additions to this variable.
9032 * nptl_db/Makefile (tests): Change dependencies to ....
9033 (tests-special): ... additions to this variable.
9034 * posix/Makefile (tests): Change dependencies to ....
9035 (tests-special): ... additions to this variable.
9036 (xtests): Change dependencies to ....
9037 (xtests-special): ... additions to this variable.
9038 * resolv/Makefile (tests): Change dependencies to ....
9039 (tests-special): ... additions to this variable.
9040 (xtests): Change dependencies to ....
9041 (xtests-special): ... additions to this variable.
9042 * stdio-common/Makefile (tests): Change dependencies to ....
9043 (tests-special): ... additions to this variable.
9044 (do-tst-unbputc): Remove target.
9045 (do-tst-printf): Likewise.
9046 * stdlib/Makefile (tests): Change dependencies to ....
9047 (tests-special): ... additions to this variable.
9048 * string/Makefile (tests): Change dependencies to ....
9049 (tests-special): ... additions to this variable.
9050 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9051 (tests-special): ... additions to this variable.
9052
81700b53
JM
9053 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9054 whole file.
9055 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9056 whole file.
9057 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9058 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9059
2ea18461
JM
9060 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9061 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9062 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9063 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9064 * conform/data/libgen.h-data [XPG3]: Likewise.
9065 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9066 * conform/data/ndbm.h-data [XPG3]: Likewise.
9067 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9068 * conform/data/netdb.h-data [XPG3]: Likewise.
9069 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9070 * conform/data/poll.h-data [XPG3]: Likewise.
9071 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9072 * conform/data/strings.h-data [XPG3]: Likewise.
9073 * conform/data/stropts.h-data [XPG3]: Likewise.
9074 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9075 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9076 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9077 Likewise.
9078 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9079 * conform/data/sys/time.h-data [XPG3]: Likewise.
9080 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9081 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9082 * conform/data/sys/un.h-data [XPG3]: Likewise.
9083 * conform/data/syslog.h-data [XPG3]: Likewise.
9084 * conform/data/ucontext.h-data [XPG3]: Likewise.
9085 * conform/data/utmpx.h-data [XPG3]: Likewise.
9086 * conform/data/varargs.h-data [UNIX98]: Enable file.
9087
355bc986
JM
9088 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9089
215db402
JM
9090 * math/libm-test.inc (struct test_f_f_data): Move expected results
9091 into structure for each rounding mode.
9092 (struct test_ff_f_data): Likewise.
9093 (struct test_ff_f_data_nexttoward): Likewise.
9094 (struct test_fi_f_data): Likewise.
9095 (struct test_fl_f_data): Likewise.
9096 (struct test_if_f_data): Likewise.
9097 (struct test_fff_f_data): Likewise.
9098 (struct test_c_f_data): Likewise.
9099 (struct test_f_f1_data): Likewise.
9100 (struct test_fF_f1_data): Likewise.
9101 (struct test_ffI_f1_data): Likewise.
9102 (struct test_c_c_data): Likewise.
9103 (struct test_cc_c_data): Likewise.
9104 (struct test_f_i_data): Likewise.
9105 (struct test_ff_i_data): Likewise.
9106 (struct test_f_l_data): Likewise.
9107 (struct test_f_L_data): Likewise.
9108 (struct test_fFF_11_data): Likewise.
9109 (RM_): New macro.
9110 (RM_FE_DOWNWARD): Likewise.
9111 (RM_FE_TONEAREST): Likewise.
9112 (RM_FE_TOWARDZERO): Likewise.
9113 (RM_FE_UPWARD): Likewise.
9114 (RUN_TEST_LOOP_f_f): Update references to expected results.
9115 (RUN_TEST_LOOP_2_f): Likewise.
9116 (RUN_TEST_LOOP_fff_f): Likewise.
9117 (RUN_TEST_LOOP_c_f): Likewise.
9118 (RUN_TEST_LOOP_f_f1): Likewise.
9119 (RUN_TEST_LOOP_fF_f1): Likewise.
9120 (RUN_TEST_LOOP_fI_f1): Likewise.
9121 (RUN_TEST_LOOP_ffI_f1): Likewise.
9122 (RUN_TEST_LOOP_c_c): Likewise.
9123 (RUN_TEST_LOOP_cc_c): Likewise.
9124 (RUN_TEST_LOOP_f_i): Likewise.
9125 (RUN_TEST_LOOP_f_i_tg): Likewise.
9126 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9127 (RUN_TEST_LOOP_f_b): Likewise.
9128 (RUN_TEST_LOOP_f_b_tg): Likewise.
9129 (RUN_TEST_LOOP_f_l): Likewise.
9130 (RUN_TEST_LOOP_f_L): Likewise.
9131 (RUN_TEST_LOOP_fFF_11): Likewise.
9132 * math/gen-libm-test.pl (parse_args): Output four copies of
9133 expected results for each test.
9134
67737b8f
JM
9135 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9136 (__ASSUME_UTIMES): Remove.
9137 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9138 (__ASSUME_UTIMES): Likewise.
9139
aa97dee1
JM
9140 * math/gen-auto-libm-tests.c: Update comment on output format.
9141 (output_for_one_input_case): Generate before-rounding and
9142 after-rounding information as conditions on output flags not
9143 floating-point format.
9144 * math/auto-libm-test-out: Regenerated.
9145 * math/gen-libm-test.pl (cond_value): New function.
9146 (or_cond_value): Use cond_value.
9147 (generate_testfile): Handle conditional exceptions.
9148
e6b6a857
JM
91492014-03-05 Joseph Myers <joseph@codesourcery.com>
9150
2f0a0f44
JM
9151 * math/libm-test.inc (max_valid_error): New variable.
9152 (init_max_error): Take new argument specifying whether function
9153 results are exactly determined. Set max_valid_error and bound
9154 other variables for errors based on this argument.
9155 (set_max_error): Do not record results above max_valid_error.
9156 (check_float_internal): Only accept errors of up to 0.5ulps if
9157 also at most max_valid_error.
9158 (START): Take new argument EXACT and pass it to init_max_error.
9159 (acos_test): Update call to START.
9160 (acos_test_tonearest): Likewise.
9161 (acos_test_towardzero): Likewise.
9162 (acos_test_downward): Likewise.
9163 (acos_test_upward): Likewise.
9164 (acosh_test): Likewise.
9165 (asin_test): Likewise.
9166 (asin_test_tonearest): Likewise.
9167 (asin_test_towardzero): Likewise.
9168 (asin_test_downward): Likewise.
9169 (asin_test_upward): Likewise.
9170 (asinh_test): Likewise.
9171 (atan_test): Likewise.
9172 (atanh_test): Likewise.
9173 (atan2_test): Likewise.
9174 (cabs_test): Likewise.
9175 (cacos_test): Likewise.
9176 (cacosh_test): Likewise.
9177 (carg_test): Likewise.
9178 (casin_test): Likewise.
9179 (casinh_test): Likewise.
9180 (catan_test): Likewise.
9181 (catanh_test): Likewise.
9182 (cbrt_test): Likewise.
9183 (ccos_test): Likewise.
9184 (ccosh_test): Likewise.
9185 (ceil_test): Likewise.
9186 (cexp_test): Likewise.
9187 (cimag_test): Likewise.
9188 (clog_test): Likewise.
9189 (clog10_test): Likewise.
9190 (conj_test): Likewise.
9191 (copysign_test): Likewise.
9192 (cos_test): Likewise.
9193 (cos_test_tonearest): Likewise.
9194 (cos_test_towardzero): Likewise.
9195 (cos_test_downward): Likewise.
9196 (cos_test_upward): Likewise.
9197 (cosh_test): Likewise.
9198 (cosh_test_tonearest): Likewise.
9199 (cosh_test_towardzero): Likewise.
9200 (cosh_test_downward): Likewise.
9201 (cosh_test_upward): Likewise.
9202 (cpow_test): Likewise.
9203 (cproj_test): Likewise.
9204 (creal_test): Likewise.
9205 (csin_test): Likewise.
9206 (csinh_test): Likewise.
9207 (csqrt_test): Likewise.
9208 (ctan_test): Likewise.
9209 (ctan_test_tonearest): Likewise.
9210 (ctan_test_towardzero): Likewise.
9211 (ctan_test_downward): Likewise.
9212 (ctan_test_upward): Likewise.
9213 (ctanh_test): Likewise.
9214 (ctanh_test_tonearest): Likewise.
9215 (ctanh_test_towardzero): Likewise.
9216 (ctanh_test_downward): Likewise.
9217 (ctanh_test_upward): Likewise.
9218 (erf_test): Likewise.
9219 (erfc_test): Likewise.
9220 (exp_test): Likewise.
9221 (exp_test_tonearest): Likewise.
9222 (exp_test_towardzero): Likewise.
9223 (exp_test_downward): Likewise.
9224 (exp_test_upward): Likewise.
9225 (exp10_test): Likewise.
9226 (exp10_test_tonearest): Likewise.
9227 (exp10_test_towardzero): Likewise.
9228 (exp10_test_downward): Likewise.
9229 (exp10_test_upward): Likewise.
9230 (pow10_test): Likewise.
9231 (exp2_test): Likewise.
9232 (expm1_test): Likewise.
9233 (expm1_test_tonearest): Likewise.
9234 (expm1_test_towardzero): Likewise.
9235 (expm1_test_downward): Likewise.
9236 (expm1_test_upward): Likewise.
9237 (fabs_test): Likewise.
9238 (fdim_test): Likewise.
9239 (floor_test): Likewise.
9240 (fma_test): Likewise.
9241 (fma_test_towardzero): Likewise.
9242 (fma_test_downward): Likewise.
9243 (fma_test_upward): Likewise.
9244 (fmax_test): Likewise.
9245 (fmin_test): Likewise.
9246 (fmod_test): Likewise.
9247 (fpclassify_test): Likewise.
9248 (frexp_test): Likewise.
9249 (hypot_test): Likewise.
9250 (ilogb_test): Likewise.
9251 (isfinite_test): Likewise.
9252 (finite_test): Likewise.
9253 (isgreater_test): Likewise.
9254 (isgreaterequal_test): Likewise.
9255 (isinf_test): Likewise.
9256 (isless_test): Likewise.
9257 (islessequal_test): Likewise.
9258 (islessgreater_test): Likewise.
9259 (isnan_test): Likewise.
9260 (isnormal_test): Likewise.
9261 (issignaling_test): Likewise.
9262 (isunordered_test): Likewise.
9263 (j0_test): Likewise.
9264 (j1_test): Likewise.
9265 (jn_test): Likewise.
9266 (ldexp_test): Likewise.
9267 (lgamma_test): Likewise.
9268 (gamma_test): Likewise.
9269 (lrint_test): Likewise.
9270 (lrint_test_tonearest): Likewise.
9271 (lrint_test_towardzero): Likewise.
9272 (lrint_test_downward): Likewise.
9273 (lrint_test_upward): Likewise.
9274 (llrint_test): Likewise.
9275 (llrint_test_tonearest): Likewise.
9276 (llrint_test_towardzero): Likewise.
9277 (llrint_test_downward): Likewise.
9278 (llrint_test_upward): Likewise.
9279 (log_test): Likewise.
9280 (log10_test): Likewise.
9281 (log1p_test): Likewise.
9282 (log2_test): Likewise.
9283 (logb_test): Likewise.
9284 (logb_test_downward): Likewise.
9285 (lround_test): Likewise.
9286 (llround_test): Likewise.
9287 (modf_test): Likewise.
9288 (nearbyint_test): Likewise.
9289 (nextafter_test): Likewise.
9290 (nexttoward_test): Likewise.
9291 (pow_test): Likewise.
9292 (pow_test_tonearest): Likewise.
9293 (pow_test_towardzero): Likewise.
9294 (pow_test_downward): Likewise.
9295 (pow_test_upward): Likewise.
9296 (remainder_test): Likewise.
9297 (drem_test): Likewise.
9298 (remainder_test_tonearest): Likewise.
9299 (drem_test_tonearest): Likewise.
9300 (remainder_test_towardzero): Likewise.
9301 (drem_test_towardzero): Likewise.
9302 (remainder_test_downward): Likewise.
9303 (drem_test_downward): Likewise.
9304 (remainder_test_upward): Likewise.
9305 (drem_test_upward): Likewise.
9306 (remquo_test): Likewise.
9307 (rint_test): Likewise.
9308 (rint_test_tonearest): Likewise.
9309 (rint_test_towardzero): Likewise.
9310 (rint_test_downward): Likewise.
9311 (rint_test_upward): Likewise.
9312 (round_test): Likewise.
9313 (scalb_test): Likewise.
9314 (scalbn_test): Likewise.
9315 (scalbln_test): Likewise.
9316 (signbit_test): Likewise.
9317 (sin_test): Likewise.
9318 (sin_test_tonearest): Likewise.
9319 (sin_test_towardzero): Likewise.
9320 (sin_test_downward): Likewise.
9321 (sin_test_upward): Likewise.
9322 (sincos_test): Likewise.
9323 (sinh_test): Likewise.
9324 (sinh_test_tonearest): Likewise.
9325 (sinh_test_towardzero): Likewise.
9326 (sinh_test_downward): Likewise.
9327 (sinh_test_upward): Likewise.
9328 (sqrt_test): Likewise.
9329 (sqrt_test_tonearest): Likewise.
9330 (sqrt_test_towardzero): Likewise.
9331 (sqrt_test_downward): Likewise.
9332 (sqrt_test_upward): Likewise.
9333 (tan_test): Likewise.
9334 (tan_test_tonearest): Likewise.
9335 (tan_test_towardzero): Likewise.
9336 (tan_test_downward): Likewise.
9337 (tan_test_upward): Likewise.
9338 (tanh_test): Likewise.
9339 (tgamma_test): Likewise.
9340 (trunc_test): Likewise.
9341 (y0_test): Likewise.
9342 (y1_test): Likewise.
9343 (yn_test): Likewise.
9344 (significand_test): Likewise.
9345
e6b6a857
JM
9346 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9347 individual tests in comment.
9348 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9349 (prev_max_error): New variable.
9350 (prev_real_max_error): Likewise.
9351 (prev_imag_max_error): Likewise.
9352 (compare_ulp_data): Don't refer to test names in comment.
9353 (find_test_ulps): Remove function.
9354 (find_function_ulps): Likewise.
9355 (find_complex_function_ulps): Likewise.
9356 (init_max_error): Take function name as argument. Look up ulps
9357 for that function.
9358 (print_ulps): Remove function.
9359 (print_max_error): Use prev_max_error instead of calling
9360 find_function_ulps.
9361 (print_complex_max_error): Use prev_real_max_error and
9362 prev_imag_max_error instead of calling find_complex_function_ulps.
9363 (check_float_internal): Take max_ulp parameter instead of calling
9364 find_test_ulps. Don't call print_ulps.
9365 (check_float): Update call to check_float_internal.
9366 (check_complex): Update calls to check_float_internal.
9367 (START): Pass argument to init_max_error.
9368 * math/gen-libm-test.pl (%results): Don't include "kind"
9369 information.
9370 (parse_ulps): Don't handle ulps of individual tests.
9371 (print_ulps_file): Likewise.
9372 (output_ulps): Likewise.
9373 * math/README.libm-test: Update.
9374 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9375 individual tests.
9376 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9377 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9378 * sysdeps/arm/libm-test-ulps: Likewise.
9379 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9380 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9381 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9382 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9383 * sysdeps/microblaze/libm-test-ulps: Likewise.
9384 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9385 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9387 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9388 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9389 * sysdeps/sh/libm-test-ulps: Likewise.
9390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9391 * sysdeps/tile/libm-test-ulps: Likewise.
9392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9393
45adef3c
JM
93942014-03-04 Joseph Myers <joseph@codesourcery.com>
9395
9396 * math/libm-test.inc (print_complex_max_error): Check separately
9397 whether real and imaginary errors are within allowed range and
9398 pass 0 to print_complex_function_ulps instead of value within
9399 allowed range.
9400
000232b9
SP
94012014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9402
d4b17258
SP
9403 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9404 formatting.
9405 (get_handles_fopen): Likewise.
9406 (do_write_test): Likewise.
9407
091eff71
SP
9408 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9409
fa3cd248
SP
9410 * libio/fileops.c (do_ftell): Use cached offset when
9411 available.
9412 * libio/iofwide.c (do_ftell_wide): Likewise.
9413 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9414 _IO_file_attach.
9415 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9416
000232b9
SP
9417 [BZ #16532]
9418 * libio/libioP.h (get_file_offset): New function.
9419 * libio/fileops.c (get_file_offset): Likewise.
9420 (do_ftell): Likewise.
9421 (_IO_new_file_seekoff): Split out ftell logic.
9422 * libio/wfileops.c (do_ftell_wide): Likewise.
9423 (_IO_wfile_seekoff): Split out ftell logic.
9424 * libio/tst-ftell-active-handler.c: New test case.
9425 * libio/Makefile (tests): Add it.
9426
116f4d1a
RM
94272014-03-03 Roland McGrath <roland@hack.frob.com>
9428
9429 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9430 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9431
532a6035
SP
94322014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9433
9434 [BZ #16639]
9435 * nscd/connections.c (nscd_init): Call do_exit.
9436 (start_threads): Call do_exit and notify_parent.
9437 (begin_drop_privileges): Call do_exit.
9438 (finish_drop_privileges): Likewise.
9439 * nscd/selinux.c (preserve_capabilities): Likewise.
9440 (install_real_capabilities): Likewise.
9441 (nscd_selinux_enabled): Likewise.
9442 (avc_create_thread): Likewise.
9443 (avc_alloc_lock): Likewise.
9444 (nscd_avc_init): Likewise.
9445 * nscd/nscd.c (parent_fd): New static variable.
9446 (main): Create a pipe between parent and child processes.
9447 Skip closing parent_fd.
9448 (monitor_child): New function.
9449 (do_exit): Likewise.
9450 (notify_parent): Likewise.
9451 * nscd/nscd.h (notify_parent): Likewise.
9452 (do_exit): Likewise.
9453
d6285c9f
CD
94542014-03-03 Carlos O'Donell <carlos@redhat.com>
9455
9456 * malloc/malloc.c (__libc_calloc): Revert last change.
9457
2b85d2a0
AZ
94582014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9459
9460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9461
c7debbdf
RS
94622014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9463
9464 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9466 implementation.
9467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9468 (__libc_ifunc_impl_list): Likewise.
9469 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9470 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9471 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9472 * string/strrchr.c: Define STRRCHR.
9473
235eed86
OB
94742014-02-28 Ondřej Bílka <neleai@seznam.cz>
9475
9476 * benchtest/bench-strtok.c (simple_strtok): Delete.
9477 (strtok_string): Use as benchmark.
9478 * string/strtok (STRTOK): New macro.
9479
8e25d1e7
CD
94802014-02-28 Carlos O'Donell <carlos@redhat.com>
9481
ef563f92
CD
9482 * manual/threads.texi: Add header and standard comments to all
9483 functions.
9484
8e25d1e7
CD
9485 * elf/dl-lookup.c (check_match): New function.
9486 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9487 (do_lookup_x): Remove nested function check_match. Use non-nested
9488 function check_match.
9489
ff71cc37
RM
94902014-02-28 Roland McGrath <roland@hack.frob.com>
9491
f08e9a26
RM
9492 * csu/Makefile (generated, before-compile): Use += rather than =.
9493 * catgets/Makefile (generated, generated-dirs): Likewise.
9494 * debug/Makefile (generated): Likewise.
9495 * dlfcn/Makefile (generated): Likewise.
9496 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9497 * iconvdata/Makefile (before-compile, generated): Likewise.
9498 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9499 * libio/Makefile (generated): Likewise.
9500 * malloc/Makefile (generated): Likewise.
9501 * manual/Makefile (generated, generated-dirs): Likewise.
9502 * misc/Makefile (generated): Likewise.
9503 * posix/Makefile (generated): Likewise.
9504 * resolv/Makefile (generated): Likewise.
9505 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9506 * timezone/Makefile (generated, generated-dirs): Likewise.
9507
ff71cc37
RM
9508 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9509
fe13a20c
AZ
95102014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9511
57f41c40
AS
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9513 power8 implementation.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9515 file: POWER8 llround ifunc implementation.
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9517 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9518 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9519 POWER8 llround implementation.
9520
57f41c40
AS
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9522 power8 implementation.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9524 file: POWER8 llrint ifunc implementation.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9526 Add POWER8 implementation.
1ad8950a
AZ
9527 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9528 POWER8 llrint implementation.
9529
57f41c40
AS
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9531 power8 implementation.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9533 file: POWER8 finite ifunc implementation.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9535 Add POWER8 implementation.
cac626d6
AZ
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9537 Likewise.
9538 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9539 POWER8 finite implementation.
9540 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9541
57f41c40
AS
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9543 power8 implementation.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9545 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9547 POWER8 implementation.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9549 Likewise.
57f41c40
AS
9550 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9551 isinf implementation.
4393fc11
AZ
9552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9553
57f41c40
AS
9554 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9555 (INIT_ARCH): Add hwcap2 initialization.
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9557 power8 implementation.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9559 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9561 POWER8 implementation.
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9563 Likewise.
57f41c40
AS
9564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9565 isnan implementation.
487972ae
AZ
9566 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9567
7d92b787
JY
95682014-02-27 Joey Ye <joey.ye@arm.com>
9569
9570 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9571 (_FP_NANFRAC_Q): Set to zero.
9572
1cadc858
SP
95732014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9574
9575 [BZ #16623]
9576 * math/auto-libm-test-in: New test inputs.
9577 * math/auto-libm-test-out: Regenerate.
9578 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9579 and DA.
9580 (__cos): Likewise.
9581 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9582
f8c17e79
JM
95832014-02-27 Joseph Myers <joseph@codesourcery.com>
9584
9585 * scripts/evaluate-test.sh: Take new argument indicating whether
9586 failure is expected.
9587 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9588 indicating whether failure is expected.
9589 * conform/Makefile (test-xfail-run-conformtest): New variable.
9590 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9591 level.
9592 * posix/Makefile (test-xfail-annexc): New variable.
9593 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9594
a5f891ac
JM
95952014-02-26 Joseph Myers <joseph@codesourcery.com>
9596
9597 * argp/Makefile: Include Makeconfig immediately after defining
9598 subdir.
9599 * assert/Makefile: Likewise.
9600 * benchtests/Makefile: Likewise.
9601 * catgets/Makefile: Likewise.
9602 * conform/Makefile: Likewise.
9603 * crypt/Makefile: Likewise.
9604 * csu/Makefile: Likewise.
9605 (all): Remove target.
9606 * ctype/Makefile: Include Makeconfig immediately after defining
9607 subdir.
9608 * debug/Makefile: Likewise.
9609 * dirent/Makefile: Likewise.
9610 * dlfcn/Makefile: Likewise.
9611 * gmon/Makefile: Likewise.
9612 * gnulib/Makefile: Likewise.
9613 * grp/Makefile: Likewise.
9614 * gshadow/Makefile: Likewise.
9615 * hesiod/Makefile: Likewise.
9616 * hurd/Makefile: Likewise.
9617 (all): Remove target.
9618 * iconvdata/Makefile: Include Makeconfig immediately after
9619 defining subdir.
9620 * inet/Makefile: Likewise.
9621 * intl/Makefile: Likewise.
9622 * io/Makefile: Likewise.
9623 * libio/Makefile: Likewise.
9624 (all): Remove target.
9625 * locale/Makefile: Include Makeconfig immediately after defining
9626 subdir.
9627 * login/Makefile: Likewise.
9628 * mach/Makefile: Likewise.
9629 (all): Remove target.
9630 * malloc/Makefile: Include Makeconfig immediately after defining
9631 subdir.
9632 (all): Remove target.
9633 * manual/Makefile: Include Makeconfig immediately after defining
9634 subdir.
9635 * math/Makefile: Likewise.
9636 * misc/Makefile: Likewise.
9637 * nis/Makefile: Likewise.
9638 * nss/Makefile: Likewise.
9639 * po/Makefile: Likewise.
9640 (all): Remove target.
9641 * posix/Makefile: Include Makeconfig immediately after defining
9642 subdir.
9643 * pwd/Makefile: Likewise.
9644 * resolv/Makefile: Likewise.
9645 * resource/Makefile: Likewise.
9646 * rt/Makefile: Likewise.
9647 * setjmp/Makefile: Likewise.
9648 * shadow/Makefile: Likewise.
9649 * signal/Makefile: Likewise.
9650 * socket/Makefile: Likewise.
9651 * soft-fp/Makefile: Likewise.
9652 * stdio-common/Makefile: Likewise.
9653 * stdlib/Makefile: Likewise.
9654 * streams/Makefile: Likewise.
9655 * string/Makefile: Likewise.
9656 * sunrpc/Makefile: Likewise.
9657 (all): Remove target.
9658 * sysvipc/Makefile: Include Makeconfig immediately after defining
9659 subdir.
9660 * termios/Makefile: Likewise.
9661 * time/Makefile: Likewise.
9662 * timezone/Makefile: Likewise.
9663 (all): Remove target.
9664 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9665 subdir.
9666 * wctype/Makefile: Likewise.
9667
5b456e9d
SE
96682014-02-26 Steve Ellcey <sellcey@mips.com>
9669
9670 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9671 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9672 (libc_feholdexcept_setround_mips): Ditto.
9673 (libc_feholdsetround): New.
9674 (libc_feholdsetroundf): New.
9675 (libc_feholdsetroundl): New.
9676 (libc_feupdateenv_test_mips): New.
9677 (libc_feupdateenv_test): New.
9678 (libc_feupdateenv_testf): New.
9679 (libc_feupdateenv_testl): New.
9680 (libc_feresetround): New.
9681 (libc_feresetroundf): New.
9682 (libc_feresetroundl): New.
9683 (libc_fetestexcept_mips): New.
9684 (libc_fetestexcept): New.
9685 (libc_fetestexceptf): New.
9686 (libc_fetestexceptl): New.
9687 (HAVE_RM_CTX): New.
9688 (libc_feholdexcept_setround_mips_ctx): New.
9689 (libc_feholdexcept_setround_ctx): New.
9690 (libc_feholdexcept_setroundf_ctx): New.
9691 (libc_feholdexcept_setroundl_ctx): New.
9692 (libc_fesetenv_mips_ctx): New.
9693 (libc_fesetenv_ctx): New.
9694 (libc_fesetenv_ctxf): New.
9695 (libc_fesetenv_ctxl): New.
9696 (libc_feupdateenv_mips_ctx): New.
9697 (libc_feupdateenv_ctx): New.
9698 (libc_feupdateenvf_ctx): New.
9699 (libc_feupdateenvl_ctx): New.
9700 (libc_feholdsetround_mips_ctx): New.
9701 (libc_feholdsetround_ctx): New.
9702 (libc_feholdsetroundf_ctx): New.
9703 (libc_feholdsetroundl_ctx): New.
9704 (libc_feresetround_mips_ctx): New.
9705 (libc_feresetround_ctx): New.
9706 (libc_feresetroundf_ctx): New.
9707 (libc_feresetroundl_ctx): New.
9708
085d0e35
CD
97092014-02-26 Carlos O'Donell <carlos@redhat.com>
9710
f067bf1f
CD
9711 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9712
085d0e35
CD
9713 * manual/ipc.texi: New file.
9714 * manual/Makefile (chapters): Add ipc.
9715 * manual/job.texi: Add "Inter-Process Communication" to next.
9716 * manual/process.texi: Add "Inter-Process Communication" to prev.
9717
86e58c08
AZ
97182014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9719
9720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9721
4248f0da
OB
97222014-02-26 Ondřej Bílka <neleai@seznam.cz>
9723
9724 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9725
cf822e3c
OB
9726 * manual/arith.texi: Fix spaces after sentences.
9727 * manual/charset.texi: Likewise.
9728 * manual/errno.texi: Likewise.
9729 * manual/install.texi: Likewise.
9730 * manual/llio.texi: Likewise.
9731 * manual/locale.texi: Likewise.
9732 * manual/maint.texi: Likewise.
9733 * manual/math.texi: Likewise.
9734 * manual/memory.texi: Likewise.
9735 * manual/message.texi: Likewise.
9736 * manual/probes.texi: Likewise.
9737 * manual/resource.texi: Likewise.
9738 * manual/signal.texi: Likewise.
9739 * manual/socket.texi: Likewise.
9740 * manual/stdio.texi: Likewise.
9741 * manual/string.texi: Likewise.
9742 * manual/time.texi: Likewise.
9743 * manual/users.texi: Likewise.
9744
ade40b10
CD
97452014-02-25 Carlos O'Donell <carlos@redhat.com>
9746
9747 [BZ #16632]
9748 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9749 _DEFAULT_SOURCE is defined.
9750
d0503676
CD
97512014-02-25 Ulrich Drepper <drepper@gmail.com>
9752 Carlos O'Donell <carlos@redhat.com>
9753
9754 [BZ #16613]
9755 * elf/dl-tls.c (_dl_count_modids): New function.
9756 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9757 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9758 audit library and increment generation counter.
9759 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9760 * elf/tst-audit9.c: New file.
9761 * elf/tst-auditmod9a.c: New file.
9762 * elf/tst-auditmod9b.c: New file.
9763 * elf/Makefile: Add rules to build and run tst-audit9.
9764
4cbf380c
FW
97652014-02-25 Florian Weimer <fweimer@redhat.com>
9766
9767 [BZ #15347]
9768 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9769
80a56cc3
WN
97702014-02-25 Will Newton <will.newton@linaro.org>
9771
9772 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9773 (__longjmp): Restore sp and lr before restoring callee
9774 saved registers. Add longjmp and longjmp_target
9775 SystemTap probe point.
9776 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9777 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9778 Define to zero to match jmpbuf layout.
9779 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9780 (__sigsetjmp): Save sp and lr before saving callee
9781 saved registers. Add setjmp SystemTap probe point.
9782
3ea0f74e
SL
97832014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9784
9785 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9786
b04acb26
AS
97872014-02-24 Andreas Schwab <schwab@suse.de>
9788
9789 [BZ #15804]
9790 * elf/pldd.c (wait_for_ptrace_stop): New function.
9791 (main): Call it after attaching.
9792
098ad55c
RM
97932014-02-22 Roland McGrath <roland@hack.frob.com>
9794
d4ec6ae1
RM
9795 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9796 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9797 Versions files is now verboten.
9798 * hurd/Versions (libc: GLIBC_2.0):
9799 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9800 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9801 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9802 * mach/Versions: Likewise.
9803
098ad55c
RM
9804 * csu/Versions: Remove unused %include.
9805 * resolv/Versions: Likewise.
9806
acd7f096
JM
98072014-02-21 Joseph Myers <joseph@codesourcery.com>
9808
f0881698
JM
9809 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9810 ($(objpfx)check-local-headers.out): Likewise.
9811 ($(objpfx)begin-end-check.out): Likewise.
9812 * Makerules (check-abi-%.out): Likewise.
9813 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9814 ($(objpfx)test2.cat): Likewise.
9815 ($(objpfx)de/libc.cat): Likewise.
9816 ($(objpfx)test-gencat.out): Likewise.
9817 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9818 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9819 ($(objpfx)noload-mem): Likewise.
9820 ($(objpfx)tst-pathopt.out): Likewise.
9821 ($(objpfx)tst-rtld-load-self.out): Likewise.
9822 ($(objpfx)tst-array1-cmp.out): Likewise.
9823 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9824 ($(objpfx)tst-array2-cmp.out): Likewise.
9825 ($(objpfx)tst-array3-cmp.out): Likewise.
9826 ($(objpfx)tst-array4-cmp.out): Likewise.
9827 ($(objpfx)tst-array5-cmp.out): Likewise.
9828 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9829 ($(objpfx)check-textrel.out): Likewise.
9830 ($(objpfx)check-execstack.out): Likewise.
9831 ($(objpfx)check-localplt.out): Likewise.
9832 ($(objpfx)order2-cmp.out): Likewise.
9833 ($(objpfx)tst-leaks1-mem): Likewise.
9834 ($(objpfx)tst-leaks1-static-mem): Likewise.
9835 ($(objpfx)tst-initorder-cmp.out): Likewise.
9836 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9837 ($(objpfx)tst-unused-dep.out): Likewise.
9838 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9839 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9840 * iconv/Makefile (test-iconvconfig): Likewise.
9841 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9842 ($(objpfx)iconv-test.out): Likewise.
9843 ($(objpfx)tst-tables.out): Likewise.
9844 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9845 ($(objpfx)tst-gettext.out): Likewise.
9846 ($(objpfx)tst-translit.out): Likewise.
9847 ($(objpfx)tst-gettext2.out): Likewise.
9848 ($(objpfx)tst-gettext4.out): Likewise.
9849 ($(objpfx)tst-gettext6.out): Likewise.
9850 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9851 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9852 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9853 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9855 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9856 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9857 ($(objpfx)wordexp-tst.out): Likewise.
9858 ($(objpfx)annexc.out): Likewise.
9859 ($(objpfx)tst-fnmatch-mem): Likewise.
9860 ($(objpfx)bug-regex2-mem): Likewise.
9861 ($(objpfx)bug-regex14-mem): Likewise.
9862 ($(objpfx)bug-regex21-mem): Likewise.
9863 ($(objpfx)bug-regex31-mem): Likewise.
9864 ($(objpfx)tst-vfork3-mem): Likewise.
9865 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9866 ($(objpfx)tst-pcre-mem): Likewise.
9867 ($(objpfx)tst-boost-mem): Likewise.
9868 ($(objpfx)tst-getconf.out): Likewise.
9869 ($(objpfx)bug-ga2-mem): Likewise.
9870 ($(objpfx)bug-glob2-mem): Likewise.
9871 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9872 ($(objpfx)mtrace-tst-leaks2): Likewise.
9873 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9874 ($(objpfx)tst-printf.out): Likewise.
9875 ($(objpfx)tst-setvbuf1.out): Likewise.
9876 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9877 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9878 ($(objpfx)tst-fmtmsg.out): Likewise.
9879 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9880 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9881
acd7f096
JM
9882 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9883 * bits/sigaction.h [__USE_MISC]: Likewise.
9884 * bits/waitstatus.h: Update #endif comments.
9885 * ctype/ctype.h: Likewise.
9886 * dirent/dirent.h: Likewise.
9887 [__USE_MISC]: Remove redundant conditionals.
9888 * grp/grp.h: Update #endif comments.
9889 [__USE_GNU]: Remove redundant conditionals.
9890 [__USE_MISC]: Likewise.
9891 * inet/netinet/in.h [__USE_GNU]: Likewise.
9892 * io/sys/stat.h [__USE_MISC]: Likewise.
9893 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9894 * libio/bits/stdio.h: Update #endif comments.
9895 [__USE_MISC]: Remove redundant conditionals.
9896 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9897 * libio/stdio.h: Update #endif comments.
9898 [__USE_MISC]: Remove redundant conditionals.
9899 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9900 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9901 * math/math.h: Update #else and #endif comments.
9902 [__USE_MISC]: Remove redundant conditionals.
9903 * misc/sys/uio.h: Update #endif comments.
9904 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9905 * posix/glob.h [__USE_MISC]: Likewise.
9906 * posix/sys/types.h: Update #endif comments.
9907 [__USE_MISC]: Remove redundant conditionals.
9908 * posix/sys/wait.h: Update #endif comments.
9909 [__USE_MISC]: Remove redundant conditionals.
9910 * posix/unistd.h: Update #endif comments.
9911 [__USE_MISC]: Remove redundant conditionals.
9912 * pwd/pwd.h [__USE_GNU]: Likewise.
9913 [__USE_MISC]: Likewise.
9914 * resolv/netdb.h [__USE_GNU]: Likewise.
9915 * signal/signal.h: Update #endif comments.
9916 [__USE_MISC]: Remove redundant conditionals.
9917 * stdlib/stdlib.h: Update #else and #endif comments.
9918 [__USE_MISC]: Remove redundant conditionals.
9919 [__USE_GNU]: Likewise.
9920 * string/bits/string2.h [__USE_MISC]: Likewise.
9921 * string/string.h: Update #endif comments.
9922 [__USE_MISC]: Remove redundant conditionals.
9923 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9924 Likewise.
9925 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9926 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9927 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9928 Likewise.
9929 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9930 Likewise.
9931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9932 comments.
9933 [__USE_MISC]: Remove redundant conditionals.
9934 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9935 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9936 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9937 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9938 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9939 Likewise.
9940 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9941 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9942 Likewise.
9943 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9945 Likewise.
9946 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9947 Likewise.
9948 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9949 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9950 Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9952 Likewise.
9953 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9954 * sysdeps/x86/bits/string.h: Update #endif comments.
9955 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9956 conditionals.
9957 * time/sys/time.h: Update #endif comments.
9958 * time/time.h: Likewise.
9959 [__USE_MISC]: Remove redundant conditionals.
9960
a5d82e4e
YG
99612014-02-21 Yury Gribov <y.gribov@samsung.com>
9962
9963 [BZ #16600]
9964 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9965
9a80491d
AS
99662014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9967
9968 * Versions.def (librt): Add GLIBC_2.17.
9969
105fa381
AC
99702014-02-21 Adam Conrad <adconrad@0c3.net>
9971
9972 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9973 synonym for _SYS_AUXV_H to allow direct inclusion.
9974 * sysdeps/sparc/bits/hwcap.h: Likewise.
9975 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9976 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9977 * sysdeps/sparc/sysdep.h: Likewise.
9978
b8cd1c4e
SP
99792014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9980
9981 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9982
bd939d23
RS
99832014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9984
9985 * benchtests/bench-strrchr.c: Print length instead of position.
9986
5d7b57ca
JM
99872014-02-20 Joseph Myers <joseph@codesourcery.com>
9988
bc688c10
JM
9989 [BZ #16611]
9990 * sysdeps/unix/sysv/linux/kernel-features.h
9991 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9992 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9993 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9994 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9995 Likewise.
9996 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9997 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9998 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9999 (__ASSUME_SENDMMSG): Define instead of using previous
10000 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10001 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10002 (__ASSUME_SENDMMSG_SYSCALL): Define.
10003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10004 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10005 Likewise.
10006 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10007 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10008 Likewise.
10009 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10010 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10011 Likewise.
10012 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10013 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10014 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10015 [__ASSUME_SENDMMSG]: Change conditionals to
10016 [__ASSUME_SENDMMSG_SOCKETCALL].
10017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10018 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10019 Define.
10020 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10021 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10022 Likewise.
10023 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10024 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10025 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10026 [!__ASSUME_SENDMMSG]: Change conditional to
10027 [!__ASSUME_SENDMMSG_SOCKETCALL].
10028 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10029 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10030 Define.
10031
0e31b18c
JM
10032 [BZ #16610]
10033 * sysdeps/unix/sysv/linux/kernel-features.h
10034 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10035 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10036 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10037 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10038 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10039 [__i386__ || __sparc__]
10040 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10041 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10042 (__ASSUME_RECVMMSG): Define instead of using previous
10043 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10045 (__ASSUME_RECVMMSG_SYSCALL): Define.
10046 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10047 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10048 Likewise.
10049 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10050 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10051 Likewise.
10052 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10053 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10054 Likewise.
10055 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10056 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10057 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10058 [__ASSUME_RECVMMSG]: Change condition to
10059 [__ASSUME_RECVMMSG_SOCKETCALL].
10060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10061 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10062 Define.
10063 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10064 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10065 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10066 Likewise.
10067 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10068 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10069 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10070 [!__ASSUME_RECVMMSG]: Change condition to
10071 [!__ASSUME_RECVMMSG_SOCKETCALL].
10072 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10073 (__ASSUME_RECVMMSG_SYSCALL): Define.
10074
dd481ccf
JM
10075 [BZ #16609]
10076 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10077 __powerpc__ || __s390__ || __sh__ || __sparc__]
10078 (__ASSUME_SOCKETCALL): Define.
10079 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10080 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10081 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10082 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10083 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10084 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10085 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10086 (__ASSUME_ACCEPT4): Define instead of using previous
10087 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10088 __powerpc__ || __sparc__ || __s390__)] condition.
10089 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10090 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10091 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10092 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10093 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10094 [!__ASSUME_ACCEPT4]: Change condition to
10095 [!__ASSUME_ACCEPT4_SOCKETCALL].
10096 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10097 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10098 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10099 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10100 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10101 __ASSUME_ACCEPT4_SYSCALL.
10102 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10103 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10104 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10105 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10106 __ASSUME_ACCEPT4_SYSCALL.
10107 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10108 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10109 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10110 [__ASSUME_ACCEPT4]: Change condition to
10111 [__ASSUME_ACCEPT4_SOCKETCALL].
10112 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10113 (__ASSUME_SOCKETCALL): Define.
10114 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10115 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10116 (__ASSUME_SOCKETCALL): Define.
10117 (__ASSUME_ACCEPT4): Remove.
10118 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10119 Define.
10120 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10121 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10122 Likewise.
10123 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10124 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10125
5d7b57ca
JM
10126 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10127 macro.
10128 (HWCAP_ARM_LPAE): Likewise.
10129 (HWCAP_ARM_EVTSTRM): Likewise.
10130 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10131 Add vpfd32, lpae and evtstrm.
10132 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10133 Increase to 22.
10134
63689d61
JM
101352014-02-19 Joseph Myers <joseph@codesourcery.com>
10136
10137 * math/auto-libm-test-in: Add tests of clog10.
10138 * math/auto-libm-test-out: Regenerated.
10139 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10140 * sysdeps/i386/fpu/libm-test-ulps: Update.
10141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10142
ab09bf61
AS
101432014-02-18 Andreas Schwab <schwab@suse.de>
10144
10145 [BZ #16574]
10146 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10147 Store non-zero if the second buffer was newly allocated.
10148 (send_dg): Likewise.
10149 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10150 to send_vc and send_dg.
10151 (res_nsend): Pass NULL for ansp2_malloced.
10152 * resolv/res_query.c (__libc_res_nquery): Add parameter
10153 answerp2_malloced and pass it down to __libc_res_nsend.
10154 (res_nquery): Pass additional NULL to __libc_res_nquery.
10155 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10156 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10157 second answer buffer if answerp2_malloced was set.
10158 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10159 (__libc_res_nquerydomain): Add parameter
10160 answerp2_malloced and pass it down to __libc_res_nquery.
10161 (res_nquerydomain): Pass additional NULL to
10162 __libc_res_nquerydomain.
10163 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10164 additional NULL to __libc_res_nsend and __libc_res_nquery.
10165 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10166 additional NULL to __libc_res_nsearch.
10167 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10168 parameter of __libc_res_nsearch to check for separately allocated
10169 second buffer.
10170 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10171 __libc_res_nquery.
10172 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10173 additional NULL to __libc_res_nquery.
10174 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10175 __libc_res_nsearch.
10176 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10177 * include/resolv.h: Update prototypes of __libc_res_nquery,
10178 __libc_res_nsearch, __libc_res_nsend.
10179
a4fb7861
JM
101802014-02-18 Joseph Myers <joseph@codesourcery.com>
10181
c6af2d89
JM
10182 * math/auto-libm-test-in: Add tests of fma.
10183 * math/auto-libm-test-out: Regenerated.
10184 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10185 (fma_towardzero_test_data): Likewise.
10186 (fma_downward_test_data): Likewise.
10187 (fma_upward_test_data): Likewise.
10188 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10189 mpc_mode.
10190 (rounding_modes): Add values for new field.
10191 (func_calc_method): Add value mpfr_fff_f.
10192 (func_calc_desc): Add mpfr_fff_f union field.
10193 (test_function): Add field exact_args.
10194 (FUNC): Add macro argument EXACT_ARGS.
10195 (FUNC_mpfr_f_f): Update call to FUNC.
10196 (FUNC_mpfr_f_f): Likewise.
10197 (FUNC_mpfr_ff_f): Likewise.
10198 (FUNC_mpfr_if_f): Likewise.
10199 (FUNC_mpc_c_f): Likewise.
10200 (FUNC_mpc_c_c): Likewise.
10201 (test_functions): Add fma. Update calls to FUNC.
10202 (handle_input_arg): Add argument exact_args.
10203 (add_test): Update call to handle_input_arg.
10204 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10205 (output_for_one_input_case): Update call to calc_generic_results.
10206 Recalculate exact zero results in each rounding mode.
10207
a4fb7861
JM
10208 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10209 non-negative before setting low bit.
10210 * math/auto-libm-test-in: Mark one asin test possibly having
10211 spurious underflow.
10212 * math/auto-libm-test-out: Regenerated.
10213 * sysdeps/i386/fpu/libm-test-ulps: Update.
10214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215
ef114eaf
DH
102162014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10217
2b7f4f2c
SP
10218 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10219 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10220 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10221 * README: Add missing listing for microblaze*-*-linux-gnu.
10222
8125aedc
AM
102232014-02-16 Ondřej Bílka <neleai@seznam.cz>
10224
10225 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10226 duplicate code
10227
c70a4b1d
MF
102282014-02-16 Mike Frysinger <vapier@gentoo.org>
10229
10230 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10231 * sysdeps/unix/sysv/linux/ia64: Move directory from
10232 ports/sysdeps/unix/sysv/linux/ia64.
10233 * README: Update listing for ia64-*-linux-gnu.
10234
591aeaf7
TD
102352014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10236 Joseph Myers <joseph@codesourcery.com>
10237
10238 * Makeconfig (test-name): New variable.
10239 (evaluate-test): Likewise.
10240 * Makerules (do-test-clean): Remove .test-result files.
10241 (common-mostlyclean): Likewise.
10242 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10243 * scripts/evaluate-test.sh: New file.
10244
6e89caf1
JM
102452014-02-14 Joseph Myers <joseph@codesourcery.com>
10246
7f98f180
JM
10247 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10248 separate $(objpfx)tst-fopenloc-cmp.out and
10249 $(objpfx)tst-fopenloc-mem.out targets.
10250 (tests): Update dependencies.
10251 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10252 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10253 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10254 (tst-rxspencer-no-utf8-ARGS): New variable.
10255 (tst-rxspencer-no-utf8-ENV): Likewise.
10256 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10257 instead of $(objpfx)tst-rxspencer-mem.
10258 ($(objpfx)tst-rxspencer-mem): Change target to
10259 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10260 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10261 * posix/tst-rxspencer-no-utf8.c: New file.
10262
6e89caf1
JM
10263 * elf/Makefile ($(objpfx)order.out): Remove rule.
10264 [$(run-built-tests) = yes] (tests): Depend on
10265 $(objpfx)order-cmp.out.
10266 ($(objpfx)order-cmp.out): New rule.
10267 [$(run-built-tests) = yes] (tests): Depend on
10268 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10269 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10270 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10271 $(objpfx)tst-array5-static-cmp.out.
10272 ($(objpfx)tst-array1.out): Remove rule.
10273 ($(objpfx)tst-array1-cmp.out): New rule.
10274 ($(objpfx)tst-array1-static.out): Remove rule.
10275 ($(objpfx)tst-array1-static-cmp.out): New rule.
10276 ($(objpfx)tst-array2.out): Remove rule.
10277 ($(objpfx)tst-array2-cmp.out): New rule.
10278 ($(objpfx)tst-array3.out): Remove rule.
10279 ($(objpfx)tst-array3-cmp.out): New rule.
10280 ($(objpfx)tst-array4.out): Remove rule.
10281 ($(objpfx)tst-array4-cmp.out): New rule.
10282 ($(objpfx)tst-array5.out): Remove rule.
10283 ($(objpfx)tst-array5-cmp.out): New rule.
10284 ($(objpfx)tst-array5-static.out): Remove rule.
10285 ($(objpfx)tst-array5-static-cmp.out): New rule.
10286 [$(run-built-tests) = yes] (tests): Depend on
10287 $(objpfx)order2-cmp.out.
10288 ($(objpfx)order2.out): Remove rule.
10289 ($(objpfx)order2-cmp.out): New rule.
10290 ($(objpfx)tst-initorder.out): Remove rule.
10291 [$(run-built-tests) = yes] (tests): Depend on
10292 $(objpfx)tst-initorder-cmp.out.
10293 ($(objpfx)tst-initorder-cmp.out): New rule.
10294 ($(objpfx)tst-initorder2.out): Remove rule.
10295 [$(run-built-tests) = yes] (tests): Depend on
10296 $(objpfx)tst-initorder2-cmp.out.
10297 ($(objpfx)tst-initorder2-cmp.out): New rule.
10298 [$(run-built-tests) = yes] (tests): Depend on
10299 $(objpfx)tst-unused-dep-cmp.out.
10300 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10301 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10302 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10303 on $(objpfx)tst-setvbuf1-cmp.out.
10304 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10305 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10306 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10307 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10308 ($(objpfx)tst-svc.out): Remove rule.
10309 ($(objpfx)tst-svc-cmp.out): New rule.
10310
ed9a38e2
JM
103112014-02-13 Joseph Myers <joseph@codesourcery.com>
10312
10313 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10314 * ctype/ctype.h [__USE_MISC]: Likewise.
10315 * dirent/dirent.h [__USE_MISC]: Likewise.
10316 * grp/grp.h [__USE_MISC]: Likewise.
10317 * io/fcntl.h [__USE_MISC]: Likewise.
10318 * io/sys/stat.h [__USE_MISC]: Likewise.
10319 * libio/stdio.h [__USE_MISC]: Likewise.
10320 * posix/unistd.h [__USE_MISC]: Likewise.
10321 * pwd/pwd.h [__USE_MISC]: Likewise.
10322 * stdlib.h [__USE_MISC]: Likewise.
10323 * string/bits/string2.h [__USE_MISC]: Likewise.
10324 * string/string.h [__USE_MISC]: Likewise.
10325 * time/time.h [__USE_MISC]: Likewise.
10326
d6680619
AS
103272014-02-13 Andreas Schwab <schwab@suse.de>
10328
10329 [BZ #16574]
10330 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10331 second answer buffer if it was separately allocated.
10332
ace614b8
JM
103332014-02-12 Joseph Myers <joseph@codesourcery.com>
10334
743151ae
JM
10335 * sysdeps/mips/math-tests.h: Include <features.h>.
10336 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10337 (ROUNDING_TESTS_long_double): Do not define.
10338 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10339 (EXCEPTION_TESTS_long_double): Likewise.
10340 * sysdeps/mips/mips64/libm-test-ulps: Update.
10341
498afc54
JM
10342 * include/features.h (__USE_BSD): Remove macro definitions.
10343 (__USE_SVID): Likewise.
10344 (_BSD_SOURCE): Likewise.
10345 (_SVID_SOURCE): Likewise.
10346 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10347 from definition of _DEFAULT_SOURCE.
10348 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10349 [_DEFAULT_SOURCE].
10350 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10351 * bits/mman.h [__USE_BSD]: Likewise.
10352 * bits/termios.h [__USE_BSD]: Likewise.
10353 * bits/waitstatus.h [__USE_BSD]: Likewise.
10354 * ctype/ctype.h [__USE_SVID]: Likewise.
10355 * dirent/dirent.h [__USE_BSD]: Likewise.
10356 * grp/grp.h [__USE_SVID]: Likewise.
10357 [__USE_BSD]: Likewise.
10358 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10359 * io/fcntl.h [__USE_BSD]: Likewise.
10360 * io/ftw.h [__USE_BSD]: Likewise.
10361 * io/sys/stat.h [__USE_BSD]: Likewise.
10362 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10363 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10364 * libio/stdio.h [__USE_SVID]: Likewise.
10365 [__USE_BSD]: Likewise.
10366 * math/math.h [__USE_SVID]: Likewise.
10367 [__USE_BSD]: Likewise.
10368 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10369 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10370 * misc/search.h [__USE_SVID]: Likewise.
10371 * misc/sys/mman.h [__USE_BSD]: Likewise.
10372 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10373 * misc/sys/uio.h [__USE_BSD]: Likewise.
10374 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10375 * posix/glob.h [__USE_BSD]: Likewise.
10376 * posix/regex.h [__USE_BSD]: Likewise.
10377 * posix/sys/types.h [__USE_BSD]: Likewise.
10378 [__USE_SVID]: Likewise.
10379 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10380 * posix/sys/wait.h [__USE_BSD]: Likewise.
10381 [__USE_SVID]: Likewise.
10382 * posix/unistd.h [__USE_BSD]: Likewise.
10383 [__USE_SVID]: Likewise.
10384 * pwd/pwd.h [__USE_SVID]: Likewise.
10385 * resolv/netdb.h [__USE_BSD]: Likewise.
10386 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10387 * signal/signal.h [__USE_BSD]: Likewise.
10388 [__USE_SVID]: Likewise.
10389 * socket/sys/socket.h [__USE_BSD]: Likewise.
10390 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10391 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10392 [__USE_SVID]: Likewise.
10393 * string/bits/string2.h [__USE_BSD]: Likewise.
10394 [__USE_SVID]: Likewise.
10395 * string/bits/string3.h [__USE_BSD]: Likewise.
10396 * string/endian.h [__USE_BSD]: Likewise.
10397 * string/string.h [__USE_SVID]: Likewise.
10398 [__USE_BSD]: Likewise.
10399 * string/strings.h [__USE_BSD]: Likewise.
10400 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10401 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10402 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10403 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10404 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10405 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10406 Likewise.
10407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10408 Likewise.
10409 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10410 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10411 Likewise.
10412 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10413 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10414 Likewise.
10415 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10416 Likewise.
10417 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10418 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10419 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10420 Likewise.
10421 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10422 Likewise.
10423 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10424 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10425 * termios/termios.h [__USE_BSD]: Likewise.
10426 * time/sys/time.h [__USE_BSD]: Likewise.
10427 * time/time.h [__USE_BSD]: Likewise.
10428 [__USE_SVID]: Likewise.
10429
dd7b064c
JM
10430 * Makefile (subdir_targets): Remove subdir_lint.out.
10431
a2c4c199
JM
10432 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10433 (do-tst-printf): Likewise.
10434 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10435 $(objpfx)tst-printf.out.
10436
8756f740
JM
10437 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10438
1b6dd3f1
JM
10439 * Makerules (check-abi-%): Change target to
10440 $(objpfx)check-abi-%.out.
10441 (check-abi target): Update dependencies.
10442 (check-abi-pattern variable): Redirect output of diff to $@.
10443 (check-abi variable): Likewise.
10444 * elf/Makefile (check-abi): Update dependencies.
10445
ace614b8
JM
10446 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10447 unused.
10448 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10449 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10450 subnormal range.
10451 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10452 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10453 value has largest subnormal exponent.
10454 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10455 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10456 * sysdeps/aarch64/soft-fp/sfp-machine.h
10457 (_FP_TININESS_AFTER_ROUNDING): New macro.
10458 * sysdeps/alpha/soft-fp/sfp-machine.h
10459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10460 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10461 Likewise.
10462 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10463 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10464 * sysdeps/mips/soft-fp/sfp-machine.h
10465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10466 * sysdeps/powerpc/soft-fp/sfp-machine.h
10467 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10468 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10469 Likewise.
10470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10471 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10473 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10474 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10475 Likewise.
10476
fbfdf9cb
DAS
104772014-02-12 Dylan Alex Simon <dylan@dylex.net>
10478
10479 [BZ #16545]
10480 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10481 model 1.
10482
68b7efaa
RH
104832014-02-12 Richard Henderson <rth@redhat.com>
10484
c70a4b1d 10485 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10486 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10487 * sysdeps/unix/sysv/linux/alpha: Move directory from
10488 ports/sysdeps/unix/sysv/linux/alpha.
10489 * README: Update listing for alpha-*-linux-gnu.
10490
cb4a2928
JM
104912014-02-11 Joseph Myers <joseph@codesourcery.com>
10492
c941736c
JM
10493 * include/features.h: Update comment documenting feature test
10494 macros.
10495 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10496 _DEFAULT_SOURCE.
10497 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10498 (_SVID_SOURCE): Likewise.
10499 (_DEFAULT_SOURCE): Update description of default features.
10500 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10501 with _GNU_SOURCE.
10502 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10503 (S_ISVTX): Likewise.
10504 * manual/math.texi (Mathematical Constants): Likewise.
10505 * manual/signal.texi (Interrupted Primitives): Likewise.
10506 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10507 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10508 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10509 Don't refer to _SVID_SOURCE in warning text.
10510
e8d8d7ec
JM
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10512
cb4a2928
JM
10513 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10514 already defined.
10515 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10516 * sysdeps/mips/dl-lookup.c: Remove.
10517 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10518
7e6424e3
AK
105192014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10520
10521 [BZ #16447]
10522 * math/auto-libm-test-in: Add testcase for expl.
10523 * math/auto-libm-test-out: Regenerate.
10524 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10525 calculation of unsafe.
10526 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10527
75eff3fe
MS
105282014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10529
10530 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10531 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10532 ports/sysdeps/unix/sysv/linux/aarch64.
10533 * README: Update listing for aarch64*-*-linux-gnu.
10534
d35f1e80
WN
105352014-02-11 Will Newton <will.newton@linaro.org>
10536
10537 * manual/probes.texi (Mathematical Function Probes): Use
10538 "triggered" instead of "hit".
10539
7b3436d4
WN
10540 * manual/probes.texi (Internal Probes): Add documentation
10541 of setjmp, longjmp and longjmp_target probes.
10542
b4f12ca3
WN
10543 * include/stap-probe.h: Add comment about probe argument
10544 format.
10545
c13a72b7
WN
10546 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10547 definition. (tr_where, tr_freehook, tr_mallochook,
10548 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10549
195b8165
DM
105502014-02-11 David S. Miller <davem@davemloft.net>
10551
10552 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10553 processing int_tests.
10554
2ad7600b
JM
105552014-02-10 Joseph Myers <joseph@codesourcery.com>
10556
10557 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10558 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10559 * sysdeps/unix/sysv/linux/mips: Move directory from
10560 ports/sysdeps/unix/sysv/linux/mips.
10561 * README: Update listing for mips-*-linux-gnu and
10562 mips64-*-linux-gnu.
10563
73588a72
AS
105642014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10565
10566 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10567 * sysdeps/unix/sysv/linux/m68k: Move directory from
10568 ports/sysdeps/unix/sysv/linux/m68k.
10569 * README: Update listing for m68k-*-linux-gnu.
10570
4372980f
CM
105712014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10572
10573 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10574 * sysdeps/unix/sysv/linux/generic: Move directory from
10575 ports/sysdeps/unix/sysv/linux/generic.
10576 * sysdeps/unix/sysv/linux/tile: Move directory from
10577 ports/sysdeps/unix/sysv/linux/tile.
10578 * README: Update listing for tile*-*-linux-gnu.
10579
a1ffb40e
OB
105802014-02-10 Ondřej Bílka <neleai@seznam.cz>
10581
57f41c40
AS
10582 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10583 __builtin_expect.
a1ffb40e
OB
10584 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10585 * catgets/open_catalog.c (__open_catalog): Likewise.
10586 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10587 * debug/confstr_chk.c: Likewise.
10588 * debug/fread_chk.c (__fread_chk): Likewise.
10589 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10590 * debug/getgroups_chk.c: Likewise.
10591 * debug/mbsnrtowcs_chk.c: Likewise.
10592 * debug/mbsrtowcs_chk.c: Likewise.
10593 * debug/mbstowcs_chk.c: Likewise.
10594 * debug/memcpy_chk.c: Likewise.
10595 * debug/memmove_chk.c: Likewise.
10596 * debug/mempcpy_chk.c: Likewise.
10597 * debug/memset_chk.c: Likewise.
10598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10599 * debug/strcat_chk.c (__strcat_chk): Likewise.
10600 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10601 * debug/strncat_chk.c (__strncat_chk): Likewise.
10602 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10603 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10604 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10605 * debug/wcpncpy_chk.c: Likewise.
10606 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10607 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10608 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10609 * debug/wcsncpy_chk.c: Likewise.
10610 * debug/wcsnrtombs_chk.c: Likewise.
10611 * debug/wcsrtombs_chk.c: Likewise.
10612 * debug/wcstombs_chk.c: Likewise.
10613 * debug/wmemcpy_chk.c: Likewise.
10614 * debug/wmemmove_chk.c: Likewise.
10615 * debug/wmempcpy_chk.c: Likewise.
10616 * debug/wmemset_chk.c: Likewise.
10617 * dirent/scandirat.c (SCANDIRAT): Likewise.
10618 * dlfcn/dladdr1.c (dladdr1): Likewise.
10619 * dlfcn/dladdr.c (dladdr): Likewise.
10620 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10621 * dlfcn/dlerror.c (__dlerror): Likewise.
10622 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10623 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10624 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10625 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10626 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10627 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10628 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10629 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10630 Likewise.
10631 * elf/dl-conflict.c: Likewise.
10632 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10633 * elf/dl-dst.h: Likewise.
10634 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10635 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10636 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10637 * elf/dl-init.c (call_init, _dl_init): Likewise.
10638 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10639 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10640 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10641 Likewise.
a1ffb40e
OB
10642 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10643 Likewise.
10644 * elf/dl-minimal.c (__libc_memalign): Likewise.
10645 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10646 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10647 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10648 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10649 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10650 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10651 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10652 * elf/dl-writev.h (_dl_writev): Likewise.
10653 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10654 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10655 (dl_main): Likewise.
a1ffb40e
OB
10656 * elf/setup-vdso.h (setup_vdso): Likewise.
10657 * grp/compat-initgroups.c (compat_call): Likewise.
10658 * grp/fgetgrent.c (fgetgrent): Likewise.
10659 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10660 * grp/putgrent.c (putgrent): Likewise.
10661 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10662 Likewise.
10663 * hurd/hurdinit.c: Likewise.
10664 * iconvdata/8bit-gap.c (struct): Likewise.
10665 * iconvdata/ansi_x3.110.c : Likewise.
10666 * iconvdata/big5.c : Likewise.
10667 * iconvdata/big5hkscs.c : Likewise.
10668 * iconvdata/cp1255.c: Likewise.
10669 * iconvdata/cp1258.c : Likewise.
10670 * iconvdata/cp932.c : Likewise.
10671 * iconvdata/euc-cn.c: Likewise.
10672 * iconvdata/euc-jisx0213.c : Likewise.
10673 * iconvdata/euc-jp.c: Likewise.
10674 * iconvdata/euc-jp-ms.c : Likewise.
10675 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10676 * iconvdata/gb18030.c : Likewise.
10677 * iconvdata/gbbig5.c (const): Likewise.
10678 * iconvdata/gbgbk.c: Likewise.
10679 * iconvdata/gbk.c : Likewise.
10680 * iconvdata/ibm1364.c : Likewise.
10681 * iconvdata/ibm930.c : Likewise.
10682 * iconvdata/ibm932.c: Likewise.
10683 * iconvdata/ibm933.c : Likewise.
10684 * iconvdata/ibm935.c : Likewise.
10685 * iconvdata/ibm937.c : Likewise.
10686 * iconvdata/ibm939.c : Likewise.
10687 * iconvdata/ibm943.c: Likewise.
10688 * iconvdata/iso_11548-1.c: Likewise.
10689 * iconvdata/iso-2022-cn.c : Likewise.
10690 * iconvdata/iso-2022-cn-ext.c : Likewise.
10691 * iconvdata/iso-2022-jp-3.c: Likewise.
10692 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10693 * iconvdata/iso-2022-kr.c : Likewise.
10694 * iconvdata/iso646.c (gconv_end): Likewise.
10695 * iconvdata/iso_6937-2.c : Likewise.
10696 * iconvdata/iso_6937.c : Likewise.
10697 * iconvdata/iso8859-1.c: Likewise.
10698 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10699 * iconvdata/shift_jisx0213.c : Likewise.
10700 * iconvdata/sjis.c : Likewise.
10701 * iconvdata/t.61.c : Likewise.
10702 * iconvdata/tcvn5712-1.c : Likewise.
10703 * iconvdata/tscii.c: Likewise.
10704 * iconvdata/uhc.c : Likewise.
10705 * iconvdata/unicode.c (gconv_end): Likewise.
10706 * iconvdata/utf-16.c (gconv_end): Likewise.
10707 * iconvdata/utf-32.c (gconv_end): Likewise.
10708 * iconvdata/utf-7.c (base64): Likewise.
10709 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10710 * iconv/gconv_close.c (__gconv_close): Likewise.
10711 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10712 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10713 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10714 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10715 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10716 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10717 * iconv/iconv.c (iconv): Likewise.
10718 * iconv/iconv_close.c: Likewise.
10719 * iconv/loop.c (SINGLE): Likewise.
10720 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10721 * include/atomic.h: Likewise.
10722 * inet/inet6_option.c (option_alloc): Likewise.
10723 * intl/bindtextdom.c (set_binding_values): Likewise.
10724 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10725 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10726 * intl/localealias.c (read_alias_file): Likewise.
10727 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10728 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10729 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10730 * libio/fmemopen.c (fmemopen): Likewise.
10731 * libio/iofgets.c (_IO_fgets): Likewise.
10732 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10733 * libio/iofgetws.c (fgetws): Likewise.
10734 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10735 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10736 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10737 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10738 * locale/findlocale.c (_nl_find_locale): Likewise.
10739 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10740 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10741 Likewise.
10742 * locale/setlocale.c (setlocale): Likewise.
10743 * login/programs/pt_chown.c (main): Likewise.
10744 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10745 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10746 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10747 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10748 * math/e_exp2l.c: Likewise.
10749 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10750 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10751 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10752 * math/s_catan.c (__catan): Likewise.
10753 * math/s_catanf.c (__catanf): Likewise.
10754 * math/s_catanh.c (__catanh): Likewise.
10755 * math/s_catanhf.c (__catanhf): Likewise.
10756 * math/s_catanhl.c (__catanhl): Likewise.
10757 * math/s_catanl.c (__catanl): Likewise.
10758 * math/s_ccosh.c (__ccosh): Likewise.
10759 * math/s_ccoshf.c (__ccoshf): Likewise.
10760 * math/s_ccoshl.c (__ccoshl): Likewise.
10761 * math/s_cexp.c (__cexp): Likewise.
10762 * math/s_cexpf.c (__cexpf): Likewise.
10763 * math/s_cexpl.c (__cexpl): Likewise.
10764 * math/s_clog10.c (__clog10): Likewise.
10765 * math/s_clog10f.c (__clog10f): Likewise.
10766 * math/s_clog10l.c (__clog10l): Likewise.
10767 * math/s_clog.c (__clog): Likewise.
10768 * math/s_clogf.c (__clogf): Likewise.
10769 * math/s_clogl.c (__clogl): Likewise.
10770 * math/s_csin.c (__csin): Likewise.
10771 * math/s_csinf.c (__csinf): Likewise.
10772 * math/s_csinh.c (__csinh): Likewise.
10773 * math/s_csinhf.c (__csinhf): Likewise.
10774 * math/s_csinhl.c (__csinhl): Likewise.
10775 * math/s_csinl.c (__csinl): Likewise.
10776 * math/s_csqrt.c (__csqrt): Likewise.
10777 * math/s_csqrtf.c (__csqrtf): Likewise.
10778 * math/s_csqrtl.c (__csqrtl): Likewise.
10779 * math/s_ctan.c (__ctan): Likewise.
10780 * math/s_ctanf.c (__ctanf): Likewise.
10781 * math/s_ctanh.c (__ctanh): Likewise.
10782 * math/s_ctanhf.c (__ctanhf): Likewise.
10783 * math/s_ctanhl.c (__ctanhl): Likewise.
10784 * math/s_ctanl.c (__ctanl): Likewise.
10785 * math/w_pow.c: Likewise.
10786 * math/w_powf.c: Likewise.
10787 * math/w_powl.c: Likewise.
10788 * math/w_scalb.c (sysv_scalb): Likewise.
10789 * math/w_scalbf.c (sysv_scalbf): Likewise.
10790 * math/w_scalbl.c (sysv_scalbl): Likewise.
10791 * misc/error.c (error_tail): Likewise.
10792 * misc/pselect.c (__pselect): Likewise.
10793 * nis/nis_callback.c (__nis_create_callback): Likewise.
10794 * nis/nis_call.c (__nisfind_server): Likewise.
10795 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10796 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10797 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10798 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10799 * nis/nis_lookup.c (nis_lookup): Likewise.
10800 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10801 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10802 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10803 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10804 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10805 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10806 * nis/nss_compat/compat-initgroups.c (add_group)
10807 (internal_getgrent_r): Likewise.
10808 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10809 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10810 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10811 (internal_getspnam_r): Likewise.
10812 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10813 (_nss_nis_getaliasbyname_r): Likewise.
10814 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10815 (_nss_nis_getntohost_r): Likewise.
10816 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10817 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10818 (_nss_nis_getgrgid_r): Likewise.
10819 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10820 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10821 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10822 (_nss_nis_gethostbyname4_r): Likewise.
10823 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10824 (initgroups_netid): Likewise.
a1ffb40e 10825 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10826 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10827 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10828 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10829 (_nss_nis_getprotobynumber_r): Likewise.
10830 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10831 (_nss_nis_getsecretkey): Likewise.
10832 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10833 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10834 (_nss_nis_getpwuid_r): Likewise.
10835 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10836 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10837 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10838 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10839 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10840 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10841 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10842 Likewise.
57f41c40
AS
10843 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10844 (_nss_nisplus_getntohost_r): Likewise.
10845 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10846 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10847 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10848 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10849 Likewise.
57f41c40
AS
10850 * nis/nss_nisplus/nisplus-initgroups.c
10851 (_nss_nisplus_initgroups_dyn): Likewise.
10852 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10853 (_nss_nisplus_getnetbyaddr_r): Likewise.
10854 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10855 (_nss_nisplus_getprotobynumber_r): Likewise.
10856 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10857 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10858 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10859 Likewise.
57f41c40
AS
10860 * nis/nss_nisplus/nisplus-service.c
10861 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10862 (_nss_nisplus_getservbyport_r): Likewise.
10863 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10864 (_nss_nisplus_getspnam_r): Likewise.
10865 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10866 Likewise.
a1ffb40e
OB
10867 * nscd/aicache.c (addhstaiX): Likewise.
10868 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10869 * nscd/connections.c (register_traced_file, send_ro_fd)
10870 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10871 (main_loop_epoll): Likewise.
a1ffb40e
OB
10872 * nscd/grpcache.c (addgrbyX): Likewise.
10873 * nscd/hstcache.c (addhstbyX): Likewise.
10874 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10875 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10876 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10877 (addinnetgrX): Likewise.
10878 * nscd/nscd-client.h (__nscd_acquire_maplock)
10879 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10880 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10881 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10882 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10883 Likewise.
10884 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10886 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10887 (__nscd_get_map_ref): Likewise.
a1ffb40e 10888 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10889 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10890 Likewise.
a1ffb40e
OB
10891 * nscd/pwdcache.c (addpwbyX): Likewise.
10892 * nscd/selinux.c (preserve_capabilities): Likewise.
10893 * nscd/servicescache.c (addservbyX): Likewise.
10894 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10895 * posix/fnmatch.c (fnmatch): Likewise.
10896 * posix/getopt.c (_getopt_internal_r): Likewise.
10897 * posix/glob.c (glob, glob_in_dir): Likewise.
10898 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10899 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10900 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10901 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10902 * resolv/res_init.c: Likewise.
10903 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10904 * resolv/res_query.c (__libc_res_nquery): Likewise.
10905 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10906 Likewise.
10907 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10908 * stdio-common/perror.c (perror): Likewise.
10909 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10910 * stdio-common/tmpnam.c (tmpnam): Likewise.
10911 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10912 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10913 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10914 Likewise.
a1ffb40e
OB
10915 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10916 * stdlib/putenv.c (putenv): Likewise.
10917 * stdlib/setenv.c (__add_to_environ): Likewise.
10918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10919 * stdlib/strtol_l.c (INTERNAL): Likewise.
10920 * string/memmem.c (memmem): Likewise.
10921 * string/strerror.c (strerror): Likewise.
10922 * string/strnlen.c (__strnlen): Likewise.
10923 * string/test-memmem.c (simple_memmem): Likewise.
10924 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10925 * sunrpc/pm_getport.c (__get_socket): Likewise.
10926 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10927 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10928 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10929 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10930 Likewise.
10931 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10934 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10935 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10936 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10937 Likewise.
10938 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10939 Likewise.
a1ffb40e
OB
10940 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10941 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10943 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10944 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10946 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10947 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10948 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10949 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10950 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10951 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10952 Likewise.
10953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10954 Likewise.
10955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10956 Likewise.
10957 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10958 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10961 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10962 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10963 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10966 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10967 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10969 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10970 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10972 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10973 Likewise.
a1ffb40e
OB
10974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10975 Likewise.
10976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10977 Likewise.
10978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10979 Likewise.
10980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10982 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10983 Likewise.
10984 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10985 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10986 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10987 * sysdeps/posix/sleep.c: Likewise.
10988 * sysdeps/posix/tempname.c: Likewise.
10989 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10990 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10991 Likewise.
57f41c40
AS
10992 * sysdeps/powerpc/powerpc32/dl-machine.h
10993 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10994 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10996 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10997 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10998 Likewise.
10999 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11000 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11001 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11003 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11004 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11005 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11006 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11007 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11008 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11010 (elf_machine_lazy_rel): Likewise.
a1ffb40e 11011 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11013 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11014 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11015 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11016 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11017 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11018 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11019 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11020 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11022 Likewise.
11023 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11024 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11025 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11026 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11027 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11028 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11029 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11030 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11031 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11032 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11033 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11034 Likewise.
11035 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11036 (__posix_fallocate64_l64): Likewise.
11037 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11038 (posix_fallocate): Likewise.
57f41c40
AS
11039 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11040 Likewise.
a1ffb40e 11041 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11042 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11043 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11044 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11045 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11046 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11047 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11048 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11049 (__posix_fallocate64_l64): Likewise.
11050 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11051 Likewise.
11052 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11053 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11054 (__get_clockfreq): Likewise.
a1ffb40e
OB
11055 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11056 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11057 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11060 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11061 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11062 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11063 Likewise.
11064 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11065 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11066 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11068 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11069 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11070 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11071 Likewise.
11072 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11073 (posix_fallocate): Likewise.
11074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11075 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11076 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11077 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11078 (elf_machine_rela, elf_machine_rela_relative)
11079 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11080 * time/asctime.c (asctime_internal): Likewise.
11081 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11082 * time/tzset.c (__tzset_parse_tz): Likewise.
11083 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11084 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11085 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11086 * wcsmbs/wcsmbsload.h: Likewise.
11087
f3d338c9
OB
11088 [BZ #15894]
11089 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11090
57f41c40
AS
11091 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11092 (arena_get2): Remove THREAD_STATS conditionals.
11093 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11094 (__malloc_stats, int): Likewise.
bdfe308a 11095
d674667c
MF
110962014-02-08 Mike Frysinger <vapier@gentoo.org>
11097
11098 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11099 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11100
6349768c
MF
11101 * manual/setjmp.texi: Fix typos/grammar errors.
11102
0b7c7473
MF
11103 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11104 Only return early when n is <= 0. Delete unused return statement.
11105
ac8cc9e3
MF
11106 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11107 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11108 * debug/tst-longjmp_chk3.c: New file.
11109
c5bb8e23
MF
11110 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11111 (test_main): Replace code with set_fortify_handler call.
11112 * debug/test-strcpy_chk.c: Likewise.
11113 * debug/tst-chk1.c: Likewise.
11114 * debug/tst-longjmp_chk.c: Likewise.
11115 * test-skeleton.c: Include fcntl.h & paths.h
11116 (set_fortify_handler): Define.
11117
10444e42
MF
11118 * debug/tst-longjmp_chk.c: Add header comment and include
11119 ../test-skeleton.c.
11120 (do_test): Mark static.
11121 (TEST_FUNCTION): Define.
11122
1e805e8d
MF
11123 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11124 (IP_PMTUDISC_INTERFACE): Likewise.
11125 (IP_MULTICAST_IF): Likewise.
11126 (IP_MULTICAST_TTL): Likewise.
11127 (IP_MULTICAST_LOOP): Likewise.
11128 (IP_ADD_MEMBERSHIP): Likewise.
11129 (IP_DROP_MEMBERSHIP): Likewise.
11130 (IP_UNBLOCK_SOURCE): Likewise.
11131 (IP_BLOCK_SOURCE): Likewise.
11132 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11133 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11134 (IP_MSFILTER): Likewise.
11135 (MCAST_JOIN_GROUP): Likewise.
11136 (MCAST_BLOCK_SOURCE): Likewise.
11137 (MCAST_UNBLOCK_SOURCE): Likewise.
11138 (MCAST_LEAVE_GROUP): Likewise.
11139 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11140 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11141 (MCAST_MSFILTER): Likewise.
11142 (IP_MULTICAST_ALL): Likewise.
11143 (IP_UNICAST_IF): Likewise.
11144
73f79bb7
MF
11145 * timezone/Makefile: Delete $(have-ksh) check.
11146 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11147 * timezone/tzselect.ksh: Add +x mode bits.
11148
8da79b60
MF
11149 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11150 (ANON_INODE_FS_MAGIC): Likewise.
11151 (BDEVFS_MAGIC): Likewise.
11152 (BINFMTFS_MAGIC): Likewise.
11153 (BTRFS_TEST_MAGIC): Likewise.
11154 (CRAMFS_MAGIC_WEND): Likewise.
11155 (DEBUGFS_MAGIC): Likewise.
11156 (ECRYPTFS_SUPER_MAGIC): Likewise.
11157 (EXT3_SUPER_MAGIC): Likewise.
11158 (EXT4_SUPER_MAGIC): Likewise.
11159 (FUTEXFS_SUPER_MAGIC): Likewise.
11160 (HOSTFS_SUPER_MAGIC): Likewise.
11161 (HUGETLBFS_MAGIC): Likewise.
11162 (MINIX3_SUPER_MAGIC): Likewise.
11163 (MTD_INODE_FS_MAGIC): Likewise.
11164 (NILFS_SUPER_MAGIC): Likewise.
11165 (OPENPROM_SUPER_MAGIC): Likewise.
11166 (PIPEFS_MAGIC): Likewise.
11167 (PSTOREFS_MAGIC): Likewise.
11168 (QNX6_SUPER_MAGIC): Likewise.
11169 (RAMFS_MAGIC): Likewise.
11170 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11171 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11172 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11173 (SECURITYFS_MAGIC): Likewise.
11174 (SELINUX_MAGIC): Likewise.
11175 (SMACK_MAGIC): Likewise.
11176 (SOCKFS_MAGIC): Likewise.
11177 (SQUASHFS_MAGIC): Likewise.
11178 (STACK_END_MAGIC): Likewise.
11179 (TMPFS_MAGIC): Likewise.
11180 (USBDEVICE_SUPER_MAGIC): Likewise.
11181 (V9FS_MAGIC): Likewise.
11182 (XENFS_SUPER_MAGIC): Likewise.
11183 (CRAMFS_MAGIC): Fix typo in comment.
11184 (EXT2_SUPER_MAGIC): Update comment.
11185 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11186
464263cc
JM
111872014-02-08 Joseph Myers <joseph@codesourcery.com>
11188
c6bfe5c4
JM
11189 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11190 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11191 * sysdeps/unix/sysv/linux/arm: Move directory from
11192 ports/sysdeps/unix/sysv/linux/arm.
11193 * README: Update listing for arm-*-linux-gnueabi.
11194
464263cc
JM
11195 * README: Remove mention of am33.
11196
32749f6c
RM
111972014-02-07 Roland McGrath <roland@hack.frob.com>
11198
11199 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11200 than the comma operator, to avoid "rhs of comma has no effect"
11201 compiler warnings.
11202 (__sigfillset, __sigandset, __sigorset): Likewise.
11203 * include/signal.h (__sigemptyset): Likewise.
11204 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11205
d5b396c1
AM
112062014-02-07 Allan McRae <allan@archlinux.org>
11207
11208 * version.h (RELEASE): Set to "development".
11209 (VERSION): Set to "2.19.90"
11210 * NEWS: Add 2.20 section.
11211
3bfff2ed
CD
112122014-02-06 Carlos O'Donell <carlos@redhat.com>
11213
11214 [BZ #16529]
11215 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11216
ee7cc385
SP
112172014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11218
11219 * manual/contrib.texi: Update entry for Carlos O'Donell,
11220 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11221
f877c4f2
CD
112222014-02-05 Carlos O'Donell <carlos@rehdat.com>
11223
27e839f6
CD
11224 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11225
f877c4f2
CD
11226 * sysdeps/unix/sysv/linux/kernel-features.h
11227 [__LINUX_KERNEL_VERSION >= 0x020621]
11228 (__ASSUME_PROC_PID_TASK_COMM): Define.
11229
68159946
SP
112302014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11231
ba17cdbd
SP
11232 [BZ #16398]
11233 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11234 conversion when destination buffer does not have enough space.
11235 * libio/tst-ftell-partial-wide.c: New test case.
11236 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11237
68159946
SP
11238 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11239 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11240 Leonard and Allan McRae.
11241
2b528732
DM
112422014-02-04 David S. Miller <davem@davemloft.net>
11243
11244 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11245 32-bit.
11246
0ff82463
AZ
112472014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11248
57f41c40
AS
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11250 New file
c01603f7
AZ
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11252 New file
57f41c40
AS
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11254 New file.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11256 New file.
c01603f7
AZ
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11258 New file.
57f41c40
AS
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11260 New file.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11262 New file.
c01603f7
AZ
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11264 New file.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11266 New file.
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11268 New file.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11270 New file.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11272 New file.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11274 New file.
11275
112762014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11277
0ff82463
AZ
11278 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11279 * shlib-versions: Likewise.
11280
1695c773
AZ
112812014-02-04 Roland McGrath <roland@hack.frob.com>
11282 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11283
11284 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11285 (abilist-pattern): New variable, set to %-le.abilist.
11286
11287 * Makerules (abilist-pattern): New variable.
11288 (vpath): Use $(abilist-pattern) in place of %.abilist.
11289 (check-abi-% pattern rule): Likewise.
11290 (check-abi, update-abi): Likewise.
11291
6c0ce4b4
EW
112922014-02-04 Eric Wong <normalperson@yhbt.net>
11293
11294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11295
481e3524
CD
112962014-02-03 Carlos O'Donell <carlos@redhat.com>
11297
11298 * manual/startup.texi: Add next, previous, and top entries for
11299 the `Program Arguments' and `Environment Variables' nodes.
11300
375592d3
AO
113012014-02-03 Alexandre Oliva <aoliva@redhat.com>
11302
11303 * manual/macros.texi: Add comments before MTASC-safety macros.
11304
f54838ba
AO
11305 * manual/users.texi: Document MTASC-safety properties.
11306
57f41c40
AS
11307 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11308 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11309 @deftypefun, and add @safety note.
11310 * manual/signal.texi: Move comments that analyze the above
11311 functions to their home place.
11312
fd3daba4
AM
113132014-02-03 Allan McRae <allan@archlinux.org>
11314
11315 * po/sl.po: Update Slovenian translation from translation project.
11316
597636d7
AO
113172014-02-02 Alexandre Oliva <aoliva@redhat.com>
11318
11319 * manual/time.texi (timegm): Add missing blank after @c.
11320 Reported by Joseph Myers <joseph@codesourcery.com>.
11321
ee196e3c
AO
113222014-02-01 Alexandre Oliva <aoliva@redhat.com>
11323
11324 * manual/check-safety.sh: New.
11325 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11326
f8d529d5
AO
11327 * manual/terminal.texi: Document MTASC-safety properties.
11328
de55fdf4
AO
11329 * manual/filesys.texi: Document MTASC-safety properties.
11330
c3299c08
AO
11331 * manual/errno.texi: Document MTASC-safety properties.
11332
06e90b14
AO
11333 * manual/intro.texi: Document safety identifiers and
11334 conditionals.
11335
1acd4371
AO
11336 * manual/string.texi (wcstok): Fix prototype.
11337 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11338
23e5b8cb
AO
11339 * manual/time.texi: Document MTASC-safety properties.
11340
11087373
AO
11341 * manual/string.texi: Document MTASC-safety properties.
11342
5da2c93d
AO
11343 * manual/threads.texi: Document MTASC-safety properties.
11344
171e9210
AO
11345 * manual/stdio.texi: Document MTASC-safety properties.
11346
d9e02532
AO
11347 * manual/syslog.texi: Document MTASC-safety properties.
11348
6af8bab7
AO
11349 * manual/sysinfo.texi: Document MTASC-safety properties.
11350
663b02d7
AO
11351 * manual/startup.texi: Document MTASC-safety properties.
11352
973f180b
AO
11353 * manual/socket.texi: Document MTASC-safety properties.
11354
8f3c25c8
AO
11355 * manual/signal.texi: Document MTASC-safety properties.
11356
542210fb
AO
113572014-01-31 Alexandre Oliva <aoliva@redhat.com>
11358
11359 * manual/setjmp.texi: Document MTASC-safety properties.
11360
433c45a2
AO
11361 * manual/search.texi: Document MTASC-safety properties.
11362
c8ce789c
AO
11363 * manual/resource.texi: Document MTASC-safety properties.
11364
19f5d29c
AO
11365 * manual/process.texi: Document MTASC-safety properties.
11366
e2dfb7f4
AO
11367 * manual/platform.texi: Document MTASC-safety properties.
11368
8c1413f5
AO
11369 * manual/pipe.texi: Document MTASC-safety properties.
11370
03483ada
AO
11371 * manual/pattern.texi: Document MTASC-safety properties.
11372
29e7e2df
AO
11373 * manual/message.texi: Document MTASC-safety properties.
11374
9f529d7c
AO
11375 [BZ #12751]
11376 * manual/memory.texi: Document MTASC-safety properties.
11377
27aaa791
AO
11378 * manual/math.texi: Document MTASC-safety properties.
11379
f2d58726
AO
11380 * manual/locale.texi: Document MTASC-safety properties.
11381
2cc3615c
AO
11382 * manual/llio.texi: Document MTASC-safety properties.
11383
d9f0ec97
AO
11384 * manual/libdl.texi: New.
11385
e7c4409a
AO
11386 * manual/lang.texi: Document MTASC-safety properties.
11387
27bdc63c
AO
11388 * manual/job.texi: Document MTASC-safety properties.
11389
a7b90ea9
AO
11390 * manual/getopt.texi: Document MTASC-safety properties.
11391
c49130e3
AO
11392 * manual/ctype.texi: Document MTASC-safety properties.
11393
0d23a5c1
MR
113942014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11395
11396 [BZ #16046]
11397 * csu/libc-tls.c (static_map): Remove variable.
11398 (__libc_setup_tls): Use main executable's link map for TLS data.
11399 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11400 casing for LM_ID_BASE and GL(dl_nns).
11401 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11402 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11403 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11404 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11405 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11406 member.
11407 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11408 l_phnum members.
11409
0037bb60
AO
114102014-01-30 Alexandre Oliva <aoliva@redhat.com>
11411
11412 * manual/debug.texi: Document MTASC-safety properties.
11413
409e00bd
L
114142014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11415
11416 [BZ #16510]
11417 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11418 of __x86_64__ when disabling x87 inline functions.
11419
86e60666
AO
114202014-01-29 Alexandre Oliva <aoliva@redhat.com>
11421
11422 * manual/charset.texi: Document MTASC-safety properties.
11423
76167637
AO
11424 * manual/crypt.texi: Document MTASC-safety properties.
11425
e567f2a0
AO
11426 * manual/conf.texi: Document MTASC-safety properties.
11427
b719dafd
AO
11428 * manual/arith.texi: Document MTASC-safety properties.
11429
4a16c662
AO
11430 * manual/argp.texi: Document MTASC-safety properties.
11431
0a57b83e
AO
11432 * manual/macros.texi: Introduce macros to document multi
11433 thread, asynchronous signal and asynchronous cancellation
11434 safety properties.
11435 * manual/intro.texi: Introduce the properties themselves.
11436
feab2397
KK
114372014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11438
11439 * sysdeps/sh/sh4/Makefile: New file.
11440
1c0d11bc
AS
114412014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11442
11443 * math/gen-libm-test.pl ($srcdir): New variable.
11444 ($auto_input): Use it.
11445
af37a8a3
SP
114462014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11447
d7b00f98
SP
11448 [BZ #16506]
11449 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11450 access beyond array bounds when parsing netgroups file.
11451
af37a8a3
SP
11452 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11453 the old buffer before realloc.
11454
0c00f062
AM
114552014-01-27 Allan McRae <allan@archlinux.org>
11456
11457 * po/fr.po: Update French translation from translation project.
11458
7d69a1b0
KK
114592014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11460
11461 * sysdeps/sh/libm-test-ulps: Regenerate.
11462
6e697ff7
DM
114632014-01-24 David S. Miller <davem@davemloft.net>
11464
11465 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11466
9cadb35c
KK
114672014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11468
11469 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11470 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11471
5d41dadf
SP
114722013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11473
11474 [BZ #16474]
11475 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11476 string pointers after reallocation.
11477
0bad441c
KK
114782014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11479
11480 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11481 __SH4A__ instead of __SH_FPU_ANY__.
11482
7007c661
KK
114832014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11484
11485 * sysdeps/sh/fpu_control.h: New file.
11486 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11487 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11488 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11489 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11490 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11491 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11492 * sysdeps/sh/sys/ucontext.h: Remove.
11493 * sysdeps/sh/sys: Remove directory.
11494
0f0c35e4
AK
114952014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11496
11497 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11498 s390/sys/ucontext.h.
11499 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11500 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11501
4959e284
L
115022014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11503
11504 [BZ #15605]
11505 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11506
d98720e0
AZ
115072014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11508
11509 [BZ#16431]
11510 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11511 Adjust the vDSO correctly for internal calls.
11512 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11513
91cbd0bc
AM
115142014-01-20 Allan McRae <allan@archlinux.org>
11515
11516 * po/ca.po: Update Catalan translation from translation project.
11517
7a02cfad
MF
115182014-01-16 Mike Frysinger <vapier@gentoo.org>
11519
11520 * sysdeps/s390/sotruss-lib.c: New file.
11521
736c304a
AZ
115222014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11523
11524 [BZ#16430]
6e077ee5 11525 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11526 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11527 local calls issues by not having a PLT stub required for IFUNC calls.
11528 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11529
94d0cea0
JM
115302014-01-16 Joseph Myers <joseph@codesourcery.com>
11531
11532 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11533 * math/test-fpucw-static.c: Likewise.
11534
980cb518
SP
115352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11536
11537 [BZ #16453]
11538 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11539
2393fc01
AZ
115402014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11541
11542 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11543 implementation for powerpc.
11544
d359bcc2
OB
115452014-01-15 Ondřej Bílka <neleai@seznam.cz>
11546
11547 [BZ #14782]
11548 * sysdeps/posix/system.c (__libc_system): Do not enable
11549 asynchronous cancellation.
11550
7beb48cb
AK
115512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11552
11553 [BZ #16427]
11554 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11555 handling only for numbers special also in the IEEE case.
11556
c20d5bf5
AK
115572014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11558
11559 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11560
e83bd4ee
AM
115612014-01-11 Allan McRae <allan@archlinux.org>
11562
76d0ea69
AM
11563 * po/bg.po: Update Bulgarian translation from translation project.
11564
e83bd4ee
AM
11565 * po/de.po: Update German translation from translation project.
11566
bc2ba20a
RM
115672014-01-10 Roland McGrath <roland@hack.frob.com>
11568
11569 * sysdeps/generic/gcc-compat.h: New file.
11570
649ecea2
SP
115712014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11572
11573 * benchtests/asin-inputs: Correct slow inputs.
11574 * benchtests/acos-inputs: Likewise.
11575
1b19c006
AM
115762014-01-10 Allan McRae <allan@archlinux.org>
11577
a46dab08
AM
11578 * po:sv.po: Update Swedish translation from translation project.
11579
421df74a
AM
11580 * po/vi.po: Update Vietnamese translation from translation project.
11581
d61c51a7
AM
11582 * po/eo.po: Update Esperanto translation from translation project.
11583
0339a319
AM
11584 * po/cs.po: Update Czech translation from translation project.
11585
94ad3e99
AM
11586 * po/nl.po: Update Dutch translation from translation project.
11587
e349ca71
AM
11588 * po/pl.po: Update Polish translation from translation project.
11589
ddf930c1
AM
11590 * po/ru.po: Update Russian translation from translation project.
11591
1b19c006
AM
11592 * po/uk.po: Update Ukrainian translation from translation project.
11593
9f236c49
BM
115942014-01-08 Brooks Moses <bmoses@google.com>
11595
11596 * elf/dl-load.c: Fix comment typo.
11597
cd6701cf
CD
115982014-01-08 Carlos O'Donell <carlos@redhat.com>
11599
11600 * po/header.pot: Rename to...
11601 * po/pot.header: ... this.
11602 * po/Makefile: Use pot.header.
11603
66671c84
YK
116042014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11605 Maxim Kuvyrkov <maxim@kugelworks.com>
11606
11607 [BZ #16394]
cd6701cf
CD
11608 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11609 SRC and DEST against LEN.
66671c84 11610
38f34581
AZ
116112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612
11613 [BZ #16414]
11614 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11615 implementation.
11616 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11617
116182014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11619
11620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11621
4c327f2a
JM
116222014-01-08 Joseph Myers <joseph@codesourcery.com>
11623
11624 [BZ #16408]
11625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11626 for large positive arguments.
11627
b821f414
JM
116282014-01-07 Joseph Myers <joseph@codesourcery.com>
11629
1f0f2067
JM
11630 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11631
a5a326f6
JM
11632 * math/auto-libm-test-in: Mark various tests with
11633 xfail-rounding:ldbl-128ibm.
11634 * math/auto-libm-test-out: Regenerated.
11635
b821f414
JM
11636 [BZ #16407]
11637 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11638 Increase overflow threshold.
11639
94c8a4bc
OB
116402014-01-07 Ondřej Bílka <neleai@seznam.cz>
11641
11642 [BZ #14286]
11643 * stdio-common/vfprintf.c: Check for integer overflow.
11644
87ded0c3
AK
116452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11646
11647 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11648 the first argument and return value of __tls_get_addr_internal.
11649
c5eebdd0
AK
116502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11651
11652 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11653 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11654
05d138ef
AK
116552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11656
11657 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11658 * sysdeps/s390/rtld-global-offsets.sym: New file.
11659 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11660 GLIBC_2.19 symbol.
11661 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11662 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11663 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11664 ... this.
11665 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11666 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11667 ... this.
11668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11669 Regenerate.
11670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11671 Regenerate.
11672 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11673 halfs of GPRs for high_gprs contexts.
11674 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11675 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11676 field.
11677 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11678 uc_flags field.
11679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11680 64 bit versions:
11681 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11682 for high GPRs (uc_high_gprs) and for future extensions
11683 (__reserved).
11684 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11685 for future extensions (__reserved).
11686 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11687 64 bit versions:
11688 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11689 SC_HIGHGPRS offset definition.
11690 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11691 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11692
93a45ff1
AK
11693 * Versions.def: Add GLIBC_2.19 for libpthread.
11694 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11695 siglongjmp for libpthread with GLIBC_2.19 symver.
11696 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11697 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11698 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11699 * sysdeps/s390/__longjmp.c: New file.
11700 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11701 * sysdeps/s390/longjmp.c: New file.
11702 * sysdeps/s390/setjmp.S: New file.
11703 * sysdeps/s390/sigjmp.S: New file.
11704 * sysdeps/s390/v1-longjmp.c: New file.
11705 * sysdeps/s390/v1-setjmp.h: New file.
11706 * sysdeps/s390/v1-sigjmp.c: New file.
11707 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11708 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11709 GLIBC_2.19 version.
11710 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11711 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11712 versioned symbols for ____longjmp_chk.
11713 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11714 Likewise.
11715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11716 Regenerate.
11717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11718 Regenerate.
11719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11720 Regenerate.
11721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11722 Regenerate.
11723 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11724 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11725 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11726 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11727 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11728 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11729 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11730 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11731 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11732 * sysdeps/s390/rtld-__longjmp.c: New file.
11733 * sysdeps/s390/rtld-setjmp.S: New file.
11734
eb3fc44b
JM
117352014-01-06 Joseph Myers <joseph@codesourcery.com>
11736
11737 [BZ #16400]
11738 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11739 Return -__logl (x) for small positive arguments without evaluating
11740 a polynomial.
11741
9341dde4
MF
117422014-01-06 Mike Frysinger <vapier@gentoo.org>
11743
11744 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11745 Rename to ...
11746 (__ptrace_peeksiginfo_args): ... this.
11747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11750
4cff0293
AM
117512014-01-06 Allan McRae <allan@archlinux.org>
11752
11753 * inet/netinet/in.h: Fix typo in comment.
11754
75595dcf
AJ
117552014-01-05 Andreas Jaeger <aj@suse.de>
11756
11757 * sysdeps/i386/fpu/libm-test-ulps: Update.
11758
79c1e109
AM
117592014-01-05 Allan McRae <allan@archlinux.org>
11760
dd804818
AM
11761 * po/libc.pot: Regenerated.
11762
79c1e109
AM
11763 * malloc/memusagestat.c: Fix gettext call formatting.
11764
0c813d1f
SK
117652014-01-04 Sami Kerola <kerolasa@iki.fi>
11766
11767 * nscd/nscd.c: Improve usage() output.
11768
20f4a8d9
MF
117692014-01-04 Mike Frysinger <vapier@gentoo.org>
11770
11771 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11772 * sysdeps/unix/sysv/linux/configure: Regenerated.
11773 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11774 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11775
22562bb2
JM
117762014-01-03 Joseph Myers <joseph@codesourcery.com>
11777
11778 [BZ #16390]
11779 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11780 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11781
d7ad2d9b
AZ
117822014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11783
11784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11785 extra tokens at end of #undef directive.
11786 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11787 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11788 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11789
7dd009d8
JM
117902014-01-03 Joseph Myers <joseph@codesourcery.com>
11791
24db925a
JM
11792 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11793
7dd009d8
JM
11794 * math/auto-libm-test-in: Mark various tests with
11795 xfail-rounding:ldbl-128ibm.
11796 * math/auto-libm-test-out: Regenerated.
11797
396e3ecf
JM
117982014-01-02 Joseph Myers <joseph@codesourcery.com>
11799
819e5d50
JM
11800 [BZ #16386]
11801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11802 numbers with subnormal high part when calculating exponent.
11803
90b6a1e5
JM
11804 [BZ #16385]
11805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11806 fabs.
11807
396e3ecf
JM
11808 [BZ #16384]
11809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11810 M_LN2l.
11811 (__ieee754_acoshl): Use __log1pl not __log1p.
11812
6c8dbf00
OB
118132013-01-02 Ondřej Bílka <neleai@seznam.cz>
11814
57f41c40
AS
11815 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11816 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11817 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11818 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11819 (reused_arena, arena_get2): Convert to GNU style.
11820 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11821 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11822 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11823 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11824 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11825 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11826 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11827 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11828 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11829 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11830 * malloc/malloc.h: Likewise.
57f41c40
AS
11831 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11832 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11833 * malloc/mcheck.h: Likewise.
57f41c40
AS
11834 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11835 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11836 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11837 * malloc/morecore.c (__default_morecore): Likewise.
11838 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11839 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11840 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11841 (print_and_abort): Likewise.
6c8dbf00
OB
11842 * malloc/obstack.h: Likewise.
11843 * malloc/set-freeres.c (__libc_freeres): Likewise.
11844 * malloc/tst-mallocstate.c (main): Likewise.
11845 * malloc/tst-mtrace.c (main): Likewise.
11846 * malloc/tst-realloc.c (do_test): Likewise.
11847
d4124212
SP
118482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11849
9a3c6a6f
SP
11850 [BZ #16366]
11851 * nscd/netgroupcache.c (do_notfound): New function.
11852 (addgetnetgrentX): Use it.
11853
d4124212
SP
11854 [BZ # 16365]
11855 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11856 NSS_STATUS_NOTFOUND.
11857
97b9a009
JM
118582014-01-01 Joseph Myers <joseph@codesourcery.com>
11859
11860 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11862
d4697bc9
AM
118632014-01-01 Allan McRae <allan@archlinux.org>
11864
ddb3687f
AM
11865 * scripts/update-copyrights: Update configure input file suffix.
11866
88726d48
AM
11867 * NEWS: Update copyright year.
11868 * catgets/gencat.c: Likewise.
11869 * csu/version.c: Likewise.
11870 * debug/catchsegv.sh: Likewise.
11871 * debug/pcprofiledump.c: Likewise.
11872 * debug/xtrace.sh: Likewise.
11873 * elf/ldconfig.c: Likewise.
11874 * elf/ldd.bash.in: Likewise.
11875 * elf/pldd.c: Likewise.
11876 * elf/sotruss.ksh: Likewise.
11877 * elf/sprof.c: Likewise.
11878 * iconv/iconv_prog.c: Likewise.
11879 * iconv/iconvconfig.c: Likewise.
11880 * locale/programs/locale.c: Likewise.
11881 * locale/programs/localedef.c: Likewise.
11882 * login/programs/pt_chown.c: Likewise.
11883 * malloc/memusage.sh: Likewise.
11884 * malloc/memusagestat.c: Likewise.
11885 * malloc/mtrace.pl: Likewise.
11886 * manual/libc.texinfo: Likewise.
11887 * nscd/nscd.c: Likewise.
11888 * nss/getent.c: Likewise.
11889 * nss/makedb.c: Likewise.
11890 * posix/getconf.c: Likewise.
11891 * scripts/test-installation.pl: Likewise.
11892
d4697bc9
AM
11893 * All files with FSF copyright notices: Update copyright dates
11894 using scripts/update-copyrights.
11895 * intl/plural.c: Regenerated.
11896 * locale/programs/charmap-kw.h: Likewise.
11897 * locale/programs/locfile-kw.h: Likewise.
11898
c8590f9d
MF
118992013-12-31 Mike Frysinger <vapier@gentoo.org>
11900
11901 * sysdeps/unix/sysv/linux/configure: Regenerated.
11902 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11903 the linux/fanotify.h header.
11904 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11905 HAVE_LINUX_FANOTIFY_H is defined.
11906
b19221b9
SP
119072013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11908
dd1d85e5
SP
11909 * benchtests/cos-inputs: New inputs.
11910 * benchtests/sin-inputs: Likewise.
11911
1acbb90f
SP
11912 * benchtests/atan-inputs: New inputs. Fix name of multiple
11913 precision fallback inputs.
11914
4c012ed3
SP
11915 * benchtests/atanh-inputs: New inputs.
11916 * benchtests/tanh-inputs: Likewise.
11917
eff98324
SP
11918 * benchtests/acosh-inputs: New inputs.
11919 * benchtests/asinh-inputs: Likewise.
11920
ce641152
SP
11921 * benchtests/cosh-inputs: New inputs.
11922 * benchtests/sinh-inputs: Likewise.
11923
b19221b9
SP
11924 * benchtests/acos-inputs: Add more inputs.
11925 * benchtests/asin-inputs: Likewise.
11926
030a4976 119272013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11928
030a4976 11929 [BZ #16375]
9dcc8f11
VS
11930 * manual/arith.texi: Fix spelling.
11931 * manual/charset.texi: Likewise.
11932 * manual/errno.texi: Likewise.
11933 * manual/filesys.texi: Likewise.
11934 * manual/lang.texi: Likewise.
11935 * manual/llio.texi: Likewise.
11936 * manual/locale.texi: Likewise.
11937 * manual/message.texi: Likewise.
11938 * manual/resource.texi: Likewise.
11939 * manual/search.texi: Likewise.
11940 * manual/setjmp.texi: Likewise.
11941 * manual/stdio.texi: Likewise.
11942 * manual/string.texi: Likewise.
11943 * manual/sysinfo.texi: Likewise.
11944 * manual/time.texi: Likewise.
11945
11520a57
CD
119462013-12-27 Carlos O'Donell <carlos@redhat.com>
11947
11948 * po/sl.po: New file.
11949
471103ae
MF
119502013-12-27 Mike Frysinger <vapier@gentoo.org>
11951
11952 * .gitignore: Add core/.gdbinit/.gdb_history.
11953
6c9642ed
AM
119542013-12-27 Allan McRae <allan@archlinux.org>
11955
11956 [BZ #16369]
11957 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11958 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11959
3f637079
BM
119602013-12-24 Brooks Moses <bmoses@google.com>
11961
11962 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11963 all compilers that claim C++98 compliance, not just GCC.
11964 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11965 Likewise.
11966
abc26e99
MK
119672013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11968
11969 * NEWS: Restore accidentally deleted bug-fix entries.
11970
362b47fe
MK
119712013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11972 Ondřej Bílka <neleai@seznam.cz>
11973
11974 [BZ #15073]
11975 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11976 have_lock.
362b47fe 11977
b9bcbbcb
OB
119782013-12-23 Ondřej Bílka <neleai@seznam.cz>
11979
11980 [BZ #12986]
11981 * manual/stdio.texi (String Input Conversions): Clarify that character
11982 classes are not supported.
11983
fb55fcd2
AZ
119842013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11985
11986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11987
ef7344f0
JM
119882013-12-22 Joseph Myers <joseph@codesourcery.com>
11989
4f40e4b3
JM
11990 [BZ #16337]
11991 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11992 Calculate results for small negative arguments directly rather
11993 than using reflection formula with special underflow handling.
11994
ef7344f0
JM
11995 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11996 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11997 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11998 (fchflags): Likewise.
11999 (revoke): Likewise.
12000 (setlogin): Likewise.
12001 (sigaltstack): Likewise.
12002 (wait4): Likewise.
12003 (sigblock): Remove.
12004 (sigsetmask): Likewise.
12005 (wait3): Likewise.
12006 (waitpid): Likewise.
12007 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12008 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12009 file.
12010 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12011 * sysdeps/unix/bsd/Makefile: ... here.
12012 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12013 * sysdeps/unix/bsd/Versions: ... here.
12014 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12015 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12016 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12017 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12018 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12019 * sysdeps/unix/bsd/sigblock.c: ... here.
12020 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12021 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12022 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12023 * sysdeps/unix/bsd/sigvec.c: ... here.
12024 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12025 * sysdeps/unix/bsd/tcdrain.c: ... here.
12026 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12027 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12028 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12029 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12030 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12031 * sysdeps/unix/bsd/wait.c: ... here.
12032 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12033 * sysdeps/unix/bsd/wait3.c: ... here.
12034 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12035 * sysdeps/unix/bsd/waitpid.c: ... here.
12036
5b0626b9
JM
120372013-12-21 Joseph Myers <joseph@codesourcery.com>
12038
12039 [BZ #16356]
12040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12041 round-to-nearest for [!USE_AS_EXPM1L].
12042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12043 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12044 more tests of exp and exp10. Expect some exp10 tests to miss
12045 exceptions or fail in directed rounding modes.
12046 * math/auto-libm-test-out: Regenerated.
12047 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12048 (exp10_test_tonearest): New function.
12049 (exp10_towardzero_test_data): New array.
12050 (exp10_test_towardzero): New function.
12051 (exp10_downward_test_data): New array.
12052 (exp10_test_downward): New function.
12053 (exp10_upward_test_data): New array.
12054 (exp10_test_upward): New function.
12055 (main): Call the new functions.
12056 * sysdeps/i386/fpu/libm-test-ulps: Update.
12057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12058
7fda5682
JM
120592013-12-20 Joseph Myers <joseph@codesourcery.com>
12060
31e3a405
JM
12061 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12062 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12063 * math/auto-libm-test-out: Regenerated.
12064 * math/libm-test.inc (acosh_test_data): Add more tests.
12065 (atanh_test_data): Likewise.
12066 (ceil_test_data): Likewise.
12067 (copysign_test_data): Likewise.
12068 * sysdeps/i386/fpu/libm-test-ulps: Update.
12069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12070
85bff96a
JM
12071 * timezone/checktab.awk: Update from tzcode 2013i.
12072 * timezone/private.h: Likewise.
12073 * timezone/scheck.c: Likewise.
12074 * timezone/tzfile.h: Likewise.
12075 * timezone/tzselect.ksh: Likewise.
12076 * timezone/zdump.c: Likewise.
12077 * timezone/zic.c: Likewise.
12078
b7867a3b
JM
12079 * math/auto-libm-test-in: Add tests of cpow.
12080 * math/auto-libm-test-out: Regenerated.
12081 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12083 mpc_cc_c.
12084 (func_calc_desc): Add mpc_cc_c union field.
12085 (test_functions): Add cpow.
12086 (special_fill_2pi): New function.
12087 (special_real_inputs): Add 2pi.
12088 (calc_generic_results): Handle mpc_cc_c.
12089 * sysdeps/i386/fpu/libm-test-ulps: Update.
12090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12091
7fda5682
JM
12092 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12093 csqrt, ctan and ctanh.
12094 * math/auto-libm-test-out: Regenerated.
12095 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12096 (TEST_COND_x86): Likewise.
12097 (ccos_test_data): Use AUTO_TESTS_c_c.
12098 (ccosh_test_data): Likewise.
12099 (cexp_test_data): Likewise.
12100 (clog_test_data): Likewise.
12101 (csqrt_test_data): Likewise.
12102 (ctan_test_data): Likewise.
12103 (ctan_tonearest_test_data): Likewise.
12104 (ctan_towardzero_test_data): Likewise.
12105 (ctan_downward_test_data): Likewise.
12106 (ctan_upward_test_data): Likewise.
12107 (ctanh_test_data): Likewise.
12108 (ctanh_tonearest_test_data): Likewise.
12109 (ctanh_towardzero_test_data): Likewise.
12110 (ctanh_downward_test_data): Likewise.
12111 (ctanh_upward_test_data): Likewise.
12112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12113 mpc_c_c.
12114 (func_calc_desc): Add mpc_c_c union field.
12115 (FUNC_mpc_c_c): New macro.
12116 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12117 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12118 ctanh.
12119 (special_fill_min_subnorm_p120): New function.
12120 (special_real_inputs): Add min_subnorm_p120.
12121 (calc_generic_results): Handle mpc_c_c.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124
5ff8d60e
SP
121252013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12126
57f41c40
AS
12127 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12128 (do_sin_slow): New functions.
12129 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12130 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12131
84ba214c
SP
12132 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12133 Use M to change sign of result instead of X. Assume X is
12134 positive.
12135 (csloww1): Likewise.
12136 (__sin): Adjust.
12137 (__cos): Adjust.
12138
975195e4
SP
12139 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12140 arguments A and DA.
12141 (__sin): Adjust.
12142 (__cos): Likewise.
12143
5ff8d60e
SP
12144 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12145 (__cos): Likewise.
12146 (sloww1): Don't adjust sign of DX.
12147 (csloww1): Likewise.
12148 (sloww2): Use X directly and don't adjust sign of DX.
12149 (csloww2): Likewise.
12150
eb983568
JM
121512013-12-19 Joseph Myers <joseph@codesourcery.com>
12152
64a17f1a
JM
12153 * math/auto-libm-test-in: Add tests of cabs and carg.
12154 * math/auto-libm-test-out: Regenerated.
12155 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12156 (carg_test_data): Likewise.
12157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12158 mpc_c_f.
12159 (func_calc_desc): Add mpc_c_f union field.
12160 (test_functions): Add cabs and carg.
12161 (calc_generic_results): Handle mpc_c_f.
12162
eb983568
JM
12163 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12164 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12165 as a macro and a compat symbol.
12166 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12167 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12168 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12169 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12170 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12172 not use .hidden.
12173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12174 Likewise.
12175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12176 Likewise.
12177 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12178 Likewise.
12179 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12180 Likewise.
12181 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12182 Likewise.
12183 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12184 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12185 from GLIBC_2.3.2.
12186
6eeb678a
AZ
121872013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12188
12189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12190
6f6fc482
JM
121912013-12-19 Joseph Myers <joseph@codesourcery.com>
12192
21fea2e2
JM
12193 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12194 trailing whitespace removed.
12195 * scripts/config.guess: Update to version 2013-11-29.
12196 * scripts/config.sub: Update to version 2013-10-01.
12197
6f6fc482
JM
12198 * math/auto-libm-test-in: Add tests of sincos.
12199 * math/auto-libm-test-out: Regenerated.
12200 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12201 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12202 mpfr_f_11.
12203 (func_calc_desc): Add mpfr_f_11 union field.
12204 (test_functions): Add sincos.
12205 (calc_generic_results): Handle mpfr_f_11.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208
83f5c32d
AS
122092013-12-19 Andreas Schwab <schwab@suse.de>
12210
12211 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12212 CALL_MCOUNT.
12213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12214 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12215 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12216
c688b419
JM
122172013-12-19 Joseph Myers <joseph@codesourcery.com>
12218
335ee092
JM
12219 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12220 * sysdeps/i386/fpu/libm-test-ulps: Update.
12221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12222
f88acd39
JM
12223 [BZ #16293]
12224 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12225 round-to-nearest mode when using frndint.
12226 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12227 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12229 Likewise.
12230 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12231 sinh test to fail.
12232 * math/auto-libm-test-out: Regenerated.
12233 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12234 (TEST_COND_x86): Likewise.
12235 (expm1_tonearest_test_data): New array.
12236 (expm1_test_tonearest): New function.
12237 (expm1_towardzero_test_data): New array.
12238 (expm1_test_towardzero): New function.
12239 (expm1_downward_test_data): New array.
12240 (expm1_test_downward): New function.
12241 (expm1_upward_test_data): New array.
12242 (expm1_test_upward): New function.
12243 (main): Run the new test functions.
12244 * sysdeps/i386/fpu/libm-test-ulps: Update.
12245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12246
c688b419
JM
12247 * include/features.h: Update comment documenting feature test
12248 macros. Mention _DEFAULT_SOURCE in comment.
12249 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12250 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12251 _BSD_SOURCE and _SVID_SOURCE.
12252 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12253 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12254 !_SVID_SOURCE]: Likewise.
12255 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12256 (__USE_POSIX_IMPLICITLY): Define.
12257 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12258 (_POSIX_SOURCE): Undefine and redefine.
12259 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12260 (_POSIX_C_SOURCE): Likewise.
12261 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12262 (Feature Test Macros): Update documentation of default features.
12263
9f6e964c
RS
122642013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12265
12266 * benchtests/Makefile: Add bench-strtok.
12267 * benchtests/bench-strtok.c: New file: strtok benchtest.
12268
ee0a148a
AM
122692013-12-19 Allan McRae <allan@archlinux.org>
12270
12271 * manual/install.texi: Suppress menu for plain text output.
12272 * INSTALL: Regenerated.
12273
b9ab448f
BM
122742013-12-18 Brooks Moses <bmoses@google.com>
12275
12276 [BZ #15846]
12277 * misc/getauxval.c: Include errno.h.
12278 (__getauxval): Set errno to ENOENT if the requested type is not
12279 found.
12280 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12281 don't declare with __attribute_const__.
12282 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12283 * manual/startup.texi: Document that getauxval sets errno.
12284
23776487
JM
122852013-12-18 Joseph Myers <joseph@codesourcery.com>
12286
f889953b
JM
12287 * math/auto-libm-test-in: Add tests of jn and yn.
12288 * math/auto-libm-test-out: Regenerated.
12289 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12290 (yn_test_data): Likewise.
12291 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12292 mpfr_if_f.
12293 (func_calc_desc): Add mpfr_if_f union field.
12294 (FUNC_mpfr_if_f): New macro.
12295 (test_functions): Add jn and yn.
12296 (calc_generic_results): Assert type of second input for
12297 mpfr_ff_f. Handle mpfr_if_f.
12298 (output_for_one_input_case): Disable all checking for arguments
12299 fitting floating-point types in case of an integer argument.
12300 * sysdeps/i386/fpu/libm-test-ulps: Update.
12301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12302
23776487
JM
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12304 Don't expect fegetround reference in libm.so.
12305
cb756c6d
MS
123062013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12307
12308 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12309 $(config-cflags-nofma).
12310
2dec468f
JM
123112013-12-18 Joseph Myers <joseph@codesourcery.com>
12312
5953eb3a
JM
12313 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12314 * math/auto-libm-test-out: Regenerated.
12315
2dec468f
JM
12316 [BZ #16338]
12317 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12318 to determine exponent and adjust argument to have exponent of -1.
12319 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12320 log2.
12321 * math/auto-libm-test-out: Regenerated.
12322 * sysdeps/i386/fpu/libm-test-ulps: Update.
12323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12324
4d84e6ad
OB
123252013-12-18 Ondřej Bílka <neleai@seznam.cz>
12326
12327 * manual/probes.texi: Remove cases when per-thread arenas are
12328 disabled.
12329
1818483b
AS
123302013-12-18 Andreas Schwab <schwab@suse.de>
12331
12332 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12333 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12334 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12335 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12336 * sysdeps/i386/i686/multiarch/Makefile: Update.
12337 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12338
25de95bf
JM
123392013-12-17 Joseph Myers <joseph@codesourcery.com>
12340
12341 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12342 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12343
674762d9
PE
123442013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12345
ed27ed83 12346 [BZ #15968]
0748546f
PE
12347 Support TZ transition times < 00:00:00.
12348 This is needed for version-3 tz-format files; it supports time
12349 stamps past 2037 for America/Godthab (the only entry in the tz
12350 database for which this change is relevant).
12351 * manual/time.texi (TZ Variable): Document transition times
12352 from -167:59:59 through -00:00:01.
12353 * time/tzset.c (tz_rule): Time of day is now signed.
12354 (__tzset_parse_tz): Parse negative time of day.
12355
4480e934
PE
12356 Document TZ transition times >= 25:00:00.
12357 * manual/time.texi (TZ Variable): Document transition times from
12358 25:00:00 through 167:59:59. These are already supported, and this
12359 support will help with version-3 tz-format files.
12360
69947401
PE
12361 * manual/time.texi (TZ Variable): Modernize North America example
12362 to reflect current (i.e., 2007-and-later) daylight saving rules.
12363
674762d9
PE
12364 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12365
7011c262
JM
123662013-12-17 Joseph Myers <joseph@codesourcery.com>
12367
2fc6557e
JM
12368 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12369 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12372 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12373 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12374 * sysdeps/unix/bsd/clock.c: Likewise.
12375 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12376 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12377 * sysdeps/unix/bsd/init-posix.c: Likewise.
12378 * sysdeps/unix/bsd/poll.c: Likewise.
12379 * sysdeps/unix/bsd/ptsname.c: Likewise.
12380 * sysdeps/unix/bsd/seekdir.c: Likewise.
12381 * sysdeps/unix/bsd/setegid.c: Likewise.
12382 * sysdeps/unix/bsd/seteuid.c: Likewise.
12383 * sysdeps/unix/bsd/setgid.c: Likewise.
12384 * sysdeps/unix/bsd/setrgid.c: Likewise.
12385 * sysdeps/unix/bsd/setruid.c: Likewise.
12386 * sysdeps/unix/bsd/setsid.c: Likewise.
12387 * sysdeps/unix/bsd/setuid.c: Likewise.
12388 * sysdeps/unix/bsd/sigaction.c: Likewise.
12389 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12390 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12391 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12392 * sysdeps/unix/bsd/telldir.c: Likewise.
12393 * sysdeps/unix/bsd/times.c: Likewise.
12394 * sysdeps/unix/bsd/usleep.c: Likewise.
12395
029c7b25
JM
12396 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12397 ($(objpfx)libbsd-compat.a): Remove rule.
12398
7011c262
JM
12399 * include/features.h (__FAVOR_BSD): Do not define.
12400 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12401 features conflicting with POSIX.
12402 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12403 (_BSD_SOURCE): Remove description of not being a subset of other
12404 feature test macros.
12405 * manual/job.texi (getpgrp): Do not document BSD version.
12406 (getpgid): Do not document by reference to BSD getpgrp.
12407 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12408 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12409 * signal/signal.h [__FAVOR_BSD]: Likewise.
12410 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12411 instead of making contents conditional on [__FAVOR_BSD].
12412 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12413
affb6f78
AZ
124142013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12415
12416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12417
c88769dd
JM
124182013-12-17 Joseph Myers <joseph@codesourcery.com>
12419
6432a540
JM
12420 [BZ #16314]
12421 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12422 values below 2**-450, not 2**-500.
12423 * math/auto-libm-test-in: Don't allow spurious underflow from
12424 hypot.
12425 * math/auto-libm-test-out: Regenerated.
12426
c88769dd
JM
12427 [BZ #16316]
12428 [BZ #16330]
12429 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12430 values of ha and hb and sort them after adjusting subnormal
12431 arguments.
12432 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12433 Likewise.
12434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12435 values of ea and eb and sort them after adjusting subnormal
12436 arguments.
12437 * math/auto-libm-test-in: Do not expect some hypot tests of
12438 subnormals to fail. Add more hypot tests.
12439 * math/auto-libm-test-out: Regenerated.
12440
29618f6b
KK
124412013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12442
12443 [BZ #13304]
12444 * sysdeps/sh/s_fma.c: New file.
12445 * sysdeps/sh/s_fmaf.c: New file.
12446 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12447 version.
12448 * sysdeps/sh/Implies: Add sh/soft-fp.
12449
eacfdfbf
RM
124502013-12-16 Roland McGrath <roland@hack.frob.com>
12451
12452 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12453 level of indirection to members `objname', `errstring', `malloced'.
12454 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12455 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12456 it as the __longjmp argument (just pass 1 instead).
12457 (_dl_catch_error): Initialize C with argument pointers and address of
12458 volatile local ERRCODE rather than copying values out of C at return.
12459
ff362e5b
JM
124602013-12-16 Joseph Myers <joseph@codesourcery.com>
12461
12462 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12463 * math/auto-libm-test-out: Regenerated.
12464 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12465 (hypot_test_data): Likewise.
12466 (pow_test_data): Likewise.
12467 (pow_tonearest_test_data): Likewise.
12468 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12469 mpfr_ff_f.
12470 (func_calc_desc): Add mpfr_ff_f union field.
12471 (FUNC_mpfr_ff_f): New macro.
12472 (test_functions): Add atan2, hypot and pow.
12473 (special_fill_min): New function.
12474 (special_fill_minus_min): Likewise.
12475 (special_fill_min_subnorm): Likewise.
12476 (special_fill_minus_min_subnorm): Likewise.
12477 (special_real_inputs): Add min, -min, min_subnorm and
12478 -min_subnorm.
12479 (calc_generic_results): Handle mpfr_ff_f.
12480 * sysdeps/i386/fpu/libm-test-ulps: Update.
12481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12482
5764c27f
WN
124832013-12-16 Will Newton <will.newton@linaro.org>
12484
12485 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12486 (Aligned Memory Blocks): Add documentation for aligned_alloc
12487 and suggest it as an alternative to posix_memalign.
12488 (Hooks for Malloc): Document __memalign_hook is also called
12489 for aligned_alloc. (Summary of Malloc): Add summary for
12490 aligned alloc. Document __memalign_hook is also called
12491 for aligned_alloc.
12492
0a096e44
WN
124932013-12-16 Will Newton <will.newton@linaro.org>
12494
12495 * manual/memory.texi (Malloc Examples): Clarify default
12496 alignment documentation. Suggest posix_memalign rather
12497 than memalign or valloc.
12498 (Aligned Memory Blocks): Remove suggestion to use memalign
12499 or valloc. Remove obsolete comment about BSD.
12500 Document memalign errno values and mark the function obsolete.
12501 Document posix_memalign returned error codes. Mark valloc
12502 as obsolete. (Hooks for Malloc): __memalign_hook is also
12503 called for posix_memalign and valloc.
12504 (Summary of Malloc): Add posix_memalign to function summary.
12505 __memalign_hook is also called for posix_memalign and valloc.
12506
8d561986
SP
125072013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12508
12509 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12510 TAYLOR_SIN.
12511 (__sin): Adjust.
12512 (__cos): Likewise.
12513 (sloww): Use mynumber union. Expand ternary operator into
12514 if-else statements.
12515 (cslow): use mynumber union.
12516
73616a74
AM
125172013-12-16 Allan McRae <allan@archlinux.org>
12518
9e8ac24b
AM
12519 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12520 * configure: Regenerated.
12521
6f8e37eb
AM
12522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12523
8894bad3
AM
12524 [BZ #14120]
12525 * configure.ac: Added --enable-maintainer-mode. Check for
12526 autoconf when enabled.
12527 * configure: Regenerated.
12528
73616a74
AM
12529 * nscd/nscd.service: New file.
12530 * nscd/nscd.tmpfiles: New file.
12531
584b18eb
OB
125322013-12-14 Ondřej Bílka <neleai@seznam.cz>
12533
12534 [BZ #12100]
12535 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12536 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12537 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12538 (strstr): Add __strstr_sse2_unaligned ifunc.
12539 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12540 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12541 (strcasestr): Remove __strcasestr_sse42 ifunc.
12542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12545
8a5c7897
KK
125462013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12547
12548 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12549 * sysdeps/sh/bits/fenv.h: ... here.
12550 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12551
fd712ef3
AZ
125522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12553
12554 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12555
42fcb46c
AZ
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12557 hypotf multiarch implementations.
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12561 multiarch hypot for PPC64.
12562 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12565 multiarch hypotf for PPC64.
12566
83efded4
AZ
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12568 modff multiarch implementations.
12569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12572 multiarch modf for PPC64.
12573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12576 multiarch modff for PPC64.
12577
43e246d2
AZ
12578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12579 and logl multiarch implementations.
12580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12583 multiarch logb for PPC64.
12584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12587 multiarch logb for PPC64.
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12591 multiarch logb for PPC64.
12592
8fdad123
AZ
12593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12594 isinff multiarch implementation.
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12596 file.
12597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12599 multiarch isinf for PPC64.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12601 file.
12602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12603 multiarch isinff for PPC64.
12604
1481d706
AZ
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12606 finitef multiarch implementation.
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12608 file.
12609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12611 multiarch finite for PPC64.
12612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12613 file.
12614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12615 multiarch finitef for PPC64.
12616
5ccd5fc8
AZ
12617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12618 lrint multiarch implementation.
12619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12620 file.
12621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12623 multiarch llrint for PPC64.
12624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12625 multiarch lrint for PPC64.
12626
2568f3fa
AZ
12627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12628 copysignf multiarch implementation.
12629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12630 file.
12631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12632 file.
12633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12634 multiarch copysign for PPC64.
12635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12636 multiarch copysignf for PPC64.
12637
1cb341fd
AZ
12638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12639 multiarch implementation.
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12641 file.
12642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12643 file.
12644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12645 file.
12646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12647 file.
12648 multiarch llround for PPC64.
12649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12650 multiarch trunc for PPC64.
12651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12652 multiarch truncf for PPC64.
12653
59a3e194
AZ
12654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12655 multiarch implementation.
12656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12657 file.
12658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12659 file.
12660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12661 file.
12662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12663 file.
12664 multiarch llround for PPC64.
12665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12666 multiarch round for PPC64.
12667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12668 multiarch roundf for PPC64.
12669
357fd3b4
AZ
12670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12671 multiarch implementation.
12672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12673 file.
12674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12675 file.
12676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12677 file.
12678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12679 file.
12680 multiarch llround for PPC64.
12681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12682 multiarch floor for PPC64.
12683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12684 multiarch floorf for PPC64.
12685
96770f12
AZ
12686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12687 multiarch implementation.
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12689 file.
12690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12691 file.
12692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12693 file.
12694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12695 file.
12696 multiarch llround for PPC64.
12697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12698 multiarch ceil for PPC64.
12699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12700 multiarch ceilf for PPC64.
12701
c3627f6e
AZ
12702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12703 multiarch implementation.
12704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12705 file.
12706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12707 file.
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12709 file.
12710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12711 multiarch llround for PPC64.
12712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12713 multiarch lround for PPC64.
12714
b2284ad7
AZ
12715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12716 multiarch implementation.
12717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12720 file.
12721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12724 multiarch isnan for PPC64.
12725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12726 multiarch isnanf for PPC64.
12727
69bbc63d
AZ
12728 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12729 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12730 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12731 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12732 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12734
c24517c9
AZ
12735 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12736 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12737 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12739
a52374e8
AZ
12740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12741 multiarch implementations.
12742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12743 (__libc_ifunc_impl_list): Likewise.
12744 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12745 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12746 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12747 multiarch stpcpy for PPC64.
12748
7f5ec113
AZ
12749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12750 multiarch implementations.
12751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12752 (__libc_ifunc_impl_list): Likewise.
12753 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12754 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12755 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12756 multiarch strcpy for PPC64.
12757
e28bcd42
AZ
12758 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12759 redefine function name.
12760 (_wordcopy_fwd_dest_aligned): Likewise.
12761 (_wordcopy_bwd_aligned): Likewise.
12762 (_wordcopy_bwd_dest_aligned): Likewise.
12763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12764 multiarch implementations.
12765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12766 (__libc_ifunc_impl_list): Likewise.
12767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12768 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12769 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12771 multiarch wcscpy for PPC64.
12772
92cacfce
AZ
12773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12774 multiarch implementations.
12775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12776 (__libc_ifunc_impl_list): Likewise.
12777 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12779 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12780 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12781 multiarch wcscpy for PPC64.
12782
7b714620
AZ
12783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12784 multiarch implementations.
12785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12786 (__libc_ifunc_impl_list): Likewise.
12787 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12788 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12789 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12790 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12791 multiarch wcsrchr for PPC64.
12792
16fd2ae3
AZ
12793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12794 multiarch implementations.
12795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12796 (__libc_ifunc_impl_list): Likewise.
12797 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12798 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12799 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12800 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12801 multiarch wcschr for PPC64.
12802
9ee2969b
AZ
12803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12804 multiarch implementations.
12805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12806 (__libc_ifunc_impl_list): Likewise.
12807 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12808 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12809 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12810 multiarch strchrnul for PPC64.
12811
372dc060
AZ
12812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12813 implementations.
12814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12815 (__libc_ifunc_impl_list): Likewise.
12816 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12817 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12818 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12819 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12820 strchr for PPC64.
12821
24c2c3b9
AZ
12822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12823 implementations.
12824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12825 (__libc_ifunc_impl_list): Likewise.
12826 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12827 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12828 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12829 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12830 strncmp for PPC64.
12831
1c92d9a0
AZ
12832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12833 multiarch implementations.
12834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12835 (__libc_ifunc_impl_list): Likewise.
12836 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12837 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12838 strncasecmp for PPC64.
12839 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12840 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12841 multiarch strncasecmp_l for PPC64.
12842
17de3ee3
AZ
12843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12844 multiarch implementations.
12845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12846 (__libc_ifunc_impl_list): Likewise.
12847 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12848 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12849 multiarch strcasecmp for PPC64.
12850 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12851 file.
12852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12853 multiarch strcasecmp_l for PPC64.
12854
62982bf9
AZ
12855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12856 implementations.
12857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12858 (__libc_ifunc_impl_list): Likewise.
12859 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12860 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12861 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12862 strnlen for PPC64.
12863
a65f4904
AZ
12864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12865 implementations.
12866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12867 (__libc_ifunc_impl_list): Likewise.
12868 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12869 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12870 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12871 strlen for PPC64.
12872
1fd005ad
AZ
12873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12874 implementations.
12875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12876 (__libc_ifunc_impl_list): Likewise.
12877 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12878 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12879 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12880 rawmemrchr for PPC64.
12881
cd05ba91
AZ
12882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12883 implementation.
12884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12885 (__libc_ifunc_impl_list): Likewise.
12886 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12887 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12888 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12889 memrchr for PPC64.
12890
870f8676
AZ
12891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12892 implementation.
12893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12894 (__libc_ifunc_impl_list): Likewise.
12895 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12896 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12897 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12898 memchr for PPC64.
12899
f00be62b
AZ
12900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12901 implementation.
12902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12903 (__libc_ifunc_impl_list): Likewise.
12904 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12905 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12906 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12907 mempcpy for PPC64.
12908
8a29a3d0
AZ
12909 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12910 avoid cretion of __bzero symbol.
12911 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12912 Likewise.
12913 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12914 Likewise.
12915 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12916 Likewise.
12917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12918 multiarch implementations.
12919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12920 (__libc_ifunc_impl_list): Likewise.
12921 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12922 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12923 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12924 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12925 bzero for PPC32.
12926 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12927 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12928 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12929 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12930 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12931 memset for PPC64.
12932 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12933
07253fcf
AZ
12934 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12936 implementations.
12937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12938 (__libc_ifunc_impl_list): Likewise.
12939 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12940 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12941 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12942 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12943 memcmp for PPC64.
12944
b5beafbc
AZ
12945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12946 multiarch for POWER/PPC64.
12947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12948 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12949 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12950 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12955 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12956 memcpy for PPC64.
12957
5e6a4d4b
AZ
12958 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12959 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12960 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12961 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12962 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12963 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12964 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12965 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12966 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12967 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12968 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12969 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12970 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12971 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12972 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12980
ddfab6dc
KK
129812013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12982
12983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12984
19b5525e
SP
129852013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12986
12987 * benchtests/Makefile (bench): Add exp2 and log2.
12988 (LDLIBS-bench-exp2): Add -lm.
12989 (LDLIBS-bench-log2): Likewise.
12990 * benchtests/exp2-inputs: New inputs file.
12991 * benchtests/log2-inputs: New inputs file.
12992 * benchtests/log-inputs: Add new inputs.
12993 * benchtests/tan-inputs: Likewise.
12994
196f7f5d
SP
129952013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12996
7a74607f
SP
12997 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12998 definition...
57f41c40
AS
12999 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13000 (csloww2): ... from here.
7a74607f 13001
196f7f5d
SP
13002 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13003 instead of structures.
13004 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13005 (POLYNOMIAL): Likewise.
13006 (TAYLOR_SLOW): Likewise.
13007 (__sin): Likewise.
13008 (__cos): Likewise.
13009 (slow1): Likewise.
13010 (slow2): Likewise.
13011 (sloww): Likewise.
13012 (sloww1); Likewise.
13013 (sloww2): Likewise.
13014 (bsloww1): Likewise.
13015 (bsloww2): Likewise.
13016 (cslow2): Likewise.
13017 (csloww): Likewise.
13018 (csloww1): Likewise.
13019 (csloww2): Likewise.
13020
0dfa665c
OB
130212013-12-10 Ondřej Bílka <neleai@seznam.cz>
13022
13023 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13024 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13025 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13026 * malloc/hooks.c (realloc_check): Likewise.
13027
5782a80f
OB
13028 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13029 * malloc/arena.c: Remove PER_THREAD conditional.
13030 [!PER_THREAD]: Remove code.
13031 (ptmalloc_unlock_all2): Likewise.
13032 (ptmalloc_init): Likewise.
13033 (_int_new_arena): Likewise.
13034 (arena_get2): Likewise.
13035 * malloc/hooks.c (__malloc_get_state): Likewise.
13036 (__malloc_set_state): Likewise.
13037 * malloc/malloc.c: Likewise.
13038 (struct malloc_state): Likewise.
13039 (struct malloc_par): Likewise.
13040 (__libc_realloc): Likewise.
13041 (__libc_mallopt): Likewise.
13042
aeb95445
AZ
130432013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13044
13045 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13046
e8349efd
OB
130472013-12-09 Ondřej Bílka <neleai@seznam.cz>
13048
13049 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13050 macro to a function. Check for zero perturb_byte.
13051 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13052
f3eeb3fc 13053 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13054 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13055 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13056 force_reg by atomic_forced_read.
13057 * malloc/arena.c (ptmalloc_init): Likewise.
13058 * malloc/hooks.c (top_check): Likewise.
13059
be2f9009
AZ
130602013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13061
13062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13063
e7b914bd
MT
130642013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13065
13066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13067
9f0be4f8
JM
130682013-12-08 Joseph Myers <joseph@codesourcery.com>
13069
13070 * math/auto-libm-test-in: Add tests of lgamma.
13071 * math/auto-libm-test-out: Regenerated.
13072 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13073 (M_LOG_2_SQRT_PIl): Likewise.
13074 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13075 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13076 mpfr_f_f1.
13077 (func_calc_desc): Add mpfr_f_f1 union field.
13078 (ARGS1): New macro.
13079 (ARGS2): Likewise.
13080 (ARGS3): Likewise.
13081 (ARGS4): Likewise.
13082 (RET1): Likewise.
13083 (RET2): Likewise.
13084 (CALC): Likewise.
13085 (FUNC): Likewise.
13086 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13087 (test_functions): Add lgamma.
13088 (calc_generic_results): Handle mpfr_f_f1.
13089 * sysdeps/i386/fpu/libm-test-ulps: Update.
13090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13091
24eeafdb
AZ
130922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13093
13094 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13095 __mpn_add_n for PowerPC64/POWER7.
13096 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13097 __mpn_sub_n for PowerPC64/POWER7.
13098
4a2c0fd4
AZ
13099 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13100 __mpn_addmul_1 for PowerPC64.
13101 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13102 __mpn_submul_1 for PowerPC64.
13103 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13104 for PowerPC64.
13105 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13106 for PowerPC64.
13107
4b5b548c
FS
131082013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13109
13110 [BZ #15089]
13111 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13112
0a3ac0aa
AZ
131132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13114
13115 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13116
ccdc8438
AZ
13117 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13118 add multiarch folders.
13119 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13120 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13121 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13122 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13123 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13124 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13125 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13126 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13127 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13128 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13129 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13136
2e973d99
AZ
13137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13138 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13140 New file.
13141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13142 New file.
13143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13144 multiarch __ieee754_hypot for PowerPC32.
13145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13146 New file.
13147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13148 New file.
13149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13150 multiarch __ieee754_hypotf for PowerPC32.
13151
2d9470b2
AZ
13152 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13153 long_double_symbol only if __logbl is defined.
13154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13155 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13157 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13159 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13161 path for implementation.
13162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13163 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13165 logb, and logbl multiarch implementations for PowerPC32.
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13167 file.
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13169 file.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13171 multiarch logb for PowerPC32.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13173 file.
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13175 file.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13177 multiarch logbf for PowerPC32.
13178 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13180 file.
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13182 multiarch logbl implementation for PowerPC32.
13183
5212ffce
AZ
13184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13185 and modff multiarch implementations.
13186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13187 New file.
13188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13189 New file.
13190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13191 multiarch modf for PowerPC32.
13192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13193 New file.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13195 New file.
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13197 multiarch modff for PowerPC32.
13198
79dccf31
AZ
13199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13200 and lrintf multiarch implementations.
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13202 New file.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13204 New file.
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13206 multiarch lrint for PowerPC32.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13208 file: multiarch lrintf for PowerPC32.
13209
deb66480
AZ
13210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13211 and lroundf multiarch implementations.
13212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13213 New file.
13214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13215 New file.
13216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13217 New file.
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13219 multiarch lround for PowerPC32.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13221 file: multiarch lroundf for PowerPC32.
13222
264b036b
AZ
13223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13224 copysign and copysignf multiarch implementations.
13225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13226 New file.
13227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13228 New file.
13229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13230 file: multiarch copysign for PowerPC32.
13231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13232 file: multiarch copysignf for PowerPC32.
13233
d47db6c9
AZ
13234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13235 and truncf multiarch implementations.
13236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13237 New file.
13238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13239 file.
13240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13241 multiarch trunc for PowerPC32.
13242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13243 New file.
13244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13245 New file.
13246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13247 multiarch truncf for PowerPC32.
13248
ddb60b5a
AZ
13249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13250 and roundf multiarch implementations.
13251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13252 New file.
13253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13254 file.
13255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13256 multiarch round for PowerPC32.
13257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13258 New file.
13259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13260 New file.
13261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13262 multiarch roundf for PowerPC32.
13263
bedcf49b
AZ
13264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13265 and floorf multiarch implementations.
13266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13267 New file.
13268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13269 file.
13270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13271 multiarch floor for PowerPC32.
13272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13273 New file.
13274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13275 New file.
13276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13277 multiarch floorf for PowerPC32.
13278
35ae5b40
AZ
13279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13280 and ceilf multiarch implementations.
13281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13282 New file.
13283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13284 file.
13285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13286 multiarch ceil for PowerPC32.
13287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13288 New file.
13289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13290 file.
13291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13292 multiarch ceilf for PowerPC32.
13293
ae1a4cd9
AZ
13294 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13295 is defined.
13296 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13297 FINITEF is defined.
13298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13299 and finitef multiarch implementations.
13300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13301 New file.
13302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13303 file.
13304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13305 multiarch finite for PowerPC32.
13306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13307 New file.
13308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13309 file: multiarch finitef for PowerPC32.
13310
64fffd65
AZ
13311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13312 and isinff multiarch implementations.
13313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13314 file.
13315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13316 file.
13317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13318 multiarch isinf for PowerPC32.
13319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13320 New file.
13321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13322 multiarch isinff for PowerPC32.
13323
8e4e7ba2
AZ
13324 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13325 alias when __isnan is defined.
13326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13327 and isnanf multiarch implementations.
13328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13329 file.
13330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13331 file.
13332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13333 file.
13334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13335 file.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13337 multiarch isnan for PowerPC32.
13338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13339 New file.
13340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13341 New file.
13342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13343 multiarch isnanf for PowerPC32.
13344
ddba588e
AZ
13345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13346 and sqrtf multiarch implementations.
13347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13348 file.
13349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13350 file.
13351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13352 multiarch sqrt for PowerPC32.
13353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13354 file.
13355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13356 file.
13357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13358 multiarch sqrtf for PowerPC32.
13359
0f96a2f0
AZ
13360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13361 and llroundf multiarch implementations.
13362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13363 New file.
13364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13365 New file.
13366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13367 New file.
13368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13369 file: multiarch llround for PowerPC32.
13370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13371 file: multiarch llroundf for PowerPC32.
13372
c9b5d79e
AZ
13373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13374 multiarch PowerPC32 fpu implementations.
13375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13376 New file.
13377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13378 New file.
13379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13380 multiarch llrint for PowerPC32.
13381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13382 New file.
13383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13384 New file.
13385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13386 file.
13387
9cbb3aab
AZ
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13389
ea5a72f8
AZ
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13391 file.
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13393 file.
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13395 file.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13397 multiarch wordcopy for PPC32.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13399 wordcopy objects.
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13401 (__libc_ifunc_impl_list): Likewise.
13402 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13403 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13404 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13405 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13407 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13408
93be09e7
AZ
13409 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13411 file.
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13413 file.
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13415 file.
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13417 multiarch wcscpy for PPC32.
13418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13419 multiarch objects.
13420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13421 (__libc_ifunc_impl_list): Likewise.
13422 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13423 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13424 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13425 sysdeps/powerpc/power6/wcscpy.c.
13426
bb04e529
AZ
13427 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13429 file.
13430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13431 file.
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13433 file.
13434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13435 multiarch wcsrchr for PPC32.
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13437 multiarch objects.
13438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13439 (__libc_ifunc_impl_list): Likewise.
13440 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13441 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13442 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13443 sysdeps/powerpc/power6/wcsrchr.c.
13444
05b5cd1c
AZ
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13446 file.
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13448 file.
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13451 multiarch wcschr for PPc32.
13452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13453 multiarch objects.
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13455 (__libc_ifunc_impl_list): Likewise.
13456 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13457 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13458 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13459 sysdeps/powerpc/power6/wcschr.c.
13460
ba964147
AZ
13461 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13463 file.
13464 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13465 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13466 file: multiarch strchr for PPC32.
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13468 multiarch objects.
13469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13470 (__libc_ifunc_impl_list): Likewise.
13471
31c81aaa
AZ
13472 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13473 name.
13474 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13475 file.
13476 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13477 file.
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13479 multiarch strchrnul for PPC32.
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13481 multiarch objects.
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13483 (__libc_ifunc_impl_list): Likewise.
13484
0d0607d9
AZ
13485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13486 file.
13487 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13488 multiarch strncasecmp for PPC32.
13489 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13490 file.
13491 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13492 multiarch strncasecmp_l for PPC32.
13493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13494 strncasecmp multiarch objects.
13495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13496 (__libc_ifunc_impl_list): Likewise.
13497
4dfd5c86
AZ
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13499 file.
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13501 multiarch strncasecmp for PPC32.
13502 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13503 New file.
13504 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13505 multiarch strcasecmp_l for PPC32.
13506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13507 multiarch objects.
13508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13509 (__libc_ifunc_impl_list): Likewise.
13510
a19e01a3
AZ
13511 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13512 file.
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13514 file.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13516 multiarch strncmp for PPC32.
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13518 multiarch objects.
13519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13520 (__libc_ifunc_impl_list): Likewise.
13521
ae9cf7a2
AZ
13522 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13523 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13524 file.
13525 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13526 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13528 multiarch objects.
13529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13530 (__libc_ifunc_impl_list): Likewise.
13531
3148bb7d
AZ
13532 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13533 file.
13534 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13535 file.
13536 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13538 multiarch objects.
13539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13540 (__libc_ifunc_impl_list): Likewise.
13541
7af8b946
AZ
13542 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13543 file.
13544 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13545 file.
13546 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13547 multiarch rawmemchr for PPC32.
13548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13549 multiarch objects.
13550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13551 (__libc_ifunc_impl_list): Likewise.
13552
03a6aa6a
AZ
13553 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13554 file.
13555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13556 file.
13557 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13558 file: memrchr multiarch for PPC32.
13559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13560 multiarch objects.
13561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13562 (__libc_ifunc_impl_list): Likewise.
13563
1c62e6d9
AZ
13564 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13565 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13566 file.
13567 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13569 multiarch memchr for PPC32.
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13571 multiarch objects.
13572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13573 (__libc_ifunc_impl_list): Likewise.
13574
87da8bdb
AZ
13575 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13576 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13577 file.
13578 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13579 file.
13580 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13581 file: multiarch mempcpy for PPC32.
13582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13583 multiarch objects.
13584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13585 (__libc_ifunc_impl_list): Likewise.
13586
20ed4714
AZ
13587 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13588 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13589 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13591 multiarch bzero for PPC32.
13592 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13593 file.
13594 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13595 file.
13596 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13597 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13598 file: multiarch memset for PPC32.
13599 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13601 memset multiarch objects.
13602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13603 (__libc_ifunc_impl_list): Likewise.
13604
ab3e3a46
AZ
13605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13606 file.
13607 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13609 memcmp for PPC32.
13610 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13612 multiarch objects.
13613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13614 (__libc_ifunc_impl_list): Likewise.
13615
930de6f0
AZ
13616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13617 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13619 file.
13620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13621 file.
13622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13623 file.
13624 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13625 multiarch memcpy for PPC32.
13626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13627 multiarch objects.
13628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13629 (__libc_ifunc_impl_list): Likewise.
13630
4c628e00
AZ
13631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13632 support multiarch for POWER/PPC32.
13633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13634 Likewise.
13635 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13637 Implies file to make multiarch folder appers before the fpu and
13638 default folder for power4 configuration.
13639
f4479220
SP
136402013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13641
13642 * scripts/bench.pl: Append volatile keyword to type.
13643
8517800f
KK
136442013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13645
13646 * sysdeps/sh/sotruss-lib.c: New file.
13647 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13648
180138f1
AZ
136492013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13650
13651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13652
bbf37bdc
JM
136532013-12-05 Joseph Myers <joseph@codesourcery.com>
13654
e47cc4e0
JM
13655 [BZ #6810]
13656 * math/w_tgamma.c: Include <errno.h>.
13657 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13658 * math/w_tgammaf.c: Include <errno.h>.
13659 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13660 * math/w_tgammal.c: Include <errno.h>.
13661 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13662 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13663 underflow. Add more tgamma tests.
13664 * math/auto-libm-test-out: Regenerated.
13665 * sysdeps/i386/fpu/libm-test-ulps: Update.
13666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13667
bbf37bdc
JM
13668 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13669 sin, sinh, tan, tanh, tgamma, y0 and y1.
13670 * math/auto-libm-test-out: Regenerated.
13671 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13672 (TEST_COND_x86): Likewise.
13673 (M_E2l): Remove macro.
13674 (M_E3l): Likewise.
13675 (M_2_SQRT_PIl): Likewise.
13676 (M_SQRT_PIl): Likewise.
13677 (M_1_DIV_El): Likewise.
13678 (log_test_data): Use AUTO_TESTS_f_f.
13679 (log10_test_data): Likewise.
13680 (log1p_test_data): Likewise.
13681 (log2_test_data): Likewise.
13682 (sin_test_data): Likewise.
13683 (sin_tonearest_test_data): Likewise.
13684 (sin_towardzero_test_data): Likewise.
13685 (sin_downward_test_data): Likewise.
13686 (sin_upward_test_data): Likewise.
13687 (sinh_test_data): Likewise.
13688 (sinh_tonearest_test_data): Likewise.
13689 (sinh_towardzero_test_data): Likewise.
13690 (sinh_downward_test_data): Likewise.
13691 (sinh_upward_test_data): Likewise.
13692 (tan_test_data): Likewise.
13693 (tan_tonearest_test_data): Likewise.
13694 (tan_towardzero_test_data): Likewise.
13695 (tan_downward_test_data): Likewise.
13696 (tan_upward_test_data): Likewise.
13697 (tanh_test_data): Likewise.
13698 (tgamma_test_data): Likewise.
13699 (y0_test_data): Likewise.
13700 (y1_test_data): Likewise.
13701 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13702 (special_real_inputs): Add pi/4.
13703 * sysdeps/i386/fpu/libm-test-ulps: Update.
13704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13705
eb5ad6b9
AZ
137062013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13707
13708 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13709 "longjmp_target" static probes.
13710 (__longjmp): Rename to __longjmp_symbol.
13711 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13712 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13713 on which longjmp to generate.
13714 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13715 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13716 probe.
13717 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13718 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13719 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13720 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13721 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13722 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13724 __longjmp_symbol based on which __longjmp to generate.
13725 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13726 probe.
13727 (setjmp): Rename to setjmp_symbol.
13728 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13729 (_setjmp): Rename to _setjmp_symbol.
13730 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13731 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13732 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13733 which setjmp to generate.
13734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13735 "longjmp_target" static probes.
13736
d136c6dc
SP
137372013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13738
9298ecba
SP
13739 * benchtests/README: Add note about output arguments.
13740 * benchtests/bench-sincos.c: Remove file.
13741 * benchtests/sincos-inputs: New file.
13742 * scripts/bench.pl: Identify output arguments and define
13743 static variables for them.
13744
232983e9
SP
13745 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13746
d136c6dc
SP
13747 [BZ #15941]
13748 * Makefile (INSTALL): Add install-plain.texi as the primary
13749 dependency.
13750 * manual/install-plain.texi: New file.
13751 * manual/install.texi: Include node directive only for
13752 non-plaintext output.
13753
699ff837
JM
137542013-12-04 Joseph Myers <joseph@codesourcery.com>
13755
ab07cea8
JM
13756 * stdlib/longlong.h: Update from GCC.
13757
699ff837
JM
13758 [BZ #6807]
13759 [BZ #15901]
13760 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13761 * math/w_j0f.c (y0f): Likewise.
13762 * math/w_j0l.c (__y0l): Likewise.
13763 * math/w_j1.c (y1): Likewise.
13764 * math/w_j1f.c (y1f): Likewise.
13765 * math/w_j1l.c (__y1l): Likewise
13766 * math/w_jn.c (yn): Likewise.
13767 * math/w_jnf.c (ynf): Likewise.
13768 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13769 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13770 value for Bessel function domain errors outside _SVID_ mode.
13771 Adjust sign of return value for yn (negative integer, 0).
13772 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13773 by zero in return for negative x and set sign appropriately for
13774 negative n.
13775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13777 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13778 expectations in error cases.
13779 (y1_test_data): Likewise.
13780 (yn_test_data): Likewise.
13781 * sysdeps/i386/fpu/libm-test-ulps: Update.
13782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13783
5b118558
UW
137842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13785
13786 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13787 "64" to "64-v1". Add "64-v2".
13788 (abi-64-options): Rename to ...
13789 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13790 (abi-64-condition): Rename to ...
13791 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13792 (abi-64-ld-soname): Rename to ...
13793 (abi-64-v1-ld-soname): ... this.
13794 (abi-64-v2-options): Define.
13795 (abi-64-v2-condition): Likewise.
13796 (abi-64-v2-ld-soname): Likewise.
13797 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13798 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13802
61cd8fe4
UW
138032013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13804 Alan Modra <amodra@gmail.com>
13805
13806 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13807 New versions for use with the ELFv2 ABI.
13808 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13809 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13810 declaration.
13811 (struct La_ppc64v2_retval): Likewise.
13812 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13813 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13814 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13815 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13816 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13817 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13818 Do not save or restore CR.
13819 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13820 (_dl_profile_resolve): Do no save or restore CR. Support extended
13821 return values for ELFv2 ABI. Fix location of FPR return registers.
13822 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13823 updated values for _CALL_ELF == 2.
13824 (La_regs, La_retval, int_retval): Likewise.
13825
8b8a692c
UW
138262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13827
13828 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13829 (FRAME_MIN_SIZE_PARM): Likewise.
13830 (FRAME_BACKCHAIN): Likewise.
13831 (FRAME_CR_SAVE): Likewise.
13832 (FRAME_LR_SAVE): Likewise.
13833 (FRAME_TOC_SAVE): Likewise.
13834 (FRAME_PARM_SAVE): Likewise.
13835 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13836 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13837 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13838 (call_mcount_parm_offset): New macro.
13839 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13840 (PROF): Use symbolic stack frame offsets.
13841 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13842 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13843 Redefine in terms of FRAME_MIN_SIZE.
13844 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13845 (_dl_profile_resolve): Likewise. Update comment.
13846 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13847 symbols stack frame offsets.
13848 (__sigsetjmp): Likewise.
13849 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13850 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13851 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13852 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13853
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13855 (FRAME_BACKCHAIN): Remove.
13856 (FRAME_CR_SAVE): Likewise.
13857 (FRAME_LR_SAVE): Likewise.
13858 (FRAME_COMPILER_DW): Likewise.
13859 (FRAME_LINKER_DW): Likewise.
13860 (FRAME_TOC_SAVE): Likewise.
13861 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13862 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13863 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13864 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13866 (CHECK_SP): Use symbolic stack frame offsets.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13868 zone" instead of caller's parameter save area for temp storage.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13870 Likewise. Also, use symbolic stack frame offsets.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13872 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13873 our own stack frame instead of the caller's.
13874 (__socket): Use symbolic stack frame offsets.
13875
122b66de
UW
138762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13877 Alan Modra <amodra@gmail.com>
13878
13879 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13880 Define.
57f41c40
AS
13881 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13882 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13883 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13884 New function.
13885 (elf_machine_fixup_plt): Call it.
13886 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13887 reloc arguments.
13888 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13890 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13891 r2 before calling target.
13892
696caf1d
UW
138932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13894 Alan Modra <amodra@gmail.com>
13895
13896 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13897 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13898 versions of macros to support ELFv2 ABI.
13899 (LOCALENTRY): New macro.
13900 (ENTRY, EALIGN): Use it.
13901 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13902 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13903 fall through into ENTRY entry point.
13904 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13905 Only define if _CALL_ELF != 2.
13906
13907 (elf_machine_matches_host): Verify ABI version matches.
13908 (RTLD_START): Use LOCALENTRY.
13909 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13910 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13911 (PLT_ENTRY_WORDS): New macro.
13912 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13913 (elf_machine_runtime_setup): Support ELFv2 ABI.
13914 (elf_machine_fixup_plt): Likewise.
13915 (elf_machine_plt_conflict): Likewise.
13916 (resolve_ifunc): Likewise.
13917 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13919 Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13921 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13923 (makecontext): Support ELFv2 ABI.
13924 * elf/elf.h (EF_PPC64_ABI): Define.
13925
d31beafa
UW
139262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13927
57f41c40
AS
13928 * sysdeps/powerpc/powerpc64/sysdep.h
13929 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13930 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13931 (ENTRY) [ASSEMBLER]: ... but instead here ...
13932 (EALIGN) [ASSEMBLER]: ... and here.
13933 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13934 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13935 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13936 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13937 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13938 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13939 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13940 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13942 Use PPC64_LOAD_FUNCPTR.
13943
b525166b
UW
13944 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13945
7ec07d9a
AM
139462013-12-04 Alan Modra <amodra@gmail.com>
13947
13948 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13949 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13950 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13951 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13952
13953 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13954 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13955 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13956 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13957 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13958 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13959
5162e7dd
UW
139602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13961
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13963 (__makecontext): Fix incorrect CFI when backtracing out of
13964 context created via makecontext.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13966 (__setcontext): Fix incorrect CFI during switch to new context.
13967 (__novec_setcontext): Likewise.
13968
19e3372b
OB
139692013-12-04 Ondřej Bílka <neleai@seznam.cz>
13970
13971 [BZ #4772]
13972 * time/strptime_l.c (__strptime_internal): Allow modifiers
13973 in strptime.
13974 * time/tst-strptime.c (day_tests): Add testcase.
13975
ecaf142d
SP
139762013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13977
13978 * scripts/bench.pl: Skip over blank lines.
13979
fbf964ae
PE
139802013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13981
13982 [BZ #926]
13983 * manual/time.texi (Calendar Time): Clarify what timezone functions
13984 use.
13985
fa60a674
AZ
139862013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13987
13988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13989
d674f0ef
OB
139902013-12-04 Ondřej Bílka <neleai@seznam.cz>
13991
13992 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13993 implementation.
13994 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13995 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13996 * debug/memset_chk.c (__memset_chk): Likewise.
13997 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13998 * debug/strncpy_chk.c: Likewise.
13999
17dea188
JM
140002013-12-03 Joseph Myers <joseph@codesourcery.com>
14001
749008ff
JM
14002 [BZ #15268]
14003 [BZ #15425]
14004 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14005 (__ieee754_exp): For possibly underflowing results, check size of
14006 result and force underflow exception if required.
14007 * math/auto-libm-test-in: Add more tests of exp.
14008 * math/auto-libm-test-out: Regenerated.
14009 * sysdeps/i386/fpu/libm-test-ulps: Update.
14010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14011
17dea188
JM
14012 [BZ #16283]
14013 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14014 * math/w_exp2f.c (__exp2f): Likewise.
14015 * math/w_exp2l.c (__exp2l): Likewise.
14016 * math/auto-libm-test-in: Do not allow missing errno on exp2
14017 underflow.
14018 * math/auto-libm-test-out: Regenerated.
14019
b20de2c3
OB
140202013-12-03 Ondřej Bílka <neleai@seznam.cz>
14021
14022 [BZ #16274]
14023 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14024 handle filename validation.
14025 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14026 (do_open): Delete.
14027
d8e2dbe3
JM
140282013-12-03 Joseph Myers <joseph@codesourcery.com>
14029
34e16df5
JM
14030 [BZ #6786]
14031 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14032 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14033 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14034 <float.h>.
14035 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14036 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14037 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14039 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14041 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14042 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14043 Add more erfc tests.
14044 * math/auto-libm-test-out: Regenerated.
14045 * sysdeps/i386/fpu/libm-test-ulps: Update.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047
d8e2dbe3
JM
14048 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14049 exp2, expm1, j0 and j1.
14050 * math/auto-libm-test-out: Regenerated.
14051 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14052 (erfc_test_data): Likewise.
14053 (exp_test_data): Likewise.
14054 (exp_tonearest_test_data): Likewise.
14055 (exp_towardzero_test_data): Likewise.
14056 (exp_downward_test_data): Likewise.
14057 (exp_upward_test_data): Likewise.
14058 (exp10_test_data): Likewise.
14059 (exp2_test_data): Likewise.
14060 (expm1_test_data): Likewise.
14061 (j0_test_data): Likewise.
14062 (j1_test_data): Likewise.
14063 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14064 (input_flag_type): Add flag_xfail_rounding.
14065 (input_flags): Add xfail-rounding.
14066 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14067 (output_for_one_input_case): Handle flag_xfail_rounding.
14068 * sysdeps/i386/fpu/libm-test-ulps: Update.
14069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14070
18d14251
AJ
140712013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14072
3d2e6075 14073 [BZ #16289]
18d14251
AJ
14074 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14075 division by 0.
14076
520d437b
SP
140772013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14078
14079 [BZ #16195]
14080 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14081 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14082 (STAP_PROBE0): New macro.
14083 (STAP_PROBE1): Likewise.
14084 (STAP_PROBE2): Likewise.
14085 (STAP_PROBE3): Likewise.
14086 (STAP_PROBE4): Likewise.
14087
416e0145
OB
140882013-12-02 Ondřej Bílka <neleai@seznam.cz>
14089
14090 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14091
9d17796a
SE
140922013-12-02 Steve Ellcey <sellcey@mips.com>
14093
14094 * benchtests/Makefile (bench): Add sqrt.
14095 (LDLIBS-bench-sqrt): New.
14096 * benchtests/sqrt-input: New.
14097
f524d6a8
PS
140982013-12-02 Pavel Simerda <psimerda@redhat.com>
14099
639a0ef8
PS
14100 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14101 (GAIH_EAI): Likewise.
14102 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14103 (gaih_inet): Likewise.
14104 (getaddrinfo): Don't use GAIH_EAI.
14105
f524d6a8
PS
14106 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14107 (struct gaih): Remove definition.
14108
df3aedaf
SP
141092013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14110
14111 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14112 Use HERRNOP directly.
14113
1ab19dec
AZ
141142013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14115
b42ad38d 14116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14117
176b0c79
JM
141182013-11-30 Joseph Myers <joseph@codesourcery.com>
14119
14120 * math/gen-auto-libm-tests.c (test_functions): Add more
14121 single-argument functions.
14122 (special_fill_pi_2): New function.
14123 (special_fill_minus_pi_2): Likewise.
14124 (special_fill_pi_6): Likewise.
14125 (special_fill_minus_pi_6): Likewise.
14126 (special_fill_pi_3): Likewise.
14127 (special_fill_2pi_3): Likewise.
14128 (special_fill_e): Likewise.
14129 (special_fill_1_e): Likewise.
14130 (special_fill_e_minus_1): Likewise.
14131 (special_real_inputs): Add more special inputs.
14132 (output_for_one_input_case): Do not require ERANGE on underflow to
14133 zero if round-to-nearest result does not underflow to zero, unless
14134 exact results required.
14135 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14136 atan, atanh, cbrt, cos and cosh.
14137 * math/auto-libm-test-out: Regenerated.
14138 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14139 (acos_tonearest_test_data): Likewise.
14140 (acos_towardzero_test_data): Likewise.
14141 (acos_downward_test_data): Likewise.
14142 (acos_upward_test_data): Likewise.
14143 (acosh_test_data): Likewise.
14144 (asin_test_data): Likewise.
14145 (asin_tonearest_test_data): Likewise.
14146 (asin_towardzero_test_data): Likewise.
14147 (asin_upward_test_data): Likewise.
14148 (asinh_test_data): Likewise.
14149 (atan_test_data): Likewise.
14150 (atanh_test_data): Likewise.
14151 (cbrt_test_data): Likewise.
14152 (cos_test_data): Likewise.
14153 (cos_tonearest_test_data): Likewise.
14154 (cos_towardzero_test_data): Likewise.
14155 (cos_downward_test_data): Likewise.
14156 (cos_upward_test_data): Likewise.
14157 (cosh_test_data): Likewise.
14158 (cosh_tonearest_test_data): Likewise.
14159 (cosh_towardzero_test_data): Likewise.
14160 (cosh_downward_test_data): Likewise.
14161 (cosh_upward_test_data): Likewise.
14162 * sysdeps/i386/fpu/libm-test-ulps: Update.
14163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14164
ffb536d0
JM
141652013-11-29 Joseph Myers <joseph@codesourcery.com>
14166
2a77a467
JM
14167 [BZ #6787]
14168 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14169 * math/w_exp10f.c (__exp10f): Likewise.
14170 * math/w_exp10l.c (__exp10l): Likewise.
14171 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14172 errno settings in existing tests.
14173
ea3bc4e8
JM
14174 [BZ #14032]
14175 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14176 precision control set to double precision.
14177 * sysdeps/i386/fpu/w_sqrt.c: New file.
14178 * math/auto-libm-test-in: Add more tests.
14179 * math/auto-libm-test-out: Update.
14180
0712c9d8
JM
14181 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14182 (sqrt_test_tonearest): New function.
14183 (sqrt_towardzero_test_data): New variable.
14184 (sqrt_test_towardzero): New function.
14185 (sqrt_downward_test_data): New variable.
14186 (sqrt_test_downward): New function.
14187 (sqrt_upward_test_data): New variable.
14188 (sqrt_test_upward): New function.
14189 (main): Call the new functions.
14190
ffb536d0
JM
14191 * math/gen-auto-libm-tests.c: New file.
14192 * math/auto-libm-test-in: Likewise.
14193 * math/auto-libm-test-out: New generated file.
14194 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14195 variables.
14196 (%beautify): Add generated representations of zero.
14197 (top level): Set $auto_input and call parse_auto_input.
14198 (beautify): Remove trailing "f" from hex float constants.
14199 (parse_args): Handle XFAIL_TEST.
14200 (convert_condition): New function.
14201 (or_value): Likewise.
14202 (or_cond_value): Likewise.
14203 (generate_testfile): Handle AUTO_TESTS_* lines.
14204 (parse_auto_input): New function.
14205 * math/libm-test.inc (XFAIL_TEST): New macro.
14206 (ERRNO_UNCHANGED): Update value.
14207 (ERRNO_EDOM): Likewise.
14208 (ERRNO_ERANGE): Likewise.
14209 (IGNORE_RESULT): Likewise.
14210 (TEST_COND_flt_32): New macro.
14211 (TEST_COND_dbl_64): Likewise.
14212 (TEST_COND_ldbl_96_intel): Likewise.
14213 (TEST_COND_ldbl_96_m68k): Likewise.
14214 (TEST_COND_ldbl_128): Likewise.
14215 (TEST_COND_ldbl_128ibm): Likewise.
14216 (TEST_COND_long32): Likewise.
14217 (TEST_COND_long64): Likewise.
14218 (TEST_COND_before_rounding): Likewise.
14219 (TEST_COND_after_rounding): Likewise.
14220 (enable_test): Handle XFAIL_TEST flag.
14221 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14222 with finite results.
14223 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14224 auto-libm-test-out.
14225
acd98a8e
AK
142262013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14227 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14228
14229 [BZ #16214]
14230 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14231 __tls_get_addr_internal instead of __tls_get_offset in order to
14232 avoid GOT pointer dependency. Make rtld export
14233 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14234 __tls_get_addr since we are a __tls_get_offset platform.
14235 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14236 GOT pointer being set up before.
14237 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14238
3c1c46a6
JM
142392013-11-28 Joseph Myers <joseph@codesourcery.com>
14240
7475aef5
JM
14241 * manual/math.texi (Errors in Math Functions): Document accuracy
14242 goals.
14243
8bca7cd8
JM
14244 [BZ #15004]
14245 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14246 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14249 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14251 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14261
91a1f3fe
JM
14262 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14263 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14264 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14265 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14266 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14267 Likewise.
14268 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14269 Likewise.
14270 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14271 Likewise.
14272 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14273 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14274 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14275 atomic-feupdateenv and flt-rounds.
14276 * sysdeps/powerpc/nofpu/Versions (libc): Add
14277 __atomic_feholdexcept, __atomic_feclearexcept,
14278 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14279 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14280 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14281 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14282 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14283 here.
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14285 Update.
14286
c5df7609
JM
14287 * manual/arith.texi (FP Exceptions): Document that exceptions may
14288 not be raised when matherr is used.
14289 (Math Error Reporting): Document overflow in directed rounding
14290 modes. Document that errno may not be set when finite values are
14291 returned on overflow. Document intent to set errno on underflow
14292 only for underflow to zero.
14293
3c1c46a6
JM
14294 [BZ #16271]
14295 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14296 round-to-nearest then adjust result for other rounding modes.
14297 * include/fenv.h (fegetround): Use libm_hidden_proto.
14298 * math/fegetround.c (fegetround): Use libm_hidden_def.
14299 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14300 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14301 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14302 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14303 Likewise.
14304 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14305 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14306 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14307 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14308
5a4c6d53
SP
143092013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14310
14311 [BZ #16077]
14312 * nss/Versions (libnss_files): Add
14313 _nss_files_gethostbyname3_r.
14314 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14315 New function.
14316 (HOST_DB_LOOKUP): Remove macro.
14317 (_nss_files_gethostbyname_r): Implement function without the
14318 HOST_DB_LOOKUP macro.
14319 (_nss_files_gethostbyname2_r): Likewise.
14320
897b98ba
OB
143212013-11-28 Ondřej Bílka <neleai@seznam.cz>
14322
14323 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14324
6f476861
UB
143252013-11-26 Uros Bizjak <ubizjak@gmail.com>
14326
14327 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14328 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14329 warning.
14330
bd12ab55
AZ
143312013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14332
14333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14334 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14336 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14337 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14338 __fe_nomask_env_priv and attribute_hidden.
14339 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14340 (libc_feupdateenv_test_ppc): Likewise.
14341 (libc_feresetround_ppc): Likewise.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14343 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14344 compat_symbol macro.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14346 (__fe_nomask_env): Likewise.
14347 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14348
52bb6543
OB
143492013-11-26 Ondřej Bílka <neleai@seznam.cz>
14350
14351 * string/Makefile: Remove ifunc tests.
14352 * string/test-string.h: Define TEST_IFUNC.
14353 * string/test-bcopy-ifunc.c: Remove.
14354 * string/test-bzero-ifunc.c: Likewise.
14355 * string/test-memccpy-ifunc.c: Likewise.
14356 * string/test-memchr-ifunc.c: Likewise.
14357 * string/test-memcmp-ifunc.c: Likewise.
14358 * string/test-memcpy-ifunc.c: Likewise.
14359 * string/test-memmem-ifunc.c: Likewise.
14360 * string/test-memmove-ifunc.c: Likewise.
14361 * string/test-mempcpy-ifunc.c: Likewise.
14362 * string/test-memrchr-ifunc.c: Likewise.
14363 * string/test-memset-ifunc.c: Likewise.
14364 * string/test-rawmemchr-ifunc.c: Likewise.
14365 * string/test-stpcpy-ifunc.c: Likewise.
14366 * string/test-stpncpy-ifunc.c: Likewise.
14367 * string/test-strcasecmp-ifunc.c: Likewise.
14368 * string/test-strcasestr-ifunc.c: Likewise.
14369 * string/test-strcat-ifunc.c: Likewise.
14370 * string/test-strchr-ifunc.c: Likewise.
14371 * string/test-strchrnul-ifunc.c: Likewise.
14372 * string/test-strcmp-ifunc.c: Likewise.
14373 * string/test-strcpy-ifunc.c: Likewise.
14374 * string/test-strcspn-ifunc.c: Likewise.
14375 * string/test-strlen-ifunc.c: Likewise.
14376 * string/test-strncasecmp-ifunc.c: Likewise.
14377 * string/test-strncat-ifunc.c: Likewise.
14378 * string/test-strncmp-ifunc.c: Likewise.
14379 * string/test-strncpy-ifunc.c: Likewise.
14380 * string/test-strnlen-ifunc.c: Likewise.
14381 * string/test-strpbrk-ifunc.c: Likewise.
14382 * string/test-strrchr-ifunc.c: Likewise.
14383 * string/test-strspn-ifunc.c: Likewise.
14384 * string/test-strstr-ifunc.c: Likewise.
14385
ab260039 143862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14387
14388 * benchtests/Makefile: Remove ifunc tests.
14389 * benchtests/bench-string.h: Define TEST_IFUNC.
14390 * benchtests/bench-bcopy-ifunc.c: Remove.
14391 * benchtests/bench-bzero-ifunc.c: Likewise.
14392 * benchtests/bench-memccpy-ifunc.c: Likewise.
14393 * benchtests/bench-memchr-ifunc.c: Likewise.
14394 * benchtests/bench-memcmp-ifunc.c: Likewise.
14395 * benchtests/bench-memcpy-ifunc.c: Likewise.
14396 * benchtests/bench-memmem-ifunc.c: Likewise.
14397 * benchtests/bench-memmove-ifunc.c: Likewise.
14398 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14399 * benchtests/bench-memrchr-ifunc.c: Likewise.
14400 * benchtests/bench-memset-ifunc.c: Likewise.
14401 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14402 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14403 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14404 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14405 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14406 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14407 * benchtests/bench-strcat-ifunc.c: Likewise.
14408 * benchtests/bench-strchr-ifunc.c: Likewise.
14409 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14410 * benchtests/bench-strcmp-ifunc.c: Likewise.
14411 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14412 * benchtests/bench-strcpy-ifunc.c: Likewise.
14413 * benchtests/bench-strcspn-ifunc.c: Likewise.
14414 * benchtests/bench-strlen-ifunc.c: Likewise.
14415 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14416 * benchtests/bench-strncat-ifunc.c: Likewise.
14417 * benchtests/bench-strncmp-ifunc.c: Likewise.
14418 * benchtests/bench-strncpy-ifunc.c: Likewise.
14419 * benchtests/bench-strnlen-ifunc.c: Likewise.
14420 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14421 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14422 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14423 * benchtests/bench-strspn-ifunc.c: Likewise.
14424 * benchtests/bench-strstr-ifunc.c: Likewise.
14425
144262013-11-26 Ondřej Bílka <neleai@seznam.cz>
14427
ab260039
OB
14428 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14429
d1d9eaf4 144302013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14431
d1d9eaf4
OB
14432 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14433 * rt/aio.h: Likewise.
14434 * sysdeps/gnu/bits/utmp.h: Likewise.
14435 * sysdeps/gnu/bits/utmpx.h: Likewise.
14436 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14437 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14438 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14439 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14440 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14441 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14442 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14443 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14444 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14445 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14446 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14447 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14448 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14450 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14451 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14452 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14453 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14454 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14455 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14456 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14457 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14458 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14459 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14460 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14464 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14465 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14467 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14468 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14469 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14471 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14472 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14473 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14474 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14475 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14476 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14477 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14478
a7624ed9
CD
144792013-11-25 Carlos O'Donell <carlos@redhat.com>
14480
14481 [BZ #16245]
14482 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14483 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14484
63cfe52b
JM
144852013-11-25 Joseph Myers <joseph@codesourcery.com>
14486
14487 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14488 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14489 Likewise.
14490
41e8926a
AZ
144912013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14492
14493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14494 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14495 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14496 (__fesetround): Remove define.
14497 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14498 rounding and exceptions handling.
14499 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14500 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14501 (__fe_nomask_env): Likewise.
14502 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14503 __fegetround instead of fegetround.
14504 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14505 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14506
6851bd4d
RM
145072013-11-21 Roland McGrath <roland@hack.frob.com>
14508
070906ff
RM
14509 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14510 it's there.
14511
6851bd4d
RM
14512 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14513
84ae135d
MI
145142013-11-21 Meador Inge <meadori@codesourcery.com>
14515
14516 [BZ #11157]
14517 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14518 (encrypt_r): Likewise.
14519 * malloc/obstack.h (obstack_free): Likewise.
14520 * posix/unistd.h (encrypt): Likewise.
14521
daf75146
GM
145222013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14523
14524 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14525 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14526 DL_CALL_DT_FINI() that call the functions directly.
14527 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14528 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14529 * elf/dl-fini.c: Likewise.
14530
10ad46bc
OB
145312013-11-20 Ondřej Bílka <neleai@seznam.cz>
14532
14533 * malloc/hooks.c (memalign_check): Add alignment rounding.
14534 * malloc/malloc.c (_mid_memalign): New function.
14535 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14536 Implement by calling _mid_memalign.
14537 * manual/probes.texi (Memory Allocation Probes): Remove
14538 memory_valloc_retry and memory_pvalloc_retry.
14539
f3fd2628
SP
145402013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14541
4712799f
SP
14542 * locale/programs/locarchive.c (open_archive): Add const
14543 qualifier to ARCHIVEFNAME and copy default fname to
14544 DEFAULT_FNAME.
14545
0417b20f
SP
14546 [BZ #15601]
14547 * libio/tst-widetext.input: Rename Oriya to Odia.
14548 * locale/iso-639.def: Likewise.
14549
f3fd2628
SP
14550 * manual/probes.texi (Mathematical Function Probes): Add
14551 documentation for sin, cos, asin and acos probes.
14552 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14553 (__sin32): Add slowasin probe.
14554 (__cos32): Add slowacos probe.
14555 (__mpsin): Add slowsin probe.
14556 (__mpcos): Add slowcos probe.
14557
73c1ce4f
JM
145582013-11-19 Joseph Myers <joseph@codesourcery.com>
14559
14560 [BZ #15483]
14561 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14562 thread-local __sim_exceptions_thread and global
14563 __sim_exceptions_global.
14564 (__sim_disabled_exceptions): Change to thread-local
14565 __sim_disabled_exceptions_thread and global
14566 __sim_disabled_exceptions_global.
14567 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14568 and global __sim_round_mode_global.
14569 (__simulate_exceptions): Use thread-local floating-point state and
14570 set global state from it as needed.
14571 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14572 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14573 __sim_round_mode_thread.
14574 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14575 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14576 and global __sim_exceptions_global.
14577 (__sim_disabled_exceptions): Change to thread-local
14578 __sim_disabled_exceptions_thread and global
14579 __sim_disabled_exceptions_global.
14580 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14581 and global __sim_round_mode_global.
14582 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14583 (SIM_SET_GLOBAL): Likewise.
14584 * sysdeps/powerpc/soft-fp/sfp-machine.h
14585 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14586 __sim_round_mode_thread.
14587 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14588 __sim_disabled_exceptions_thread.
14589 (__sim_exceptions): Change to __sim_exceptions_thread.
14590 (__sim_disabled_exceptions): Change to
14591 __sim_disabled_exceptions_thread.
14592 (__sim_round_mode): Change to __sim_round_mode_thread.
14593 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14594 thread-local floating-point state and set global state from it as
14595 needed.
14596 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14597 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14598 (__sim_disabled_exceptions): Remove extern declaration.
14599 (feenableexcept): Use thread-local floating-point state and set
14600 global state from it as needed.
14601 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14602 extern declaration.
14603 (__sim_disabled_exceptions): Likewise.
14604 (__sim_round_mode): Likewise.
14605 (__fegetenv): Use thread-local floating-point state.
14606 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14607 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14608 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14609 floating-point state and set global state from it as needed.
14610 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14611 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14612 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14613 Likewise.
14614 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14615 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14616 Likewise.
14617 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14618 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14619 Use __sim_round_mode_thread.
14620 * math/test-fenv-tls.c: New file.
14621 * math/Makefile (tests): Add test-fenv-tls.
14622 ($(objpfx)test-fenv-tls): Depend on
14623 $(common-objpfx)nptl/libpthread.so.
14624
b5449b12
AS
146252013-11-19 Andreas Schwab <schwab@suse.de>
14626
14627 * locale/programs/locale.c (show_info): Decode wordarray elements.
14628 * locale/categories.def (LC_MONETARY): Add element for
14629 _NL_MONETARY_CRNCYSTR.
14630 * locale/C-monetary.c (conversion_rate): New variable.
14631 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14632 element.
14633
e186536b
CM
146342013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14635
14636 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14637 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14638
5c349950
PP
146392013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14640
14641 * elf/Makefile (tst-auxv): New test.
14642 * elf/tst-auxv.c: New
14643 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14644
699df45b
JM
146452013-11-18 Joseph Myers <joseph@codesourcery.com>
14646
14647 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14648 (hidden_proto): Caller changed.
14649 (hidden_tls_proto): New macro.
14650 (libc_hidden_tls_proto): Likewise.
14651 (rtld_hidden_tls_proto): Likewise.
14652 (libm_hidden_tls_proto): Likewise.
14653 (libresolv_hidden_tls_proto): Likewise.
14654 (librt_hidden_tls_proto): Likewise.
14655 (libdl_hidden_tls_proto): Likewise.
14656 (libnss_files_hidden_tls_proto): Likewise.
14657 (libnsl_hidden_tls_proto): Likewise.
14658 (libnss_nisplus_hidden_tls_proto): Likewise.
14659 (libutil_hidden_tls_proto): Likewise.
14660
b7589107
OB
146612013-11-18 Ondřej Bílka <neleai@seznam.cz>
14662
14663 [BZ #10253]
14664 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14665 (decompose_rpath): Defer expansion to fillin_rpath.
14666 (_dl_init_paths): Pass linkmap to fillin_rpath.
14667
250c23bd
RS
146682013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14669
14670 * benchtests/Makefile: Add strsep.
14671 * benchtests/bench-strsep.c: New file: strsep benchtest.
14672 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14673
a7931fcf
AS
146742013-11-18 Andreas Schwab <schwab@suse.de>
14675
14676 * locale/programs/locale.c (show_info) [case byte]: Check for
14677 '\377' instead of '\177'.
14678 * locale/C-monetary.c (not_available): Always use "\377".
14679 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14680 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14681 detect unavailable sign_posn locale elements.
14682 * locale/localeconv.c (__localeconv): For grouping and
14683 mon_grouping handle "\177" and "\377" like no grouping.
14684 (INT_ELEM): New macro. Use it to set all numeric members.
14685 * locale/programs/ld-monetary.c (monetary_read)
14686 <tok_mon_grouping>: Normalize single -1 to the empty string.
14687 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14688 Likewise.
14689
728dab0e
OB
146902013-11-07 Ondřej Bílka <neleai@seznam.cz>
14691
14692 [BZ #16055]
14693 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14694 when we match (nil).
14695 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14696
66294491
JM
146972013-11-16 Joseph Myers <joseph@codesourcery.com>
14698
ce665817
JM
14699 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14700 (NO_TEST_INLINE): Update value.
14701 (ERRNO_UNCHANGED): Likewise.
14702 (ERRNO_EDOM): Likewise.
14703 (ERRNO_ERANGE): Likewise.
14704 (IGNORE_RESULT): Likewise.
14705 (check_float_internal): Check signs of NaN results if
14706 TEST_NAN_SIGN used.
14707 (check_complex): Pass TEST_NAN_SIGN flag through to second
14708 check_float_internal call.
14709 (copysign_test_data): Add tests with quiet NaNs as second
14710 argument. Use TEST_NAN_SIGN.
14711 (fabs_test_data): Add test of negative quiet NaN argument. Use
14712 TEST_NAN_SIGN.
14713 (signbit_test_data): Add tests of quiet NaN argument.
14714 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14715
ee1466a9
JM
14716 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14717 $ignore_result.
14718 (parse_args): Handle function results specified as IGNORE.
14719 * math/libm-test.inc (IGNORE_RESULT): New macro.
14720 (check_float_internal): Do not check numerical result if flag
14721 IGNORE_RESULT set.
14722 (check_complex): Pass through IGNORE_RESULT to second
14723 check_float_internal call.
14724 (check_int): Do not check numerical result if flag IGNORE_RESULT
14725 set.
14726 (check_long): Likewise.
14727 (check_bool): Likewise.
14728 (check_longlong): Likewise.
14729 (lrint_test_data): Add tests of infinite and NaN arguments.
14730 (lrint_tonearest_test_data): Likewise.
14731 (lrint_towardzero_test_data): Likewise.
14732 (lrint_downward_test_data): Likewise.
14733 (lrint_upward_test_data): Likewise.
14734 (llrint_test_data): Likewise.
14735 (llrint_tonearest_test_data): Likewise.
14736 (llrint_towardzero_test_data): Likewise.
14737 (llrint_downward_test_data): Likewise.
14738 (llrint_upward_test_data): Likewise.
14739 (lround_test_data): Likewise.
14740 (llround_test_data): Likewise.
14741
14407b7e
JM
14742 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14743 (ERRNO_UNCHANGED): Update value.
14744 (ERRNO_EDOM): Likewise.
14745 (ERRNO_ERANGE): Likewise.
14746 (NO_TEST_INLINE_FLOAT): New macro.
14747 (NO_TEST_INLINE_DOUBLE): Likewise.
14748 (enable_test): New function.
14749 (RUN_TEST_f_f): Check enable_test before running test.
14750 (RUN_TEST_2_f): Likewise.
14751 (RUN_TEST_fff_f): Likewise.
14752 (RUN_TEST_c_f): Likewise.
14753 (RUN_TEST_f_f1): Likewise.
14754 (RUN_TEST_fF_f1): Likewise.
14755 (RUN_TEST_fI_f1): Likewise.
14756 (RUN_TEST_ffI_f1): Likewise.
14757 (RUN_TEST_c_c): Likewise.
14758 (RUN_TEST_cc_c): Likewise.
14759 (RUN_TEST_f_i): Likewise.
14760 (RUN_TEST_f_i_tg): Likewise.
14761 (RUN_TEST_ff_i_tg): Likewise.
14762 (RUN_TEST_f_b): Likewise.
14763 (RUN_TEST_f_b_tg): Likewise.
14764 (RUN_TEST_f_l): Likewise.
14765 (RUN_TEST_f_L): Likewise.
14766 (RUN_TEST_fFF_11): Likewise.
14767 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14768 conditionals.
14769 (cosh_test_data): Likewise.
14770 (exp_test_data): Likewise.
14771 (expm1_test_data): Likewise.
14772 (hypot_test_data): Likewise.
14773 (pow_test_data): Likewise.
14774 (sinh_test_data): Likewise.
14775 (tanh_test_data): Likewise.
14776 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14777 flags argument.
14778
ca07f197
JM
14779 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14780 tests with quiet NaN input and output.
14781 (acosh_test_data): Likewise.
14782 (asin_test_data): Likewise.
14783 (asinh_test_data): Likewise.
14784 (atan_test_data): Likewise.
14785 (atanh_test_data): Likewise.
14786 (atan2_test_data): Likewise.
14787 (cbrt_test_data): Likewise.
14788 (cos_test_data): Likewise.
14789 (cosh_test_data): Likewise.
14790 (erf_test_data): Likewise.
14791 (erfc_test_data): Likewise.
14792 (exp_test_data): Likewise.
14793 (exp10_test_data): Likewise.
14794 (exp2_test_data): Likewise.
14795 (expm1_test_data): Likewise.
14796 (hypot_test_data): Likewise.
14797 (j0_test_data): Likewise.
14798 (j1_test_data): Likewise.
14799 (jn_test_data): Likewise.
14800 (lgamma_test_data): Likewise.
14801 (log_test_data): Likewise.
14802 (log10_test_data): Likewise.
14803 (log1p_test_data): Likewise.
14804 (log2_test_data): Likewise.
14805 (pow_test_data): Likewise.
14806 (scalb_test_data): Likewise.
14807 (sin_test_data): Likewise.
14808 (sincos_test_data): Likewise.
14809 (sinh_test_data): Likewise.
14810 (tan_test_data): Likewise.
14811 (tanh_test_data): Likewise.
14812 (tgamma_test_data): Likewise.
14813 (y0_test_data): Likewise.
14814 (y1_test_data): Likewise.
14815 (yn_test_data): Likewise.
14816
66294491
JM
14817 [BZ #16167]
14818 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14819 argument being NaN and avoid computations with second argument in
14820 that case.
14821 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14822 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14823 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14824
1820b143
CL
148252013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14826
14827 * locale/iso-639.def: Add Chitwani Tharu (the).
14828
714bd261
AS
148292013-11-14 Andreas Schwab <schwab@suse.de>
14830
14831 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14832 word instead of empty string.
14833
7ab44563
AZ
148342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14835
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14837 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14839 (__fe_nomask_env): Likewise.
14840
e8470ea2
SE
148412013-11-13 Steve Ellcey <sellcey@mips.com>
14842
14843 * benchtests/bench-timing.h: Include time.h.
14844
17c1d9f0
L
148452013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14846
14847 [BZ #15997]
14848 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14849 to 3.4.0 for x32.
14850 * sysdeps/unix/sysv/linux/configure: Regenerated.
14851
9310c284
JM
148522013-11-13 Joseph Myers <joseph@codesourcery.com>
14853
14854 [BZ #16151]
14855 * stdlib/strtod_l.c (round_and_return): Do not consider
14856 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14857 exponent one less than half the least subnormal exponent.
14858 * stdlib/test-strtod-round-data: Add more tests.
14859 * stdlib/tst-strtod-round.c (tests): Regenerated.
14860
7a2ad8cf
AZ
148612013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14862
14863 [BZ #14143]
14864 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14865 (__fe_mask_env): Likewise.
14866 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14867 libm_hidden_proto and add function prototype.
14868 (__fe_mask_env): Add function prototype.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14870 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14872 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14874 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14875
50727aa7
MS
148762013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14877
b2f386c1 14878 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14879 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14880
a615be46
MS
148812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14882
14883 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14884 of htab_find_slot().
14885
7ddace62
DM
148862013-11-11 David S. Miller <davem@davemloft.net>
14887
14888 [BZ #16150]
14889 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14890 symbol in the non-vis3 case in static builds.
14891 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14892 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14893 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14894 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14895
9182aa67
JK
148962013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14897
14898 [BZ #387]
14899 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14900 it is empty.
14901
450a2e2d
AZ
149022013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14903
b2f386c1
SP
14904 * benchtests/Makefile: Add bench-strtod.
14905 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14906
8ec3f656
AS
149072013-11-11 Andreas Schwab <schwab@suse.de>
14908
14909 [BZ #16153]
14910 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14911 terminating NUL in key length.
14912
76a9b998
AZ
149132013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14914
14915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14916 Add artificial ODP entry for vDSO symbol for PPC64.
14917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14918 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14919
e4368156
OB
149202013-11-07 Ondřej Bílka <neleai@seznam.cz>
14921
14922 [BZ #15374]
14923 * nss/getent.c (services_keys): Recognize services starting with digit.
14924
8d6bb57c
DM
149252013-11-06 David S. Miller <davem@davemloft.net>
14926
14927 [BZ #15985]
14928 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14929 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14930
e256c421
WN
149312013-11-06 Will Newton <will.newton@linaro.org>
14932
14933 * manual/memory.texi (Malloc Examples): Remove register
14934 keyword from examples.
14935
f6e12daa 149362013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14937
f6e12daa 14938 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14939
9d880655
AS
149402013-11-04 Joseph Myers <joseph@codesourcery.com>
14941
fd2f9486 14942 [BZ #6981]
9d880655
AS
14943 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14944 depending on [__GCC_IEC_559 > 0].
14945 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14946 depending on [__GCC_IEC_559_COMPLEX > 0].
14947
ae129d3c
CL
149482013-11-03 Chris Leonard <cjl@sugarlabs.org>
14949
14950 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14951 to iso-639.def.
14952
4a15c2a4 149532013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14954
14955 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14956
8b35e35d
OB
149572013-11-01 Ondřej Bílka <neleai@seznam.cz>
14958
14959 [BZ #16112]
14960 * malloc/malloc (malloc_info): Do not handle first bin as
14961 special case.
14962
1d70fd6c
CL
149632013-11-01 Chris Leonard <cjl@sugarlabs.org>
14964
14965 * locale/iso-639.def: Add Central Nahuatl (nhn).
14966
8c5c2600
BH
149672013-11-01 Bruno Haible <bruno@clisp.org>
14968
14969 [BZ #7003]
14970 * manual/math.texi (BSD Random): Specify range upper bound as
14971 in POSIX.
14972
da5579c2
CL
149732013-10-31 Chris Leonard <cjl@sugarlabs.org>
14974
14975 * locale/iso-639.def: Add Meadow Mari (mhr).
14976
5d30d853
OB
149772013-10-31 Ondřej Bílka <neleai@seznam.cz>
14978
14979 [BZ #14752], [BZ #15763]
14980 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14981 Validate name.
14982 * rt/tst_shm.c: Add test for escaping directory.
14983
a4966c61
AS
149842013-10-31 Andreas Schwab <schwab@suse.de>
14985
8a43e768 14986 [BZ #15917]
a4966c61
AS
14987 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14988 followed by 'x' as part of digit sequence.
14989 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14990
28d708c4
MAP
149912013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14992
14993 [BZ #16037]
14994 * configure.ac: allow GNU Make 4.0 and greater.
14995 * configure: Regenerated.
14996
a56ee40b
WN
149972013-10-30 Will Newton <will.newton@linaro.org>
14998
14999 [BZ #16038]
15000 * malloc/hooks.c (memalign_check): Limit alignment to the
15001 maximum representable power of two.
15002 * malloc/malloc.c (__libc_memalign): Likewise.
15003 * malloc/tst-memalign.c (do_test): Add test for very
15004 large alignment values.
15005 * malloc/tst-posix_memalign.c (do_test): Likewise.
15006
c6e4925d
OB
150072013-10-30 Ondřej Bílka <neleai@seznam.cz>
15008
15009 [BZ #11087]
15010 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15011 (munmap_chunk): Likewise.
15012 (mremap_chunk): Likewise.
15013
150142013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 15015
8a43e768 15016 [BZ #15799]
bbea82f7
OB
15017 * stdlib/div.c (div): Remove obsolete code.
15018 * stdlib/ldiv.c (ldiv): Likewise.
15019 * stdlib/lldiv.c (lldiv): Likewise.
15020
977f4b31
SP
150212013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15022
15023 [BZ #16071]
15024 * nss/nss_files/files-XXX.c (get_contents_ret): New
15025 enumerator.
15026 (get_contents): New function.
15027 (internal_getent): Use it. Expand size of LINEBUFLEN.
15028
cb8a6dbd
MF
150292013-10-30 Mike Frysinger <vapier@gentoo.org>
15030
15031 * configure.in: Moved to ...
15032 * configure.ac: ... here. Change reference to configure.in
15033 to configure.ac.
15034 * sysdeps/arm/preconfigure.ac: ... here.
15035 configure.in to configure.ac.
15036 * sysdeps/gnu/configure.in: Moved to ...
15037 * sysdeps/gnu/configure.ac: ... here.
15038 * sysdeps/i386/configure.in: Moved to ...
15039 * sysdeps/i386/configure.ac: ... here.
15040 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15041 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15042 * sysdeps/mach/configure.in: Moved to ...
15043 * sysdeps/mach/configure.ac: ... here.
15044 * sysdeps/mach/hurd/configure.in: Moved to ...
15045 * sysdeps/mach/hurd/configure.ac: ... here.
15046 * sysdeps/powerpc/configure.in: Moved to ...
15047 * sysdeps/powerpc/configure.ac: ... here.
15048 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15049 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15050 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15051 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15052 * sysdeps/s390/s390-32/configure.in: Moved to ...
15053 * sysdeps/s390/s390-32/configure.ac: ... here.
15054 * sysdeps/s390/s390-64/configure.in: Moved to ...
15055 * sysdeps/s390/s390-64/configure.ac: ... here.
15056 * sysdeps/sh/configure.in: Moved to ...
15057 * sysdeps/sh/configure.ac: ... here.
15058 * sysdeps/sparc/configure.in: Moved to ...
15059 * sysdeps/sparc/configure.ac: ... here.
15060 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15061 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15062 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15063 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15064 * sysdeps/x86_64/configure.in: Moved to ...
15065 * sysdeps/x86_64/configure.ac: ... here.
15066 * sysdeps/x86_64/preconfigure.in: Moved to ...
15067 * sysdeps/x86_64/preconfigure.ac: ... here.
15068 * aclocal.m4: Change reference to configure.in to configure.ac.
15069 * config.h.in: Likewise.
15070 * manual/install.texi: Likewise.
15071 * manual/maint.texi: Likewise.
15072 * Makefile: Likewise.
15073 * malloc/Makefile: Likewise.
15074 * nscd/Makefile: Likewise.
15075 * Makeconfig: Change reference to configure.in and
15076 preconfigure.in to configure.ac and preconfigure.ac
15077 respectively.
15078 * INSTALL: Regenerated.
15079 * configure: Likewise.
15080 * sysdeps/gnu/configure: Likewise.
15081 * sysdeps/i386/configure: Likewise.
15082 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15083 * sysdeps/mach/configure: Likewise.
15084 * sysdeps/mach/hurd/configure: Likewise.
15085 * sysdeps/powerpc/configure: Likewise.
15086 * sysdeps/powerpc/powerpc32/configure: Likewise.
15087 * sysdeps/powerpc/powerpc64/configure: Likewise.
15088 * sysdeps/s390/s390-32/configure: Likewise.
15089 * sysdeps/s390/s390-64/configure: Likewise.
15090 * sysdeps/sh/configure: Likewise.
15091 * sysdeps/sparc/configure: Likewise.
15092 * sysdeps/unix/sysv/linux/configure: Likewise.
15093 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15094 * sysdeps/x86_64/configure: Likewise.
15095 * sysdeps/x86_64/preconfigure: Likewise.
15096
36a4953a
AS
150972013-10-29 Andreas Schwab <schwab@suse.de>
15098
15099 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15100
c79a1204
SP
151012013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15102
dfa1b402
SP
15103 * benchtests/pow-inputs: Add new inputs.
15104
54f73d9c
SP
15105 * benchtests/exp-inputs: Add new inputs.
15106
c79a1204
SP
15107 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15108 conditional check for return value.
15109 (__cos32): Likewise.
15110
67beb545 151112013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15112
15113 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15114 to provide a boost for large inputs with word alignment.
15115 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15116 implementation based on optimized PPC64 strcpy.
15117 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15118 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15119 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15120 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15121
151659f6
OB
151222013-10-25 Ondřej Bílka <neleai@seznam.cz>
15123
482a077e 15124 [BZ #2801]
151659f6
OB
15125 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15126
10b0f26b
OB
151272013-10-25 Ondřej Bílka <neleai@seznam.cz>
15128
15129 [BZ #14876]
15130 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15131 * time/tst-strptime.c (day_tests): Add testcase.
15132
ca42d35e
OB
151332013-10-25 Ondřej Bílka <neleai@seznam.cz>
15134
482a077e 15135 [BZ #14029]
ca42d35e
OB
15136 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15137
52e6d801
FB
151382013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15139
15140 [BZ #16074]
15141 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15142 MAP_FAILED on error.
15143
7cbcdb36
SP
151442013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15145
15146 [BZ #16072]
15147 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15148 heap for large requests.
15149
894f3f10
AM
151502013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15151
15152 [BZ #9954]
15153 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15154 result if the result has no associated interface.
15155 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15156 interface for all 127.X.Y.Z addresses.
15157
b85545a6
CL
151582013-10-24 Chris Leonard <cjl@sugarlabs.org>
15159
15160 * locale/iso-639.def: Add Ligurian (lij)
15161
d1f23d46
OB
151622013-10-21 Ondřej Bílka <neleai@seznam.cz>
15163
15164 [BZ #15825]
15165 * sunrpc/rpc_main.c: Document rpcgen -5.
15166
4db5b08f
MS
151672013-10-19 Michael Stahl <mstahl@redhat.com>
15168
15169 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15170
a471e96a
OB
151712013-10-19 Ondřej Bílka <neleai@seznam.cz>
15172
d1f23d46 15173 [BZ #10278]
a471e96a
OB
15174 * posix/glob.c: Match only directories when trailing slash is present.
15175 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15176 (main): Add testcase.
15177
45c30c61
OB
151782013-10-19 Ondřej Bílka <neleai@seznam.cz>
15179
15180 [BZ #15670]
15181 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15182
484c12fb
CD
151832013-10-18 Carlos O'Donell <carlos@redhat.com>
15184
3d7dc513
CD
15185 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15186 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15187 AUTH_DES and cindex for FIPS 140-2.
15188 (DES Encryption): Add cindex FIPS 46-3.
15189
484c12fb
CD
15190 * locale/locarchive.h (struct locarhandle): Add fname.
15191 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15192 if an optional argument was specified to --list-archive,
15193 otherwise NULL.
15194 * locale/programs/locarchive.c (show_archive_content): Take new
15195 argument fname and pass it via ah.fname to open_archive.
15196 * locale/programs/localedef.h: Update decl.
15197 (open_archive): If AH->fname is non-null, open that file
15198 rather than the default file name, and don't ignore ENOENT.
15199 (create_archive): Set AH.fname to NULL.
15200 (delete_locales_from_archive): Likewise.
15201 (add_locales_to_archive): Likewise.
15202 * locale/programs/locfile.c (write_all_categories): Likewise.
15203
3c8325fb
JM
152042013-10-18 Joseph Myers <joseph@codesourcery.com>
15205 Aldy Hernandez <aldyh@redhat.com>
15206
15207 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15208 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15209 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15210 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15211 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15212 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15213 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15214 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15215 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15216 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15217 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15218 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15219 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15220 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15221 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15222 Likewise.
15223 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15224 Likewise.
15225 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15226 Likewise.
15227 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15228 Likewise.
15229 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15230 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15231 Likewise.
15232 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15233 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15234 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15235 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15236 Likewise.
15237 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15238 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15239 * sysdeps/powerpc/preconfigure: Likewise.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15241 Likewise.
15242 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15243 Replace contents of file by #include of <fenv_libc.h>.
15244 * sysdeps/powerpc/soft-fp/sfp-machine.h
15245 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15246 and <sys/prctl.h>.
15247 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15254 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15255 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15256 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15257 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15258 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15260 Allow copysignl PLT reference to be missing.
15261
5abe0682
RS
152622013-10-18 Richard Sandiford <richard@codesourcery.com>
15263 Joseph Myers <joseph@codesourcery.com
15264
15265 [BZ #15948]
15266 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15267 single character.
15268 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15269
c7738d08
SP
152702013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15271
15272 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15273 * elf/tst-tls1.c: Likewise.
15274 * elf/tst-tls10.h: Likewise.
15275 * elf/tst-tls14.c: Likewise.
15276 * elf/tst-tls2.c: Likewise.
15277 * elf/tst-tls3.c: Likewise.
15278 * elf/tst-tls4.c: Likewise.
15279 * elf/tst-tls5.c: Likewise.
15280 * elf/tst-tls6.c: Likewise.
15281 * elf/tst-tls7.c: Likewise.
15282 * elf/tst-tls8.c: Likewise.
15283 * elf/tst-tls9.c: Likewise.
15284 * elf/tst-tlsmod1.c: Likewise.
15285 * elf/tst-tlsmod13.c: Likewise.
15286 * elf/tst-tlsmod13a.c: Likewise.
15287 * elf/tst-tlsmod14a.c: Likewise.
15288 * elf/tst-tlsmod16a.c: Likewise.
15289 * elf/tst-tlsmod16b.c: Likewise.
15290 * elf/tst-tlsmod2.c: Likewise.
15291 * elf/tst-tlsmod3.c: Likewise.
15292 * elf/tst-tlsmod4.c: Likewise.
15293 * elf/tst-tlsmod5.c: Likewise.
15294 * elf/tst-tlsmod6.c: Likewise.
15295
0bfcf2c7
OB
152962013-10-18 Ondřej Bílka <neleai@seznam.cz>
15297
15298 [BZ #12486]
15299 * malloc/malloc.c: remove checks for statistics.
15300
264aad1e
OB
153012013-10-17 Ondřej Bílka <neleai@seznam.cz>
15302
15303 [BZ #15277]
15304 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15305 * inet/tst-network.c: Add testcase.
15306
b957ced8
AS
153072013-10-17 Andreas Schwab <schwab@suse.de>
15308
15309 [BZ #15218]
15310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15311 to determine canonical name.
15312
c5d5d574
OB
153132013-10-17 Ondřej Bílka <neleai@seznam.cz>
15314
15315 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15316 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15339 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15340 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15373
e5c2c2d0
JM
153742013-10-17 Joseph Myers <joseph@codesourcery.com>
15375
15376 [BZ #16041]
15377 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15378 make result into a quiet NaN.
15379
51ca9e29
JM
153802013-10-16 Joseph Myers <joseph@codesourcery.com>
15381
15382 * soft-fp/adddf3.c: Fix horizontal whitespace.
15383 * soft-fp/addsf3.c: Likewise.
15384 * soft-fp/addtf3.c: Likewise.
15385 * soft-fp/divdf3.c: Likewise.
15386 * soft-fp/divsf3.c: Likewise.
15387 * soft-fp/divtf3.c: Likewise.
15388 * soft-fp/double.h: Likewise.
15389 * soft-fp/eqdf2.c: Likewise.
15390 * soft-fp/eqsf2.c: Likewise.
15391 * soft-fp/eqtf2.c: Likewise.
15392 * soft-fp/extenddftf2.c: Likewise.
15393 * soft-fp/extended.h: Likewise.
15394 * soft-fp/extendsfdf2.c: Likewise.
15395 * soft-fp/extendsftf2.c: Likewise.
15396 * soft-fp/extendxftf2.c: Likewise.
15397 * soft-fp/fixdfdi.c: Likewise.
15398 * soft-fp/fixdfsi.c: Likewise.
15399 * soft-fp/fixdfti.c: Likewise.
15400 * soft-fp/fixsfdi.c: Likewise.
15401 * soft-fp/fixsfsi.c: Likewise.
15402 * soft-fp/fixsfti.c: Likewise.
15403 * soft-fp/fixtfdi.c: Likewise.
15404 * soft-fp/fixtfsi.c: Likewise.
15405 * soft-fp/fixtfti.c: Likewise.
15406 * soft-fp/fixunsdfdi.c: Likewise.
15407 * soft-fp/fixunsdfsi.c: Likewise.
15408 * soft-fp/fixunsdfti.c: Likewise.
15409 * soft-fp/fixunssfdi.c: Likewise.
15410 * soft-fp/fixunssfsi.c: Likewise.
15411 * soft-fp/fixunssfti.c: Likewise.
15412 * soft-fp/fixunstfdi.c: Likewise.
15413 * soft-fp/fixunstfsi.c: Likewise.
15414 * soft-fp/fixunstfti.c: Likewise.
15415 * soft-fp/floatdidf.c: Likewise.
15416 * soft-fp/floatdisf.c: Likewise.
15417 * soft-fp/floatditf.c: Likewise.
15418 * soft-fp/floatsidf.c: Likewise.
15419 * soft-fp/floatsisf.c: Likewise.
15420 * soft-fp/floatsitf.c: Likewise.
15421 * soft-fp/floattidf.c: Likewise.
15422 * soft-fp/floattisf.c: Likewise.
15423 * soft-fp/floattitf.c: Likewise.
15424 * soft-fp/floatundidf.c: Likewise.
15425 * soft-fp/floatundisf.c: Likewise.
15426 * soft-fp/floatunditf.c: Likewise.
15427 * soft-fp/floatunsidf.c: Likewise.
15428 * soft-fp/floatunsisf.c: Likewise.
15429 * soft-fp/floatunsitf.c: Likewise.
15430 * soft-fp/floatuntidf.c: Likewise.
15431 * soft-fp/floatuntisf.c: Likewise.
15432 * soft-fp/floatuntitf.c: Likewise.
15433 * soft-fp/fmadf4.c: Likewise.
15434 * soft-fp/fmasf4.c: Likewise.
15435 * soft-fp/fmatf4.c: Likewise.
15436 * soft-fp/gedf2.c: Likewise.
15437 * soft-fp/gesf2.c: Likewise.
15438 * soft-fp/getf2.c: Likewise.
15439 * soft-fp/ledf2.c: Likewise.
15440 * soft-fp/lesf2.c: Likewise.
15441 * soft-fp/letf2.c: Likewise.
15442 * soft-fp/muldf3.c: Likewise.
15443 * soft-fp/mulsf3.c: Likewise.
15444 * soft-fp/multf3.c: Likewise.
15445 * soft-fp/negdf2.c: Likewise.
15446 * soft-fp/negsf2.c: Likewise.
15447 * soft-fp/negtf2.c: Likewise.
15448 * soft-fp/op-1.h: Likewise.
15449 * soft-fp/op-2.h: Likewise.
15450 * soft-fp/op-4.h: Likewise.
15451 * soft-fp/op-8.h: Likewise.
15452 * soft-fp/op-common.h: Likewise.
15453 * soft-fp/quad.h: Likewise.
15454 * soft-fp/single.h: Likewise.
15455 * soft-fp/soft-fp.h: Likewise.
15456 * soft-fp/sqrtdf2.c: Likewise.
15457 * soft-fp/sqrtsf2.c: Likewise.
15458 * soft-fp/sqrttf2.c: Likewise.
15459 * soft-fp/subdf3.c: Likewise.
15460 * soft-fp/subsf3.c: Likewise.
15461 * soft-fp/subtf3.c: Likewise.
15462 * soft-fp/truncdfsf2.c: Likewise.
15463 * soft-fp/trunctfdf2.c: Likewise.
15464 * soft-fp/trunctfsf2.c: Likewise.
15465 * soft-fp/trunctfxf2.c: Likewise.
15466 * soft-fp/unorddf2.c: Likewise.
15467 * soft-fp/unordsf2.c: Likewise.
15468 * soft-fp/unordtf2.c: Likewise.
15469
9ebb0332
JM
154702013-10-15 Joseph Myers <joseph@codesourcery.com>
15471
15472 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15473 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15474
4b1a6d8b
OB
154752013-10-15 Ondřej Bílka <neleai@seznam.cz>
15476
15477 * elf/dl-libc.c: Clear initfini list after freeing.
15478
1e145589
JM
154792013-10-14 Joseph Myers <joseph@codesourcery.com>
15480
15481 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15482 * soft-fp/addsf3.c: Likewise.
15483 * soft-fp/addtf3.c: Likewise.
15484 * soft-fp/divdf3.c: Likewise.
15485 * soft-fp/divsf3.c: Likewise.
15486 * soft-fp/divtf3.c: Likewise.
15487 * soft-fp/double.h: Likewise.
15488 * soft-fp/eqdf2.c: Likewise.
15489 * soft-fp/eqsf2.c: Likewise.
15490 * soft-fp/eqtf2.c: Likewise.
15491 * soft-fp/extenddftf2.c: Likewise.
15492 * soft-fp/extended.h: Likewise.
15493 * soft-fp/extendsfdf2.c: Likewise.
15494 * soft-fp/extendsftf2.c: Likewise.
15495 * soft-fp/extendxftf2.c: Likewise.
15496 * soft-fp/fixdfdi.c: Likewise.
15497 * soft-fp/fixdfsi.c: Likewise.
15498 * soft-fp/fixdfti.c: Likewise.
15499 * soft-fp/fixsfdi.c: Likewise.
15500 * soft-fp/fixsfsi.c: Likewise.
15501 * soft-fp/fixsfti.c: Likewise.
15502 * soft-fp/fixtfdi.c: Likewise.
15503 * soft-fp/fixtfsi.c: Likewise.
15504 * soft-fp/fixtfti.c: Likewise.
15505 * soft-fp/fixunsdfdi.c: Likewise.
15506 * soft-fp/fixunsdfsi.c: Likewise.
15507 * soft-fp/fixunsdfti.c: Likewise.
15508 * soft-fp/fixunssfdi.c: Likewise.
15509 * soft-fp/fixunssfsi.c: Likewise.
15510 * soft-fp/fixunssfti.c: Likewise.
15511 * soft-fp/fixunstfdi.c: Likewise.
15512 * soft-fp/fixunstfsi.c: Likewise.
15513 * soft-fp/fixunstfti.c: Likewise.
15514 * soft-fp/floatdidf.c: Likewise.
15515 * soft-fp/floatdisf.c: Likewise.
15516 * soft-fp/floatditf.c: Likewise.
15517 * soft-fp/floatsidf.c: Likewise.
15518 * soft-fp/floatsisf.c: Likewise.
15519 * soft-fp/floatsitf.c: Likewise.
15520 * soft-fp/floattidf.c: Likewise.
15521 * soft-fp/floattisf.c: Likewise.
15522 * soft-fp/floattitf.c: Likewise.
15523 * soft-fp/floatundidf.c: Likewise.
15524 * soft-fp/floatundisf.c: Likewise.
15525 * soft-fp/floatunsidf.c: Likewise.
15526 * soft-fp/floatunsisf.c: Likewise.
15527 * soft-fp/floatuntidf.c: Likewise.
15528 * soft-fp/floatuntisf.c: Likewise.
15529 * soft-fp/floatuntitf.c: Likewise.
15530 * soft-fp/fmadf4.c: Likewise.
15531 * soft-fp/fmasf4.c: Likewise.
15532 * soft-fp/fmatf4.c: Likewise.
15533 * soft-fp/gedf2.c: Likewise.
15534 * soft-fp/gesf2.c: Likewise.
15535 * soft-fp/getf2.c: Likewise.
15536 * soft-fp/ledf2.c: Likewise.
15537 * soft-fp/lesf2.c: Likewise.
15538 * soft-fp/letf2.c: Likewise.
15539 * soft-fp/muldf3.c: Likewise.
15540 * soft-fp/mulsf3.c: Likewise.
15541 * soft-fp/multf3.c: Likewise.
15542 * soft-fp/negdf2.c: Likewise.
15543 * soft-fp/negsf2.c: Likewise.
15544 * soft-fp/negtf2.c: Likewise.
15545 * soft-fp/op-1.h: Likewise.
15546 * soft-fp/op-2.h: Likewise.
15547 * soft-fp/op-4.h: Likewise.
15548 * soft-fp/op-8.h: Likewise.
15549 * soft-fp/op-common.h: Likewise.
15550 * soft-fp/quad.h: Likewise.
15551 * soft-fp/single.h: Likewise.
15552 * soft-fp/soft-fp.h: Likewise.
15553 * soft-fp/sqrtdf2.c: Likewise.
15554 * soft-fp/sqrtsf2.c: Likewise.
15555 * soft-fp/sqrttf2.c: Likewise.
15556 * soft-fp/subdf3.c: Likewise.
15557 * soft-fp/subsf3.c: Likewise.
15558 * soft-fp/subtf3.c: Likewise.
15559 * soft-fp/truncdfsf2.c: Likewise.
15560 * soft-fp/trunctfdf2.c: Likewise.
15561 * soft-fp/trunctfsf2.c: Likewise.
15562 * soft-fp/trunctfxf2.c: Likewise.
15563 * soft-fp/unorddf2.c: Likewise.
15564 * soft-fp/unordsf2.c: Likewise.
15565 * soft-fp/unordtf2.c: Likewise.
15566
17c48a60
OB
155672013-10-14 Ondřej Bílka <neleai@seznam.cz>
15568
15569 [BZ #15672]
15570 * misc/error.c (error_tail): Fix possible buffer overflow.
15571
cabba934
OB
155722013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15573
15574 [BZ #13028]
15575 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15576 address.
15577
94bf958a
PM
155782013-10-14 P. J. McDermott <pj@pehjota.net>
15579
15580 [BZ #832]
15581 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15582 testing pipefail option.
15583
71b4dea7
JM
155842013-10-12 Joseph Myers <joseph@codesourcery.com>
15585
15586 * soft-fp/double.h: Indent preprocessor directives inside #if.
15587 * soft-fp/extended.h: Likewise.
15588 * soft-fp/op-2.h: Likewise.
15589 * soft-fp/op-4.h: Likewise.
15590 * soft-fp/op-common.h: Likewise.
15591 * soft-fp/quad.h: Likewise.
15592 * soft-fp/single.h: Likewise.
15593 * soft-fp/soft-fp.h: Likewise.
15594
55602758
YC
155952013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15596
15597 * iconv/iconv_prog.c: Fix typos.
15598 * stdio-common/psiginfo-data.h: Likewise.
15599
9cd83302
RT
156002013-10-12 Reuben Thomas <rrt@sc3d.org>
15601
15602 [BZ #15764]
15603 * locale/setlocale.c: Fix typo.
15604
99fd9f47
JM
156052013-10-12 Joseph Myers <joseph@codesourcery.com>
15606
b7ea74f0
JM
15607 [BZ #16036]
15608 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15609 signaling NaN arguments.
15610 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15611 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15612
8a509447
JM
15613 [BZ #14910]
15614 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15615 unordered operands.
15616 * soft-fp/gesf2.c (__gesf2): Likewise.
15617 * soft-fp/getf2.c (__getf2): Likewise.
15618 * soft-fp/ledf2.c (__ledf2): Likewise.
15619 * soft-fp/lesf2.c (__lesf2): Likewise.
15620 * soft-fp/letf2.c (__letf2): Likewise.
15621
98998e9f
JM
15622 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15623 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15624 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15625 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15626 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15627 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15628 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15629 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15630 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15631 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15632 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15633 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15634 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15635 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15636 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15637 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15638 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15639 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15640 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15641 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15642 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15643 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15644 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15645 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15646 * soft-fp/floattidf.c (__floattidf): Likewise.
15647 * soft-fp/floattisf.c (__floattisf): Likewise.
15648 * soft-fp/floattitf.c (__floattitf): Likewise.
15649 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15650 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15651 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15652 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15653 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15654 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15655 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15656 * soft-fp/gesf2.c (__gesf2): Likewise.
15657 * soft-fp/getf2.c (__getf2): Likewise.
15658 * soft-fp/ledf2.c (__ledf2): Likewise.
15659 * soft-fp/lesf2.c (__lesf2): Likewise.
15660 * soft-fp/letf2.c (__letf2): Likewise.
15661
8edc4a11
JM
15662 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15663 Undefine and redefine.
15664 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15665 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15666 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15667 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15668 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15669 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15670 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15671 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15672 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15673 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15674 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15675 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15676 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15677 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15678 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15679
8399acaf
JM
15680 [BZ #16032]
15681 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15682 without decrementing exponent if mantissa >= that for the
15683 denominator, not >.
15684 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15685 denominator, not >. Decrement exponent in < case instead of
15686 incrementing in >= case.
15687 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15688 without decrementing exponent if mantissa >= that for the
15689 denominator, not >.
15690
99fd9f47
JM
15691 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15692 computing saturated result for unsigned overflow.
15693
10e1cf6b
SP
156942013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15695 Jeff Law <law@redhat.com>
15696
15697 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15698 (atan2Mp): Add systemtap probe marker.
15699 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15700 (__ieee754_log): Add systemtap probe marker.
15701 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15702 (atanMp): Add systemtap probe marker.
15703 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15704 (tanMp): Add systemtap probe marker.
15705 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15706 (__slowexp): Add systemtap probe marker.
15707 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15708 (__slowpow): Add systemtap probe marker.
15709 * manual/probes.texi: Document probes.
15710
3d110c7c
EB
157112013-10-11 Eric Biggers <ebiggers3@gmail.com>
15712
15713 [BZ #15362]
15714 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15715 written.
15716 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15717 written.
15718 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15719 written to buffer but not flushed.
15720 * libio/iofwrite_u.c: Likewise.
15721 * libio/iopadn.c: Return bytes returned even if EOF was
15722 encountered.
15723 * libio/iowpadn.c: Likewise.
15724 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15725 if _IO_padn does not write the whole buffer.
15726 [!COMPILE_WPRINTF] (PAD): Likewise.
15727
75b4202a
DM
157282013-10-10 David S. Miller <davem@davemloft.net>
15729
15730 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15731 directory block.
15732
6c6352e6
JM
157332013-10-10 Joseph Myers <joseph@codesourcery.com>
15734
33b853c3
JM
15735 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15736 instead of FSF address.
15737 * soft-fp/fixdfti.c: Likewise.
15738 * soft-fp/fixsfti.c: Likewise.
15739 * soft-fp/fixtfti.c: Likewise.
15740 * soft-fp/fixunsdfti.c: Likewise.
15741 * soft-fp/fixunssfti.c: Likewise.
15742 * soft-fp/fixunstfti.c: Likewise.
15743 * soft-fp/floattidf.c: Likewise.
15744 * soft-fp/floattisf.c: Likewise.
15745 * soft-fp/floattitf.c: Likewise.
15746 * soft-fp/floatuntidf.c: Likewise.
15747 * soft-fp/floatuntisf.c: Likewise.
15748 * soft-fp/floatuntitf.c: Likewise.
15749 * soft-fp/trunctfxf2.c: Likewise.
15750
6c6352e6
JM
15751 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15752 * soft-fp/fixdfti.c: Likewise.
15753 * soft-fp/fixsfti.c: Likewise.
15754 * soft-fp/fixtfti.c: Likewise.
15755 * soft-fp/fixunsdfti.c: Likewise.
15756 * soft-fp/fixunssfti.c: Likewise.
15757 * soft-fp/fixunstfti.c: Likewise.
15758 * soft-fp/floattidf.c: Likewise.
15759 * soft-fp/floattisf.c: Likewise.
15760 * soft-fp/floattitf.c: Likewise.
15761 * soft-fp/floatuntidf.c: Likewise.
15762 * soft-fp/floatuntisf.c: Likewise.
15763 * soft-fp/floatuntitf.c: Likewise.
15764 * soft-fp/trunctfxf2.c: Likewise.
15765
3bf78b71
DM
157662013-10-10 David S. Miller <davem@davemloft.net>
15767
15768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15769
6f10289e
JM
157702013-10-10 Joseph Myers <joseph@codsourcery.com>
15771
bd878fc0
JM
15772 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15773 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15774 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15775 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15776 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15777 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15778 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15779
6f10289e
JM
15780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15781 for NaNs before doing comparisons on argument.
15782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15783 Likewise.
15784
321e2684
WN
157852013-10-10 Will Newton <will.newton@linaro.org>
15786
15787 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15788 passed to _int_memalign does not overflow.
15789
40fefba1
TR
157902013-10-10 Torvald Riegel <triegel@redhat.com>
15791
15792 * scripts/bench.pl: Add include-sources directive.
15793 * benchtests/README: Update documentation.
15794
2ae21ed2
JM
157952013-10-10 Joseph Myers <joseph@codesourcery.com>
15796
dcc2dd3f
JM
15797 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15798 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15799 instead of FP_INIT_ROUNDMODE.
15800 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15801 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15802
2ae21ed2
JM
15803 [BZ #16034]
15804 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15805 copy class of input value.
15806 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15807 not handle exceptions.
15808 * soft-fp/negsf2.c (__negsf2): Likewise.
15809 * soft-fp/negtf2.c (__negtf2): Likewise.
15810 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15811
cb8f9562
JM
158122013-10-09 Joseph Myers <joseph@codesourcery.com>
15813
15814 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15815 semicolon. From Linux kernel.
15816
5b60c59d
AB
158172013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15818
15819 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15820
b86835ca
YC
158212013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15822
15823 [BZ #156]
15824 * manual/socket.texi: Added statement about buffer
15825 for gethostbyname2_r.
15826
e7044ea7
OB
158272013-10-08 Ondřej Bílka <neleai@seznam.cz>
15828
15829 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15830 Use .p2align directive instead, throughout.
15831 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15832 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15833 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15836 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15837 * sysdeps/x86_64/strchr.S: Likewise.
15838 * sysdeps/x86_64/strrchr.S: Likewise.
15839
09544cbc
SP
158402013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15841
88576635
SP
15842 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15843
e7b2d1dd
SP
15844 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15845
09544cbc
SP
15846 * sysdeps/generic/math_private.h (__mpsin1): Remove
15847 declaration.
15848 (__mpcos1): Likewise.
15849 (__mpsin): New argument __range_reduce.
15850 (__mpcos): Likewise.
15851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15852 (slow): Use __mpsin and __mpcos.
15853 (slow1): Likewise.
15854 (slow2): Likewise.
15855 (sloww): Likewise.
15856 (sloww1): Likewise.
15857 (sloww2): Likewise.
15858 (bsloww): Likewise.
15859 (bsloww1): Likewise.
15860 (bsloww2): Likewise.
15861 (cslow2): Likewise.
15862 (csloww): Likewise.
15863 (csloww1): Likewise.
15864 (csloww2): Likewise.
15865 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15866 range_reduce. Merge in __mpsin1.
15867 (__mpcos): Likewise.
15868 (__mpsin1): Remove.
15869 (__mpcos1): Likewise.
15870
7602d070
JM
158712013-10-07 Joseph Myers <joseph@codesourcery.com>
15872
15873 * locale/loadlocale.c (_nl_intern_locale_data): Use
15874 LOCFILE_ALIGNED_P.
15875 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15876 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15877 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15878 obstack data is appropriately aligned.
15879 (obstack_int32_grow_fast): Likewise.
15880 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15881 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15882 (add_locale_uint32_array): Likewise.
15883
a357259b
SP
158842013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15885
15886 * benchtests/Makefile: Remove ARGLIST and RET variables.
15887 ($(objpfx)bench-%.c): Pass only function name to the script.
15888 * benchtests/README: Update documentation.
15889 * benchtests/acos-inputs: Add new directives.
15890 * benchtests/acosh-inputs: Likewise.
15891 * benchtests/asin-inputs: Likewise.
15892 * benchtests/asinh-inputs: Likewise.
15893 * benchtests/atan-inputs: Likewise.
15894 * benchtests/atanh-inputs: Likewise.
15895 * benchtests/cos-inputs: Likewise.
15896 * benchtests/cosh-inputs: Likewise.
15897 * benchtests/exp-inputs: Likewise.
15898 * benchtests/log-inputs: Likewise.
15899 * benchtests/pow-inputs: Likewise.
15900 * benchtests/rint-inputs: Likewise.
15901 * benchtests/sin-inputs: Likewise.
15902 * benchtests/sinh-inputs: Likewise.
15903 * benchtests/tan-inputs: Likewise.
15904 * benchtests/tanh-inputs: Likewise.
15905 * scripts/bench.pl: Add support for new directives.
15906
9ec1b13d
AM
159072013-10-07 Alan Modra <amodra@gmail.com>
15908
15909 * README: Fix careless merge.
15910
8b7d57cd
AM
159112013-10-05 Alan Modra <amodra@gmail.com>
15912
15913 * NEWS: Mention powerpc64le support and bugs fixed.
15914 * README: Both big-endian and little-endian powerpc64 supported.
15915
7b7bab13
ST
159162013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15917
57f41c40
AS
15918 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15919 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15920 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15921 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15922
d39baad1
RA
159232013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15924
15925 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15926 match prototype.
15927
cd78f7e7
JM
159282013-10-04 Joseph Myers <joseph@codesourcery.com>
15929
29d73d86
JM
15930 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15931 Move -mhard-float appending from
15932 ports/sysdeps/powerpc/powerpc32/Makefile.
15933 [$(with-fp) = yes] (ASFLAGS): Likewise.
15934 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15935 * sysdeps/powerpc/nofpu: Move directory from
15936 ports/sysdeps/powerpc/nofpu.
15937 * sysdeps/powerpc/soft-fp: Move directory from
15938 ports/sysdeps/powerpc/soft-fp.
15939 * sysdeps/powerpc/powerpc32/405: Move directory from
15940 ports/sysdeps/powerpc/powerpc32/405.
15941 * sysdeps/powerpc/powerpc32/440: Move directory from
15942 ports/sysdeps/powerpc/powerpc32/440.
15943 * sysdeps/powerpc/powerpc32/464: Move directory from
15944 ports/sysdeps/powerpc/powerpc32/464.
15945 * sysdeps/powerpc/powerpc32/476: Move directory from
15946 ports/sysdeps/powerpc/powerpc32/476.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15952 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15954 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15956 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15957 * README: Update for powerpc-*-linux-gnu software floating point
15958 support in libc.
15959
e246b347
JM
15960 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15961 case to powerpc/powerpc32*.
15962 * sysdeps/unix/sysv/linux/configure: Regenerated.
15963
89c2003e
JM
15964 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15965 (_FPU_MASK_OM): Define as 0x04.
15966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15968 0x00c10080.
15969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15970 0x0000003c.
15971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15972
cd78f7e7
JM
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15974 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15975 getcontext_e500.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15977 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15978 setcontext_e500.
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15980 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15981 and setcontext_e500.
15982
c755294d
CL
159832013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15984
15985 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15986
e16d221c
SP
159872013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15988
15989 * manual/threads.texi (Default Thread Attributes): Fix typo.
15990
215c7d43
WN
159912013-10-04 Will Newton <will.newton@linaro.org>
15992
15993 * malloc/Makefile: Add tst-memalign.
15994 * malloc/tst-memalign.c: New file.
15995
27d0461b
WN
15996 * malloc/tst-posix_memalign.c: Add comments.
15997 (do_test): Add comments and call free on all potentially
15998 allocated pointers. Add space after cast.
15999
1bc92709
WN
16000 * malloc/tst-pvalloc.c: Add comments.
16001 (do_test): Add comments and call free on all potentially
16002 allocated pointers. Remove duplicate check for NULL pointer.
16003 Add space after cast.
16004
66a9be9d
WN
16005 * malloc/tst-valloc.c: Add comments.
16006 (do_test): Add comments and call free on all potentially
16007 allocated pointers. Remove duplicate check for NULL pointer.
16008 Add space after cast.
16009
4cb81307
AM
160102013-10-04 Alan Modra <amodra@gmail.com>
16011
16012 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16013 Use stdint types in rather than __attribute__((mode())).
16014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16015
f8e3e9f3
AM
160162013-10-04 Alan Modra <amodra@gmail.com>
16017
16018 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16019 Correct handling of unaligned relocs for little-endian.
16020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16021
8f9ebb08
AM
160222013-10-04 Alan Modra <amodra@gmail.com>
16023
16024 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16025 * configure: Regenerate.
16026 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16027 * shlib-versions: Likewise.
16028
0edf96c2
AM
160292013-10-04 Alan Modra <amodra@gmail.com>
16030
16031 * string/tester.c (test_memrchr): Increment reported test cycle.
16032
e0f7a380
AM
160332013-10-04 Alan Modra <amodra@gmail.com>
16034
16035 * string/test-memcpy.c (do_one_test): When reporting errors, print
16036 string address and don't overrun end of string.
16037
466b0393
AM
160382013-10-04 Alan Modra <amodra@gmail.com>
16039
16040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16041 insrdi. Make better use of reg selection to speed exit slightly.
16042 Schedule entry path a little better. Remove useless "are we done"
16043 checks on entry to main loop. Handle wrapping around zero address.
16044 Correct main loop count. Handle single left-over word from main
16045 loop inline rather than by using loop_small. Remove extra word
16046 case in loop_small caused by wrong loop count. Add little-endian
16047 support.
16048 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16050 cache hint.
16051 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16053 support. Avoid rlwimi.
16054 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16055
3be87c77
AM
160562013-10-04 Alan Modra <amodra@gmail.com>
16057
16058 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16059 insrdi. Formatting.
3be87c77
AM
16060 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16062 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16064 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16065 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16066
759cfef3
AM
160672013-10-04 Alan Modra <amodra@gmail.com>
16068
16069 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16071 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16073 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16074 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16075 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16076 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16077 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16078 use of regs. Use power7 mtocrf. Tidy function tails.
16079
fe6e95d7
AM
160802013-10-04 Alan Modra <amodra@gmail.com>
16081
16082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16083 Formatting. Consistently use rXXX register defines or rN defines.
16084 Use early exit labels that avoid restoring unused non-volatile regs.
16085 Make cr field use more consistent with rWORDn compares. Rename
16086 regs used as shift registers for unaligned loop, using rN defines
16087 for short lifetime/multiple use regs.
16088 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16090 addi 1,1,64 to pop stack frame. Simplify return value code.
16091 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16092
664318c3
AM
160932013-10-04 Alan Modra <amodra@gmail.com>
16094
16095 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16096 support. Correct typos, formatting. Optimize tail. Use insrdi
16097 rather than rlwimi.
16098 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16099 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16100 little-endian support. Correct typos.
16101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16102 rather than rlwimi.
16103 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16104 in loop and entry code to keep "and." results.
16105 (strchr): Add little-endian support. Comment. Move cntlzd
16106 earlier in tail.
16107 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16108
43b84013
AM
161092013-10-04 Alan Modra <amodra@gmail.com>
16110
16111 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16112 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16113 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16114 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16115
8a7413f9
AM
161162013-10-04 Alan Modra <amodra@gmail.com>
16117
16118 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16119 (rTMP): Define as r11.
16120 (strcmp): Add little-endian support. Optimise tail.
16121 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16122 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16123 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16125 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16128
33ee81de
AM
161292013-10-04 Alan Modra <amodra@gmail.com>
16130
16131 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16132 little-endian support. Remove unnecessary "are we done" tests.
16133 Handle "s" wrapping around zero and extremely large "size".
16134 Correct main loop count. Handle single left-over word from main
16135 loop inline rather than by using small_loop. Correct comments.
16136 Delete "zero" tail, use "end_max" instead.
16137 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16138
db9b4570
AM
161392013-10-04 Alan Modra <amodra@gmail.com>
16140
16141 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16142 support. Don't branch over align.
16143 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16144 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16145 support. Rearrange tmp reg use to suit. Comment.
16146 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16147
f7c399cf
AM
161482013-10-04 Alan Modra <amodra@gmail.com>
16149
16150 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16151
0b2c2ace
AM
161522013-10-04 Alan Modra <amodra@gmail.com>
16153
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16155 conditional form of branch and link when obtaining pc.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16157
02f04a6c
AM
161582013-10-04 Alan Modra <amodra@gmail.com>
16159
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16161 HIWORD/LOWORD.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16164
9b874b2f
AM
161652013-10-04 Alan Modra <amodra@gmail.com>
16166
16167 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16168 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16169 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16170 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16171 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16172 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16173 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16174 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16175 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16176 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16177
be1e5d31
AB
161782013-10-04 Anton Blanchard <anton@au1.ibm.com>
16179 Alistair Popple <alistair@ozlabs.au.ibm.com>
16180 Alan Modra <amodra@gmail.com>
16181
16182 [BZ #15723]
16183 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16184 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16185 _dl_hwcap access for little-endian.
16186 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16187 destroy vmx regs when saving unaligned.
16188 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16189 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16190 destroy vmx regs when saving unaligned.
16191
fef13a78
AM
161922013-10-04 Alan Modra <amodra@gmail.com>
16193
16194 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16195 Don't use a union to pack hi/low value.
16196
76a66d51
AB
161972013-10-04 Anton Blanchard <anton@au1.ibm.com>
16198
16199 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16200 for little-endian.
16201 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16203 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16204 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16205 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16206
6a31fe7f
AM
162072013-10-04 Alan Modra <amodra@gmail.com>
16208
16209 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16210 constants to usual value for .cst8 section, and remove redundant
16211 high address load.
16212 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16213 constant for 0x1p52. Load little-endian words of double from
16214 correct stack offsets.
16215
7b88401f
AM
162162013-10-04 Alan Modra <amodra@gmail.com>
16217
16218 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16219 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16220 words of double from correct stack offsets.
16221 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16222 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16223 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16226 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16227 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16228 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16229 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16230 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16231 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16232 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16233 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16234 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16235 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16236 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16237 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16238
9c008155
AM
162392013-10-04 Alan Modra <amodra@gmail.com>
16240
16241 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16242 64-bit int/double union.
16243 (_FPU_SETCW): Likewise.
16244 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16245 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16246
da13146d
AM
162472013-10-04 Alan Modra <amodra@gmail.com>
16248
16249 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16250 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16251
603e8410
AM
162522013-10-04 Alan Modra <amodra@gmail.com>
16253
16254 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16255 use vector int constants.
16256 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16257
4a28b3ca
AB
162582013-10-04 Anton Blanchard <anton@au1.ibm.com>
16259
16260 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16261 array with long long.
16262 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16263 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16264 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16265 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16266 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16267 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16268 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16269 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16270 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16271 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16272 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16273 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16274 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16275
2ca85d2b
AB
162762013-10-04 Anton Blanchard <anton@au1.ibm.com>
16277
16278 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16279 (__signbit): Likewise. Correct for little-endian.
16280 (__signbitl): Call __signbit.
16281 (lrint): Correct for little-endian.
16282 (lrintf): Call lrint.
16283
62a728ae
AM
162842013-10-04 Alan Modra <amodra@gmail.com>
16285
16286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16287 union 32-bit int array member with 64-bit int array.
16288 (t515, tm256): Double rather than long double.
16289 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16290
32c301df
AM
162912013-10-04 Alan Modra <amodra@gmail.com>
16292
16293 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16294 Delete.
16295 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16297 version of math_ldbl.h.
16298
650ef4bd
AM
162992013-10-04 Alan Modra <amodra@gmail.com>
16300
16301 [BZ #15734], [BZ #15735]
16302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16303 all uses of ieee875 long double macros and unions. Simplify test
16304 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16305 ldbl_extract_mantissa value for ix,iy exponents. Properly
16306 normalize after ldbl_extract_mantissa, and don't add hidden bit
16307 already handled. Don't treat low word of ieee854 mantissa like
16308 low word of IBM long double and mask off bit when testing for
16309 zero.
16310 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16311 all uses of ieee875 long double macros and unions. Simplify tests
16312 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16313 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16314 two1022, instead use their values. Recognise that tests for large
16315 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16317 Rewrite all uses of ieee875 long double macros and unions. Simplify
16318 test for 0.0L and nan. Correct negation.
16319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16320 ieee875 long double macros and unions. Correct output for large
16321 magnitude x. Correct absolute value calculation.
16322 (__erfcl): Likewise.
16323 * math/libm-test.inc: Add tests for errors discovered in IBM long
16324 double versions of fmodl, remainderl, erfl and erfcl.
16325
765714ca
AM
163262013-10-04 Alan Modra <amodra@gmail.com>
16327
16328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16329 all uses of ieee854 long double macros and unions. Simplify tests
16330 for long doubles that are fully specified by the high double.
16331 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16332 Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16334 Remove dead code too.
16335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16336 (__ieee754_ynl): Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16340 Remove dead code too.
16341 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16345 Simplify.
16346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16347 Simplify.
16348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16351 Comment on variable precision.
16352 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16354 Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16358 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16359 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16360
4ebd120c
AM
163612013-10-04 Alan Modra <amodra@gmail.com>
16362
16363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16364 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16365 all uses of ieee854 long double macros and unions.
16366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16367 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16371 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16372 Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16376 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16377 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16379 Simplify sign and nan test too.
16380 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16381 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16382 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16383 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16384 Likewise.
16385 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16386 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16387 Likewise.
16388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16390 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16392 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16394
1b6adf88
AM
163952013-10-04 Alan Modra <amodra@gmail.com>
16396
16397 * stdio-common/printf_size.c (__printf_size): Don't use
16398 union ieee854_long_double in fpnum union.
16399 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16400 signbit macro to retrieve sign from long double.
16401 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16402 retrieve sign from long double.
16403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16404 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16405 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16406 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16407 * math/test-misc.c (main): Don't use union ieee854_long_double.
16408
4cf69995
AM
164092013-10-04 Alan Modra <amodra@gmail.com>
16410
16411 [BZ #15680]
16412 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16414 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16415 calculation. Remove unnecessary test for denormal exponent.
16416 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16417 Correct handling of denormals. Avoid undefined shift behaviour.
16418 Correct normalisation of low mantissa when low double is denormal.
16419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16420 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16421 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16422 Correct normalisation of low mantissa. Test for overflow of high
16423 mantissa and normalise.
16424 (ldbl_nearbyint): Use more readable constant for two52.
16425 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16426 (__mpn_construct_long_double): Fix test for overflow of high
16427 mantissa and correct normalisation. Avoid undefined shift.
16428
9605ca6c
AM
164292013-10-04 Alan Modra <amodra@gmail.com>
16430
16431 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16432 (union ibm_extended_long_double): Define as an array of ieee754_double.
16433 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16434 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16435 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16438 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16440 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16441 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16442 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16443 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16444
975569d0
JM
164452013-10-03 Joseph Myers <joseph@codesourcery.com>
16446
d3d23756
JM
16447 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16448 page size instead of calling getpagesize.
16449
975569d0
JM
16450 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16451 (LOCFILE_ALIGN_MASK): Likewise.
16452 (LOCFILE_ALIGN_UP): Likewise.
16453 (LOCFILE_ALIGNED_P): Likewise.
16454 * locale/programs/ld-collate.c (collate_output): Use the new
16455 macros instead of __alignof__ (int32_t).
16456 * locale/weight.h (findidx): Likewise.
16457
b1fe1f2b
OB
164582013-10-03 Ondřej Bílka <neleai@seznam.cz>
16459
16460 [BZ #431]
16461 * manual/string.texi: Fix strncat and wcsncat.
16462
5f855e35
BM
164632013-10-03 Brooks Moses <bmoses@google.com>
16464
16465 [BZ #15915]
16466 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16467 * Makerules: ...here, and adjust associated comments.
16468
3cef6009
WN
164692013-10-02 Will Newton <will.newton@linaro.org>
16470
16471 * malloc/Makefile: Add tst-pvalloc.
16472 * malloc/tst-pvalloc.c: New file.
16473
7815420b
WN
164742013-10-02 Will Newton <will.newton@linaro.org>
16475
16476 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16477 improve test coverage.
16478
4868b204
WN
164792013-10-02 Will Newton <will.newton@linaro.org>
16480
16481 * malloc/Makefile: Add tst-posix_memalign.
16482 * malloc/tst-posix_memalign.c: New file.
16483
29c793b3
EB
164842013-10-01 Eric Blake <eblake@redhat.com>
16485
16486 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16487 Use __THROWNL rather than __THROW on static functions.
16488
fd967522
PM
164892013-09-30 Petr Machata <pmachata@redhat.com>
16490
16491 * elf/elf.h (R_AARCH64_ABS16): New macro.
16492 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16493 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16494 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16495 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16496 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16497 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16498 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16499 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16500 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16501 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16502 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16503 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16504 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16505 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16506 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16507 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16508 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16509 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16510 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16511 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16512 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16513 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16514 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16515 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16516 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16517 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16518 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16519 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16520 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16521 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16522 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16523 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16524 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16525 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16526 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16527 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16528 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16529 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16530 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16531 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16532 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16533 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16534 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16535 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16536 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16537 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16538 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16539 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16540 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16541 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16542 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16543 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16544 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16545 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16546 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16547 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16548 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16549 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16550 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16551 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16552 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16553 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16554 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16555 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16556 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16557 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16558 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16559 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16560 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16561 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16562 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16563 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16564 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16565 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16566 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16567 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16568 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16569 (R_AARCH64_TLSDESC_LDR): Likewise.
16570 (R_AARCH64_TLSDESC_ADD): Likewise.
16571 (R_AARCH64_TLSDESC_CALL): Likewise.
16572
b2179107
AS
165732013-09-30 Andreas Schwab <schwab@suse.de>
16574
16575 [BZ #15048]
16576 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16577 the nss database lookup.
16578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16580
47f28d0a
MF
165812013-09-28 Mike Frysinger <vapier@gentoo.org>
16582
16583 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16584
165852013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16586
16587 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16588 ${Bash-specific parameter/pattern/string} parameter expansion.
16589 * sysdeps/unix/make-syscalls.sh: Likewise.
16590
f4518a17
KK
165912013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16592
16593 * sysdeps/sh/stackguard-macros.h: New file.
16594
dc1a95c7
OB
165952013-09-26 Ondřej Bílka <neleai@seznam.cz>
16596
16597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16599 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16600 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16602 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16603
5ebbff8f
AZ
166042013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16605
16606 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16607 Fix thread ID register.
16608
4fd2cf9f
JM
166092013-09-25 Joseph Myers <joseph@codesourcery.com>
16610
16611 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16612 [POSIX || UNIX98]: Require rather than permitting all symbols from
16613 <time.h>.
16614 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16615 element of struct sched_param.
16616 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16617 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16618 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16619 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16620 constant.
16621
12c22bc4
OL
166222013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16623
16624 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16625 argument calculation.
16626
a03d8ea7
JM
166272013-09-24 Joseph Myers <joseph@codesourcery.com>
16628
16629 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16630 Expect macro.
16631 [POSIX] (pthread_attr_t): Do not require type.
16632 [POSIX] (pthread_cond_t): Likewise.
16633 [POSIX] (pthread_condattr_t): Likewise.
16634 [POSIX] (pthread_key_t): Likewise.
16635 [POSIX] (pthread_mutex_t): Likewise.
16636 [POSIX] (pthread_mutexattr_t): Likewise.
16637 [POSIX] (pthread_once_t): Likewise.
16638 [POSIX] (pthread_t): Likewise.
16639 [POSIX-based standards] (pthread_atfork): Expect function.
16640
6055173a
JM
166412013-09-24 Joseph Myers <joseph@codesourcery.com>
16642 Richard Sandiford <richard@codesourcery.com>
16643
16644 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16645 (swap_endianness_p): New extern variable.
16646 (set_big_endian): New inline function.
16647 (maybe_swap_uint32): Likewise.
16648 (maybe_swap_uint32_array): Likewise.
16649 (maybe_swap_uint32_obstack): Likewise.
16650 * locale/programs/locfile.c: Include <stdbool.h>.
16651 (swap_endianness_p): New variable.
16652 (add_locale_uint32): Call maybe_swap_uint32.
16653 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16654 (write_locale_data): Call maybe_swap_uint32_array.
16655 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16656 maybe_swap_uint32.
16657 (obstack_int32_grow_fast): Likewise.
16658 (output_weightwc): Call maybe_swap_uint32_obstack.
16659 (collate_output): Likewise.
16660 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16661 (OPT_LITTLE_ENDIAN): Likewise.
16662 (options): Add --little-endian and --big-endian options.
16663 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16664 * locale/programs/locarchive.c: Include "locfile.h".
16665 (GET): New macro.
16666 (SET): Likewise.
16667 (INC): Likewise.
16668 (create_archive): Use the new macros to access fields of
16669 structures directly mapped from or written to locale archives.
16670 (oldlocrecentcmp): Likewise.
16671 (enlarge_archive): Likewise.
16672 (insert_name): Likewise.
16673 (add_alias): Likewise.
16674 (add_locale): Likewise.
16675 (delete_locales_from_archive): Likewise.
16676 (show_archive_content): Likewise.
16677 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16678 locale data.
16679
39bf0bb4
RM
166802013-09-24 Roland McGrath <roland@hack.frob.com>
16681
16682 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16683 http://www.gnu.org/doc/freemanuals.texi.
16684 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16685
f02eed10
WN
166862013-09-24 Will Newton <will.newton@linaro.org>
16687
16688 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16689 macro.
16690
a3a6c312
JM
166912013-09-23 Joseph Myers <joseph@codesourcery.com>
16692
16693 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16694 unsigned char.
16695
107375ac
MR
166962013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16697
16698 * manual/threads.texi (POSIX Threads): Fix a typo.
16699
141f3a77
SP
167002013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16701
303e567a
SP
16702 [BZ #14547]
16703 * string/tst-strcoll-overflow.c: New test case.
16704 * string/Makefile (xtests): Add tst-strcoll-overflow.
16705 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16706 cache if string sizes may cause integer overflow.
16707
141f3a77
SP
16708 [BZ #14547]
16709 * string/strcoll_l.c (coll_seq): New members rule, idx,
16710 save_idx and back_us.
16711 (get_next_seq_nocache): New function.
16712 (do_compare_nocache): New function.
16713 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16714 when malloc fails.
16715
c61b4d41
CD
167162013-09-23 Carlos O'Donell <carlos@redhat.com>
16717
0b1f8e35
CD
16718 [BZ #15754]
16719 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16720 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16721 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16722
c61b4d41
CD
16723 [BZ #15754]
16724 * elf/Makefile (tests): Add tst-ptrguard1.
16725 (tests-static): Add tst-ptrguard1-static.
16726 (tst-ptrguard1-ARGS): Define.
16727 (tst-ptrguard1-static-ARGS): Define.
16728 * elf/tst-ptrguard1.c: New file.
16729 * elf/tst-ptrguard1-static.c: New file.
16730 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16731 * sysdeps/i386/stackguard-macros.h: Likewise.
16732 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16733 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16734 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16735 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16736 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16737 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16738
167392013-09-23 Hector Marco <hecmargi@upv.es>
16740 Ismael Ripoll <iripoll@disca.upv.es>
16741 Carlos O'Donell <carlos@redhat.com>
16742
16743 [BZ #15754]
16744 * sysdeps/generic/stackguard-macros.h: Define
16745 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16746 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16747 Define __pointer_chk_guard_local.
16748 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16749 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16750
f5f4e7b4
VV
167512013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16752
16753 [BZ #15859]
16754 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16755
5bb43a43
AS
167562013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16757
16758 * include/string.h (__ffs): Declare as hidden.
16759 * string/ffs.c (__ffs): Define as hidden.
16760 * sysdeps/i386/ffs.c (__ffs): Likewise.
16761 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16762 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16763 * sysdeps/s390/ffs.c (__ffs): Likewise.
16764 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16765
3ea5be54
AO
167662013-09-20 Alexandre Oliva <aoliva@redhat.com>
16767
ffb89e53
AO
16768 * NEWS: Mention malloc probes.
16769
322dea08
AO
16770 * malloc/arena.c (new_heap): New memory_heap_new probe.
16771 (grow_heap): New memory_heap_more probe.
16772 (shrink_heap): New memory_heap_less probe.
16773 (heap_trim): New memory_heap_free probe.
16774 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16775 (systrim): New memory_sbrk_less probe.
16776 * manual/probes.texi: Document them.
16777
655673f3
AO
16778 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16779 * manual/probes.texi: Document it.
16780
35fed6f1
AO
16781 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16782 (__libc_realloc): Add memory_realloc_retry probe.
16783 (__libc_memalign): Add memory_memalign_retry probe.
16784 (__libc_valloc): Add memory_valloc_retry probe.
16785 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16786 (__libc_calloc): Add memory_calloc_retry probe.
16787 * manual/probes.texi: Document them.
16788
6999d38c
AO
16789 * malloc/arena.c (get_free_list): Add probe
16790 memory_arena_reuse_free_list.
16791 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16792 and memory_arena_reuse.
16793 (arena_get2) [!PER_THREAD]: Likewise.
16794 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16795 memory_arena_reuse_realloc.
16796 * manual/probes.texi: Document them.
16797
0653427f
AO
16798 * malloc/malloc.c (__libc_free): Add
16799 memory_mallopt_free_dyn_thresholds probe.
16800 (__libc_mallopt): Add multiple memory_mallopt probes.
16801 * manual/probes.texi: Document them.
16802
3ea5be54
AO
16803 * malloc/malloc.c: Include stap-probe.h.
16804 (__libc_mallopt): Add memory_mallopt probe.
16805 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16806 * manual/probes.texi: New.
16807 * manual/Makefile (chapters): Add probes.
16808 * manual/threads.texi: Set next node.
16809
e35696c3 168102013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16811
e35696c3
CL
16812 [BZ #15963, #13985]
16813 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16814 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16815 Add `Chinese' to `nan' entry name.
16816
4aafb73c
SP
168172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16818
16819 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16820 (POLYNOMIAL): Likewise.
16821 (TAYLOR_SINCOS): Likewise.
16822 (TAYLOR_SLOW): Likewise.
16823 (__sin): Use TAYLOR_SINCOS.
16824 (__cos): Likewise.
16825 (slow): Use TAYLOR_SLOW.
16826 (sloww): Likewise.
16827 (bsloww): Likewise.
16828 (csloww): Likewise.
16829
d84f25c7
LD
168302013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16831
16832 * stdlib/strtod_l.c: Fix buffer overrun.
16833
5eea0404
SP
168342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16835
7849ff93
SP
16836 * benchtests/Makefile (bench): Add sincos.
16837 * benchtests/bench-sincos.c: New file.
16838
cfa3c886
SP
16839 * math/libm-test.inc (cos_test_data): New test inputs.
16840 (sin_test_data): Likewise.
16841
b348e1e3
SP
16842 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16843 macro.
16844 (__sin): Use it.
16845 (__cos): Likewise.
16846 (slow1): Likewise.
16847 (slow2): Likewise.
16848 (sloww1): Likewise.
16849 (sloww2): Likewise.
16850 (bsloww1): Likewise.
16851 (bsloww2): Likewise.
16852 (cslow2): Likewise.
16853 (csloww1): Likewise.
16854 (csloww2): Likewise.
16855
6cce25f8
SP
16856 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16857 function.
16858 (__sin): Use it.
16859 (__cos): Likewise.
16860
5eea0404
SP
16861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16862 gotos.
16863 (__cos): Likewise.
16864
9c21573c
MR
168652013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16866
16867 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16868 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16869 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16870 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16871 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16872 * elf/cache.c (print_entry): Handle the new cache flags.
16873
24d22e65
JM
168742013-09-18 Joseph Myers <joseph@codesourcery.com>
16875 Aldy Hernandez <aldyh@redhat.com>
16876
16877 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16878 Change condition to [_SOFT_FLOAT].
16879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16891 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16893 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16894 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16895 declaration.
16896
d13ef066
JM
168972013-09-18 Joseph Myers <joseph@codesourcery.com>
16898
2e071de0
JM
16899 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16900 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16901 (__longjmp): Use LOAD_GP to load saved GPRs.
16902 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16903 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16904 (__sigsetjmp): Use SAVE_GP to save GPRs.
16905
d13ef066
JM
16906 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16907 Do not append -msoft-float.
16908 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16909
97a0650b
SP
169102013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16911
16912 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16913
11ca09e9
JM
169142013-09-17 Joseph Myers <joseph@codesourcery.com>
16915
16916 [BZ #15966]
16917 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16918 (_FPU_GETCW): Use initial "__" on variable and field names but not
16919 on macro parameter name.
16920 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16921 parentheses around reference to macro parameter.
16922
08ffcf34
RS
169232013-09-13 Richard Sandiford <richard@codesourcery.com>
16924
16925 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16926 prototype.
16927 (ctype_startup): Use uint32_t in cast and sizeof for
16928 ctype->charnames.
16929
ae7080d3
JL
169302013-09-11 Jia Liu <proljc@gmail.com>
16931
16932 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16933 __daddr_t_defined.
16934 [__FreeBSD__]: Likewise.
16935
5905e7b3
OB
169362013-09-11 Ondřej Bílka <neleai@seznam.cz>
16937
16938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16939 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16940 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16941 (strchr): Remove __strchr_sse42 ifunc selection.
16942 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16943 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16944
b987c776
WN
169452013-09-11 Will Newton <will.newton@linaro.org>
16946
16947 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16948 parameter to RES. Remove hardcoded 1000 value.
16949 * benchtests/bench-skeleton.c (main): Pass RES parameter
16950 to TIMING_INIT and multiply result by 1000.
16951
ddf985af
AZ
169522013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16953
16954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16955
ffdd3181
AS
169562013-09-11 Andreas Schwab <schwab@suse.de>
16957
16958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16959 if not defined.
16960 (O_TMPFILE) [__USE_GNU]: Define.
16961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16962 Define.
16963
b73ed247
WN
169642013-09-11 Will Newton <will.newton@linaro.org>
16965
16966 [BZ #15857]
16967 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16968 does not overflow.
16969
55e17aad
WN
169702013-09-11 Will Newton <will.newton@linaro.org>
16971
16972 [BZ #15856]
16973 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16974 does not overflow.
16975
1159a193
WN
169762013-09-11 Will Newton <will.newton@linaro.org>
16977
16978 [BZ #15855]
16979 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16980 does not overflow.
16981
5905e7b3 169822013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16983
16984 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16987 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16989
cdfc721b
AM
169902013-09-10 Allan McRae <allan@archlinux.org>
16991
aa04af00
AM
16992 [BZ #15748]
16993 * manual/arith.texi (Parsing of Floats): Clarify
16994 cross-reference.
16995
cdfc721b
AM
16996 [BZ #15849]
16997 * manual/install.texi (Running make install): Mention
16998 --enable-pt-chown.
16999 * INSTALL: Regenerated.
17000
95e7cf29
MR
170012013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17002
17003 * csu/init-first.c (_init): Remove the !SHARED condition around
17004 FPU control word initialization.
17005 * elf/dl-support.c (_dl_fpu_control): New variable.
17006 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17007 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17008 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17009 * math/test-fpucw-static.c: New file.
17010 * math/test-fpucw-ieee.c: New file.
17011 * math/test-fpucw-ieee-static.c: New file.
17012 * math/Makefile (tests): Add `test-fpucw-ieee' and
17013 `$(tests-static)'.
17014 (tests-static): New variable.
17015 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17016 dependency to...
17017 [($(build-shared),yes)]
17018 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17019 ... this.
17020 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17021 New dependency.
17022
83e43bf0
AM
170232013-09-09 Allan McRae <allan@archlinux.org>
17024
a9f5ce09
AM
17025 [BZ #15939]
17026 * manual/string.texi (Collation Functions): Fix typo in
17027 strcoll example.
17028 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17029
34829bc2
AM
17030 [BZ #15893]
17031 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17032
3932737d
AM
17033 [BZ #15892]
17034 * libio/memstream.c (open_memstream): Fix memory leak.
17035 * libio/wmemstream.c (open_wmemstream): Likewise.
17036
83e43bf0
AM
17037 [BZ #15895]
17038 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17039
0c66b8e9
WN
170402013-09-09 Will Newton <will.newton@linaro.org>
17041
17042 * malloc/Makefile: Add tst-realloc to tests.
17043 * malloc/tst-realloc.c: New file.
17044
f6b00fd1
AM
170452013-09-09 Allan McRae <allan@archlinux.org>
17046
17047 [BZ #15844]
17048 * COPYING: Update from GNU website to fix FSF address.
17049 * COPYING.LIB: Likewise.
17050
eec55e16
DM
170512013-09-06 David S. Miller <davem@davemloft.net>
17052
17053 * po/zh_TW.po: Update Chinese (traditional) translation from
17054 translation project.
17055
1ecbb381
RS
170562013-09-06 Richard Sandiford <richard@codesourcery.com>
17057 Joseph Myers <joseph@codesourcery.com>
17058
17059 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17060 "localeinfo.h".
17061 (obstack_chunk_alloc): New macro.
17062 (obstack_chunk_free): Likewise.
17063 (record_offset): New function.
17064 (init_locale_data): Likewise.
17065 (align_locale_data): Likewise.
17066 (add_locale_empty): Likewise.
17067 (add_locale_raw_data): Likewise.
17068 (add_locale_raw_obstack): Likewise.
17069 (add_locale_string): Likewise.
17070 (add_locale_wstring): Likewise.
17071 (add_locale_uint32): Likewise.
17072 (add_locale_uint32_array): Likewise.
17073 (add_locale_char): Likewise.
17074 (start_locale_structure): Likewise.
17075 (end_locale_structure): Likewise.
17076 (start_locale_prelude): Likewise.
17077 (end_locale_prelude): Likewise.
17078 (write_locale_data): Take locale_file structure rather than an
17079 iovec.
17080 * locale/programs/locfile.h: Include "obstack.h".
17081 (struct locale_file): Change to store locale file contents instead
17082 of header.
17083 (init_locale_data): New prototype.
17084 (align_locale_data): Likewise.
17085 (add_locale_empty): Likewise.
17086 (add_locale_raw_data): Likewise.
17087 (add_locale_raw_obstack): Likewise.
17088 (add_locale_string): Likewise.
17089 (add_locale_wstring): Likewise.
17090 (add_locale_uint32): Likewise.
17091 (add_locale_uint32_array): Likewise.
17092 (add_locale_char): Likewise.
17093 (start_locale_structure): Likewise.
17094 (end_locale_structure): Likewise.
17095 (start_locale_prelude): Likewise.
17096 (end_locale_prelude): Likewise.
17097 (write_locale_data): Update prototype.
17098 * locale/programs/3level.h (struct TABLE): Remove result field.
17099 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17100 Use new locale_file interface.
17101 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17102 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17103 * locale/programs/ld-address.c (address_output): Use new
17104 locale_file interface.
17105 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17106 NO_ADD_LOCALE.
17107 (collate_finish): Don't call collseq_table_finalize.
17108 (collate_output): Use new locale_file interface.
17109 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17110 in file.
17111 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17112 (TABLE): Move defines earlier in file.
17113 (ELEMENT): Likewise.
17114 (DEFAULT): Likewise.
17115 (wctrans_table_add): Move macro and inline function earlier in
17116 file.
17117 (struct wctype_table): Move type earlier in file.
17118 (add_locale_wctype_table): New static prototype.
17119 (struct locale_ctype_t): Use logical types instead of struct iovec
17120 pointers for members.
17121 (ctype_output): Use new locale_file interface.
17122 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17123 new locale_file interface.
17124 (allocate_arrays): Update for use of new locale_file interface.
17125 * locale/programs/ld-identification.c (identification_output): Use
17126 new locale_file interface.
17127 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17128 * locale/programs/ld-messages.c (messages_output): Likewise.
17129 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17130 * locale/programs/ld-name.c (name_output): Likewise.
17131 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17132 * locale/programs/ld-paper.c (paper_output): Likewise.
17133 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17134 * locale/programs/ld-time.c (time_output): Likewise.
17135
e029e2e5
AZ
171362013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17137
17138 * benchtests/Makefile: Add memrchr benchmark.
17139 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17140 benchmark as memrchr.
17141 * benchtests/bench-memrchr-ifunc.c: New file.
17142 * benchtests/bench-memrchr.c: New file.
17143
bbf6e8e4
WN
171442013-09-06 Will Newton <will.newton@linaro.org>
17145
17146 * benchtests/Makefile (string-bench): Add memcpy.
17147
6c82a2f8
CD
171482013-09-05 Carlos O'Donell <carlos@redhat.com>
17149 Cong Wang <amwang@redhat.com>
17150
e732c5f0 17151 [BZ #15850]
6c82a2f8
CD
17152 * sysdeps/unix/sysv/linux/bits/in.h
17153 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17154 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17155 before __USE_KERNEL_IPV6_DEFS uses.
17156 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17157 IPPROTO_BEETPH.
17158 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17159 sockaddr_in6, or ipv6_mreq.
17160
5430fc65
AZ
171612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17162
17163 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17164 memory access for final bytes in some large inputs.
17165 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17166
4660856c
AZ
171672013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17168
17169 * string/test-memrchr.c: New file.
17170 * string/test-memrchr-ifunc.c: New file.
17171 * string/Makefile: Add new memrchr testcase.
17172
bb8ea713
MF
171732013-09-05 Mike Frysinger <vapier@gentoo.org>
17174
17175 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17176 fanotify_init returns EPERM.
17177
b92a20b5
JM
171782013-09-04 Joseph Myers <joseph@codesourcery.com>
17179
17180 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17181 errors.
17182 (top level): Treat second token from macro or constant entries for
17183 allowed headers as allowed.
17184 * include/complex.h: Condition internal declarations on
17185 [!_ISOMAC].
17186 * include/fenv.h: Condition include of <stdbool.h> and internal
17187 declarations on [!_ISOMAC].
7447ccd9
CL
17188
171892013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17190
3e181dda 17191 [BZ #15923]
7447ccd9
CL
17192 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17193
3f2e46a4
JM
171942013-09-04 Joseph Myers <joseph@codesourcery.com>
17195
17196 * configure.in (--enable-versioning): Remove configure option.
17197 (libc_cv_asm_symver_directive): Remove configure test.
17198 (libc_cv_ld_version_script_option): Likewise.
17199 (VERSIONING): Remove variable and AC_SUBST.
17200 (DO_VERSIONING): Remove AC_DEFINE.
17201 * configure: Regenerated.
17202 * config.h.in (DO_VERSIONING): Remove macro.
17203 * Makerules [$(versioning) = yes]: Change conditionals to
17204 [$(build-shared) = yes].
17205 * config.make.in (versioning): Remove variable.
17206 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17207 [$(build-shared) = yes].
17208 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17209 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17210 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17211 [$(build-shared) = yes].
17212 * extra-lib.mk [$(versioning) = yes]: Likewise.
17213 * hurd/Makefile [$(versioning) = yes]: Likewise.
17214 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17215 [SHARED].
17216 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17217 [SHARED].
17218 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17219 [SHARED && !NO_HIDDEN].
17220 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17221 [SHARED].
17222 [SHARED && DO_VERSIONING]: Likewise..
17223 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17224 [$(build-shared) = yes].
17225 * manual/install.texi (--disable-versioning): Remove
17226 documentation.
17227 * INSTALL: Regenerated.
17228 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17229 to [SHARED].
17230 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17231 [$(build-shared) = yes].
17232 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17233 * sysdeps/i386/i686/multiarch/strstr-c.c
17234 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17235 [SHARED && !NO_HIDDEN].
17236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17237 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17238 * sysdeps/powerpc/powerpc32/dl-machine.c
17239 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17240 * sysdeps/powerpc/powerpc32/sysdep.h
17241 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17242 to [SHARED && PIC && !NO_HIDDEN].
17243 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17244 conditional to [SHARED].
17245
44558701
WN
172462013-09-04 Will Newton <will.newton@linaro.org>
17247
17248 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17249 * benchtests/bench-string.h: Include bench-timing.h instead
17250 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17251 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17252 call to HP_TIMING_DIFF_INIT.
17253 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17254 instead of hp-timing.h macros.
17255 * benchtests/bench-memchr.c: Likewise.
17256 * benchtests/bench-memcmp.c: Likewise.
17257 * benchtests/bench-memcpy.c: Likewise.
17258 * benchtests/bench-memmem.c: Likewise.
17259 * benchtests/bench-memmove.c: Likewise.
17260 * benchtests/bench-memset.c: Likewise.
17261 * benchtests/bench-rawmemchr.c: Likewise.
17262 * benchtests/bench-strcasecmp.c: Likewise.
17263 * benchtests/bench-strcasestr.c: Likewise.
17264 * benchtests/bench-strcat.c: Likewise.
17265 * benchtests/bench-strchr.c: Likewise.
17266 * benchtests/bench-strcmp.c: Likewise.
17267 * benchtests/bench-strcpy.c: Likewise.
17268 * benchtests/bench-strcpy_chk.c: Likewise.
17269 * benchtests/bench-strlen.c: Likewise.
17270 * benchtests/bench-strncasecmp.c: Likewise.
17271 * benchtests/bench-strncat.c: Likewise.
17272 * benchtests/bench-strncmp.c: Likewise.
17273 * benchtests/bench-strncpy.c: Likewise.
17274 * benchtests/bench-strnlen.c: Likewise.
17275 * benchtests/bench-strpbrk.c: Likewise.
17276 * benchtests/bench-strrchr.c: Likewise.
17277 * benchtests/bench-strspn.c: Likewise.
17278 * benchtests/bench-strstr.c: Likewise.
17279
cae16d66
WN
172802013-09-04 Will Newton <will.newton@linaro.org>
17281
17282 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17283
ffa3cd7f
JM
172842013-09-03 Joseph Myers <joseph@codesourcery.com>
17285
17286 [BZ #15427]
17287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17288 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17289 * math/libm-test.inc (lgamma_test_data): Add more tests.
17290 * sysdeps/i386/fpu/libm-test-ulps: Update.
17291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17292
8f02859f
OB
172932013-09-03 Ondřej Bílka <neleai@seznam.cz>
17294
17295 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17297 Add ifunc.
17298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17299 Add strcmp-sse2-unaligned
17300 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17301
18d43716
MF
173022013-09-02 Mike Frysinger <vapier@gentoo.org>
17303
17304 * Versions.def (libc): Add GLIBC_2.19.
17305
ac444012
MF
173062013-09-02 Mike Frysinger <vapier@gentoo.org>
17307
17308 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17309 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17310
b7835e32
JM
173112013-09-02 Joseph Myers <joseph@codesourcery.com>
17312
17313 [BZ #14155]
17314 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17315 intermediate calculations in recurrence.
17316 (__ieee754_ynf): Likewise.
17317 * math/libm-test.inc (jn_test_data): Do not allow spurious
17318 underflow exception. Add more tests.
17319 (yn_test_data): Add more tests.
17320 * sysdeps/i386/fpu/libm-test-ulps: Update.
17321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17322
8220f4f0
OB
173232013-09-02 Ondřej Bílka <neleai@seznam.cz>
17324
17325 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17326
f24a6d08
OB
173272013-08-30 Ondřej Bílka <neleai@seznam.cz>
17328
17329 * csu/init-first.c: Fix then/than typos.
17330 * locale/programs/ld-collate.c: Likewise.
17331 * locale/programs/linereader.h: Likewise.
17332 * manual/charset.texi: Likewise.
17333 * manual/filesys.texi: Likewise.
17334 * manual/stdio.texi: Likewise.
17335 * manual/string.texi: Likewise.
17336 * stdlib/fmtmsg.c: Likewise.
17337 * sysdeps/i386/stpncpy.S: Likewise.
17338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17339 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17341 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17342
382466e0
OB
173432013-08-30 Ondřej Bílka <neleai@seznam.cz>
17344
17345 * elf/dl-open.c: Fix typos.
17346 * iconvdata/gbbig5.c: Likewise.
17347 * iconvdata/iso-2022-jp.c: Likewise.
17348 * iconv/gconv_int.h: Likewise.
17349 * iconv/loop.c: Likewise.
17350 * nis/rpcsvc/nis.h: Likewise.
17351 * resolv/ns_name.c: Likewise.
17352 * stdio-common/vfscanf.c: Likewise.
17353 * streams/stropts.h: Likewise.
17354 * sunrpc/rpc_thread.c: Likewise.
17355 * sysdeps/i386/strpbrk.S: Likewise.
17356 * sysdeps/ieee754/k_standard.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17359 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17360 * sysdeps/mach/hurd/profil.c: Likewise.
17361 * sysdeps/s390/dl-procinfo.h: Likewise.
17362 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17363 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17364 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17365 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17367
0186c6e9
OB
173682013-08-30 Ondřej Bílka <neleai@seznam.cz>
17369
17370 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17372
d4e16af1
OB
173732013-08-29 Ondřej Bílka <neleai@seznam.cz>
17374
17375 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17376 aix specific files.
17377 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17379 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17380 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17381 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17383 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17384 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17385
88335980
TS
173862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17387 Roland McGrath <roland@hack.frob.com>
17388
17389 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17390 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17391
ed479b02
ST
173922013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17393
17394 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17395 __executable_start symbol instead of _start.
17396
f1cc4c86
TS
173972013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17398
d821f07c
TS
17399 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17400 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17401 Move macros to...
17402 * sysdeps/gnu/ldsodefs.h: ... this new file.
17403
c54290cf
TS
17404 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17405 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17406 instead of ELFOSABI_LINUX.
17407
0007fc9b 17408 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17409 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17410 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17411 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17412 Likewise.
17413 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17414 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17415 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17416 Likewise.
17417 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17418 (ibm_extended_long_double): Add ieee_nan member.
17419 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17420 (do_test): New function.
17421
f1cc4c86
TS
17422 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17423 TEST_TRUNC.
17424 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17425 functions, renamed from truncdfsf_test, trunctfsf_test,
17426 trunctfdf_test.
17427 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17428 functions.
17429 (do_test): Run all these.
17430
6f65e668
OB
174312013-08-29 Ondřej Bílka <neleai@seznam.cz>
17432
17433 * argp/argp-help.c: Fix typos.
17434 * argp/argp-parse.c: Likewise.
17435 * debug/backtracesyms.c: Likewise.
17436 * elf/elf.h: Likewise.
17437 * malloc/malloc.c: Likewise.
17438 * nis/nis_print.c: Likewise.
17439 * resolv/res_comp.c: Likewise.
17440 * stdlib/stdlib.h: Likewise.
17441 * sunrpc/clnt_tcp.c: Likewise.
17442 * sunrpc/clnt_udp.c: Likewise.
17443 * sunrpc/clnt_unix.c: Likewise.
17444 * sysdeps/unix/bsd/ptsname.c: Likewise.
17445 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17448 Likewise.
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17450 Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17452 Likewise.
6f65e668
OB
17453 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17454
3a309239
SP
174552013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17456
17457 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17459
3b813b29
MF
174602013-08-27 Mike Frysinger <vapier@gentoo.org>
17461
17462 [BZ #15897]
17463 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17464 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17465 ($(objpfx)bug-dl-leaf): New rule.
17466 ($(objpfx)bug-dl-leaf.so): Likewise.
17467 ($(objpfx)bug-dl-leaf.out): Likewise.
17468 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17469 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17470 * dlfcn/bug-dl-leaf.c: New test.
17471 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17472 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17473 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17474 (dlclose): Likewise.
17475 (dlmopen): Likewise.
17476
8cc3269f
RM
174772013-08-27 Roland McGrath <roland@hack.frob.com>
17478
7f9d0034
RM
17479 * include/netdb.h [!_ISOMAC]:
17480 Don't include <tls.h>.
17481 (h_errno, __libc_h_errno): Move declaration and macros out of
17482 [_LIBC_REENTRANT].
17483
fb431262
RM
17484 * include/resolv.h [_RESOLV_H_]:
17485 Don't include <tls.h>.
17486 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17487 * resolv/res_libc.c: Don't include <tls.h>.
17488 (_res): Use __attribute__ ((nocommon)) in place of
17489 __attribute__ ((section (".bss"))).
17490
bd81123a
RM
17491 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17492 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17493
c4e42566
RM
17494 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17495
f890a59b
RM
17496 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17497 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17498
17499 * resolv/res_mkquery.c: Include <sys/time.h>.
17500
5d1f0a09
RM
17501 * inet/ifreq.c: Moved to ...
17502 * sysdeps/unix/ifreq.c: ... here.
17503 * inet/ifreq.c: New file, true stub version.
17504
6fcf28b3
RM
17505 * socket/sa_len.c: New file.
17506 * socket/Makefile (aux): Add it.
17507 * sysdeps/unix/sysv/linux/Makefile
17508 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17509 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17510 and #include <socket/sa_len.c>.
17511 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17512 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17513
e041fb8b
RM
17514 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17515 * bits/socket.h: ... here.
17516
8cc3269f
RM
17517 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17518 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17519 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17520
5d228a43
AS
175212013-08-27 Andreas Schwab <schwab@suse.de>
17522
45b8accc
AS
17523 [BZ #15736]
17524 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17525 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17526 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17527 * string/test-strcasecmp.c (test_main): Run tests in several
17528 locales.
17529 * string/test-strncasecmp.c (test_main): Likewise.
17530
5d228a43
AS
17531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17532 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17533 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17535 (__strncasecmp_ssse3) [PIC]: Likewise.
17536
59d112a4
RM
175372013-08-26 Roland McGrath <roland@hack.frob.com>
17538
53234cc3
RM
17539 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17540
59d112a4
RM
17541 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17542 instead of explicitly declaring xdecrypt.
17543 * nis/nss_nis/nis-publickey.c: Likewise.
17544
595aba70
SP
175452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17546
17547 [BZ #15890]
17548 * nscd/aicache.c: Include res_hconf.h.
17549 (addhstaiX): Initialize res_hconf.
17550
ffabd393
AS
175512013-08-26 Andreas Schwab <schwab@suse.de>
17552
17553 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17554 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17555
e0a69f5c
SP
175562013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17557
17558 * nscd/aicache.c (addhstaiX): Fix indentation.
17559
8c12f01d
MF
175602013-08-25 Mike Frysinger <vapier@gentoo.org>
17561
17562 * configure.ac: Quote $build_pt_chown test.
17563 * configure: Regenerated.
17564
8fe89494
JM
175652013-08-23 Joseph Myers <joseph@codesourcery.com>
17566
17567 [BZ #15532]
17568 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17569 * math/s_cexpf.c (__cexpf): Likewise.
17570 * math/s_cexpl.c (__cexpl): Likewise.
17571 * math/libm-test.inc (cexp_test_data): Correct expected return
17572 value for NaN + i0. Add another test.
17573
75b181d6
DM
175742013-08-22 David S. Miller <davem@davemloft.net>
17575
17576 * po/ca.po: Update Catalan translation from translation project.
936241e4 17577 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17578
acd06bb1
JM
175792013-08-21 Joseph Myers <joseph@codesourcery.com>
17580
17581 [BZ #15797]
17582 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17583 is infinite, not alongside NaN test.
17584 * math/s_fdimf.c (__fdimf): Likewise.
17585 * math/s_fdiml.c (__fdiml): Likewise.
17586 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17587 errno is unchanged.
17588
c0c3f78a
OB
175892013-08-21 Ondřej Bílka <neleai@seznam.cz>
17590
17591 * argp/argp-help.c: Fix typos.
17592 * crypt/speeds.c: Likewise.
17593 * csu/check_fds.c: Likewise.
17594 * elf/dl-load.c: Likewise.
17595 * elf/dl-open.c: Likewise.
17596 * elf/reldep3.c: Likewise.
17597 * elf/reldep.c: Likewise.
17598 * elf/sprof.c: Likewise.
17599 * iconv/iconv_charmap.c: Likewise.
17600 * iconv/skeleton.c: Likewise.
17601 * iconv/strtab.c: Likewise.
17602 * io/lockf64.c: Likewise.
17603 * libio/libioP.h: Likewise.
17604 * resolv/gai_notify.c: Likewise.
17605 * resolv/ns_name.c: Likewise.
17606 * resolv/ns_samedomain.c: Likewise.
17607 * resolv/res_send.c: Likewise.
17608 * stdlib/random.c: Likewise.
17609 * sunrpc/rpc/xdr.h: Likewise.
17610 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17611 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17612 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17613 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17614 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17618 * sysdeps/mach/hurd/check_fds.c: Likewise.
17619 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17620 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17622 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17623 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17624 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17625 * sysdeps/pthread/aio_notify.c: Likewise.
17626 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17627 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17628 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17630 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17631
46ed1038
LD
176322013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17633
17634 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17635 version if bit_Slow_SSE4_2 is set.
17636 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17638
d400dcac
AZ
176392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17640
17641 [BZ #15867]
17642 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17643 trampoline stack frame information.
17644 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17646 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17647 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17648 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17649 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17650 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17651 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17652 sa_flags value.
17653 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17654 interrupting a syscall and set with option SA_SIGINFO.
17655
42c8fdd8
JM
176562013-08-20 Joseph Myers <joseph@codesourcery.com>
17657
c980f2f4
JM
17658 [BZ #15531]
17659 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17660 argument is infinite.
17661 * math/s_cprojf.c (__cprojf): Likewise.
17662 * math/s_cprojl.c (__cprojl): Likewise.
17663 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17664 * math/libm-test.inc (cproj_test_data): Add more tests.
17665
0716c4fc
JM
17666 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17667
42c8fdd8
JM
17668 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17669 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17670 size. Use __ffs to determine corresponding shift.
17671
b31469d0
JM
176722013-08-20 Joseph Myers <joseph@codesourcery.com>
17673 Roland McGrath <roland@hack.frob.com>
17674
17675 * Makefile (INSTALL): Remove trailing blank lines from output of
17676 makeinfo.
17677
4e39af6e
AK
176782013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17679
17680 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17681 Align 32 bit compat elf_greg to 8 bytes.
17682
f315524e
AA
176832013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17684
17685 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17686
1326ba1a
SP
176872013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17688
17689 * string/strcoll_l.c (coll_seq): New structure.
17690 (get_next_seq_cached): New function.
17691 (get_next_seq): New function.
17692 (do_compare): New function.
17693 (STRCOLL): Use GNU style definition. Simplify implementation
17694 by using get_next_seq, get_next_seq_cached and do_compare.
17695
91ce4085
FW
176962013-08-16 Florian Weimer <fweimer@redhat.com>
17697
17698 [BZ #14699]
17699 CVE-2013-4237
17700 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17701 member.
17702 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17703 member.
17704 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17705 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17706 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17707 conditional.
17708 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17709 GETDENTS_64BIT_ALIGNED.
17710 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17711 * manual/filesys.texi (Reading/Closing Directory): Document
17712 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17713 strongly.
17714 * manual/conf.texi (Limits for Files): Add portability note to
17715 NAME_MAX, PATH_MAX.
17716 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17717
ca0a6bc4
AS
177182013-08-13 Andreas Schwab <schwab@suse.de>
17719
17720 [BZ #15749]
17721 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17722 of fabs.
17723 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17724 LDBL_MAX_EXP >= 16384]: Add tests for it.
17725
6c1fd795
DM
177262013-08-12 David S. Miller <davem@davemloft.net>
17727
17728 * version.h (RELEASE): Set to "development".
17729 (VERSION): Set to "2.18.90".
17730 * NEWS: Add 2.19 section.
17731
31ad488d
DM
177322013-08-03 David S. Miller <davem@davemloft.net>
17733
17734 * po/ko.po: Update Korean translation from translation project.
17735
db24e684
DM
177362013-08-01 David S. Miller <davem@davemloft.net>
17737
17738 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17739 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17740 Bilka.
17741
f723285b
DM
177422013-07-30 David S. Miller <davem@davemloft.net>
17743
17744 * po/fr.po: Update French translation from translation project.
17745
3cbc52db
DM
177462013-07-28 David S. Miller <davem@davemloft.net>
17747
30bbc0cc
DM
17748 * po/cs.po: Update Czech translation from translation project.
17749
3cbc52db
DM
17750 * po/sv.po: Update Swedish translation from translation project.
17751
d492e6d0
DM
177522013-07-27 David S. Miller <davem@davemloft.net>
17753
f1a7f492
DM
17754 * po/eo.po: Update Esperanto translation from translation project.
17755
90e62a4a
DM
17756 * po/vi.po: Update Vietnamese translation from translation project.
17757
d492e6d0
DM
17758 * po/de.po: Update German translation from translation project.
17759
d4baa62d
DM
177602013-07-26 David S. Miller <davem@davemloft.net>
17761
641aa7b4
DM
17762 * po/bg.po: Update Bulgarian translation from translation project.
17763
d4baa62d
DM
17764 * po/nl.po: Update Dutch translation from translation project.
17765 * po/pl.po: Update Polish translation from translation project.
17766 * po/ru.po: Update Russian translation from translation project.
17767
61a9dcb9
DM
177682013-07-24 David S. Miller <davem@davemloft.net>
17769
17770 * po/libc.pot: Update.
17771
7b1f8b58
AZ
177722013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17773
17774 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17775 variable page size.
17776 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17777 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17778 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17779
a8fc7a03
AK
177802013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17781
17782 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17783
e4608715
CD
177842013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17785 Andreas Schwab <schwab@suse.de>
17786 Roland McGrath <roland@hack.frob.com>
17787 Joseph Myers <joseph@codesourcery.com>
17788 Carlos O'Donell <carlos@redhat.com>
17789
17790 [BZ #15755]
17791 * config.h.in: Define HAVE_PT_CHOWN.
17792 * config.make.in (build-pt-chown): New variable.
17793 * configure.in (--enable-pt_chown): New configure option.
17794 * configure: Regenerate.
17795 * login/Makefile: Include Makeconfig. Build pt_chown only if
17796 build-pt-chown is enabled.
17797 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17798 pt_chown to fix pty ownership.
17799 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17800 CLOSE_ALL_FDS.
17801 * manual/install.texi (Configuring and compiling): Mention
17802 --enable-pt_chown. Add @findex for grantpt.
17803 * INSTALL: Regenerate.
17804
da2d62df
DM
178052013-07-20 David S. Miller <davem@davemloft.net>
17806
17807 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17808 difference between 32-bit and 64-bit.
17809
d7e06450
CD
178102013-07-15 Carlos O'Donell <carlos@redhat.com>
17811
17812 [BZ #15711]
17813 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17814 Avoid system header dependency with -ffreestanding.
17815 ($(objpfx)bits/syscall%d): Likewise.
17816
f959cfd7
DM
178172013-07-13 David S. Miller <davem@davemloft.net>
17818
17819 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17820 underflows from atanl/atan2l due to bug 15319.
17821 (casinh_test_data): Likewise.
17822
c61f8513
DM
178232013-07-07 David S. Miller <davem@davemloft.net>
17824
17825 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17826
72c90ed0
JA
178272013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17828
17829 * sysdeps/i386/fpu/libm-test-ulps: Update.
17830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17831
52dfbe13
SP
178322013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17833
17834 * configure.in (--enable-lock-elision): Fix message text.
17835 * INSTALL: Regenerate.
17836 * configure: Regenerate.
17837
3f169543
AZ
178382013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17839
17840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17841
521c6785
AJ
178422013-07-03 Andreas Jaeger <aj@suse.de>
17843
17844 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17845 define.
17846 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17847 (ptrace_peeksiginfo_args): Add.
17848 (__ptrace_peeksiginfo_flags): Add.
17849 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17852
d2cc15cb
AM
178532013-07-03 Allan McRae <allan@archlinux.org>
17854
17855 * sysdeps/i386/fpu/libm-test-ulps: Update.
17856
3aaeeca7
DM
178572013-07-02 David S. Miller <davem@davemloft.net>
17858
17859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17860
5314ed1a
MT
178612013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17862
17863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17864
67338156
JM
178652013-07-02 Joseph Myers <joseph@codesourcery.com>
17866
17867 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17869
1717da59
AK
178702013-07-02 Andi Kleen <ak@linux.intel.com>
17871
17872 * config.h.in (ENABLE_LOCK_ELISION): Add.
17873 * configure.in (--enable-lock-elision): Add option.
17874 * manual/install.texi: Document --enable lock elision.
17875 * configure: Regenerate
17876 * INSTALL: Regenerate.
17877
1c81621c
L
178782013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17881 SSE4.2 strcasecmp for libc.a.
17882 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17883
77f01ab5
JM
178842013-07-02 Joseph Myers <joseph@codesourcery.com>
17885
17886 [BZ #13304]
17887 * soft-fp/op-common.h (_FP_FMA): New macro.
17888 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17889 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17890 (_FP_MUL_MEAT_1_imm): ... here.
17891 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17892 (_FP_MUL_MEAT_1_wide): ... here.
17893 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17894 (_FP_MUL_MEAT_1_hard): ... here.
17895 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17896 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17897 (_FP_MUL_MEAT_2_wide): ... here.
17898 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17899 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17900 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17901 (_FP_MUL_MEAT_2_gmp): ... here.
17902 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17903 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17904 (_FP_MUL_MEAT_4_wide): ... here.
17905 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17906 (_FP_MUL_MEAT_4_gmp): ... here.
17907 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17908 (_FP_WFRACBITS_DW_S): Likewise.
17909 (_FP_WFRACXBITS_DW_S): Likewise.
17910 (_FP_HIGHBIT_DW_S): Likewise.
17911 (FP_FMA_S): Likewise.
17912 (_FP_FRAC_HIGH_DW_S): Likewise.
17913 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17914 (_FP_WFRACBITS_DW_D): Likewise.
17915 (_FP_WFRACXBITS_DW_D): Likewise.
17916 (_FP_HIGHBIT_DW_D): Likewise.
17917 (FP_FMA_D): Likewise.
17918 (_FP_FRAC_HIGH_DW_D): Likewise.
17919 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17920 (_FP_WFRACBITS_DW_E): Likewise.
17921 (_FP_WFRACXBITS_DW_E): Likewise.
17922 (_FP_HIGHBIT_DW_E): Likewise.
17923 (FP_FMA_E): Likewise.
17924 (_FP_FRAC_HIGH_DW_E): Likewise.
17925 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17926 (_FP_WFRACBITS_DW_Q): Likewise.
17927 (_FP_WFRACXBITS_DW_Q): Likewise.
17928 (_FP_HIGHBIT_DW_Q): Likewise.
17929 (FP_FMA_Q): Likewise.
17930 (_FP_FRAC_HIGH_DW_Q): Likewise.
17931 * soft-fp/fmasf4.c: New file.
17932 * soft-fp/fmadf4.c: Likewise.
17933 * soft-fp/fmatf4.c: Likewise.
17934
6308fd9a
LD
179352013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17936
17937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17938 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17939 Silvermont.
17940 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17941 macro.
17942 (index_Slow_SSE4_2): Likewise.
17943 (index_Prefer_PMINUB_for_stringop): Likewise.
17944 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17945 bit_Slow_SSE4_2 is set.
17946 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17948
89cd9569
RA
179492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17950
17951 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17952 rtld_global._dl_hwcap2.
17953 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17954 POWER8.
17955 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17956 POWER8 feature descriptions defined in _dl_hwcap2.
17957 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17958 string handling for POWER8 feature bits.
17959 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17960 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17961 _dl_powerpc_cap_flags.
17962 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17963 * sysdeps/powerpc/rtld-global-offsets.sym
17964 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17965 _dl_hwcap2 in the rtld_global_ro structure.
17966
1ae8bfe0
RA
179672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17968
17969 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17970 hardware capabilities in support of AT_HWCAP2.
17971 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17972 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17973 GLRO(dl_hwcap2).
17974 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17975 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17976 explicitly the unknown a_type display mechanism is used.
17977 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17978 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17979 struct member.
17980 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17981 to macro prototype for AT_HWCAP2 support.
17982 * sysdeps/i386/dl-procinfo.h: Likewise.
17983 * sysdeps/s390/dl-procinfo.h: Likewise.
17984 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17985 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17986 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17987 return -1 for unknown a_type display fallback.
17988 * sysdeps/sparc/dl-procinfo.h: Likewise.
17989 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17990 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17991
8fbec010
JM
179922013-06-28 Joseph Myers <joseph@codesourcery.com>
17993
17994 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17995 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17996
0432680e
PY
179972013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17998
17999 [BZ #12492]
18000 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18001 mprotect making __stack_prot writable.
18002
ce61a2ad
NF
180032013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18004 Joseph Myers <joseph@codesourcery.com>
18005
18006 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18007 as being properly aligned.
18008
f91f1c0f
MR
180092013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18010
3d0f5d0c
MR
18011 * dlfcn/modstatic5.c: New file.
18012 * dlfcn/tststatic5.c: New file.
18013 * dlfcn/Makefile (tests): Add tststatic5.
18014 (tests-static): Likewise.
18015 (modules-names): Add modstatic5.
18016 (tststatic5-ENV): New variable.
18017 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18018
f91f1c0f
MR
18019 [BZ #15022]
18020 * elf/dl-support.c (_dl_main_map): New variable.
18021 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18022 (_dl_nns, _dl_load_adds): Set to 1.
18023 (_dl_initial_searchlist): Refer to _dl_main_map.
18024 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18025 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18026 call to _dl_get_origin.
18027 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18028 around call_map.
18029 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18030 * dlfcn/modstatic3.c: New file.
18031 * dlfcn/tststatic3.c: New file.
18032 * dlfcn/tststatic4.c: New file.
18033 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18034 (tests-static): Likewise.
18035 (modules-names): Add modstatic3.
18036 (tststatic3-ENV, tststatic4-ENV): New variables.
18037 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18038 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18039
cbe7d24b
JM
180402013-06-26 Joseph Myers <joseph@codesourcery.com>
18041
18042 * configure.in (CC): Require GCC version 4.4 or later.
18043 * configure: Regenerated.
18044 * manual/install.texi (Tools for Compilation): Update GCC version
18045 requirement.
18046 * INSTALL: Regenerated.
18047
11b8a0e1
LD
180482013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18049
18050 [BZ #15674]
bb5bb87c
L
18051 * string/test-memcmp.c (check2): New.
18052 (main): Call check2.
18053
11b8a0e1
LD
18054 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18055
b0037103
MR
180562013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18057
18058 [BZ #15022]
18059 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18060 over to...
18061 (dl_open_worker) [!SHARED]: ... here.
18062
c18c701d
RA
180632013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18064
18065 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18066
1d17fa5f
RH
180672013-06-25 Richard Henderson <rth@redhat.com>
18068
18069 * locale/programs/locarchive.c: Include <libc-internal.h>
18070
8fcb833a
JM
180712013-06-25 Joseph Myers <joseph@codesourcery.com>
18072
18073 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18074 trailing whitespace removed.
18075
17db6e8d
MF
180762013-06-24 Mike Frysinger <vapier@gentoo.org>
18077
18078 [BZ #10283]
17db6e8d
MF
18079 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18080 * locale/programs/locarchive.c: Include libc-mmap.h.
18081 (prepare_address_space): Take two new outputs (the mmap base and len).
18082 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18083 values.
18084 (create_archive): Declare new mmap base and len values for
18085 prepare_address_space, and store the result in ah.
18086 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18087 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18088 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18089 Declare new mmap base and len values for
18090 prepare_address_space, and store the result in new_ah.
18091 (open_archive): Declare new mmap base and len values for
18092 prepare_address_space, and store the result in ah.
18093 (close_archive): If ah->mmap_base is not NULL, use that and
18094 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18095 * sysdeps/generic/libc-mmap.h: New file.
18096
d605071e
MF
180972013-06-24 Mike Frysinger <vapier@gentoo.org>
18098
18099 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18100 (ALIGN_UP): Likewise.
18101 (PTR_ALIGN_DOWN): Likewise.
18102 (PTR_ALIGN_UP): Likewise.
18103
2f063a6e
RA
181042013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18105
18106 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18107 entry mapped to PPC_PLATFORM_POWER8.
18108 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18109 POWER8.
18110 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18111 (_dl_string_platform): Add case for exporting platform position for
18112 POWER8.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18114 search path to sysdeps/powerpc/powerpc32/power8 directory.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18116 search path to sysdeps/powerpc/powerpc64/power8 directory.
18117 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18118 power7 directories.
18119 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18120 power7 directories.
18121
a31ee4b3
SP
181222013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18123
a74ca98f
SP
18124 * INSTALL: Regenerate.
18125
a31ee4b3
SP
18126 * nscd/connections.c (nscd_init): Fix comment.
18127
695c378f
JM
181282013-06-22 Joseph Myers <joseph@codesourcery.com>
18129
d8412221
JM
18130 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18131
695c378f
JM
18132 [BZ #15667]
18133 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18134 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18135
d1d54715
MR
181362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18137
18138 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18139 DL_DST_REQ_STATIC.
18140 (DL_DST_REQ_STATIC): Remove macro.
18141
8fdda7af
JM
181422013-06-21 Joseph Myers <joseph@codesourcery.com>
18143
18144 [BZ #7006]
18145 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18146 with a shift of 0 bits.
18147
f3bc5e5a
MR
181482013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18149
18150 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18151 $(tststatic-ENV).
18152
be09e8c9
KK
181532013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18154
18155 [BZ #15655]
18156 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18157
85c2e611
AZ
181582013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18159
18160 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18161 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18162 accepts -fno-tree-loop-distribute-patterns.
18163 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18164 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18165 recursive call.
18166 * string/memset.c (memset): Likewise.
18167 * string/test-memmove.c (simple_memmove): Disable loop transformation
18168 to library calls.
18169 * string/test-memset.c (simple_memset): Likewise.
18170 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18171 * benchtests/bench-memset.c (simple_memset): Likewise.
18172 * configure: Regenerated.
18173
c91e0825
JM
181742013-06-20 Joseph Myers <joseph@codesourcery.com>
18175
b8c792af
JM
18176 * math/test-misc.c (main): Ignore fesetround failure when failures
18177 of subsequent rounding tests would be ignored.
18178
c91e0825
JM
18179 [BZ #15654]
18180 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18181 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18182 * math/fegetenv.c (__fegetenv): Return 0.
18183 * math/fegetexcept.c (fegetexcept): Return 0.
18184 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18185 FE_TONEAREST.
18186 * math/feholdexcpt.c (feholdexcept): Return 0.
18187 * math/fesetenv.c (__fesetenv): Return 0.
18188 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18189 argument FE_TONEAREST.
18190 * math/feupdateenv.c (__feupdateenv): Return 0.
18191 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18192
bfcacbde
RM
181932013-06-18 Roland McGrath <roland@hack.frob.com>
18194
18195 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18196 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18197 ($(objpfx)rtld-%.os rules): Use them.
18198
e55a9b25
AZ
181992013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18200
18201 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18202 fields.
18203
346d65b3
RM
182042013-06-17 Roland McGrath <roland@hack.frob.com>
18205
12086fb4
RM
18206 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18207 length of target pattern, then descending length of dependency pattern.
18208 * configure.in (AWK): Require gawk 3.1.2 or newer.
18209 * manual/install.texi (Tools for Compilation): Say that we do.
18210 * configure: Regenerated.
18211
346d65b3
RM
18212 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18213 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18214 * scripts/sysd-rules.awk: ... this new script.
18215 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18216 than a glob-style pattern.
18217
1a846317
JM
182182013-06-17 Joseph Myers <joseph@codesourcery.com>
18219
18220 * math/test-misc.c (main): Do not treat incorrectly rounded
18221 conversions as failure unless ROUNDING_TESTS passes.
18222
8fc75e6f
JM
182232013-06-15 Joseph Myers <joseph@codesourcery.com>
18224
3711a167
JM
18225 [BZ #15631]
18226 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18227 restore exception state around main square root computation, then
18228 check for inexactness explicitly.
18229
8fc75e6f
JM
18230 * math/libm-test.inc (fma_test_data): Add another test.
18231
61dd6208
SP
182322013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18233
adf23d2c
SP
18234 * manual/threads.texi (Non-POSIX Extensions): New document
18235 node. Document pthread_getattr_default_np and
18236 pthread_setattr_default_np.
18237
61dd6208
SP
18238 * Versions.def (libpthread): Add GLIBC_2.18.
18239 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18241 Likewise.
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18243 Likewise.
18244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18245 Likewise.
18246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18247 Likewise.
18248 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18249 Likewise.
18250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18251 Likewise.
18252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18253 Likewise.
18254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18255 Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18257 Likewise.
18258
d086fc7b
LD
182592013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18260
18261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18262 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18263
747ef469
SP
182642013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18265 H.J. Lu <hjl.tools@gmail.com>
18266
18267 [BZ #15627]
18268 * sysdeps/x86_64/rtld-memset.c: Remove file.
18269 * sysdeps/x86_64/rtld-memset.S: New file.
18270
1b2feed2
JM
182712013-06-14 Joseph Myers <joseph@codesourcery.com>
18272
18273 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18274 (test_in_one_mode): Take arguments for whether the rounding mode
18275 is supported for each floating-point type.
18276 (do_test): Pass new arguments to test_in_one_mode using
18277 ROUNDING_TESTS.
18278
a58ad3f8
RM
182792013-06-13 Roland McGrath <roland@hack.frob.com>
18280
18281 * posix/tst-waitid.c (do_test): Distinguish different instances of
18282 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18283 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18284 before entering the kernel for waitpid.
18285
c204ab28
SP
182862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18287
18288 * NEWS: Fix note on clock function precision. Text by Roland
18289 McGrath.
18290
f4a29fba
RM
182912013-06-13 Roland McGrath <roland@hack.frob.com>
18292
18293 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18294 it into place only when and if the sanity check passes.
18295
1f24b9ad
JM
182962013-06-13 Joseph Myers <joseph@codesourcery.com>
18297
18298 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18299 output for whether conversion result is exact. Take argument
18300 indicating whether type is IBM long double.
18301 (round_for_all): Change need_exact field to ibm_ld.
18302 * stdlib/tst-strtod-round.c (struct exactness): New type.
18303 (struct test): Change bool ld_ok field to struct exactness exact.
18304 (TEST): Update all definitions for change to field.
18305 (tests): Regenerate array contents.
18306 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18307 field value. Check for IBM long double here.
18308 (do_test): Update calls to test_in_one_mode.
18309
58206c68
SP
183102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18311
18312 [BZ #12515]
18313 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18314 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18315
2d6f4c5b 183162013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18317
18318 [BZ #15605]
18319 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18320 generated by the compiler on loop optimizations.
18321 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18322 general definitions.
18323
94f2c076
JM
183242013-06-12 Joseph Myers <joseph@codesourcery.com>
18325
18326 * math/bug-nextafter.c: Include <math-tests.h>.
18327 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18328 the relevant type.
18329 * math/bug-nexttoward.c: Include <math-tests.h>.
18330 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18331 the relevant type.
18332 * math/test-misc.c: Include <math-tests.h>.
18333 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18334 the relevant type.
18335
e0e50a0a
AJ
183362013-06-12 Andreas Jaeger <aj@suse.de>
18337
18338 * po/ia.po: Update Interlingua translation from translation
18339 project.
18340
25061094
SP
183412013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18342
18343 * include/fenv.h: Include stdbool.h.
18344 (struct rm_ctx): New structure.
18345 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18346 Define macro.
18347 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18348 (SET_RESTORE_ROUNDF): Likewise.
18349 (SET_RESTORE_ROUNDL): Likewise.
18350 (SET_RESTORE_ROUND_NOEX): Likewise.
18351 (SET_RESTORE_ROUND_NOEXF): Likewise.
18352 (SET_RESTORE_ROUND_NOEXL): Likewise.
18353 (SET_RESTORE_ROUND_53BIT): Likewise.
18354 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18355 (libc_feresetround_noexf_ctx): Likewise.
18356 (libc_feresetround_noexl_ctx): Likewise.
18357 (libc_feholdsetround_53bit_ctx): Likewise.
18358 (libc_feresetround_53bit_ctx): Likewise.
18359 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18360 (libc_feholdexcept_setround_sse_ctx): New function.
18361 (libc_fesetenv_sse_ctx): Likewise.
18362 (libc_feupdateenv_sse_ctx): Likewise.
18363 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18364 (libc_feholdexcept_setround_387_ctx): Likewise.
18365 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18366 (libc_feholdsetround_387_prec_ctx): Likewise.
18367 (libc_feholdsetround_387_ctx): Likewise.
18368 (libc_feholdsetround_387_53bit_ctx): Likewise.
18369 (libc_feholdsetround_sse_ctx): Likewise.
18370 (libc_feresetround_sse_ctx): Likewise.
18371 (libc_feresetround_387_ctx): Likewise.
18372 (libc_feupdateenv_387_ctx): Likewise.
18373 (libc_feholdexcept_setroundf_ctx): Define macro.
18374 (libc_fesetenvf_ctx): Likewise.
18375 (libc_feupdateenvf_ctx): Likewise.
18376 (libc_feholdsetroundf_ctx): Likewise.
18377 (libc_feresetroundf_ctx): Likewise.
18378 (libc_feholdexcept_setround_ctx): Likewise.
18379 (libc_fesetenv_ctx): Likewise.
18380 (libc_feupdateenv_ctx): Likewise.
18381 (libc_feholdsetround_ctx): Likewise.
18382 (libc_feresetround_ctx): Likewise.
18383 (libc_feholdexcept_setroundl_ctx): Likewise.
18384 (libc_feupdateenvl_ctx): Likewise.
18385 (libc_feholdsetroundl_ctx): Likewise.
18386 (libc_feresetroundl_ctx): Likewise.
18387 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18388 (libc_feresetround_53bit_ctx): Likewise.
18389
59b30555
SP
183902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18391
18392 * locale/iso-639.def: Convert to UTF-8.
18393
f1d73d30
JM
183942013-06-11 Joseph Myers <joseph@codesourcery.com>
18395
18396 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18397 (EXCEPTION_TESTS_double): Likewise.
18398 (EXCEPTION_TESTS_long_double): Likewise.
18399 (EXCEPTION_TESTS): Likewise.
18400 * math/libm-test.inc (test_exceptions): Only test exceptions if
18401 EXCEPTION_TESTS (FLOAT).
18402
94aca5e7
SP
184032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18404
18405 * benchtests/Makefile (string-bench): Add strcpy_chk and
18406 stpcpy_chk.
18407 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18408 * benchtests/bench-stpcpy_chk.c: New file.
18409 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18410 * benchtests/bench-strcpy_chk.c: New file.
18411 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18412 code.
18413 (do_test): Likewise.
18414
fac0c5f2
RA
184152013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18416
18417 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18418 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18419 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18420 with tabs where appropriate.
18421 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18422 dl-procinfo.h.
18423 [PPC_PLATFORM_PPC440]: Likewise.
18424 [PPC_PLATFORM_PPC464]: Likewise.
18425 [PPC_PLATFORM_PPC476]: Likewise.
18426 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18427 ppc464, and ppc476 platform strings merging from ports/
18428 dl-procinfo.h.
18429
f22bc486
AS
184302013-06-11 Andreas Schwab <schwab@suse.de>
18431
18432 [BZ #14991]
18433 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18434 (from_ucs4_idx): Regenerate.
18435 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18436 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18437 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18438 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18439 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18440 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18441 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18442 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18443 from FROM_LOOP and TO_LOOP specific macros.
18444 (BODY): Handle combining characters.
18445 * iconvdata/BIG5HKSCS.irreversible: Update.
18446 * iconvdata/BIG5HKSCS.precomposed: New file.
18447 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18448 characters.
18449 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18450
c1f75dc3
SP
184512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18452
4eacded2
SP
18453 * include/sys/time.h: Fix indentation and add copyright header.
18454
fec799f8
SP
18455 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18456 (do_test): Likewise.
18457 * string/test-memchr.c (do_one_test): Likewise.
18458 (do_test): Likewise.
18459 * string/test-memcmp.c (do_one_test): Likewise.
18460 (do_test): Likewise.
18461 * string/test-memcpy.c (do_one_test): Likewise.
18462 (do_test): Likewise.
18463 * string/test-memmem.c (do_one_test): Likewise.
18464 (do_test): Likewise.
18465 (do_random_tests): Likewise.
18466 * string/test-memmove.c (do_one_test): Likewise.
18467 (do_test): Likewise.
18468 * string/test-memset.c (do_one_test): Likewise.
18469 (do_test): Likewise.
18470 * string/test-rawmemchr.c (do_one_test): Likewise.
18471 (do_test): Likewise.
18472 * string/test-strcasecmp.c (do_one_test): Likewise.
18473 (do_test): Likewise.
18474 * string/test-strcasestr.c (do_one_test): Likewise.
18475 (do_test): Likewise.
18476 * string/test-strcat.c (do_one_test): Likewise.
18477 (do_test): Likewise.
18478 * string/test-strchr.c (do_one_test): Likewise.
18479 (do_test): Likewise.
18480 * string/test-strcmp.c (do_one_test): Likewise.
18481 (do_test): Likewise.
18482 * string/test-strcpy.c (do_one_test): Likewise.
18483 (do_test): Likewise.
18484 * string/test-string.h: Likewise.
18485 (test_init): Likewise.
18486 * string/test-strlen.c (do_one_test): Likewise.
18487 (do_test): Likewise.
18488 * string/test-strncasecmp.c (do_one_test): Likewise.
18489 (do_test): Likewise.
18490 * string/test-strncat.c (do_one_test): Likewise.
18491 (do_test): Likewise.
18492 * string/test-strncmp.c (do_one_test): Likewise.
18493 (do_test_limit): Likewise.
18494 (do_test): Likewise.
18495 * string/test-strncpy.c (do_one_test): Likewise.
18496 (do_test): Likewise.
18497 * string/test-strnlen.c (do_one_test): Likewise.
18498 (do_test): Likewise.
18499 * string/test-strpbrk.c (do_one_test): Likewise.
18500 (do_test): Likewise.
18501 * string/test-strrchr.c (do_one_test): Likewise.
18502 (do_test): Likewise.
18503 * string/test-strspn.c (do_one_test): Likewise.
18504 (do_test): Likewise.
18505 * string/test-strstr.c (do_one_test): Likewise.
18506 (do_test): Likewise.
18507
97020474
SP
18508 * benchtests/Makefile (string-bench): Add string benchmarks.
18509 * benchtests/bench-bcopy-ifunc.c: New file.
18510 * benchtests/bench-bcopy.c: New file.
18511 * benchtests/bench-bzero-ifunc.c: New file.
18512 * benchtests/bench-bzero.c: New file.
18513 * benchtests/bench-memccpy-ifunc.c: New file.
18514 * benchtests/bench-memccpy.c: New file.
18515 * benchtests/bench-memchr-ifunc.c: New file.
18516 * benchtests/bench-memchr.c: New file.
18517 * benchtests/bench-memcmp-ifunc.c: New file.
18518 * benchtests/bench-memcmp.c: New file.
18519 * benchtests/bench-memmem-ifunc.c: New file.
18520 * benchtests/bench-memmem.c: New file.
18521 * benchtests/bench-memmove-ifunc.c: New file.
18522 * benchtests/bench-memmove.c: New file.
18523 * benchtests/bench-mempcpy-ifunc.c: New file.
18524 * benchtests/bench-mempcpy.c: New file.
18525 * benchtests/bench-memset-ifunc.c: New file.
18526 * benchtests/bench-memset.c: New file.
18527 * benchtests/bench-rawmemchr-ifunc.c: New file.
18528 * benchtests/bench-rawmemchr.c: New file.
18529 * benchtests/bench-stpcpy-ifunc.c: New file.
18530 * benchtests/bench-stpcpy.c: New file.
18531 * benchtests/bench-stpncpy-ifunc.c: New file.
18532 * benchtests/bench-stpncpy.c: New file.
18533 * benchtests/bench-strcasecmp-ifunc.c: New file.
18534 * benchtests/bench-strcasecmp.c: New file.
18535 * benchtests/bench-strcasestr-ifunc.c: New file.
18536 * benchtests/bench-strcasestr.c: New file.
18537 * benchtests/bench-strcat-ifunc.c: New file.
18538 * benchtests/bench-strcat.c: New file.
18539 * benchtests/bench-strchr-ifunc.c: New file.
18540 * benchtests/bench-strchr.c: New file.
18541 * benchtests/bench-strchrnul-ifunc.c: New file.
18542 * benchtests/bench-strchrnul.c: New file.
18543 * benchtests/bench-strcmp-ifunc.c: New file.
18544 * benchtests/bench-strcmp.c: New file.
18545 * benchtests/bench-strcpy-ifunc.c: New file.
18546 * benchtests/bench-strcpy.c: New file.
18547 * benchtests/bench-strcspn-ifunc.c: New file.
18548 * benchtests/bench-strcspn.c: New file.
18549 * benchtests/bench-strlen-ifunc.c: New file.
18550 * benchtests/bench-strlen.c: New file.
18551 * benchtests/bench-strncasecmp-ifunc.c: New file.
18552 * benchtests/bench-strncasecmp.c: New file.
18553 * benchtests/bench-strncat-ifunc.c: New file.
18554 * benchtests/bench-strncat.c: New file.
18555 * benchtests/bench-strncmp-ifunc.c: New file.
18556 * benchtests/bench-strncmp.c: New file.
18557 * benchtests/bench-strncpy-ifunc.c: New file.
18558 * benchtests/bench-strncpy.c: New file.
18559 * benchtests/bench-strnlen-ifunc.c: New file.
18560 * benchtests/bench-strnlen.c: New file.
18561 * benchtests/bench-strpbrk-ifunc.c: New file.
18562 * benchtests/bench-strpbrk.c: New file.
18563 * benchtests/bench-strrchr-ifunc.c: New file.
18564 * benchtests/bench-strrchr.c: New file.
18565 * benchtests/bench-strspn-ifunc.c: New file.
18566 * benchtests/bench-strspn.c: New file.
18567 * benchtests/bench-strstr-ifunc.c: New file.
18568 * benchtests/bench-strstr.c: New file.
18569
c1f75dc3
SP
18570 * benchtests/Makefile: Disable parallel execution of targets.
18571 (string-bench): Add memcpy.
18572 (benchset): New variable to store a list of benchmark sets.
18573 (bench-func): Renamed from bench.
18574 (bench-set): New target.
18575 (bench): Depend on bench-func and bench-set.
18576 * benchtests/README: Add section on benchmark sets.
18577 * benchtests/bench-memcpy-ifunc.c: New file.
18578 * benchtests/bench-memcpy.c: New file.
18579 * benchtests/bench-string.h: New file.
18580
50fd745b
AS
185812013-06-11 Andreas Schwab <schwab@suse.de>
18582
18583 [BZ #15577]
18584 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18585 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18586 values in the triple.
18587 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18588 terminator in the group key.
18589
3ee7e9fe
AJ
185902013-06-11 Andreas Jaeger <aj@suse.de>
18591
18592 * po/zh_TW.po: Update Chinese (traditional) translation from
18593 translation project.
18594
89fb6835
SP
185952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18596
18597 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18598 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18599 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18601 (clock_getcpuclockid): Likewise.
18602 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18603 Add weak_alias and libc_hidden_def.
18604 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18605 * rt/clock_gettime.c (clock_gettime): Rename to
18606 __clock_gettime. Add weak_alias and libc_hidden_def.
18607 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18608 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18609 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18610 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18611 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18612 Likewise.
18613 * rt/clock_settime.c (clock_settime): Rename to
18614 __clock_settime. Add weak_alias and libc_hidden_def.
18615 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18616
0efa6f8b
JM
186172013-06-10 Joseph Myers <joseph@codesourcery.com>
18618
b8c61b4b
JM
18619 * mach/err_boot.sub: Remove trailing whitespace.
18620 * mach/err_ipc.sub: Likewise.
18621 * mach/err_mach.sub: Likewise.
18622
0efa6f8b
JM
18623 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18624 (ROUNDING_TESTS_double): Likewise.
18625 (ROUNDING_TESTS_long_double): Likewise.
18626 (ROUNDING_TESTS): Likewise.
18627 * math/libm-test.inc: Include <math-tests.h>.
18628 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18629 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18630 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18631 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18632
50b818bf
SP
186332013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18634
18635 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18636 of assigning.
18637
60d2f8f3
JM
186382013-06-08 Joseph Myers <joseph@codesourcery.com>
18639
4902d2c3
JM
18640 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18641 otherwise empty TRANS lines.
18642 * sysdeps/gnu/errlist.c: Regenerated.
18643
60d2f8f3
JM
18644 * catgets/gencat.c (error_print): Use (void) in function
18645 definition.
18646 * crypt/crypt_util.c (__init_des): Likewise.
18647 * crypt/speeds.c (Stop): Likewise.
18648 (main): Likewise.
18649 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18650 * inet/ruserpass.c (token): Likewise.
18651 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18652 * intl/localealias.c (extend_alias_table): Likewise.
18653 * intl/plural-exp.c (init_germanic_plural): Likewise.
18654 * libio/fcloseall.c (__fcloseall): Likewise.
18655 * libio/genops.c (_IO_flush_all): Likewise.
18656 (_IO_flush_all_linebuffered): Likewise.
18657 (_IO_cleanup): Likewise.
18658 (_IO_iter_begin): Likewise.
18659 (_IO_iter_end): Likewise.
18660 (_IO_list_lock): Likewise.
18661 (_IO_list_unlock): Likewise.
18662 (_IO_list_resetlock): Likewise.
18663 * libio/getchar.c (getchar): Likewise.
18664 * libio/getchar_u.c (getchar_unlocked): Likewise.
18665 * libio/getwchar.c (getwchar): Likewise.
18666 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18667 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18668 * login/getpt.c (__getpt): Likewise.
18669 * login/tst-utmp.c (main): Likewise.
18670 * malloc/hooks.c (__malloc_check_init): Likewise.
18671 * malloc/malloc.c (__malloc_stats): Likewise.
18672 * malloc/mtrace.c (tr_break): Likewise.
18673 (mtrace): Likewise.
18674 (muntrace): Likewise.
18675 * misc/fstab.c (endfsent): Likewise.
18676 * misc/getclktck.c (__getclktck): Likewise.
18677 * misc/getdtsz.c (__getdtablesize): Likewise.
18678 * misc/gethostid.c (gethostid): Likewise.
18679 * misc/getpagesize.c (__getpagesize): Likewise.
18680 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18681 (__get_nprocs): Likewise.
18682 (__get_phys_pages): Likewise.
18683 (__get_avphys_pages): Likewise.
18684 * misc/getttyent.c (getttyent): Likewise.
18685 (setttyent): Likewise.
18686 (endttyent): Likewise.
18687 * misc/getusershell.c (getusershell): Likewise.
18688 (endusershell): Likewise.
18689 (setusershell): Likewise.
18690 (initshells): Likewise.
18691 * misc/hsearch.c (__hdestroy): Likewise.
18692 * misc/sync.c (sync): Likewise.
18693 * misc/syslog.c (closelog_internal): Likewise.
18694 (closelog): Likewise.
18695 * misc/ttyslot.c (ttyslot): Likewise.
18696 * misc/vhangup.c (vhangup): Likewise.
18697 * posix/fork.c (__fork): Likewise.
18698 * posix/getegid.c (__getegid): Likewise.
18699 * posix/geteuid.c (__geteuid): Likewise.
18700 * posix/getgid.c (__getgid): Likewise.
18701 * posix/getpid.c (__getpid): Likewise.
18702 * posix/getppid.c (__getppid): Likewise.
18703 * posix/getuid.c (__getuid): Likewise.
18704 * posix/pause.c (pause): Likewise.
18705 * posix/setpgrp.c (setpgrp): Likewise.
18706 * posix/setsid.c (__setsid): Likewise.
18707 * posix/test-vfork.c (noop): Likewise.
18708 * resolv/gethnamaddr.c (_endhtent): Likewise.
18709 (_gethtent): Likewise.
18710 (ht_endhostent): Likewise.
18711 (gethostent): Likewise.
18712 (dns_service): Likewise.
18713 * stdlib/drand48.c (drand48): Likewise.
18714 * stdlib/lrand48.c (lrand48): Likewise.
18715 * stdlib/mrand48.c (mrand48): Likewise.
18716 * stdlib/rand.c (rand): Likewise.
18717 * stdlib/random.c (__random): Likewise.
18718 * stdlib/setenv.c (clearenv): Likewise.
18719 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18720 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18721 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18722 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18723 (__get_nprocs): Likewise.
18724 (__get_phys_pages): Likewise.
18725 (__get_avphys_pages): Likewise.
18726 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18727 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18728 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18729 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18730 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18731 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18732 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18733 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18734 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18735 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18736 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18737 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18738 * sysdeps/posix/clock.c (clock): Likewise.
18739 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18740 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18741 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18742 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18743 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18744 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18745 (__get_nprocs_conf): Likewise.
18746 (__get_phys_pages): Likewise.
18747 (__get_avphys_pages): Likewise.
18748 * time/clock.c (clock): Likewise.
18749 * time/tzset.c (__tzname_max): Likewise.
18750
2e09a79a
JM
187512013-06-07 Joseph Myers <joseph@codesourcery.com>
18752
18753 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18754 (__bswap_32): Do not use "register".
18755 * crypt/crypt.c (_ufc_doit_r): Likewise.
18756 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18757 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18758 * gmon/gmon.c (__monstartup): Likewise.
18759 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18760 * hurd/hurdmalloc.c (more_memory): Likewise.
18761 (malloc): Likewise.
18762 (free): Likewise.
18763 (realloc): Likewise.
18764 (malloc_fork_prepare): Likewise.
18765 (malloc_fork_parent): Likewise.
18766 (malloc_fork_child): Likewise.
18767 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18768 (_svcauth_des): Likewise.
18769 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18770 * inet/inet_net.c (inet_network): Likewise.
18771 * inet/inet_netof.c (inet_netof): Likewise.
18772 * inet/rcmd.c (__validuser2_sa): Likewise.
18773 * io/fts.c (fts_open): Likewise.
18774 (fts_load): Likewise.
18775 (fts_close): Likewise.
18776 (fts_read): Likewise.
18777 (fts_children): Likewise.
18778 (fts_build): Likewise.
18779 (fts_stat): Likewise.
18780 (fts_sort): Likewise.
18781 (fts_alloc): Likewise.
18782 (fts_lfree): Likewise.
18783 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18784 (_IO_file_xsgetn): Likewise.
18785 (_IO_file_xsgetn_mmap): Likewise.
18786 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18787 (_IO_cookie_write): Likewise.
18788 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18789 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18790 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18791 * malloc/obstack.c (_obstack_begin): Likewise.
18792 (_obstack_begin_1): Likewise.
18793 (_obstack_newchunk): Likewise.
18794 (_obstack_allocated_p): Likewise.
18795 (obstack_free): Likewise.
18796 (_obstack_memory_used): Likewise.
18797 * misc/getttyent.c (getttynam): Likewise.
18798 (getttyent): Likewise.
18799 (skip): Likewise.
18800 (value): Likewise.
18801 * misc/getusershell.c (initshells): Likewise.
18802 * misc/syslog.c (__vsyslog_chk): Likewise.
18803 * misc/ttyslot.c (ttyslot): Likewise.
18804 * nis/nis_hash.c (__nis_hash): Likewise.
18805 * posix/fnmatch_loop.c (FCT): Likewise.
18806 * posix/getconf.c (print_all): Likewise.
18807 (main): Likewise.
18808 * posix/getopt.c (exchange): Likewise.
18809 * posix/glob.c (globfree): Likewise.
18810 (prefix_array): Likewise.
18811 (__glob_pattern_type): Likewise.
18812 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18813 (NS_GET32): Likewise.
18814 (NS_PUT16): Likewise.
18815 (NS_PUT32): Likewise.
18816 * resolv/gethnamaddr.c (getanswer): Likewise.
18817 (gethostbyname2): Likewise.
18818 (gethostbyaddr): Likewise.
18819 (_gethtent): Likewise.
18820 (_gethtbyname2): Likewise.
18821 (_gethtbyaddr): Likewise.
18822 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18823 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18824 * resolv/res_init.c (__res_vinit): Likewise.
18825 (net_mask): Likewise.
18826 * resolv/res_mkquery.c (outchar): Likewise.
18827 (PRINT): Likewise.
18828 * stdio-common/printf_fp.c (outchar): Likewise.
18829 (PRINT): Likewise.
18830 * stdio-common/printf_fphex.c (outchar): Likewise.
18831 (PRINT): Likewise.
18832 * stdio-common/printf_size.c (outchar): Likewise.
18833 (PRINT): Likewise.
18834 * stdio-common/test_rdwr.c (main): Likewise.
18835 * stdio-common/tfformat.c (matches): Likewise.
18836 * stdio-common/vfprintf.c (outchar): Likewise.
18837 (printf_unknown): Likewise.
18838 (buffered_vfprintf): Likewise.
18839 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18840 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18841 (ReadFile): Likewise.
18842 * stdlib/qsort.c (SWAP): Likewise.
18843 (_quicksort): Likewise.
18844 * stdlib/setenv.c (__add_to_environ): Likewise.
18845 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18846 * stdlib/strtol_l.c (__strtol_l): Likewise.
18847 * stdlib/tst-strtod.c (main): Likewise.
18848 * stdlib/tst-strtol.c (main): Likewise.
18849 * stdlib/tst-strtoll.c (main): Likewise.
18850 * string/bits/string2.h (__strcmp_cc): Likewise.
18851 (__strcmp_cg): Likewise.
18852 (__strcspn_c1): Likewise.
18853 (__strcspn_c2): Likewise.
18854 (__strcspn_c3): Likewise.
18855 (__strspn_c1): Likewise.
18856 (__strspn_c2): Likewise.
18857 (__strspn_c3): Likewise.
18858 (__strsep_1c): Likewise.
18859 (__strsep_2c): Likewise.
18860 (__strsep_3c): Likewise.
18861 * string/memccpy.c (__memccpy): Likewise.
18862 * string/stpcpy.c (__stpcpy): Likewise.
18863 * string/strcmp.c (strcmp): Likewise.
18864 * string/strrchr.c (strrchr): Likewise.
18865 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18866 Likewise.
18867 * sysdeps/mach/hurd/getcwd.c
18868 (_hurd_canonicalize_directory_name_internal): Likewise.
18869 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18870 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18871 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18872 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18873 Likewise, in both definitions.
18874 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18875 definitions.
18876 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18877 64] (__bswap_64): Likewise.
18878 * time/test_time.c (main): Likewise.
18879 * time/tzfile.c (__tzfile_read): Likewise.
18880 (__tzfile_compute): Likewise.
18881 * time/tzset.c (__tzset_parse_tz): Likewise.
18882 (tzset_internal): Likewise.
18883 (compute_change): Likewise.
18884 * wcsmbs/wcscat.c (__wcscat): Likewise.
18885 * wcsmbs/wcschr.c (wcschr): Likewise.
18886 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18887 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18888 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18889 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18890 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18891 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18892 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18894 * wcsmbs/wmemset.c (wmemset): Likewise.
18895
9e54314b
JM
188962013-06-06 Joseph Myers <joseph@codesourcery.com>
18897
18898 * scripts/config.guess: Update to version 2013-05-16.
18899 * scripts/config.sub: Update to version 2013-04-24.
18900 * scripts/install-sh: Update to version 2011-11-20.07.
18901 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18902 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18903
350635a5
OB
189042013-06-06 Ondřej Bílka <neleai@seznam.cz>
18905
18906 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18907 * elf/sln.c: Likewise.
18908 * hurd/hurd/ioctl.h: Likewise.
18909 * hurd/hurdmalloc.c: Likewise.
18910 * hurd/xattr.c: Likewise.
18911 * include/shlib-compat.h: Likewise.
18912 * inet/ruserpass.c: Likewise.
18913 * libio/iofgets_u.c: Likewise.
18914 * libio/iofgetws_u.c: Likewise.
18915 * locale/programs/ld-identification.c: Likewise.
18916 * locale/programs/ld-time.c: Likewise.
18917 * mach/msg-destroy.c: Likewise.
18918 * nss/nss_files/files-netgrp.c: Likewise.
18919 * resolv/res_data.c: Likewise.
18920 * soft-fp/op-1.h: Likewise.
18921 * soft-fp/op-2.h: Likewise.
18922 * soft-fp/op-4.h: Likewise.
18923 * soft-fp/op-common.h: Likewise.
18924 * stdio-common/printf_fphex.c: Likewise.
18925 * stdlib/strtod_l.c: Likewise.
18926 * sunrpc/rpc/clnt.h: Likewise.
18927 * sysdeps/generic/framestate.c: Likewise.
18928 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18929 * sysdeps/i386/bsd-setjmp.S: Likewise.
18930 * sysdeps/i386/__longjmp.S: Likewise.
18931 * sysdeps/i386/setjmp.S: Likewise.
18932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18933 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18950 * sysdeps/ieee754/support.c: Likewise.
18951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18952 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18953 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18954 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18955 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18956 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18957 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18958 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18959 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18960 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18961 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18962 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18963 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18964 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18965 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18966 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18967 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18969
44a988af
OB
189702013-06-05 Ondřej Bílka <neleai@seznam.cz>
18971
25506f09 18972 * posix/transbug.c: Remove executable mode.
44a988af 18973
9c84384c
JM
189742013-06-05 Joseph Myers <joseph@codesourcery.com>
18975
18976 * crypt/speeds.c: Remove trailing whitespace.
18977 * dlfcn/default.c: Likewise.
18978 * elf/ifuncdep2.c: Likewise.
18979 * elf/ifuncmain1.c: Likewise.
18980 * elf/ifuncmain1vis.c: Likewise.
18981 * elf/testobj.h: Likewise.
18982 * elf/tst-stackguard1.c: Likewise.
18983 * gmon/sys/gmon.h: Likewise.
18984 * hurd/hurdmsg.c: Likewise.
18985 * hurd/new-fd.c: Likewise.
18986 * hurd/ports-get.c: Likewise.
18987 * iconvdata/ibm1008_420.c: Likewise.
18988 * inet/tst-getni1.c: Likewise.
18989 * inet/tst-getni2.c: Likewise.
18990 * libio/ioungetc.c: Likewise.
18991 * libio/wfiledoalloc.c: Likewise.
18992 * manual/libm-err-tab.pl: Likewise.
18993 * math/w_dremf.c: Likewise.
18994 * misc/ftruncate.c: Likewise.
18995 * posix/bug-glob2.c: Likewise.
18996 * posix/tst-pcre.c: Likewise.
18997 * posix/wait4.c: Likewise.
18998 * resolv/README: Likewise.
18999 * resolv/res_debug.h: Likewise.
19000 * resolv/tst-inet_ntop.c: Likewise.
19001 * setjmp/bug269-setjmp.c: Likewise.
19002 * soft-fp/extended.h: Likewise.
19003 * soft-fp/op-1.h: Likewise.
19004 * soft-fp/op-2.h: Likewise.
19005 * soft-fp/op-4.h: Likewise.
19006 * soft-fp/op-8.h: Likewise.
19007 * soft-fp/testit.c: Likewise.
19008 * stdio-common/bug16.c: Likewise.
19009 * stdlib/random.c: Likewise.
19010 * sunrpc/rpcsvc/rquota.x: Likewise.
19011 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19012 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19013 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19014 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19015 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19016 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19017 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19018 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19019 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19021 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19040 * sysdeps/ieee754/s_lib_version.c: Likewise.
19041 * sysdeps/mach/hurd/check_fds.c: Likewise.
19042 * sysdeps/mach/hurd/getsockname.c: Likewise.
19043 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19044 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19045 * sysdeps/powerpc/bits/link.h: Likewise.
19046 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19047 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19048 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19049 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19050 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19051 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19052 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19053 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19054 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19055 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19056 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19057 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19058 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19059 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19060 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19061 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19064 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19065 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19066 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19067 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19069 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19070 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19073 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19074 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19076 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19077 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19079 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19080 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19081 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19082 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19083 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19084 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19085 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19086 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19087 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19088 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19089 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19090 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19091 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19092 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19093 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19094 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19095 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19097 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19098 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19099 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19100 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19101 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19102 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19103 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19104 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19105 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19106 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19107 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19108 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19109 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19110 * sysdeps/powerpc/sysdep.h: Likewise.
19111 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19112 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19113 * sysdeps/sh/dl-trampoline.S: Likewise.
19114 * sysdeps/sh/memset.S: Likewise.
19115 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19116 * sysdeps/sh/strlen.S: Likewise.
19117 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19118 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19119 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19120 * sysdeps/sparc/sparc32/rem.S: Likewise.
19121 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19122 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19123 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19124 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19125 * sysdeps/sparc/sparc32/urem.S: Likewise.
19126 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19127 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19128 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19129 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19130 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19131 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19132 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19133 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19134 * sysdeps/unix/bsd/times.c: Likewise.
19135 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19136 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19140 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19141 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19142 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19144 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19146 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19147 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19148 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19149 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19150 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19151 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19152 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19153 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19154 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19155 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19156 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19157 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19158 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19159 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19160 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19161 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19162 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19163 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19164 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19165 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19166 * sysdeps/x86_64/strcspn.S: Likewise.
19167
869378a5
RA
191682013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19169
19170 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19171 generated file. Regenerate properly from gen-translit.pl.
19172 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19173 locale/C-translit.h.
19174
840e2943
AS
191752013-06-05 Andreas Schwab <schwab@suse.de>
19176
19177 [BZ #15100]
19178 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19179 week as 6 instead of -1.
19180 * time/tst-strptime.c (day_tests): Add test case.
19181
4c60cb0c
SP
191822013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19183
19184 * sysdeps/generic/math_private.h
19185 (libc_feholdexcept_setround_53bit): Replace with
19186 libc_feholdsetround_53bit.
19187 (libc_feupdateenv_53bit): Replace with
19188 libc_feresetround_53bit.
19189 (SET_RESTORE_ROUND_53BIT): Adjust.
19190
d180203e
SP
191912013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19192
96df079a
SP
19193 * string/test-strchrnul.c: Add copyright header.
19194
d180203e
SP
19195 * posix/tst-getaddrinfo4.c: Increase test timeout.
19196
8b0ccb2d
CD
191972013-06-03 Carlos O'Donell <carlos@redhat.com>
19198
19199 [BZ #15536]
19200 * math/libm-test.inc (MAX_EXP): Remove
19201 (MIN_EXP): Define.
19202 (ulp): Use MIN_EXP - MANT_DIG.
19203 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19204
3b3c4d40
CD
192052013-05-31 Carlos O'Donell <carlos@redhat.com>
19206
19207 * po/be.po: Revert last change.
19208 * po/zh_CN.po: Likewise.
19209 * po/header.pot: Likewise.
19210
fab7ce3f
JM
192112013-05-31 Joseph Myers <joseph@codesourcery.com>
19212
19213 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19214 link-libc-deps to empty as target-specific variable.
19215 * Makerules (link-libc-args): New variable.
19216 (libc-for-link): Likewise.
19217 (link-libc-deps): Likewise.
19218 (lib%.so): Depend on $(link-libc-deps). Link with
19219 $(link-libc-args).
19220 (build-module): Link with $(link-libc-args).
19221 (build-module-asneeded): Likewise.
19222 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19223 list of objects.
19224 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19225 target-specific variable.
19226 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19227 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19228 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19229 libc.
19230 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19231 libc and ld.so.
19232 ($(objpfx)libpcprofile.so): Likewise.
19233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19234 libc_nonshared.a.
19235 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19236 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19237 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19238 $(link-libc-deps).
19239 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19240 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19241 * login/Makefile ($(objpfx)libutil.so): Likewise.
19242 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19243 * math/Makefile ($(objpfx)libm.so): Likewise.
19244 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19245 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19246 variable instead of depending directly on libc.
19247 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19248 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19249 $(link-libc-deps).
19250 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19251 libc.
19252 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19253 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19254 ($(objpfx)libanl.so): Likewise.
19255 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19256 ld.so.
19257 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19258 $(link-libc-deps).
19259 * sysdeps/i386/fpu/Makefile: Remove file.
19260 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19261 ($(objpfx)libm.so): Remove dependency on ld.so.
19262
eca5920c
PF
192632013-05-30 Patsy Franklin <pfrankli@redhat.com>
19264
19265 [BZ # 15553]
19266 * nis/yp_xdr.c (XDRMAXNAME): Define.
19267 (XDRMAXRECORD): Define.
19268 (xdr_domainname): Use XDRMAXNAME.
19269 (xdr_mapname): Likewise.
19270 (xdr_peername): Likewise.
19271 (xdr_keydat): Use XDRMAXRECORD.
19272 (xdr_valdat): Likewise.
19273
192742013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19275
19276 [BZ #14256]
19277 * manual/errno.texi (ESTALE): Update to account for more than
19278 just NFS file systems.
19279 * sysdeps/gnu/errlist.c: Regenerated.
19280
b9375348
SP
192812013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19282
19283 [BZ #15465]
19284 * elf/Makefile (tests): Add tst-null-argv.
19285 (modules-names): Add tst-null-argv-lib.
19286 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19287 (tst-null-argv-ENV): Set environment for tst-null-argv.
19288 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19289 (RTLD_PROGNAME): New macro.
19290 * elf/tst-null-argv.c: New test case.
19291 * elf/tst-null-argv-lib.c: Library for test case.
19292 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19293 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19294 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19295 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19296 * elf/dl-init.c (call_init): Likewise.
19297 (_dl_init): Likewise.
19298 * elf/dl-load.c (print_search_path): Likewise.
19299 (_dl_map_object): Likewise.
19300 * elf/dl-lookup.c (do_lookup_x): Likewise.
19301 (add_dependency): Likewise.
19302 (_dl_lookup_symbol_x): Likewise.
19303 (_dl_debug_bindings): Likewise.
19304 * elf/dl-open.c (_dl_show_scope): Likewise.
19305 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19306 * elf/dl-version.c (match_symbol): Likewise.
19307 (_dl_check_map_versions): Likewise.
19308 * elf/rtld.c (dl_main): Likewise.
19309 (print_unresolved): Use RTLD_PROGNAME.
19310 (print_missing_version): Likewise.
19311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19312 (elf_machine_rela): Likewise.
19313 * sysdeps/powerpc/powerpc32/dl-machine.c
19314 (__process_machine_rela): Likewise.
19315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19316 Likewise.
19317 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19318 Likewise.
19319 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19320 Likewise.
19321 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19323 Likewise.
19324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19325 Likewise.
19326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19327
8a9f20c8
CD
193282013-05-28 Carlos O'Donell <carlos@redhat.com>
19329
19330 * po/be.po: Add descriptive title.
19331 * po/zh_CN.po: Likewise.
19332 * po/header.pot: Likewise.
19333
0e60d68e
MF
193342013-05-28 Mike Frysinger <vapier@gentoo.org>
19335
19336 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19337 error message.
19338 (enlarge_archive): Likewise.
19339
56b672e9
BN
193402013-05-28 Ben North <ben@redfrontdoor.org>
19341
19342 * manual/arith.texi (frexp): It is the magnitude of the return
19343 value which lies in [0.5, 1), not the return value itself.
19344
5e056687
AZ
193452013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19346
19347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19348
2b66ef5d
TS
193492013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19350
528c2405
TS
19351 * stdio-common/bug26.c (main): Correct fscanf template.
19352
07b4c13d
TS
19353 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19354 declare _dl_skip_args.
19355
ec9dd97c
TS
19356 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19357 Don't declare.
19358
2b66ef5d
TS
19359 * manual/platform.texi: Add missing @end deftypefun.
19360
4f8dfe27
JM
193612013-05-24 Joseph Myers <joseph@codesourcery.com>
19362
0323d086
JM
19363 [BZ #15529]
19364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19365 bit of mantissa of 2^16382.
19366 * math/libm-test.inc (hypot_test_data): Add more tests.
19367
dd4259b9
JM
19368 * math/libm-test.inc: Add drem and pow10 to list of tested
19369 functions.
19370 (pow10_test): New function.
19371 (drem_test): Likewise.
19372 (drem_test_tonearest): Likewise.
19373 (drem_test_towardzero): Likewise.
19374 (drem_test_downward): Likewise.
19375 (drem_test_upward): Likewise.
19376 (main): Call the new functions.
19377
4f8dfe27
JM
19378 * math/libm-test.inc (finite_test_data): Remove.
19379 (finite_test): Run tests from isfinite_test_data.
19380 (gamma_test_data): Remove.
19381 (gamma_test): Run tests from lgamma_test_data.
19382 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19384
d116b7c4
AZ
193852013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19386
19387 * manual/platform.texi: Add PowerPC PPR function set documentation.
19388 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19389 implementation.
19390
e96e3767
CD
193912013-05-24 Carlos O'Donell <carlos@redhat.com>
19392
19393 * math/libm-test.inc (MAX_EXP): Define.
19394 (ULPDIFF): Define.
19395 (ulp): New function.
19396 (check_float_internal): Use ULPDIFF.
19397 (cpow_test): Disable failing test.
19398 (check_ulp): Test ulp() implemetnation.
19399 (main): Call check_ulp before starting tests.
19400
b679a606
JM
194012013-05-24 Joseph Myers <joseph@codesourcery.com>
19402
e8bdba36
JM
19403 * math/gen-libm-test.pl (generate_testfile): Do not handle
19404 START_DATA and END_DATA.
19405 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19406 END_DATA.
19407 (acos_tonearest_test_data): Likewise.
19408 (acos_towardzero_test_data): Likewise.
19409 (acos_downward_test_data): Likewise.
19410 (acos_upward_test_data): Likewise.
19411 (acosh_test_data): Likewise.
19412 (asin_test_data): Likewise.
19413 (asin_tonearest_test_data): Likewise.
19414 (asin_towardzero_test_data): Likewise.
19415 (asin_downward_test_data): Likewise.
19416 (asin_upward_test_data): Likewise.
19417 (asinh_test_data): Likewise.
19418 (atan_test_data): Likewise.
19419 (atanh_test_data): Likewise.
19420 (atan2_test_data): Likewise.
19421 (cabs_test_data): Likewise.
19422 (cacos_test_data): Likewise.
19423 (cacosh_test_data): Likewise.
19424 (carg_test_data): Likewise.
19425 (casin_test_data): Likewise.
19426 (casinh_test_data): Likewise.
19427 (catan_test_data): Likewise.
19428 (catanh_test_data): Likewise.
19429 (cbrt_test_data): Likewise.
19430 (ccos_test_data): Likewise.
19431 (ccosh_test_data): Likewise.
19432 (ceil_test_data): Likewise.
19433 (cexp_test_data): Likewise.
19434 (cimag_test_data): Likewise.
19435 (clog_test_data): Likewise.
19436 (clog10_test_data): Likewise.
19437 (conj_test_data): Likewise.
19438 (copysign_test_data): Likewise.
19439 (cos_test_data): Likewise.
19440 (cos_tonearest_test_data): Likewise.
19441 (cos_towardzero_test_data): Likewise.
19442 (cos_downward_test_data): Likewise.
19443 (cos_upward_test_data): Likewise.
19444 (cosh_test_data): Likewise.
19445 (cosh_tonearest_test_data): Likewise.
19446 (cosh_towardzero_test_data): Likewise.
19447 (cosh_downward_test_data): Likewise.
19448 (cosh_upward_test_data): Likewise.
19449 (cpow_test_data): Likewise.
19450 (cproj_test_data): Likewise.
19451 (creal_test_data): Likewise.
19452 (csin_test_data): Likewise.
19453 (csinh_test_data): Likewise.
19454 (csqrt_test_data): Likewise.
19455 (ctan_test_data): Likewise.
19456 (ctan_tonearest_test_data): Likewise.
19457 (ctan_towardzero_test_data): Likewise.
19458 (ctan_downward_test_data): Likewise.
19459 (ctan_upward_test_data): Likewise.
19460 (ctanh_test_data): Likewise.
19461 (ctanh_tonearest_test_data): Likewise.
19462 (ctanh_towardzero_test_data): Likewise.
19463 (ctanh_downward_test_data): Likewise.
19464 (ctanh_upward_test_data): Likewise.
19465 (erf_test_data): Likewise.
19466 (erfc_test_data): Likewise.
19467 (exp_test_data): Likewise.
19468 (exp_tonearest_test_data): Likewise.
19469 (exp_towardzero_test_data): Likewise.
19470 (exp_downward_test_data): Likewise.
19471 (exp_upward_test_data): Likewise.
19472 (exp10_test_data): Likewise.
19473 (exp2_test_data): Likewise.
19474 (expm1_test_data): Likewise.
19475 (fabs_test_data): Likewise.
19476 (fdim_test_data): Likewise.
19477 (finite_test_data): Likewise.
19478 (floor_test_data): Likewise.
19479 (fma_test_data): Likewise.
19480 (fma_towardzero_test_data): Likewise.
19481 (fma_downward_test_data): Likewise.
19482 (fma_upward_test_data): Likewise.
19483 (fmax_test_data): Likewise.
19484 (fmin_test_data): Likewise.
19485 (fmod_test_data): Likewise.
19486 (fpclassify_test_data): Likewise.
19487 (frexp_test_data): Likewise.
19488 (gamma_test_data): Likewise.
19489 (hypot_test_data): Likewise.
19490 (ilogb_test_data): Likewise.
19491 (isfinite_test_data): Likewise.
19492 (isgreater_test_data): Likewise.
19493 (isgreaterequal_test_data): Likewise.
19494 (isinf_test_data): Likewise.
19495 (isless_test_data): Likewise.
19496 (islessequal_test_data): Likewise.
19497 (islessgreater_test_data): Likewise.
19498 (isnan_test_data): Likewise.
19499 (isnormal_test_data): Likewise.
19500 (issignaling_test_data): Likewise.
19501 (isunordered_test_data): Likewise.
19502 (j0_test_data): Likewise.
19503 (j1_test_data): Likewise.
19504 (jn_test_data): Likewise.
19505 (ldexp_test_data): Likewise.
19506 (lgamma_test_data): Likewise.
19507 (lrint_test_data): Likewise.
19508 (lrint_tonearest_test_data): Likewise.
19509 (lrint_towardzero_test_data): Likewise.
19510 (lrint_downward_test_data): Likewise.
19511 (lrint_upward_test_data): Likewise.
19512 (llrint_test_data): Likewise.
19513 (llrint_tonearest_test_data): Likewise.
19514 (llrint_towardzero_test_data): Likewise.
19515 (llrint_downward_test_data): Likewise.
19516 (llrint_upward_test_data): Likewise.
19517 (log_test_data): Likewise.
19518 (log10_test_data): Likewise.
19519 (log1p_test_data): Likewise.
19520 (log2_test_data): Likewise.
19521 (logb_test_data): Likewise.
19522 (logb_downward_test_data): Likewise.
19523 (lround_test_data): Likewise.
19524 (llround_test_data): Likewise.
19525 (modf_test_data): Likewise.
19526 (nearbyint_test_data): Likewise.
19527 (nextafter_test_data): Likewise.
19528 (nexttoward_test_data): Likewise.
19529 (pow_test_data): Likewise.
19530 (pow_tonearest_test_data): Likewise.
19531 (pow_towardzero_test_data): Likewise.
19532 (pow_downward_test_data): Likewise.
19533 (pow_upward_test_data): Likewise.
19534 (remainder_test_data): Likewise.
19535 (remainder_tonearest_test_data): Likewise.
19536 (remainder_towardzero_test_data): Likewise.
19537 (remainder_downward_test_data): Likewise.
19538 (remainder_upward_test_data): Likewise.
19539 (remquo_test_data): Likewise.
19540 (rint_test_data): Likewise.
19541 (rint_tonearest_test_data): Likewise.
19542 (rint_towardzero_test_data): Likewise.
19543 (rint_downward_test_data): Likewise.
19544 (rint_upward_test_data): Likewise.
19545 (round_test_data): Likewise.
19546 (scalb_test_data): Likewise.
19547 (scalbn_test_data): Likewise.
19548 (scalbln_test_data): Likewise.
19549 (signbit_test_data): Likewise.
19550 (sin_test_data): Likewise.
19551 (sin_tonearest_test_data): Likewise.
19552 (sin_towardzero_test_data): Likewise.
19553 (sin_downward_test_data): Likewise.
19554 (sin_upward_test_data): Likewise.
19555 (sincos_test_data): Likewise.
19556 (sinh_test_data): Likewise.
19557 (sinh_tonearest_test_data): Likewise.
19558 (sinh_towardzero_test_data): Likewise.
19559 (sinh_downward_test_data): Likewise.
19560 (sinh_upward_test_data): Likewise.
19561 (sqrt_test_data): Likewise.
19562 (tan_test_data): Likewise.
19563 (tan_tonearest_test_data): Likewise.
19564 (tan_towardzero_test_data): Likewise.
19565 (tan_downward_test_data): Likewise.
19566 (tan_upward_test_data): Likewise.
19567 (tanh_test_data): Likewise.
19568 (tgamma_test_data): Likewise.
19569 (trunc_test_data): Likewise.
19570 (y0_test_data): Likewise.
19571 (y1_test_data): Likewise.
19572 (yn_test_data): Likewise.
19573 (significand_test_data): Likewise.
19574
b679a606
JM
19575 * math/gen-libm-test.pl (@functions): Remove variable.
19576 (generate_testfile): Don't handle START and END lines.
19577 * math/libm-test.inc (START): New macro.
19578 (END): Likewise.
19579 (END_COMPLEX): Likewise.
19580 (acos_test): Use END macro without arguments.
19581 (acos_test_tonearest): Likewise.
19582 (acos_test_towardzero): Likewise.
19583 (acos_test_downward): Likewise.
19584 (acos_test_upward): Likewise.
19585 (acosh_test): Likewise.
19586 (asin_test): Likewise.
19587 (asin_test_tonearest): Likewise.
19588 (asin_test_towardzero): Likewise.
19589 (asin_test_downward): Likewise.
19590 (asin_test_upward): Likewise.
19591 (asinh_test): Likewise.
19592 (atan_test): Likewise.
19593 (atanh_test): Likewise.
19594 (atan2_test): Likewise.
19595 (cabs_test): Likewise.
19596 (cacos_test): Use END_COMPLEX macro without arguments.
19597 (cacosh_test): Likewise.
19598 (carg_test): Use END macro without arguments.
19599 (casin_test): Use END_COMPLEX macro without arguments.
19600 (casinh_test): Likewise.
19601 (catan_test): Likewise.
19602 (catanh_test): Likewise.
19603 (cbrt_test): Use END macro without arguments.
19604 (ccos_test): Use END_COMPLEX macro without arguments.
19605 (ccosh_test): Likewise.
19606 (ceil_test): Use END macro without arguments.
19607 (cexp_test): Use END_COMPLEX macro without arguments.
19608 (cimag_test): Use END macro without arguments.
19609 (clog_test): Use END_COMPLEX macro without arguments.
19610 (clog10_test): Likewise.
19611 (conj_test): Likewise.
19612 (copysign_test): Use END macro without arguments.
19613 (cos_test): Likewise.
19614 (cos_test_tonearest): Likewise.
19615 (cos_test_towardzero): Likewise.
19616 (cos_test_downward): Likewise.
19617 (cos_test_upward): Likewise.
19618 (cosh_test): Likewise.
19619 (cosh_test_tonearest): Likewise.
19620 (cosh_test_towardzero): Likewise.
19621 (cosh_test_downward): Likewise.
19622 (cosh_test_upward): Likewise.
19623 (cpow_test): Use END_COMPLEX macro without arguments.
19624 (cproj_test): Likewise.
19625 (creal_test): Use END macro without arguments.
19626 (csin_test): Use END_COMPLEX macro without arguments.
19627 (csinh_test): Likewise.
19628 (csqrt_test): Likewise.
19629 (ctan_test): Likewise.
19630 (ctan_test_tonearest): Likewise.
19631 (ctan_test_towardzero): Likewise.
19632 (ctan_test_downward): Likewise.
19633 (ctan_test_upward): Likewise.
19634 (ctanh_test): Likewise.
19635 (ctanh_test_tonearest): Likewise.
19636 (ctanh_test_towardzero): Likewise.
19637 (ctanh_test_downward): Likewise.
19638 (ctanh_test_upward): Likewise.
19639 (erf_test): Use END macro without arguments.
19640 (erfc_test): Likewise.
19641 (exp_test): Likewise.
19642 (exp_test_tonearest): Likewise.
19643 (exp_test_towardzero): Likewise.
19644 (exp_test_downward): Likewise.
19645 (exp_test_upward): Likewise.
19646 (exp10_test): Likewise.
19647 (exp2_test): Likewise.
19648 (expm1_test): Likewise.
19649 (fabs_test): Likewise.
19650 (fdim_test): Likewise.
19651 (finite_test): Likewise.
19652 (floor_test): Likewise.
19653 (fma_test): Likewise.
19654 (fma_test_towardzero): Likewise.
19655 (fma_test_downward): Likewise.
19656 (fma_test_upward): Likewise.
19657 (fmax_test): Likewise.
19658 (fmin_test): Likewise.
19659 (fmod_test): Likewise.
19660 (fpclassify_test): Likewise.
19661 (frexp_test): Likewise.
19662 (gamma_test): Likewise.
19663 (hypot_test): Likewise.
19664 (ilogb_test): Likewise.
19665 (isfinite_test): Likewise.
19666 (isgreater_test): Likewise.
19667 (isgreaterequal_test): Likewise.
19668 (isinf_test): Likewise.
19669 (isless_test): Likewise.
19670 (islessequal_test): Likewise.
19671 (islessgreater_test): Likewise.
19672 (isnan_test): Likewise.
19673 (isnormal_test): Likewise.
19674 (issignaling_test): Likewise.
19675 (isunordered_test): Likewise.
19676 (j0_test): Likewise.
19677 (j1_test): Likewise.
19678 (jn_test): Likewise.
19679 (ldexp_test): Likewise.
19680 (lgamma_test): Likewise.
19681 (lrint_test): Likewise.
19682 (lrint_test_tonearest): Likewise.
19683 (lrint_test_towardzero): Likewise.
19684 (lrint_test_downward): Likewise.
19685 (lrint_test_upward): Likewise.
19686 (llrint_test): Likewise.
19687 (llrint_test_tonearest): Likewise.
19688 (llrint_test_towardzero): Likewise.
19689 (llrint_test_downward): Likewise.
19690 (llrint_test_upward): Likewise.
19691 (log_test): Likewise.
19692 (log10_test): Likewise.
19693 (log1p_test): Likewise.
19694 (log2_test): Likewise.
19695 (logb_test): Likewise.
19696 (logb_test_downward): Likewise.
19697 (lround_test): Likewise.
19698 (llround_test): Likewise.
19699 (modf_test): Likewise.
19700 (nearbyint_test): Likewise.
19701 (nextafter_test): Likewise.
19702 (nexttoward_test): Likewise.
19703 (pow_test): Likewise.
19704 (pow_test_tonearest): Likewise.
19705 (pow_test_towardzero): Likewise.
19706 (pow_test_downward): Likewise.
19707 (pow_test_upward): Likewise.
19708 (remainder_test): Likewise.
19709 (remainder_test_tonearest): Likewise.
19710 (remainder_test_towardzero): Likewise.
19711 (remainder_test_downward): Likewise.
19712 (remainder_test_upward): Likewise.
19713 (remquo_test): Likewise.
19714 (rint_test): Likewise.
19715 (rint_test_tonearest): Likewise.
19716 (rint_test_towardzero): Likewise.
19717 (rint_test_downward): Likewise.
19718 (rint_test_upward): Likewise.
19719 (round_test): Likewise.
19720 (scalb_test): Likewise.
19721 (scalbn_test): Likewise.
19722 (scalbln_test): Likewise.
19723 (signbit_test): Likewise.
19724 (sin_test): Likewise.
19725 (sin_test_tonearest): Likewise.
19726 (sin_test_towardzero): Likewise.
19727 (sin_test_downward): Likewise.
19728 (sin_test_upward): Likewise.
19729 (sincos_test): Likewise.
19730 (sinh_test): Likewise.
19731 (sinh_test_tonearest): Likewise.
19732 (sinh_test_towardzero): Likewise.
19733 (sinh_test_downward): Likewise.
19734 (sinh_test_upward): Likewise.
19735 (sqrt_test): Likewise.
19736 (tan_test): Likewise.
19737 (tan_test_tonearest): Likewise.
19738 (tan_test_towardzero): Likewise.
19739 (tan_test_downward): Likewise.
19740 (tan_test_upward): Likewise.
19741 (tanh_test): Likewise.
19742 (tgamma_test): Likewise.
19743 (trunc_test): Likewise.
19744 (y0_test): Likewise.
19745 (y1_test): Likewise.
19746 (yn_test): Likewise.
19747 (significand_test): Likewise.
19748
bae143d2
OB
197492013-05-24 Ondřej Bílka <neleai@seznam.cz>
19750
19751 [BZ #15381]
19752 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19753
9323d39b
EM
197542013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19755
d4ea44a0 19756 [BZ #14894]
9323d39b
EM
19757 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19758 __ppc_mdoio and __ppc_mdoom.
19759 * manual/platform.texi: Document new functions __ppc_yield,
19760 __ppc_mdoio and __ppc_mdoom.
19761
13e23af7
CD
197622013-05-22 Carlos O'Donell <carlos@redhat.com>
19763
19764 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19765 (main): Mention "tls" pseudo-hwcap is legacy.
19766 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19767
351fe550
JM
197682013-05-22 Joseph Myers <joseph@codesourcery.com>
19769
19770 * math/gen-libm-test.pl (parse_args): Output only string of
19771 arguments as text for test name, not full call or descriptions of
19772 tests for extra outputs.
19773 (generate_testfile): Do not pass function name to parse_args.
19774 Generate this_func variable from START.
19775 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19776 field to arg_str.
19777 (struct test_ff_f_data): Likewise.
19778 (test_ff_f_data_nexttoward): Likewise.
19779 (struct test_fi_f_data): Likewise.
19780 (struct test_fl_f_data): Likewise.
19781 (struct test_if_f_data): Likewise.
19782 (struct test_fff_f_data): Likewise.
19783 (struct test_c_f_data): Likewise.
19784 (struct test_f_f1_data): Likewise. Remove field extra_name.
19785 (struct test_fF_f1_data): Likewise.
19786 (struct test_ffI_f1_data): Likewise.
19787 (struct test_c_c_data): Rename test_name field to arg_str.
19788 (struct test_cc_c_data): Likewise.
19789 (struct test_f_i_data): Likewise.
19790 (struct test_ff_i_data): Likewise.
19791 (struct test_f_l_data): Likewise.
19792 (struct test_f_L_data): Likewise.
19793 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19794 and extra2_name.
19795 (COMMON_TEST_SETUP): New macro.
19796 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19797 (COMMON_TEST_CLEANUP): Likewise.
19798 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19799 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19800 macros.
19801 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19802 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19803 macros.
19804 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19805 (RUN_TEST_fff_f): Take argument string. Call new setup and
19806 cleanup macros.
19807 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19808 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19809 macros.
19810 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19811 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19812 macros.
19813 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19814 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19815 cleanup macros.
19816 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19817 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19818 cleanup macros.
19819 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19820 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19821 cleanup macros.
19822 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19823 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19824 macros.
19825 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19826 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19827 macros.
19828 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19829 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19830 macros.
19831 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19832 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19833 cleanup macros.
19834 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19835 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19836 cleanup macros.
19837 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19838 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19839 macros.
19840 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19841 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19842 cleanup macros.
19843 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19844 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19845 macros.
19846 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19847 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19848 macros.
19849 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19850 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19851 cleanup macros.
19852 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19853
85118d4d
EBM
198542013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19855
19856 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19857 to _sifields.sigfault.
19858 (si_addr_lsb): Define new macro.
19859 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19861 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19862
7a44c18f
CD
198632013-05-03 Carlos O'Donell <carlos at redhat.com>
19864
19865 [BZ #15441]
19866 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19867 returns -1.
19868 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19869 null return -1.
19870 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19871 loading the domain.
19872
b50a7181
JM
198732013-05-22 Joseph Myers <joseph@codesourcery.com>
19874
19875 * math/gen-libm-test.pl (parse_args): Do not include expected
19876 result in test name.
19877 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19879 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19880 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19881 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19883
051063c8
SP
198842013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19885
3ce9e010
SP
19886 * benchtests/Makefile: Sort function entries.
19887
051063c8
SP
19888 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19889 tanh, asinh, acosh, atanh.
19890 * benchtests/acos-inputs: New file.
19891 * benchtests/acosh-inputs: New file.
19892 * benchtests/asin-inputs: New file.
19893 * benchtests/asinh-inputs: New file.
19894 * benchtests/atanh-inputs: New file.
19895 * benchtests/cosh-inputs: New file.
19896 * benchtests/log-inputs: New file.
19897 * benchtests/sinh-inputs: New file.
19898 * benchtests/tanh-inputs: New file.
19899
47c22455
DL
199002013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19901
19902 [BZ #15339]
19903 * posix/tst-getaddrinfo4.c: New test.
19904 * posix/Makefile (tests): Add it.
19905
3d04f5db
SP
199062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19907
19908 [BZ #15339]
19909 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19910 when no services were used.
19911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19912 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19913
d5dd6189
AS
199142013-05-21 Andreas Schwab <schwab@suse.de>
19915
19916 [BZ #15014]
19917 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19918 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19919 successful.
19920 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19921 redundant variable declarations and reallocation of buffer when
19922 parsing as IPv6 address. Always set NSS status when called from
19923 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19924 buffer too small. Correct computation of needed size.
19925 * nss/Makefile (tests): Add test-digits-dots.
19926 * nss/test-digits-dots.c: New test.
19927
fef94eab
SP
199282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19929
19930 * benchtests/Makefile: Remove instructions for adding
19931 benchmark tests.
19932 * benchtests/README: New file to explain how to execute and
19933 enhance the benchmark tests.
19934
e39adf43
AS
199352013-05-21 Andreas Schwab <schwab@suse.de>
19936
19937 [BZ #15493]
19938 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19939 * setjmp/tst-sigsetjmp.c: New test.
19940
b2b671b6
OB
199412013-05-20 Ondřej Bílka <neleai@seznam.cz>
19942
19943 * sysdeps/x86_64/memset.S (memset): New implementation.
19944 (__bzero): Likewise.
19945 (__memset_tail): New function.
19946
2d48b41c
OB
199472013-05-20 Ondřej Bílka <neleai@seznam.cz>
19948
19949 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19950 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19951 __memcpy_sse2_unaligned ifunc selection.
19952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19953 Add memcpy-sse2-unaligned.S.
19954 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19955 Add: __memcpy_sse2_unaligned.
19956
f16cc3eb
JM
199572013-05-19 Joseph Myers <joseph@codesourcery.com>
19958
3e694268
JM
19959 [BZ #15490]
19960 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19961 math_force_eval before restoring floating-point envrionment.
19962 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19964 Likewise.
19965 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19966 <math_private.h>.
19967 (__nearbyintl): Use math_force_eval before restoring
19968 floating-point environment.
19969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19970
db62a907
JM
19971 * math/gen-libm-test.pl (special_functions): Remove.
19972 (parse_args): Don't handle TEST_extra. Handle functions with no
19973 return value.
19974 * math/libm-test.inc (struct test_sincos_data): Replace with
19975 struct test_fFF_11_data.
19976 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19977 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19978 (sincos_test_data): Change element type to struct
19979 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19980 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19981 RUN_TEST_LOOP_sincos.
19982 * math/README.libm-test: Don't mention special handling of
19983 individual functions.
19984 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19987 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19988 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19990
f16cc3eb
JM
19991 * math/gen-libm-test.pl (get_variable): Remove function.
19992 (parse_args): Don't show pointer parameters to call in test
19993 names. Use "extra output N" in test names for extra outputs
19994 rather than naming variables.
19995
3779b5b6
JM
199962013-05-18 Joseph Myers <joseph@codesourcery.com>
19997
2ee094ff
JM
19998 [BZ #15488]
19999 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20000 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20001 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20002 double tests.
20003 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20004 disable.
20005 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20006 check_long_double.
20007
3779b5b6
JM
20008 * math/gen-libm-test.pl (@tests): Remove variable.
20009 ($count): Likewise.
20010 (new_test): Remove function.
20011 (show_exceptions): New function.
20012 (special_functions): Use show_exceptions instead of new_test.
20013 (parse_args): Likewise.
20014 (generate_testfile): Pass only function name in generated call to
20015 print_max_error or print_complex_max_error.
20016 (get_ulps): Do not handle complex tests specially.
20017 (output_test): Rename to ...
20018 (get_all_ulps_for_test): ... this. Return a string rather than
20019 printing to a file. Require ulps to be present.
20020 (output_ulps): Generate arrays rather than #defines.
20021 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20022 (struct ulp_data): New type.
20023 (BUILD_COMPLEX_ULP): Remove macro.
20024 (compare_ulp_data): New function.
20025 (find_ulps): Likewise.
20026 (find_test_ulps): Likewise.
20027 (find_function_ulps): Likewise.
20028 (find_complex_function_ulps): Likewise.
20029 (print_max_error): Determine allowed ulps using
20030 find_function_ulps.
20031 (print_complex_max_error): Determine allowed ulps using
20032 find_complex_function_ulps.
20033 (check_float_internal): Determine max ulps using find_test_ulps.
20034 (check_float): Do not take max_ulp parameter. Update call to
20035 check_float_internal.
20036 (check_complex): Likewise.
20037 (check_int): Do not take max_ulp parameter.
20038 (check_long): Likewise.
20039 (check_bool): Likewise.
20040 (check_longlong): Likewise.
20041 (struct test_f_f_data): Remove max_ulp field.
20042 (struct test_ff_f_data): Likewise.
20043 (struct test_ff_f_data_nexttoward): Likewise.
20044 (struct test_fi_f_data): Likewise.
20045 (struct test_fl_f_data): Likewise.
20046 (struct test_if_f_data): Likewise.
20047 (struct test_fff_f_data): Likewise.
20048 (struct test_c_f_data): Likewise.
20049 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20050 (struct test_fF_f1_data): Likewise.
20051 (struct test_ffI_f1_data): Likewise.
20052 (struct test_c_c_data): Remove max_ulp field.
20053 (struct test_cc_c_data): Likewise.
20054 (struct test_f_i_data): Likewise.
20055 (struct test_ff_i_data): Likewise.
20056 (struct test_f_l_data): Likewise.
20057 (struct test_f_L_data): Likewise.
20058 (struct test_sincos_data): Likewise.
20059 (RUN_TEST_f_f): Do not handle ulps.
20060 (RUN_TEST_LOOP_f_f): Likewise.
20061 (RUN_TEST_2_f): Likewise.
20062 (RUN_TEST_LOOP_2_f): Likewise.
20063 (RUN_TEST_fff_f): Likewise.
20064 (RUN_TEST_LOOP_fff_f): Likewise.
20065 (RUN_TEST_c_f): Likewise.
20066 (RUN_TEST_LOOP_c_f): Likewise.
20067 (RUN_TEST_f_f1): Likewise.
20068 (RUN_TEST_LOOP_f_f1): Likewise.
20069 (RUN_TEST_fF_f1): Likewise.
20070 (RUN_TEST_LOOP_fF_f1): Likewise.
20071 (RUN_TEST_fI_f1): Likewise.
20072 (RUN_TEST_LOOP_fI_f1): Likewise.
20073 (RUN_TEST_ffI_f1): Likewise.
20074 (RUN_TEST_LOOP_ffI_f1): Likewise.
20075 (RUN_TEST_c_c): Likewise.
20076 (RUN_TEST_LOOP_c_c): Likewise.
20077 (RUN_TEST_cc_c): Likewise.
20078 (RUN_TEST_LOOP_cc_c): Likewise.
20079 (RUN_TEST_f_i): Likewise.
20080 (RUN_TEST_LOOP_f_i): Likewise.
20081 (RUN_TEST_f_i_tg): Likewise.
20082 (RUN_TEST_LOOP_f_i_tg): Likewise.
20083 (RUN_TEST_ff_i_tg): Likewise.
20084 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20085 (RUN_TEST_f_b): Likewise.
20086 (RUN_TEST_LOOP_f_b): Likewise.
20087 (RUN_TEST_f_b_tg): Likewise.
20088 (RUN_TEST_LOOP_f_b_tg): Likewise.
20089 (RUN_TEST_f_l): Likewise.
20090 (RUN_TEST_LOOP_f_l): Likewise.
20091 (RUN_TEST_f_L): Likewise.
20092 (RUN_TEST_LOOP_f_L): Likewise.
20093 (RUN_TEST_sincos): Likewise.
20094 (RUN_TEST_LOOP_sincos): Likewise.
20095
8269107f
JM
200962013-05-17 Joseph Myers <joseph@codesourcery.com>
20097
bb38759d
JM
20098 [BZ #15480]
20099 [BZ #15485]
20100 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20101 main case of finite arguments, set rounding mode to FE_TONEAREST
20102 and discard exceptions.
20103 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20104 exceptions.
20105 (remainder_tonearest_test_data): New variable.
20106 (remainder_test_tonearest): New function.
20107 (remainder_towardzero_test_data): New variable.
20108 (remainder_test_towardzero): New function.
20109 (remainder_downward_test_data): New variable.
20110 (remainder_test_downward): New function.
20111 (remainder_upward_test_data): New variable.
20112 (remainder_test_upward): New function.
20113 (main): Call the new test functions.
20114
a00bdcf0
JM
20115 * math/libm-test.inc (struct test_f_f1_data): Remove field
20116 extra_init.
20117 (struct test_fF_f1_data): Likewise.
20118 (struct test_ffI_f1_data): Likewise.
20119 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20120 based on value of EXTRA_EXPECTED.
20121 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20122 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20123 EXTRA_VAR based on value of EXTRA_EXPECTED.
20124 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20125 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20126 EXTRA_VAR based on value of EXTRA_EXPECTED.
20127 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20128 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20129 EXTRA_VAR based on value of EXTRA_EXPECTED.
20130 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20131 * math/gen-libm-test.pl (parse_args): Don't output initializers
20132 for extra output values.
20133
de407f79
JM
20134 * math/libm-test.inc (check_int): Expect result to be exactly
20135 equal to expected value and do not handle ulps.
20136 (check_long): Likewise.
20137 (check_longlong): Likewise.
20138
8269107f
JM
20139 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20140 exceptions.
20141 (cimag_test_data): Likewise.
20142 (conj_test_data): Likewise.
20143 (copysign_test_data): Likewise.
20144 (cproj_test_data): Likewise.
20145 (creal_test_data): Likewise.
20146 (fabs_test_data): Likewise.
20147 (fdim_test_data): Likewise.
20148 (finite_test_data): Likewise.
20149 (floor_test_data): Likewise.
20150 (fmax_test_data): Likewise.
20151 (fmin_test_data): Likewise.
20152 (fmod_test_data): Likewise.
20153 (fpclassify_test_data): Likewise.
20154 (frexp_test_data): Likewise.
20155 (ilogb_test_data): Likewise.
20156 (isfinite_test_data): Likewise.
20157 (isgreater_test_data): Likewise.
20158 (isgreaterequal_test_data): Likewise.
20159 (isinf_test_data): Likewise.
20160 (isless_test_data): Likewise.
20161 (islessequal_test_data): Likewise.
20162 (islessgreater_test_data): Likewise.
20163 (isnan_test_data): Likewise.
20164 (isnormal_test_data): Likewise.
20165 (issignaling_test_data): Likewise.
20166 (isunordered_test_data): Likewise.
20167 (ldexp_test_data): Likewise.
20168 (lrint_test_data): Likewise.
20169 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20170 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20171 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20172 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20173 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20174 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20175 test input.
20176 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20177 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20178 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20179 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20180 that test input.
20181 (lrint_downward_test_data): Test for "inexact" exceptions.
20182 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20183 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20184 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20185 test input.
20186 (lrint_upward_test_data): Test for "inexact" exceptions.
20187 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20188 test input.
20189 (llrint_test_data): Test for "inexact" exceptions.
20190 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20191 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20192 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20193 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20194 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20195 (llrint_downward_test_data): Test for "inexact" exceptions.
20196 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20197 (llrint_upward_test_data): Test for "inexact" exceptions.
20198 (logb_test_data): Likewise.
20199 (logb_downward_test_data): Likewise.
20200 (nextafter_test_data): Likewise.
20201 (nexttoward_test_data): Likewise.
20202 (remainder_test_data): Likewise.
20203 (remquo_test_data): Likewise.
20204 (scalbn_test_data): Likewise.
20205 (scalbln_test_data): Likewise.
20206 (signbit_test_data): Likewise.
20207 (sqrt_test_data): Likewise.
20208 (significand_test_data): Likewise.
20209
48a18de1
SP
202102013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20211
20212 [BZ #15424]
20213 * benchtests/bench-modf.c (struct args): Mark arg0 as
20214 volatile.
20215 * scripts/bench.pl: Mark members of struct args as volatile.
20216
13d3b41a
AZ
202172013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20218
68191c1d 20219 [BZ # 15497]
13d3b41a
AZ
20220 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20221 negative infinity on POWER6 or lower.
20222 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20223
2848b105
MR
202242013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20225
20226 [BZ #15442]
20227 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20228 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20229 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20230 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20231 (_FP_SETQNAN): New macro.
20232 (_FP_SETQNAN_SEMIRAW): Likewise.
20233 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20234 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20235 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20236 (FP_EXTEND): Use _FP_FRAC_SNANP.
20237 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20238 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20239 into account.
20240 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20241 New macro.
20242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20243 Likewise.
20244
323e5cb7
JM
202452013-05-16 Joseph Myers <joseph@codesourcery.com>
20246
c58b274f
JM
20247 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20248 with DIVIDE_BY_ZERO_EXCEPTION.
20249 (gamma_test_data): Likewise.
20250 (lgamma_test_data): Likewise.
20251 (log_test_data): Likewise.
20252 (log10_test_data): Likewise.
20253 (log2_test_data): Likewise.
20254 (tgamma_test_data): Likewise.
20255
0ab34904
JM
20256 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20257 (acos_test_tonearest): Likewise.
20258 (acos_test_towardzero): Likewise.
20259 (acos_test_downward): Likewise.
20260 (acos_test_upward): Likewise.
20261 (acosh_test): Likewise.
20262 (asin_test): Likewise.
20263 (asin_test_tonearest): Likewise.
20264 (asin_test_towardzero): Likewise.
20265 (asin_test_downward): Likewise.
20266 (asin_test_upward): Likewise.
20267 (asinh_test): Likewise.
20268 (atan_test): Likewise.
20269 (atanh_test): Likewise.
20270 (atan2_test): Likewise.
20271 (cabs_test): Likewise.
20272 (cacos_test): Likewise.
20273 (cacosh_test): Likewise.
20274 (casin_test): Likewise.
20275 (casinh_test): Likewise.
20276 (catan_test): Likewise.
20277 (catanh_test): Likewise.
20278 (cbrt_test): Likewise.
20279 (ccos_test): Likewise.
20280 (ccosh_test): Likewise.
20281 (cexp_test): Likewise.
20282 (clog_test): Likewise.
20283 (clog10_test): Likewise.
20284 (cos_test): Likewise.
20285 (cos_test_tonearest): Likewise.
20286 (cos_test_towardzero): Likewise.
20287 (cos_test_downward): Likewise.
20288 (cos_test_upward): Likewise.
20289 (cosh_test): Likewise.
20290 (cosh_test_tonearest): Likewise.
20291 (cosh_test_towardzero): Likewise.
20292 (cosh_test_downward): Likewise.
20293 (cosh_test_upward): Likewise.
20294 (cpow_test): Likewise.
20295 (csin_test): Likewise.
20296 (csinh_test): Likewise.
20297 (csqrt_test): Likewise.
20298 (ctan_test): Likewise.
20299 (ctan_test_tonearest): Likewise.
20300 (ctan_test_towardzero): Likewise.
20301 (ctan_test_downward): Likewise.
20302 (ctan_test_upward): Likewise.
20303 (ctanh_test): Likewise.
20304 (ctanh_test_tonearest): Likewise.
20305 (ctanh_test_towardzero): Likewise.
20306 (ctanh_test_downward): Likewise.
20307 (ctanh_test_upward): Likewise.
20308 (erf_test): Likewise.
20309 (erfc_test): Likewise.
20310 (exp_test): Likewise.
20311 (exp_test_tonearest): Likewise.
20312 (exp_test_towardzero): Likewise.
20313 (exp_test_downward): Likewise.
20314 (exp_test_upward): Likewise.
20315 (exp10_test): Likewise.
20316 (exp2_test): Likewise.
20317 (expm1_test): Likewise.
20318 (fmod_test): Likewise.
20319 (gamma_test): Likewise.
20320 (hypot_test): Likewise.
20321 (j0_test): Likewise.
20322 (j1_test): Likewise.
20323 (jn_test): Likewise.
20324 (lgamma_test): Likewise.
20325 (log_test): Likewise.
20326 (log10_test): Likewise.
20327 (log1p_test): Likewise.
20328 (log2_test): Likewise.
20329 (logb_test_downward): Likewise.
20330 (pow_test): Likewise.
20331 (pow_test_tonearest): Likewise.
20332 (pow_test_towardzero): Likewise.
20333 (pow_test_downward): Likewise.
20334 (pow_test_upward): Likewise.
20335 (remainder_test): Likewise.
20336 (remquo_test): Likewise.
20337 (sin_test): Likewise.
20338 (sin_test_tonearest): Likewise.
20339 (sin_test_towardzero): Likewise.
20340 (sin_test_downward): Likewise.
20341 (sin_test_upward): Likewise.
20342 (sincos_test): Likewise.
20343 (sinh_test): Likewise.
20344 (sinh_test_tonearest): Likewise.
20345 (sinh_test_towardzero): Likewise.
20346 (sinh_test_downward): Likewise.
20347 (sinh_test_upward): Likewise.
20348 (sqrt_test): Likewise.
20349 (tan_test): Likewise.
20350 (tan_test_tonearest): Likewise.
20351 (tan_test_towardzero): Likewise.
20352 (tan_test_downward): Likewise.
20353 (tan_test_upward): Likewise.
20354 (tanh_test): Likewise.
20355 (tgamma_test): Likewise.
20356 (y0_test): Likewise.
20357 (y1_test): Likewise.
20358 (yn_test): Likewise.
20359
323e5cb7
JM
20360 * math/gen-libm-test.pl (adjust_arg): Remove function.
20361 (special_function): Remove argument $in_func. Only handle
20362 generating output for tables of tests, not inside functions.
20363 (parse_args): Likewise.
20364 (generate_testfile): Remove variable $in_func. Update call to
20365 parse_args.
20366 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20367 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20368 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20369 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20370 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20371 (MAX_VALUE_INIT): Rename macro to max_value.
20372 (MIN_VALUE_INIT): Rename macro to min_value.
20373 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20374 (plus_zero): Remove variable.
20375 (minus_zero): Likewise.
20376 (plus_infty): Likewise.
20377 (minus_infty): Likewise.
20378 (qnan_value): Likewise.
20379 (max_value): Likewise.
20380 (min_value): Likewise.
20381 (min_subnorm_value): Likewise.
20382
e054f494
RA
203832013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20384
20385 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20386 uint64_t or uint32_t usage.
20387 * crypt/sha256-block.c: Likewise.
20388 * crypt/sha256-crypt.c: Likewise.
20389 * crypt/sha256.c: Likewise.
20390 * crypt/sha512-block.c: Likewise.
20391 * crypt/sha512-crypt.c: Likewise.
20392 * crypt/sha512.c: Likewise.
20393 * debug/backtrace-tst.c: Likewise.
20394 * debug/pcprofiledump.c: Likewise.
20395 * elf/cache.c: Likewise.
20396 * elf/dl-cache.c: Likewise.
20397 * elf/dl-misc.c: Likewise.
20398 * elf/dl-profile.c: Likewise.
20399 * elf/dl-support.c: Likewise.
20400 * elf/ldconfig.c: Likewise.
20401 * elf/sprof.c: Likewise.
20402 * iconv/dummy-repertoire.c: Likewise.
20403 * iconv/iconv_charmap.c: Likewise.
20404 * iconv/skeleton.c: Likewise.
20405 * iconvdata/8bit-generic.c: Likewise.
20406 * iconvdata/cp737.h: Likewise.
20407 * iconvdata/cp775.h: Likewise.
20408 * iconvdata/ibm1008.h: Likewise.
20409 * iconvdata/ibm1025.h: Likewise.
20410 * iconvdata/ibm1046.h: Likewise.
20411 * iconvdata/ibm1097.h: Likewise.
20412 * iconvdata/ibm1112.h: Likewise.
20413 * iconvdata/ibm1122.h: Likewise.
20414 * iconvdata/ibm1123.h: Likewise.
20415 * iconvdata/ibm1124.h: Likewise.
20416 * iconvdata/ibm1129.h: Likewise.
20417 * iconvdata/ibm1130.h: Likewise.
20418 * iconvdata/ibm1132.h: Likewise.
20419 * iconvdata/ibm1133.h: Likewise.
20420 * iconvdata/ibm1137.h: Likewise.
20421 * iconvdata/ibm1140.h: Likewise.
20422 * iconvdata/ibm1141.h: Likewise.
20423 * iconvdata/ibm1142.h: Likewise.
20424 * iconvdata/ibm1143.h: Likewise.
20425 * iconvdata/ibm1144.h: Likewise.
20426 * iconvdata/ibm1145.h: Likewise.
20427 * iconvdata/ibm1146.h: Likewise.
20428 * iconvdata/ibm1147.h: Likewise.
20429 * iconvdata/ibm1148.h: Likewise.
20430 * iconvdata/ibm1149.h: Likewise.
20431 * iconvdata/ibm1153.h: Likewise.
20432 * iconvdata/ibm1154.h: Likewise.
20433 * iconvdata/ibm1155.h: Likewise.
20434 * iconvdata/ibm1156.h: Likewise.
20435 * iconvdata/ibm1157.h: Likewise.
20436 * iconvdata/ibm1158.h: Likewise.
20437 * iconvdata/ibm1160.h: Likewise.
20438 * iconvdata/ibm1161.h: Likewise.
20439 * iconvdata/ibm1162.h: Likewise.
20440 * iconvdata/ibm1163.h: Likewise.
20441 * iconvdata/ibm1164.h: Likewise.
20442 * iconvdata/ibm1166.h: Likewise.
20443 * iconvdata/ibm1167.h: Likewise.
20444 * iconvdata/ibm12712.h: Likewise.
20445 * iconvdata/ibm1390.h: Likewise.
20446 * iconvdata/ibm1399.h: Likewise.
20447 * iconvdata/ibm16804.h: Likewise.
20448 * iconvdata/ibm4517.h: Likewise.
20449 * iconvdata/ibm4899.h: Likewise.
20450 * iconvdata/ibm4909.h: Likewise.
20451 * iconvdata/ibm4971.h: Likewise.
20452 * iconvdata/ibm5347.h: Likewise.
20453 * iconvdata/ibm803.h: Likewise.
20454 * iconvdata/ibm856.h: Likewise.
20455 * iconvdata/ibm901.h: Likewise.
20456 * iconvdata/ibm902.h: Likewise.
20457 * iconvdata/ibm9030.h: Likewise.
20458 * iconvdata/ibm9066.h: Likewise.
20459 * iconvdata/ibm921.h: Likewise.
20460 * iconvdata/ibm922.h: Likewise.
20461 * iconvdata/ibm9448.h: Likewise.
20462 * iconvdata/isiri-3342.h: Likewise.
20463 * iconvdata/jis0201.h: Likewise.
20464 * include/link.h: Likewise.
20465 * include/netdb.h: Likewise.
20466 * inet/check_native.c: Likewise.
20467 * inet/check_pf.c: Likewise.
20468 * inet/getipv4sourcefilter.c: Likewise.
20469 * inet/getnameinfo.c: Likewise.
20470 * inet/getsourcefilter.c: Likewise.
20471 * inet/htonl.c: Likewise.
20472 * inet/setipv4sourcefilter.c: Likewise.
20473 * inet/setsourcefilter.c: Likewise.
20474 * inet/test-inet6_opt.c: Likewise.
20475 * inet/tst-network.c: Likewise.
20476 * locale/C-collate.c: Likewise.
20477 * locale/C-ctype.c: Likewise.
20478 * locale/C-time.c: Likewise.
20479 * locale/C-translit.h: Likewise.
20480 * locale/loadarchive.c: Likewise.
20481 * locale/programs/3level.h: Likewise.
20482 * locale/programs/charmap.c: Likewise.
20483 * locale/programs/charmap.h: Likewise.
20484 * locale/programs/ld-address.c: Likewise.
20485 * locale/programs/ld-collate.c: Likewise.
20486 * locale/programs/ld-ctype.c: Likewise.
20487 * locale/programs/ld-identification.c: Likewise.
20488 * locale/programs/ld-measurement.c: Likewise.
20489 * locale/programs/ld-messages.c: Likewise.
20490 * locale/programs/ld-monetary.c: Likewise.
20491 * locale/programs/ld-name.c: Likewise.
20492 * locale/programs/ld-numeric.c: Likewise.
20493 * locale/programs/ld-paper.c: Likewise.
20494 * locale/programs/ld-telephone.c: Likewise.
20495 * locale/programs/ld-time.c: Likewise.
20496 * locale/programs/linereader.c: Likewise.
20497 * locale/programs/locale.c: Likewise.
20498 * locale/programs/locarchive.c: Likewise.
20499 * locale/programs/locfile.h: Likewise.
20500 * locale/programs/repertoire.c: Likewise.
20501 * locale/programs/simple-hash.c: Likewise.
20502 * locale/programs/simple-hash.h: Likewise.
20503 * malloc/memusage.c: Likewise.
20504 * malloc/memusagestat.c: Likewise.
20505 * nis/nis_defaults.c: Likewise.
20506 * nis/nis_hash.c: Likewise.
20507 * nis/nis_print.c: Likewise.
20508 * nis/nis_xdr.c: Likewise.
20509 * nscd/connections.c: Likewise.
20510 * nscd/hstcache.c: Likewise.
20511 * nscd/nscd_gethst_r.c: Likewise.
20512 * nscd/nscd_getserv_r.c: Likewise.
20513 * nscd/nscd_helper.c: Likewise.
20514 * nscd/servicescache.c: Likewise.
20515 * nss/makedb.c: Likewise.
20516 * nss/nss_db/db-XXX.c: Likewise.
20517 * nss/nss_db/db-initgroups.c: Likewise.
20518 * nss/nss_db/db-netgrp.c: Likewise.
20519 * nss/nss_files/files-network.c: Likewise.
20520 * nss/nss_files/files-parse.c: Likewise.
20521 * posix/bug-regex5.c: Likewise.
20522 * posix/fnmatch_loop.c: Likewise.
20523 * posix/regcomp.c: Likewise.
20524 * posix/regexec.c: Likewise.
20525 * posix/tst-rfc3484-2.c: Likewise.
20526 * posix/tst-rfc3484-3.c: Likewise.
20527 * posix/tst-rfc3484.c: Likewise.
20528 * resolv/nss_dns/dns-canon.c: Likewise.
20529 * resolv/nss_dns/dns-network.c: Likewise.
20530 * resolv/res_init.c: Likewise.
20531 * resolv/res_mkquery.c: Likewise.
20532 * resolv/tst-aton.c: Likewise.
20533 * stdlib/cxa_atexit.c: Likewise.
20534 * stdlib/cxa_finalize.c: Likewise.
20535 * stdlib/gen-fpioconst.c: Likewise.
20536 * stdlib/strtol_l.c: Likewise.
20537 * string/tst-endian.c: Likewise.
20538 * sunrpc/auth_des.c: Likewise.
20539 * sunrpc/clnt_udp.c: Likewise.
20540 * sunrpc/rtime.c: Likewise.
20541 * sunrpc/svcauth_des.c: Likewise.
20542 * sunrpc/xdr.c: Likewise.
20543 * sunrpc/xdr_intXX_t.c: Likewise.
20544 * sunrpc/xdr_rec.c: Likewise.
20545 * sysdeps/generic/ldconfig.h: Likewise.
20546 * sysdeps/generic/ldsodefs.h: Likewise.
20547 * sysdeps/generic/memusage.h: Likewise.
20548 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20549 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20550 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20551 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20554 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20555 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20556 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20558 * sysdeps/posix/getaddrinfo.c: Likewise.
20559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20563 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20564 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20565 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20566 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20567 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20568 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20569 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20570 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20571 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20572 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20574 * sysdeps/x86_64/dl-tls.h: Likewise.
20575 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20576 * time/alt_digit.c: Likewise.
20577 * time/era.c: Likewise.
20578 * wcsmbs/tst-c16c32-1.c: Likewise.
20579
8c75f674
JM
205802013-05-16 Joseph Myers <joseph@codesourcery.com>
20581
20582 * math/libm-test.inc (struct test_sincos_data): New type.
20583 (RUN_TEST_LOOP_sincos): New macro.
20584 (sincos_test_data): New variable.
20585 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20586
e6e49e59
RH
205872013-05-16 Richard Henderson <rth@redhat.com>
20588
20589 * math/atest-exp2.c (LIMB64): New macro.
20590 (CONSTSZ): New macro.
20591 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20592 (hexdig): Move ...
20593 (print_mpn_fp): ... to function scope.
20594 (read_mpn_hex): Remove.
20595 (get_log2): Remove.
20596 (exp2_mpn): Use mp_log2.
20597 (main): Use mp_exp1.
20598
15c7c18d
JM
205992013-05-16 Joseph Myers <joseph@codesourcery.com>
20600
105a07df
JM
20601 * math/libm-test.inc: Remove comment about not testing "inexact"
20602 exceptions.
20603 (INEXACT_EXCEPTION): New macro.
20604 (NO_INEXACT_EXCEPTION): Likewise.
20605 (INVALID_EXCEPTION_OK): Update value.
20606 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20607 (OVERFLOW_EXCEPTION_OK): Likewise.
20608 (UNDERFLOW_EXCEPTION_OK): Likewise.
20609 (IGNORE_ZERO_INF_SIGN): Likewise.
20610 (ERRNO_UNCHANGED): Likewise.
20611 (ERRNO_EDOM): Likewise.
20612 (ERRNO_ERANGE): Likewise.
20613 (test_exceptions): Handle testing "inexact" exceptions.
20614 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20615 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20616 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20617 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20618 INEXACT_EXCEPTION.
20619 (rint_towardzero_test_data): Likewise.
20620 (rint_downward_test_data): Likewise.
20621 (rint_upward_test_data): Likewise.
20622
e9eee333
JM
20623 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20624 with OVERFLOW_EXCEPTION.
20625 (exp10_test_data): Likewise.
20626 (exp2_test_data): Likewise.
20627 (expm1_test_data): Likewise.
20628 (lgamma_test_data): Likewise.
20629 (pow_test_data): Likewise.
20630 (tgamma_test_data): Likewise.
20631 (yn_test_data): Remove duplicate test of overflow.
20632
1c38ff73
JM
20633 * math/libm-test.inc (struct test_cc_c_data): New type.
20634 (RUN_TEST_LOOP_cc_c): New macro.
20635 (cpow_test_data): New variable.
20636 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20637
15c7c18d
JM
20638 * math/libm-test.inc (struct test_f_L_data): New type.
20639 (RUN_TEST_LOOP_f_L): New macro.
20640 (llrint_test_data): New variable.
20641 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20642 (llrint_tonearest_test_data): New variable.
20643 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20644 (llrint_towardzero_test_data): New variable.
20645 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20646 (llrint_downward_test_data): New variable.
20647 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20648 (llrint_upward_test_data): New variable.
20649 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20650 (llround_test_data): New variable.
20651 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20652
f137ff13
PC
206532013-05-13 Peter Collingbourne <pcc@google.com>
20654
20655 * math/atest-exp2.c (get_log2): Remove const attribute.
20656
3608cb24
JM
206572013-05-15 Joseph Myers <joseph@codesourcery.com>
20658
20659 * math/libm-test.inc (struct test_f_l_data): New type.
20660 (RUN_TEST_LOOP_f_l): New macro.
20661 (lrint_test_data): New variable.
20662 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20663 (lrint_tonearest_test_data): New variable.
20664 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20665 (lrint_towardzero_test_data): New variable.
20666 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20667 (lrint_downward_test_data): New variable.
20668 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20669 (lrint_upward_test_data): New variable.
20670 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20671 (lround_test_data): New variable.
20672 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20673
39b1f617
PC
206742013-05-15 Peter Collingbourne <pcc@google.com>
20675
1deff3dc
PC
20676 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20677 (EXTRACT_WORDS64) Use where appropriate.
20678 (INSERT_WORDS64) Likewise.
20679
791f3ba0
PC
20680 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20681 constraints with x constraints.
20682 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20683
39b1f617
PC
20684 * malloc/obstack.c (_obstack_compat): Add initializer.
20685
12fba011
EM
206862013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20687
20688 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20689 si_trapno and add si_addr_lsb to _sifields.sigfault.
20690 (si_trapno): Remove macro.
20691 (si_addr_lsb): Define new macro.
20692 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20693
d369f531
JM
206942013-05-15 Joseph Myers <joseph@codesourcery.com>
20695
b861c6c4
JM
20696 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20697 instead of TEST_f_l.
20698 (llrint_test_tonearest): Likewise.
20699 (llrint_test_towardzero): Likewise.
20700 (llrint_test_downward): Likewise.
20701 (llrint_test_upward): Likewise.
20702 (llround_test): Likewise.
20703
7abeee12
JM
20704 * math/libm-test.inc (struct test_f_i_data): Add comment.
20705 (RUN_TEST_LOOP_f_b): New macro.
20706 (RUN_TEST_LOOP_f_b_tg): Likewise.
20707 (finite_test_data): New variable.
20708 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20709 (isfinite_test_data): New variable.
20710 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20711 (isinf_test_data): New variable.
20712 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20713 (isnan_test_data): New variable.
20714 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20715 (isnormal_test_data): New variable.
20716 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20717 (issignaling_test_data): New variable.
20718 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20719 (signbit_test_data): New variable.
20720 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20721
cbe8c4d3
JM
20722 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20723 with INVALID_EXCEPTION.
20724 (acosh_test_data): Likewise.
20725 (asin_test_data): Likewise.
20726 (atanh_test_data): Likewise.
20727 (fmod_test_data): Likewise.
20728 (log_test_data): Likewise.
20729 (log10_test_data): Likewise.
20730 (log2_test_data): Likewise.
20731 (pow_test_data): Likewise.
20732 (sqrt_test_data): Likewise.
20733 (y0_test_data): Likewise.
20734 (y1_test_data): Likewise.
20735 (yn_test_data): Likewise.
20736
5575c0e5
JM
20737 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20738 function contents.
20739
d369f531
JM
20740 * math/libm-test.inc (struct test_ff_i_data): New type.
20741 (RUN_TEST_LOOP_ff_i_tg): New macro.
20742 (isgreater_test_data): New variable.
20743 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20744 (isgreaterequal_test_data): New variable.
20745 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20746 (isless_test_data): New variable.
20747 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20748 (islessequal_test_data): New variable.
20749 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20750 (islessgreater_test_data): New variable.
20751 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20752 (isunordered_test_data): New variable.
20753 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20754
781fd748
DM
207552013-05-14 David S. Miller <davem@davemloft.net>
20756
20757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20758
87aa21df
JM
207592013-05-14 Joseph Myers <joseph@codesourcery.com>
20760
5e908270
JM
20761 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20762
f71172e5
JM
20763 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20764 extra_test to int.
20765 (struct test_f_i_data): Change type of max_ulp to int.
20766
8cfa635a
JM
20767 * math/libm-test.inc (test_ffI_f1_data): New type.
20768 (RUN_TEST_LOOP_ffI_f1): New macro.
20769 (remquo_test_data): New variable.
20770 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20771
2bcb36b2
JM
20772 * setjmp/tst-setjmp-fp.c: New file.
20773 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20774 (link-libm): New variable.
20775 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20776
acbd839a
JM
20777 * math/libm-test.inc (struct test_f_i_data): New type.
20778 (RUN_TEST_LOOP_f_i): New macro.
20779 (RUN_TEST_LOOP_f_i_tg): Likewise.
20780 (fpclassify_test_data): New variable.
20781 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20782 (ilogb_test_data): New variable.
20783 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20784
e414d745
JM
20785 * math/libm-test.inc (scalbln_test): Correct function name in END
20786 call.
20787
d9c2a0fd
JM
20788 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20789 (RUN_TEST_LOOP_fI_f1): New macro.
20790 (frexp_test_data): New variable.
20791 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20792
9dc9095d
JM
20793 * math/libm-test.inc (struct test_fF_f1_data): New type.
20794 (RUN_TEST_LOOP_fF_f1): New macro.
20795 (modf_test_data): New variable.
20796 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20797
87aa21df
JM
20798 * math/libm-test.inc (struct test_f_f1_data): New type.
20799 (RUN_TEST_LOOP_f_f1): New macro.
20800 (gamma_test_data): New variable.
20801 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20802 (lgamma_test_data): New variable.
20803 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20804
141af660
CD
208052013-05-13 Carlos O'Donell <carlos@redhat.com>
20806
20807 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20808 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20809 (main): Comment "tls" pseudo-hwcap.
20810
6d33265c
JM
208112013-05-13 Joseph Myers <joseph@codesourcery.com>
20812
68fc074c
JM
20813 * math/libm-test.inc (struct test_fl_f_data): New type.
20814 (RUN_TEST_LOOP_fl_f): New variable.
20815 (scalbln_test_data): New variable.
20816 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20817
243216e1
JM
20818 * math/libm-test.inc (struct test_fi_f_data): New type.
20819 (RUN_TEST_LOOP_fi_f): New macro.
20820 (ldexp_test_data): New variable.
20821 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20822 (scalbn_test_data): New variable.
20823 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20824
6a1992e2
JM
20825 * math/libm-test.inc (struct test_c_f_data): New type.
20826 (RUN_TEST_LOOP_c_f): New macro.
20827 (cabs_test_data): New variable.
20828 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20829 (carg_test_data): New variable.
20830 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20831 (cimag_test_data): New variable.
20832 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20833 (creal_test_data): New variable.
20834 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20835
0e400df5
JM
20836 * math/libm-test.inc (struct test_if_f_data): New type.
20837 (RUN_TEST_LOOP_if_f): New macro.
20838 (jn_test_data): New variable.
20839 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20840 (yn_test_data): New variable.
20841 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20842
6d33265c
JM
20843 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20844
f98ece5f
AZ
208452013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20846
20847 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20848 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20849
0f7d347b
SP
208502013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20851
43fe811b
SP
20852 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20853 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20854 (bench-deps): Add bench-timing.h.
20855 * benchtests-bench-skeleton.c: Include bench-timing.h.
20856 (main): Use TIMING_* macros instead of clock_gettime.
20857 * benchtests/bench-timing.h: New file.
20858
0f7d347b
SP
20859 [BZ #14582]
20860 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20861 Renamed from _LIB_VERSION.
20862 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20863
601a3a5f
JM
208642013-05-12 Joseph Myers <joseph@codesourcery.com>
20865
4f184d30
JM
20866 * math/libm-test.inc (struct test_fff_f_data): New type.
20867 (RUN_TEST_LOOP_fff_f): New macro.
20868 (fma_test_data): New variable.
20869 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20870 (fma_towardzero_test_data): New variable.
20871 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20872 (fma_downward_test_data): New variable.
20873 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20874 (fma_upward_test_data): New variable.
20875 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20876
08198877
JM
20877 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20878 (struct test_c_c_data): New type.
20879 (RUN_TEST_LOOP_c_c): New macro.
20880 (cacos_test_data): New variable.
20881 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20882 (cacosh_test_data): New variable.
20883 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20884 (casin_test_data): New variable.
20885 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20886 (casinh_test_data): New variable.
20887 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20888 (catan_test_data): New variable.
20889 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20890 (catanh_test_data): New variable.
20891 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20892 (ccos_test_data): New variable.
20893 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20894 (ccosh_test_data): New variable.
20895 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20896 (cexp_test_data): New variable.
20897 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20898 (clog_test_data): New variable.
20899 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20900 (clog10_test_data): New variable.
20901 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20902 (conj_test_data): New variable.
20903 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20904 (cproj_test_data): New variable.
20905 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20906 (csin_test_data): New variable.
20907 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20908 (csinh_test_data): New variable.
20909 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20910 (csqrt_test_data): New variable.
20911 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20912 (ctan_test_data): New variable.
20913 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20914 (ctan_tonearest_test_data): New variable.
20915 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20916 (ctan_towardzero_test_data): New variable.
20917 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20918 (ctan_downward_test_data): New variable.
20919 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20920 (ctan_upward_test_data): New variable.
20921 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20922 (ctanh_test_data): New variable.
20923 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20924 (ctanh_tonearest_test_data): New variable.
20925 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20926 (ctanh_towardzero_test_data): New variable.
20927 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20928 (ctanh_downward_test_data): New variable.
20929 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20930 (ctanh_upward_test_data): New variable.
20931 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20932 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20933 of BUILD_COMPLEX.
20934
601a3a5f
JM
20935 * math/libm-test.inc (struct test_ff_f_data): New type.
20936 (struct test_ff_f_data_nexttoward): Likewise.
20937 (RUN_TEST_LOOP_2_f): New macro.
20938 (RUN_TEST_LOOP_ff_f): Likewise.
20939 (atan2_test_data): New variable.
20940 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20941 (copysign_test_data): New variable.
20942 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20943 (fdim_test_data): New variable.
20944 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20945 (fmax_test_data): New variable.
20946 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20947 (fmin_test_data): New variable.
20948 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20949 (fmod_test_data): New variable.
20950 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20951 (hypot_test_data): New variable.
20952 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20953 (nextafter_test_data): New variable.
20954 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20955 (nexttoward_test_data): New variable.
20956 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20957 (pow_test_data): New variable.
20958 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20959 (pow_tonearest_test_data): New variable.
20960 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20961 (pow_towardzero_test_data): New variable.
20962 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20963 (pow_downward_test_data): New variable.
20964 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20965 (pow_upward_test_data): New variable.
20966 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20967 (remainder_test_data): New variable.
20968 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20969 (scalb_test_data): New variable.
20970 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20971 * sysdeps/i386/fpu/libm-test-ulps: Update.
20972
74c57478
JM
209732013-05-11 Joseph Myers <joseph@codesourcery.com>
20974
8329e4da
JM
20975 * math/libm-test.inc (fma_test): Use max_value instead of local
20976 variable fltmax.
20977 (nextafter_test): Likewise.
20978
74c57478
JM
20979 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20980 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20981 (acos_downward_test_data): New variable.
20982 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20983 (acos_upward_test_data): New variable.
20984 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20985 (acosh_test_data): New variable.
20986 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20987 (asin_test_data): New variable.
20988 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20989 (asin_tonearest_test_data): New variable.
20990 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20991 (asin_towardzero_test_data): New variable.
20992 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20993 (asin_downward_test_data): New variable.
20994 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20995 (asin_upward_test_data): New variable.
20996 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20997 (asinh_test_data): New variable.
20998 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20999 (atan_test_data): New variable.
21000 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21001 (atanh_test_data): New variable.
21002 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21003 (cbrt_test_data): New variable.
21004 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21005 (ceil_test_data): New variable.
21006 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21007 (cos_test_data): New variable.
21008 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21009 (cos_tonearest_test_data): New variable.
21010 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21011 (cos_towardzero_test_data): New variable.
21012 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21013 (cos_downward_test_data): New variable.
21014 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21015 (cos_upward_test_data): New variable.
21016 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21017 (cosh_test_data): New variable.
21018 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21019 (cosh_tonearest_test_data): New variable.
21020 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21021 (cosh_towardzero_test_data): New variable.
21022 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21023 (cosh_downward_test_data): New variable.
21024 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21025 (cosh_upward_test_data): New variable.
21026 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21027 (erf_test_data): New variable.
21028 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21029 (erfc_test_data): New variable.
21030 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21031 (exp_test_data): New variable.
21032 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21033 (exp_tonearest_test_data): New variable.
21034 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21035 (exp_towardzero_test_data): New variable.
21036 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21037 (exp_downward_test_data): New variable.
21038 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21039 (exp_upward_test_data): New variable.
21040 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21041 (exp10_test_data): New variable.
21042 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21043 (exp2_test_data): New variable.
21044 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21045 (expm1_test_data): New variable.
21046 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21047 (fabs_test_data): New variable.
21048 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21049 (floor_test_data): New variable.
21050 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21051 (j0_test_data): New variable.
21052 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21053 (j1_test_data): New variable.
21054 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21055 (log_test_data): New variable.
21056 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21057 (log10_test_data): New variable.
21058 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21059 (log1p_test_data): New variable.
21060 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21061 (log2_test_data): New variable.
21062 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21063 (logb_test_data): New variable.
21064 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21065 (logb_downward_test_data): New variable.
21066 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21067 (nearbyint_test_data): New variable.
21068 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21069 (rint_test_data): New variable.
21070 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21071 (rint_tonearest_test_data): New variable.
21072 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21073 (rint_towardzero_test_data): New variable.
21074 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21075 (rint_downward_test_data): New variable.
21076 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21077 (rint_upward_test_data): New variable.
21078 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21079 (round_test_data): New variable.
21080 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21081 (sin_test_data): New variable.
21082 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21083 (sin_tonearest_test_data): New variable.
21084 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21085 (sin_towardzero_test_data): New variable.
21086 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21087 (sin_downward_test_data): New variable.
21088 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21089 (sin_upward_test_data): New variable.
21090 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21091 (sinh_test_data): New variable.
21092 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21093 (sinh_tonearest_test_data): New variable.
21094 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21095 (sinh_towardzero_test_data): New variable.
21096 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21097 (sinh_downward_test_data): New variable.
21098 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21099 (sinh_upward_test_data): New variable.
21100 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21101 (sqrt_test_data): New variable.
21102 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21103 (tan_test_data): New variable.
21104 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21105 (tan_tonearest_test_data): New variable.
21106 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21107 (tan_towardzero_test_data): New variable.
21108 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21109 (tan_downward_test_data): New variable.
21110 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21111 (tan_upward_test_data): New variable.
21112 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21113 (tanh_test_data): New variable.
21114 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21115 (tgamma_test_data): New variable.
21116 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21117 (trunc_test_data): New variable.
21118 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21119 (y0_test_data): New variable.
21120 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21121 (y1_test_data): New variable.
21122 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21123 (significand_test_data): New variable.
21124 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21125
7187d844
CG
211262013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21127
21128 [BZ #12387]
21129 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21130
f63fae73
PT
211312013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21132
21133 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21134
8a67a4b3
AJ
211352013-05-10 Andreas Jaeger <aj@suse.de>
21136
21137 [BZ #15448]
21138 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21139 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21140
51df539d
JM
211412013-05-10 Joseph Myers <joseph@codesourcery.com>
21142
21143 * math/gen-libm-test.pl (adjust_arg): New function.
21144 (special_functions): Handle generating output in both functions
21145 and arrays.
21146 (parse_args): Likewise.
21147 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21148 $in_func argument to parse_args.
21149 * math/libm-test.inc (struct test_f_f_data): New type.
21150 (IF_ROUND_INIT_): New macro.
21151 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21152 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21153 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21154 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21155 (ROUND_RESTORE_): Likewise.
21156 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21157 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21158 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21159 (ROUND_RESTORE_FE_UPWARD): Likewise.
21160 (RUN_TEST_LOOP_f_f): New macro.
21161 (acos_test_data): New variable.
21162 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21163 (acos_tonearest_test_data): New variable.
21164 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21165
5c637fe5
SP
211662013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21167
21168 * benchtests/bench-skeleton.c (startup): Fix coding style.
21169
ab2b9461
JM
211702013-05-10 Joseph Myers <joseph@codesourcery.com>
21171
21172 [BZ #6809]
21173 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21174 negative infinity argument.
21175 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21176 negative infinity argument.
21177 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21178 negative infinity argument.
21179 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21180 domain errors.
21181
4c0fe6fe
FW
211822013-05-10 Florian Weimer <fweimer@redhat.com>
21183
21184 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21185 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21186 * iconv/iconv_prog.c (main): Likewise.
21187 * locale/programs/charmap-dir.c (charmap_readdir)
21188 (fopen_uncompressed): Likewise.
21189 * locale/programs/locfile.c (siblings_uncached)
21190 (write_locale_data): Use lstat64 instead of lstat.
21191 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21192 stat.
21193
a3375d29
AJ
211942013-05-10 Andreas Jaeger <aj@suse.de>
21195
21196 [BZ #15395]
21197 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21198 localization.
21199 Include <locale.h>.
21200
36129722
CD
212012013-05-09 Carlos O'Donell <carlos@redhat.com>
21202
21203 * elf/dl-close.c (_dl_close_worker): Add comments.
21204
faa7f811
JM
212052013-05-09 Joseph Myers <joseph@codesourcery.com>
21206
ed41ffef
JM
21207 [BZ #15359]
21208 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21209 high part of pi/2.
21210 (__ieee754_rem_pio2l): Update comments.
21211
d0213cd0
JM
21212 [BZ #15429]
21213 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21214 high part of pi/2.
21215 (__ieee754_rem_pio2l): Update comments.
21216
0d3e777a
JM
21217 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21218 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21219
24f56066
JM
21220 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21221 M_PI_4l.
21222
faa7f811
JM
21223 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21224 (M_PI_34_LOG10El): Likewise.
21225 (M_PI2_LOG10El): Likewise.
21226 (M_PI4_LOG10El): Likewise.
21227 (M_PI_LOG10El): Likewise.
21228
e9a5e0fd
AZ
212292013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21230
21231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21232
d8cd06db
JM
212332013-05-08 Joseph Myers <joseph@codesourcery.com>
21234
a0d9f9d7
JM
21235 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21236 (MINUS_ZERO_INIT): Likewise.
21237 (PLUS_INFTY_INIT): Likewise.
21238 (MINUS_INFTY_INIT): Likewise.
21239 (QNAN_VALUE_INIT): Likewise.
21240 (MAX_VALUE_INIT): Likewise.
21241 (MIN_VALUE_INIT): Likewise.
21242 (MIN_SUBNORM_VALUE_INIT): Likewise.
21243 (plus_zero): Initialize with PLUS_ZERO_INIT.
21244 (minus_zero): Initialize with MINUS_ZERO_INIT.
21245 (plus_infty): Initialize with PLUS_INFTY_INIT.
21246 (minus_infty): Initialize with MINUS_INFTY_INIT.
21247 (qnan_value): Initialize with QNAN_VALUE_INIT.
21248 (max_value): Initialize with MAX_VALUE_INIT.
21249 (min_value): Initialize with MIN_VALUE_INIT.
21250 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21251
ae08db3b
JM
21252 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21253 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21254 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21255 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21256
f44bf14a
JM
21257 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21258 (RUN_TEST_2_f): Likewise.
21259 (RUN_TEST_ff_f): Likewise.
21260 (RUN_TEST_fi_f): Likewise.
21261 (RUN_TEST_fl_f): Likewise.
21262 (RUN_TEST_fff_f): Likewise.
21263 (RUN_TEST_c_f): Likewise.
21264 (RUN_TEST_f_f1): Likewise.
21265 (RUN_TEST_fF_f1): Likewise.
21266 (RUN_TEST_fI_f1): Likewise.
21267 (RUN_TEST_ffI_f1): Likewise.
21268 (RUN_TEST_c_c): Likewise.
21269 (RUN_TEST_cc_c): Likewise.
21270 (RUN_TEST_f_i): Likewise.
21271 (RUN_TEST_f_i_tg): Likewise.
21272 (RUN_TEST_ff_i_tg): Likewise.
21273 (RUN_TEST_f_b): Likewise.
21274 (RUN_TEST_f_b_tg): Likewise.
21275 (RUN_TEST_f_l): Likewise.
21276 (RUN_TEST_f_L): Likewise.
21277 (RUN_TEST_sincos): Likewise.
21278 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21279 whether to show exceptions. Do not include ");\n" in return
21280 value.
21281 (special_functions): Output call to RUN_TEST_sincos instead of
21282 check_float calls. Update calls to new_test.
21283 (parse_args): Output call to single RUN_TEST_* macro instead of
21284 check_* calls and other assignments. Update calls to new_test.
21285
d8cd06db
JM
21286 [BZ #2546]
21287 [BZ #2560]
21288 [BZ #5159]
21289 [BZ #15426]
21290 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21291 input to result for tgamma overflow.
21292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21293 (gamma_coeff): New variable.
21294 (NCOEFF): New macro.
21295 (gamma_positive): New function.
21296 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21297 underflow here. Use gamma_positive instead of exp (lgamma) for
21298 other arguments.
21299 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21300 (gamma_coeff): New variable.
21301 (NCOEFF): New macro.
21302 (gammaf_positive): New function.
21303 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21304 underflow here. Use gamma_positive instead of exp (lgamma) for
21305 other arguments.
21306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21307 (gamma_coeff): New variable.
21308 (NCOEFF): New macro.
21309 (gammal_positive): New function.
21310 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21311 underflow here. Use gamma_positive instead of exp (lgamma) for
21312 other arguments.
21313 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21314 (gamma_coeff): New variable.
21315 (NCOEFF): New macro.
21316 (gammal_positive): New function.
21317 (__ieee754_gammal_r): Handle positive infinity, overflow and
21318 underflow here. Handle NaN the same as positive infinity. Remove
21319 check x < 0xffffffff for negative integers. Use gamma_positive
21320 instead of exp (lgamma) for other arguments.
21321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21322 (gamma_coeff): New variable.
21323 (NCOEFF): New macro.
21324 (gammal_positive): New function.
21325 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21326 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21327 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21328 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21329 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21330 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21331 * sysdeps/generic/math_private.h (__gamma_productf): New
21332 prototype.
21333 (__gamma_product): Likewise.
21334 (__gamma_productl): Likewise.
21335 * math/Makefile (libm-calls): Add gamma_product.
21336 * math/libm-test.inc (tgamma_test): Add more tests.
21337 * sysdeps/i386/fpu/libm-test-ulps: Update.
21338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21339
bb7cf681
OB
213402013-05-08 Ondřej Bílka <neleai@seznam.cz>
21341
21342 * benchtests/bench-skeleton.c (main): Preheat CPU.
21343
ba853947
AJ
213442013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21345
21346 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21347
8347c74c
RM
213482013-05-07 Roland McGrath <roland@hack.frob.com>
21349
21350 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21351 and _dl_skip_args_internal.
21352
e8dd4791
CD
213532013-05-07 Carlos O'Donell <carlos@redhat.com>
21354
21355 * manual/message.texi (Message Translation): Talk about users.
21356 Message to key mapping impacts design.
21357
c7405830
RM
213582013-05-06 Roland McGrath <roland@hack.frob.com>
21359
a9173057
RM
21360 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21361
976e2f03
RM
21362 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21363
9723ffc5
RM
21364 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21365 * sysdeps/wordsize-64/glob64.c: ... here.
21366
962e6658
RM
21367 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21368 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21369 New macros.
21370
ee586a6d
RM
21371 * debug/getlogin_r_chk.c: Moved to ...
21372 * login/getlogin_r_chk.c: ... here.
21373 * debug/Makefile (routines): Move getlogin_r_chk to ...
21374 * login/Makefile (routines): ... here.
21375 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21376 * login/Versions (libc: GLIBC_2.4): ... here.
21377
355f9165
RM
21378 * io/poll.c (__poll): Renamed from poll.
21379 Add libc_hidden_def.
21380 (poll): Define as weak alias.
21381
bd9ffde6
RM
21382 * debug/ptsname_r_chk.c: Moved to ...
21383 * login/ptsname_r_chk.c: ... here.
21384 * debug/Makefile (routines): Move ptsname_r_chk to ...
21385 * login/Makefile (routines): ... here.
21386 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21387 * login/Versions (libc: GLIBC_2.4): ... here.
21388
8fb16a04
RM
21389 * posix/getlogin.c: Moved to ...
21390 * login/getlogin.c: ... here.
21391 * posix/getlogin_r.c: Moved to ...
21392 * login/getlogin_r.c: ... here.
21393 * posix/getlogin_r.c: Moved to ...
21394 * login/getlogin_r.c: ... here.
21395 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21396 * login/Makefile (routines): ... here.
21397 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21398 * login/Versions (libc: GLIBC_2.0): ... here.
21399
b99b892f
RM
21400 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21401 (setrlimit): Define as weak alias.
21402
c7405830
RM
21403 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21404 Call __ names for open, ftruncate, and close.
21405 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21406 (truncate): Define as weak alias.
21407
5bf96de5
JM
214082013-05-06 Joseph Myers <joseph@codesourcery.com>
21409
9ea3513c
JM
21410 * math/gen-libm-test.pl (parse_args): Initialize x before each
21411 test of frexp, modf and remquo.
21412
5bf96de5
JM
21413 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21414 test signgam value.
21415
16e616a7
AZ
214162013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21417
21418 [BZ #15418]
21419 [BZ #15419]
21420 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21421 internal tests.
21422 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21423
d5e82754
RM
214242013-05-06 Roland McGrath <roland@hack.frob.com>
21425
21426 * elf/dl-writev.h: New file.
21427 * elf/dl-misc.c: Include it.
21428 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21429 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21430
a7548d41
JM
214312013-05-04 Joseph Myers <joseph@codesourcery.com>
21432
b7dab1e4
JM
21433 * math/libm-test.inc (noXFails): Remove variable.
21434 (noXPasses): Likewise.
21435 (BUILD_COMPLEX_INT): Remove macro.
21436 (print_screen): Remove xfail argument.
21437 (print_screen_max_error): Likewise.
21438 (update_stats): Likewise.
21439 (print_max_error): Likewise. Update calls to other affected
21440 functions.
21441 (print_complex_max_error): Likewise.
21442 (test_single_exception): Update calls to print_screen.
21443 (test_single_errno): Likewise.
21444 (check_float_internal): Remove xfail argument. Update calls to
21445 other affected functions.
21446 (check_float): Likewise.
21447 (check_complex): Likewise.
21448 (check_int): Likewise.
21449 (check_long): Likewise.
21450 (check_bool): Likewise.
21451 (check_longlong): Likewise.
21452 (main): Don't print noXFails and noXPasses.
21453 * math/gen-libm-test.pl (top level): Don't mention expected
21454 failure handling in comment.
21455 (new_test): Don't handle expected failures.
21456 (parse_args): Don't mention expected failure handling in comment.
21457 (generate_testfile): Don't handle expected failures.
21458 (parse_ulps): Likewise.
21459 (print_ulps_file): Likewise.
21460 (get_failure): Remove function.
21461 (output_test): Don't handle expected failures.
21462 * make/README.libm-test: Don't mention expected failure handling.
21463
a7548d41
JM
21464 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21465 (minus_zero): Likewise.
21466 (plus_infty): Likewise.
21467 (minus_infty): Likewise.
21468 (qnan_value): Likewise.
21469 (max_value): Likewise.
21470 (min_value): Likewise.
21471 (min_subnorm_value): Likewise.
21472 (initialize): Do not initialize those variables dynamically.
21473
60bfd54c
RM
214742013-05-03 Roland McGrath <roland@hack.frob.com>
21475
cc0e6ed8
RM
21476 * io/open.c (__open_2): Moved to ...
21477 * io/open_2.c: ... this new file.
21478 * io/open64.c (__open64_2): Moved to ...
21479 * io/open64_2.c: ... this new file.
21480 * io/openat.c (__openat_2): Moved to ...
21481 * io/openat_2.c: ... this new file.
21482 * io/openat64.c (__openat64_2): Moved to ...
21483 * io/openat64_2.c: ... this new file.
21484 * io/Makefile (routines): Add them.
21485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21486 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21487 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21488 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21489 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21490 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21491 (__openat64): Add hidden_ver.
21492 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21493 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21494
60bfd54c
RM
21495 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21496 Separately conditionalize setting of GLRO(dl_sysinfo) so
21497 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21498 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21499
83e7640f
AZ
215002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21501
21502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21503 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21504 definition.
21505 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21506 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21507 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21508 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21509 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21510
d5dc2af3
JM
215112013-05-03 Joseph Myers <joseph@codesourcery.com>
21512
c31a5b1e
JM
21513 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21514 test signgam value.
21515
d5dc2af3
JM
21516 * math/libm-test.inc (hypot_test): Do not use
21517 IGNORE_ZERO_INF_SIGN.
21518
164fd39d
AJ
215192013-05-03 Andreas Jaeger <aj@suse.de>
21520
21521 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21522 Linux 3.9.
21523 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21524 (PF_MAX): Adjust for VSOCK change.
21525
8237f48c
AZ
215262013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21527
21528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21529
9df02941
CD
215302013-05-02 Carlos O'Donell <carlos@redhat.com>
21531
21532 [BZ #15264]
21533 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21534 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21535 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21536
d422395e
DM
215372013-05-02 David S. Miller <davem@davemloft.net>
21538
21539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21540
a07c5731
OB
215412013-05-01 Ondřej Bílka <neleai@seznam.cz>
21542
21543 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21544
1324e37f
RM
215452013-05-01 Roland McGrath <roland@hack.frob.com>
21546
21547 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21548
0695940b
RS
215492013-05-01 Richard Smith <richard@metafoo.co.uk>
21550
bb5f27ad 21551 [BZ #14952]
0695940b
RS
21552 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21553 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21554 Use __attribute__ ((__gnu_inline__)).
21555 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21556 Don't use __attribute__ ((__gnu_inline__)).
21557
10de07f5
JM
215582013-05-01 Joseph Myers <joseph@codesourcery.com>
21559
21560 [BZ #15423]
21561 * math/s_catan.c (__catan): Handle small real or imaginary part of
21562 input specially to avoid spurious underflow.
21563 * math/s_catanf.c (__catanf): Likewise.
21564 * math/s_catanh.c (__catanh): Likewise.
21565 * math/s_catanhf.c (__catanhf): Likewise.
21566 * math/s_catanhl.c (__catanhl): Likewise.
21567 * math/s_catanl.c (__catanl): Likewise.
21568 * math/libm-test.inc (catan_test): Add more tests.
21569 (catanh_test): Likewise.
21570 * sysdeps/i386/fpu/libm-test-ulps: Update.
21571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21572
cb4d5414
AZ
215732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21574
21575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21576
caf84319
JM
215772013-04-30 Joseph Myers <joseph@codesourcery.com>
21578
21579 [BZ #15416]
21580 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21581 accurately for denominator in atan2.
21582 * math/s_catanf.c (__catanf): Likewise.
21583 * math/s_catanh.c (__catanh): Likewise.
21584 * math/s_catanhf.c (__catanhf): Likewise.
21585 * math/s_catanhl.c (__catanhl): Likewise.
21586 * math/s_catanl.c (__catanl): Likewise.
21587 * math/libm-test.inc (catan_test): Add more tests.
21588 (catanh_test): Likewise.
21589 * sysdeps/i386/fpu/libm-test-ulps: Update.
21590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21591
d569c6ee
SP
215922013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21593
6dbe713d
SP
21594 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21595
f0ee064b
SP
21596 * benchtests/Makefile (bench): Remove slow benchmarks.
21597 * benchtests/atan-inputs: Add slow benchmark inputs.
21598 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21599 (BENCH_FUNC): Accept variant offset.
21600 (VARIANT): Define.
21601 * benchtests/bench-skeleton.c (main): Run benchmark for each
21602 variant.
21603 * benchtests/cos-inputs: Add slow benchmark inputs.
21604 * benchtests/exp-inputs: Likewise.
21605 * benchtests/pow-inputs: Likewise.
21606 * benchtests/sin-inputs: Likewise.
21607 * benchtests/slowatan-inputs: Remove.
21608 * benchtests/slowatan.c: Remove.
21609 * benchtests/slowcos-inputs: Remove.
21610 * benchtests/slowcos.c: Remove.
21611 * benchtests/slowexp-inputs: Remove.
21612 * benchtests/slowexp.c: Remove.
21613 * benchtests/slowpow-inputs: Remove.
21614 * benchtests/slowpow.c: Remove.
21615 * benchtests/slowsin-inputs: Remove.
21616 * benchtests/slowsin.c: Remove.
21617 * benchtests/slowtan-inputs: Remove.
21618 * benchtests/slowtan.c: Remove.
21619 * benchtests/tan-inputs: Add slow benchmark inputs.
21620 * scripts/bench.pl: Parse comments and directives.
21621
d569c6ee
SP
21622 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21623 in CPPFLAGS.
21624 ($(objpfx)bench-%.c): Remove *-ITER.
21625 * benchtests/bench-modf.c: Remove definition of ITER.
21626 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21627 (main): Loop for DURATION seconds instead of fixed number of
21628 iterations.
21629 * scripts/bench.pl: Don't expect iterations in parameters.
21630
a6a242fe
RM
216312013-04-29 Roland McGrath <roland@hack.frob.com>
21632
21633 * io/fchdir.c (__fchdir): Renamed from fchdir.
21634 (fchdir): Define as weak alias.
21635
f2da7793
JM
216362013-04-29 Joseph Myers <joseph@codesourcery.com>
21637
21638 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21639 (ERRNO_EDOM): Likewise.
21640 (ERRNO_ERANGE): Likewise.
21641 (noErrnoTests): New variable.
21642 (init_max_error): Set errno to 0.
21643 (test_single_errno): New function.
21644 (test_errno): Likewise.
21645 (check_float_internal): Call test_errno. Set errno to 0.
21646 (check_complex): Refer to errno tests in comment.
21647 (check_int): Call test_errno. Set errno to 0.
21648 (check_long): Likewise.
21649 (check_bool): Likewise.
21650 (check_longlong): Likewise.
21651 (cos_test): Use ERRNO_* flags for errno tests instead of
21652 check_int.
21653 (expm1_test): Likewise.
21654 (fmod_test): Likewise.
21655 (ilogb_test): Likewise.
21656 (lgamma_test): Likewise.
21657 (pow_test): Likewise.
21658 (remainder_test): Likewise.
21659 (sin_test): Likewise.
21660 (tan_test): Likewise.
21661 (yn_test): Likewise.
21662 (initialize): Set errno to 0.
21663 (main): Print number of errno tests.
21664 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21665
b1a36ceb
AJ
216662013-04-29 Andreas Jaeger <aj@suse.de>
21667
c3ed8088
AJ
21668 [BZ #15084]
21669 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21670 and RES_USEVC.
21671
f1a24198
AJ
21672 [BZ #15085]
21673 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21674 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21675 unimplemented.
21676
9ce3b2cb
AJ
21677 [BZ #15380]
21678 * stdlib/random.c (__initstate): Return NULL if
21679 __initstate fails.
21680
f1a24198 21681 [BZ #15086]
b1a36ceb
AJ
21682 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21683 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21684 RES_SNGLKUPREOP.
21685
7e7b6f36
AZ
216862013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21687
21688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21689
4d14f449
JM
216902013-04-29 Joseph Myers <joseph@codesourcery.com>
21691
21692 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21693 of individual tests.
21694 (casin_test): Likewise.
21695 (casinh_test): Likewise.
21696
5b4217d7
JM
216972013-04-27 Joseph Myers <joseph@codesourcery.com>
21698
21699 [BZ #15409]
21700 * math/s_catan.c (__catan): Handle arguments with large real or
21701 imaginary part separately without squaring.
21702 * math/s_catanf.c (__catanf): Likewise.
21703 * math/s_catanh.c (__catanh): Likewise.
21704 * math/s_catanhf.c (__catanhf): Likewise.
21705 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21706 and redefine.
21707 (__catanhl): Handle arguments with large real or imaginary part
21708 separately without squaring.
21709 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21710 and redefine.
21711 (__catanl): Handle arguments with large real or imaginary part
21712 separately without squaring.
21713 * math/libm-test.inc (catan_test): Add more tests.
21714 (catanh_test): Likewise.
21715 * sysdeps/i386/fpu/libm-test-ulps: Update.
21716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21717
4220c3ef
AJ
217182013-04-27 Andreas Jaeger <aj@suse.de>
21719
21720 [BZ #15007]
21721 * stdlib/stdlib.h: Update guards for qecvt.
21722 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21723 <stdlib.h>.
21724
4721b2d1
AM
217252013-04-27 Allan McRae <allan@archlinux.org>
21726
21727 * sysdeps/i386/fpu/libm-test-ulps: Update.
21728
f0302940
JM
217292013-04-26 Joseph Myers <joseph@codesourcery.com>
21730
9457fd95
JM
21731 [BZ #15406]
21732 * math/s_catan.c: Include <float.h>.
21733 (__catan): Ensure underflow exception occurs for underflowed
21734 result.
21735 * math/s_catanf.c: Include <float.h>.
21736 (__catanf): Ensure underflow exception occurs for underflowed
21737 result.
21738 * math/s_catanh.c: Include <float.h>.
21739 (__catanh): Ensure underflow exception occurs for underflowed
21740 result.
21741 * math/s_catanhf.c: Include <float.h>.
21742 (__catanhf): Ensure underflow exception occurs for underflowed
21743 result.
21744 * math/s_catanhl.c: Include <float.h>.
21745 (__catanhl): Ensure underflow exception occurs for underflowed
21746 result.
21747 * math/s_catanl.c: Include <float.h>.
21748 (__catanl): Ensure underflow exception occurs for underflowed
21749 result.
21750 * math/libm-test.inc (catan_test): Add more tests.
21751 (catanh_test): Likewise.
21752
f0302940
JM
21753 [BZ #15405]
21754 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21755 underflowed result.
21756 * math/s_ccoshf.c (__ccoshf): Likewise.
21757 * math/s_ccoshl.c (__ccoshl): Likewise.
21758 * math/s_csin.c (__csin): Likewise.
21759 * math/s_csinf.c (__csinf): Likewise.
21760 * math/s_csinh.c (__csinh): Likewise.
21761 * math/s_csinhf.c (__csinhf): Likewise.
21762 * math/s_csinhl.c (__csinhl): Likewise.
21763 * math/s_csinl.c (__csinl): Likewise.
21764 * math/libm-test.inc (ccos_test): Add more tests.
21765 (ccosh_test): Likewise.
21766 (csin_test): Likewise.
21767 (csinh_test): Likewise.
21768
aa630f59
AZ
217692013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21770
21771 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21772 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21773 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21774 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21775 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21776 powerpc/power5+/fpu folders.
21777 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21778
21779
1b835983
MT
217802013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21781
21782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21783
73709b26
JM
217842013-04-25 Joseph Myers <joseph@codesourcery.com>
21785
21786 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21787 additions to variable.
21788 [$(config-machine) = x86_64] (modules-names): Likewise.
21789 ($(objpfx)tst-audit3): Remove dependency.
21790 ($(objpfx)tst-audit3.out): Likewise.
21791 ($(objpfx)tst-audit4): Likewise.
21792 ($(objpfx)tst-audit4.out): Likewise.
21793 ($(objpfx)tst-audit5): Likewise.
21794 ($(objpfx)tst-audit5.out): Likewise.
21795 ($(objpfx)tst-audit6): Likewise.
21796 ($(objpfx)tst-audit6.out): Likewise.
21797 ($(objpfx)tst-audit7): Likewise.
21798 ($(objpfx)tst-audit7.out): Likewise.
21799 (tst-audit3-ENV): Remove variable.
21800 (tst-audit4-ENV): Likewise.
21801 (tst-audit5-ENV): Likewise.
21802 (tst-audit6-ENV): Likewise.
21803 (tst-audit7-ENV): Likewise.
21804 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21805 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21806 addition to variable.
21807 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21808 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21809 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21810 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21811 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21812 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21813 tst-audit3, tst-audit4 and tst-audit5.
21814 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21815 tst-audit6 and tst-audit7.
21816 [$(subdir) = elf] (modules-names): Add audit modules for those
21817 tests.
21818 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21819 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21820 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21821 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21822 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21823 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21824 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21825 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21826 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21827 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21828 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21829 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21830 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21831 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21832 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21833 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21834 Likewise.
21835 [$(subdir) = elf && $(config-cflags-avx) = yes]
21836 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21837 [$(subdir) = elf && $(config-cflags-avx) = yes]
21838 (CFLAGS-tst-auditmod4a.c): Likewise.
21839 [$(subdir) = elf && $(config-cflags-avx) = yes]
21840 (CFLAGS-tst-auditmod4b.c): Likewise.
21841 [$(subdir) = elf && $(config-cflags-avx) = yes]
21842 (CFLAGS-tst-auditmod6b.c): Likewise.
21843 [$(subdir) = elf && $(config-cflags-avx) = yes]
21844 (CFLAGS-tst-auditmod6c.c): Likewise.
21845 [$(subdir) = elf && $(config-cflags-avx) = yes]
21846 (CFLAGS-tst-auditmod7b.c): Likewise.
21847 * elf/tst-audit3.c: Move to ...
21848 * sysdeps/x86_64/tst-audit3.c: ... here.
21849 * elf/tst-audit4.c: Move to ...
21850 * sysdeps/x86_64/tst-audit4.c: ... here.
21851 * elf/tst-audit5.c: Move to ...
21852 * sysdeps/x86_64/tst-audit5.c: ... here.
21853 * elf/tst-audit6.c: Move to ...
21854 * sysdeps/x86_64/tst-audit6.c: ... here.
21855 * elf/tst-audit7.c: Move to ...
21856 * sysdeps/x86_64/tst-audit7.c: ... here.
21857 * elf/tst-auditmod3a.c: Move to ...
21858 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21859 * elf/tst-auditmod3b.c: Move to ...
21860 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21861 * elf/tst-auditmod4a.c: Move to ...
21862 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21863 * elf/tst-auditmod4b.c: Move to ...
21864 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21865 * elf/tst-auditmod5a.c: Move to ...
21866 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21867 * elf/tst-auditmod5b.c: Move to ...
21868 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21869 * elf/tst-auditmod6a.c: Move to ...
21870 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21871 * elf/tst-auditmod6b.c: Move to ...
21872 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21873 * elf/tst-auditmod6c.c: Move to ...
21874 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21875 * elf/tst-auditmod7a.c: Move to ...
21876 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21877 * elf/tst-auditmod7b.c: Move to ...
21878 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21879
1ef74943
PP
218802013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21881
21882 [BZ #15366]
21883 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21884 define unconditionally.
21885 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21886 define unconditionally.
21887 (INT8_C, INT16_C, etc.): Likewise.
21888
93fd48c5
MR
218892013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21890
ae9552cf
MR
21891 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21892 __ehdr_start with hidden visibility.
21893
93fd48c5
MR
21894 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21895
418601aa
CD
218962013-04-24 Carlos O'Donell <carlos@redhat.com>
21897
21898 * math/libm-test.inc (cos_test): Use accurate hex constants.
21899 (sincost_test): Likewise.
21900
2f38fbfe
JM
219012013-04-24 Joseph Myers <joseph@codesourcery.com>
21902
5e221800
JM
21903 * math/libm-test.inc (catan_test): Add more tests.
21904 (catanh_test): Likewise.
21905
77f143fd
JM
21906 * math/s_catanf.c (__catanf): Use suffixed floating-point
21907 constants.
21908 * math/s_catanhf.c (__catanhf): Likewise.
21909 * math/s_catanhl.c (__catanhl): Likewise.
21910 * math/s_catanl.c (__catanl): Likewise.
21911
2f38fbfe
JM
21912 [BZ #15394]
21913 * math/s_catan.c (__catan): Calculate imaginary part of result
21914 with log1p not log unless computing log of number close to 0.
21915 * math/s_catanf.c (__catanf): Likewise.
21916 * math/s_catanl.c (__catanl): Likewise.
21917 * math/s_catanh.c (__catanh): Calculate real part of result with
21918 log1p not log unless computing log of number close to 0.
21919 * math/s_catanhf.c (__catanhf): Likewise.
21920 * math/s_catanhl.c (__catanhl): Likewise.
21921 * math/libm-test.inc (catan_test): Add more tests.
21922 (catanh_test): Likewise.
21923 * sysdeps/i386/fpu/libm-test-ulps: Update.
21924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21925
45d69176
SP
219262013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21927
21928 * benchtests/Makefile: Mention files in which fast and slow
21929 paths of math functions are implemented.
21930
87f51853
RM
219312013-04-23 Roland McGrath <roland@hack.frob.com>
21932
21933 * sysdeps/posix/timespec_get.c: New file.
21934
3c026539
AZ
219352013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21936
21937 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21938 POWER.
21939 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21940 for POWER.
21941 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21942 powerpc/power5/fpu folders.
21943 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21944 * benchtests/Makefile: Add modf testcase.
21945 * benchtests/bench-modf.c: New file: Benchmark test for mo
21946
ff491d14
SP
219472013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21948
21949 [BZ #14888]
21950 * time/Makefile (tests): Add tst-strptime-whitespace.
21951 * time/strptime_l.c (get_number): Use ISSPACE.
21952 (__strptime_internal): Likewise.
21953 * time/tst-strptime-whitespace.c: New test case.
21954
7ed3f4e8
AS
219552013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21956
21957 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21958 member.
21959 (_nss_files_init): Set it here.
21960
5c95f7b6
HC
219612013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21962
21963 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21964 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21965 unsigned.
21966
d34c9158
JBG
219672013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21968
21969 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21970
2169712d
SP
219712013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21972
21973 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21974 size just once.
21975
29c5de99
DM
219762013-04-21 David S. Miller <davem@davemloft.net>
21977
21978 * po/ru.po: Update Russion translation from translation project.
21979
ccdad15d
AC
219802013-04-17 Adam Conrad <adconrad@0c3.net>
21981
21982 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21983 and setfsgid.
21984
0f122b8d
CD
219852013-04-17 Carlos O'Donell <carlos@redhat.com>
21986
5c5b07da 21987 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21988 * configure: Regenerate.
5c5b07da 21989 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21990 Add example to error message.
21991 * sysdeps/i386/configure: Regenerate.
21992
037714dd
SP
219932013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21994
21995 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21996 slowtan.
21997 * benchtests/cos-inputs: New file.
21998 * benchtests/slowcos-inputs: New file.
21999 * benchtests/slowcos.c: New file.
22000 * benchtests/slowtan-inputs: New file.
22001 * benchtests/slowtan.c: New file.
22002 * benchtests/tan-inputs: New file.
22003
e913141d
RM
220042013-04-16 Roland McGrath <roland@hack.frob.com>
22005
22006 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22007 considered kosher.
22008
a2964074
SP
220092013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22010
4856bcd2
SP
22011 * benchtests/Makefile: Include cppflags-iterator.mk to add
22012 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22013
a2964074
SP
22014 * Makefile.in (bench-clean): New target.
22015 * benchtests/Makefile (bench-clean): Likewise.
22016
9fbf9aca
DH
220172013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22018
22019 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22020
207d1e2a
TS
220212013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22022
22023 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22024
306dfba9
AS
220252013-04-15 Andreas Schwab <schwab@suse.de>
22026
22027 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22029 * nscd/pwdcache.c (cache_addpw): Likewise.
22030 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22031 more than recsize.
22032
206a6699
SP
220332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22034
22035 * benchtests/Makefile (bench): Write all output to
22036 bench-out.tmp together.
22037
0582f6b3
AS
220382013-04-15 Andreas Schwab <schwab@suse.de>
22039
22040 * nscd/nscd.c (main): Don't fork again after closing files.
22041
acb4325f
SP
220422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22043
5cb26d0a
SP
22044 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22045
acb4325f
SP
22046 * benchtests/Rules (bench-deps): Collect dependencies into a
22047 single variable. Add Makefile to dependencies.
22048 ($(objpfx)bench-%.c): Depend on bench-deps.
22049
47792506
RM
220502013-04-12 Roland McGrath <roland@hack.frob.com>
22051 Xavier Roche <roche+kml2@exalead.com>
22052
22053 [BZ #15361]
22054 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22055 just that it's a file descriptor.
22056 * manual/llio.texi (Synchronizing AIO Operations): Update description
22057 for EBADF error from aio_fsync.
22058
8fc1bee5
SP
220592013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22060
22061 * Rules (bench): Move target definition...
22062 * benchtests/Makefile: ... here.
22063
aba5e333
CD
220642013-04-11 Carlos O'Donell <carlos@redhat.com>
22065
22066 * math/libm-test.inc (cos_test): Fix PI/2 test.
22067 (sincos_test): Likewise.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22069 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22070
273cdee8
AS
220712013-04-11 Andreas Schwab <schwab@suse.de>
22072
6ecec3b6
AS
22073 [BZ #13988]
22074 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22075 accept exponent character only when digits were seen.
22076 * stdio-common/Makefile (tests): Add bug26.
22077 * stdio-common/bug26.c: New file.
22078
273cdee8
AS
22079 [BZ #14293]
22080 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22081 non-freeable.
22082
8da491f5
SP
220832013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22084
01dc6df9
SP
22085 * Makeconfig (rtld-prefix): Define built linker prefix.
22086 * Rules (run-bench): Use it.
22087 * math/Makefile (run-regen-ulps): Likewise.
22088
8da491f5
SP
22089 * Rules (bench): Remove eval.
22090
abe7f530
SP
220912013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22092 Roland McGrath <roland@hack.frob.com>
22093 Ondrej Bilka <neleai@seznam.cz>
22094
22095 [BZ #15346]
22096 * time/getdate.c: Include ctype.h and alloca.h.
22097 (__getdate_r): Trim leading and trailing spaces of input.
22098 * time/tst-getdate.c (tests): Add tests with leading and
22099 trailing spaces.
22100
61c23e62
RM
221012013-04-08 Roland McGrath <roland@hack.frob.com>
22102
22103 [BZ #14280]
22104 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22105 when computing value.
22106
7208a313
CD
221072013-04-06 Carlos O'Donell <carlos@redhat.com>
22108
085b2d41
CD
22109 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22110 Use testrun.sh to run libm tests.
22111
7208a313
CD
22112 [BZ #15309]
22113 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22114
872c0acd
MM
221152013-04-06 Marko Myllynen <myllynen@redhat.com>
22116
22117 [BZ #15264]
22118 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22119
26510bdd
CD
221202013-04-06 Carlos O'Donell <carlos@redhat.com>
22121
22122 * Makefile.in (regen-ulps): New target.
22123 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22124 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22125 [ifneq (no,$(PERL)] (regen-ulps): New target.
22126 [ifeq (no,$(PERL)] (regen-ulps): New target.
22127 * math/libm-test.inc (ulps_file_name): Define.
22128 (output_dir): New variable.
22129 (options): Add "output-dir" option.
22130 (parse_opt): Handle 'o' case.
22131 (main): If output_dir is non-NULL use it as a prefix
22132 otherwise use "".
22133 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22134
a01f19c8
CD
221352013-04-06 Carlos O'Donell <carlos@redhat.com>
22136
22137 [BZ #10060, #10062]
22138 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22139 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22140 fail configure if __sync_val_compare_and_swap is not inlined.
22141 * sysdeps/i386/configure: Regenerate.
22142 * configure.in: Build for i686 when configured for i386.
22143 * configure: Regenerate.
22144 * README: Remove i386 reference.
22145
b7a329a5
CD
221462013-04-06 Carlos O'Donell <carlos@redhat.com>
22147
22148 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22150
bf0f50df
TS
221512013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22152
ee091edf
TS
22153 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22154 (lmsnanval): New variables.
22155 (F): Add conversion tests.
22156 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22157 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22158
a8b792d6
TS
22159 * stdio-common/tstdiomisc.c (F): Properly collect individual
22160 tests' results.
22161
a1cbf437
TS
22162 [BZ #14686, #15336]
22163 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22164 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22165 Instead, use input NaN values or generate a qNaN by arithmetic
22166 operation. Also fix bugs to comply with the standard.
22167 * math/libm-test.inc (remainder_test): Add more tests.
22168
8b43a0c9
TS
22169 [BZ #15335, #15342]
22170 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22172 input NaN values or generate a qNaN by arithmetic operation.
22173
d91da4ce
TS
22174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22175 unreachable code.
22176
bf0f50df
TS
22177 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22178 definitions.
22179
05e166c8
JM
221802013-04-03 Joseph Myers <joseph@codesourcery.com>
22181
22182 [BZ #14478]
22183 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22184 underflowed result.
22185 * math/s_cexpf.c (__cexpf): Likewise.
22186 * math/s_cexpl.c (__cexpl): Likewise.
22187 * math/libm-test.inc (cexp_test): Add more tests.
22188
1cef1b19
AS
221892013-04-03 Andreas Schwab <schwab@suse.de>
22190
22191 [BZ #15330]
22192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22193 order arrays from heap if bigger than alloca cutoff.
22194
74d87055
TS
221952013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22196
22197 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22198 (SNAN_TESTS_double): Refer to GCC PR56831.
22199 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22200 GCC PR56828.
22201
d755bba4
SP
222022013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22203
90d5d5bb
SP
22204 * Rules (bench): Move bench.out after the run is complete.
22205
73e0cd5d
SP
22206 * Rules (bench): Echo currently running benchmark.
22207
64aabd4b
SP
22208 * benchtests/Makefile (bench): Add atan and slowatan.
22209 * benchtests/atan-inputs: New file.
22210 * benchtests/slowatan-inputs: New file.
22211 * benchtests/slowatan.c: New file.
22212
c871eccd
SP
22213 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22215 its value.
22216
d755bba4
SP
22217 [BZ #15305]
22218 * sysdeps/unix/sysv/linux/kernel-features.h
22219 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22220 __ASSUME_XFS_RESTRICTED_CHOWN.
22221 * sysdeps/unix/sysv/linux/pathconf.c
22222 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22223 Save and restore errno.
22224
52ce4860
JM
222252013-04-02 Joseph Myers <joseph@codesourcery.com>
22226
22227 [BZ #15327]
22228 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22229 arguments using __kernel_casinh.
22230 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22231 arguments using __kernel_casinhf.
22232 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22233 arguments using __kernel_casinhl.
22234 * math/libm-test.inc (cacosh_test): Add more tests.
22235 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237
81f311c2
SP
222382013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22239
e7906a47
SP
22240 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22242
92e3664b
SP
22243 * bench/Makefile (bench): Add sin and slowsin.
22244 * benchtests/sin-inputs: New file.
22245 * benchtests/slowsin-inputs: New file.
22246 * benchtests/slowsin.c: New file.
22247
81f311c2
SP
22248 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22249 (bench): Add slowexp and slowpow.
22250 (exp-ITER): Increase iterations.
22251 (pow-ITER): Likewise.
22252 * benchtests/exp-inputs: Change input.
22253 * benchtests/pow-inputs: Likewise.
22254 * benchtests/slowexp-inputs: New file.
22255 * benchtests/slowexp.c: New file.
22256 * benchtests/slowpow-inputs: New file.
22257 * benchtests/slowpow.c: New file.
22258
ab0f1aa9
AZ
222592013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22260
22261 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22262 instructions.
22263 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22264 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22265 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22266 * benchtests/Makefile: Add rint benchtest.
22267 * benchtests/rint-inputs: Input for rint benchtest.
22268
57267616
TS
222692013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22270
22271 * Versions.def (libm): Add GLIBC_2.18.
22272 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22273 hidden libm prototypes.
22274 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22275 * math/Makefile (libm-calls): Add s_issignaling.
22276 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22277 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22278 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22279 declaration.
22280 * math/math.h [__USE_GNU] (issignaling): New macro.
22281 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22282 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22287 * manual/arith.texi (issignaling): New section.
22288 * manual/libm-err-tab.pl (@all_functions): Update comment.
22289 * math/gen-libm-test.pl (parse_args): Apply special handling for
22290 issignaling.
22291 * math/libm-test.inc (print_float, issignaling_test): New
22292 functions.
22293 (check_float_internal): Add issignaling checks.
22294 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22295 default definition.
22296 * sysdeps/powerpc/math-tests.h: New file.
22297 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22298 tests.
22299 * math/test-snan.c (TEST_FUNC): Likewise.
22300
6142896d
DM
223012013-03-30 David S. Miller <davem@davemloft.net>
22302
22303 * po/de.po: Update from translation team.
22304
ccc8cadf
JM
223052013-03-30 Joseph Myers <joseph@codesourcery.com>
22306
22307 [BZ #10357]
22308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22309 imaginary part less than 1.0 and real part less than 0.5
22310 specially.
22311 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22312 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22313 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22314 (cacos_test): Add more tests.
22315 (casin_test): Likewise.
22316 (casinh_test): Likewise.
22317 * sysdeps/i386/fpu/libm-test-ulps: Update.
22318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22319
0f6a8d4b
SP
223202013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22321
0d1029de
SP
22322 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22323 ONE with its value.
22324
c2d94018
SP
22325 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22326 (__pow_mp): Replace ONE and MONE with their values.
22327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22328 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22330 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22331 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22333
27ec37f1
SP
22334 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22335
a64d7e0e
SP
22336 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22337 (__pow_mp): Replace ZERO and MZERO with their values.
22338 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22339 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22340 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22342 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22343 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22344 (__sqr): Likewise.
22345
d26dd3eb
SP
22346 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22347
0f6a8d4b
SP
22348 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22349
e57b0c61
RM
223502013-03-28 Roland McGrath <roland@hack.frob.com>
22351
22352 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22353 Declare with __attribute__ ((weak)).
22354 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22355 Call __call_tls_dtors only if it's not NULL.
22356
356b3480
RM
223572013-03-28 Roland McGrath <roland@hack.frob.com>
22358
288f7d79
RM
22359 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22360 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22361 magic __ehdr_start linker symbol if it's defined.
22362 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22363 them up here if it was already done.
22364
dc0a0263
RM
22365 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22366 (_dl_aux_init): Use const in cast when setting it.
22367 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22368 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22369 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22370
3d3436ae
RM
22371 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22372 Declare them here.
22373 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22374 * csu/libc-tls.c: Nor here.
22375 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22376
356b3480
RM
22377 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22378 (__libc_message): Never call vsyslog.
22379
b0f1246a
AM
223802013-03-28 Alan Modra <amodra@gmail.com>
22381
22382 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22383 Define as empty.
22384 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22385 Likewise.
22386
fbbe2b9a
AZ
223872013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22388
22389 [BZ #15214]
22390 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22391 underflow.
22392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22393
1728ab37
SP
223942013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22395
7a86be6e
SP
22396 [BZ #15304]
22397 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22398 Don't add gid passed as argument.
22399
1728ab37
SP
22400 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22401
3a7182a1
JM
224022013-03-27 Joseph Myers <joseph@codesourcery.com>
22403
22404 [BZ #15307]
22405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22406 imaginary part between 1.0 and 1.5 and real part less than 0.5
22407 specially.
22408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22410 * math/libm-test.inc (cacos_test): Add more tests.
22411 (casin_test): Likewise.
22412 (casinh_test): Likewise.
22413 * sysdeps/i386/fpu/libm-test-ulps: Update.
22414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22415
6f2e90e7
SP
224162013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22417
5739f705
SP
22418 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22419 constants.
22420 (norm): Likewise.
22421 (denorm): Likewise.
22422 (__dbl_mp): Likewise.
22423 (add_magnitudes): Likewise.
22424 (sub_magnitudes): Likewise.
22425 (__add): Likewise.
22426 (__sub): Likewise.
22427 (__mul): Likewise.
22428 (__sqr): Likewise.
22429 (__inv): Likewise.
22430 (__dvd): Likewise.
22431
e375e83d
SP
22432 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22433 commented code.
22434 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22435 (__dubcos): Likewise.
22436 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22437 (__ieee754_acos): Likewise.
22438 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22440 (__exp1): Likewise.
22441 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22443 (log1): Likewise.
22444 (my_log2): Likewise.
22445 (checkint): Likewise.
22446 * sysdeps/ieee754/dbl-64/e_remainder.c
22447 (__ieee754_remainder): Likewise.
22448 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22450 (bsloww): Likewise.
22451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22452
6f2e90e7
SP
22453 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22455 MANTISSA_STORE_T to store computations on mantissa. Use
22456 macros for rounding and division.
22457 (denorm): Likewise.
22458 (__dbl_mp): Likewise.
22459 (add_magnitudes): Likewise.
22460 (sub_magnitudes): Likewise.
22461 (__mul): Likewise.
22462 (__sqr): Likewise.
22463 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22464 powers of two in terms of TWOPOW macro.
22465 (mp_no): Make type of mantissa as MANTISSA_T.
22466 [!RADIXI]: Define RADIXI.
22467 [!TWO52]: Define TWO52.
22468 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22469
fce14d4e
AZ
224702013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22471
22472 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22473 llroundl symbol when building for PPC32.
22474
9ad027fb
MW
224752013-03-24 Mark H Weaver <mhw@netris.org>
22476
22477 * manual/arith.texi (Normalization Functions): Fix prototypes for
22478 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22479
e42a38dd
AZ
224802013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22481
22482 [BZ #13889]
22483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22484 high value to check if expl overflow.
22485 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22486 to check for underflow and overflow.
22487 * math/libm-test.inc: Add exp test.
22488
2e0fb521
DL
224892013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22490
22491 [BZ #11120]
22492 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22493 with NOT_IN_libc.
22494
b5784d95
AZ
224952013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22496
22497 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22498 symbol.
22499
5aa4a1a1
TS
225002013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22501
bdef0be7
TS
22502 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22503 wrap blocks consisting of several statements.
22504
5aa4a1a1
TS
22505 * sysdeps/generic/math-tests.h: New file.
22506 * sysdeps/i386/fpu/math-tests.h: Likewise.
22507 * math/test-snan.c: Include it.
22508 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22509
98c48fe5
JM
225102013-03-21 Joseph Myers <joseph@codesourcery.com>
22511
22512 [BZ #15285]
22513 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22514 (__ieee754_j0l): Do not improve calculations using cos of twice
22515 input for inputs above LDBL_MAX / 2.0L.
22516 (__ieee754_y0l): Likewise.
22517 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22518 (__ieee754_j1l): Do not improve calculations using cos of twice
22519 input for inputs above LDBL_MAX / 2.0L.
22520 (__ieee754_y1l): Likewise.
22521 * math/libm-test.inc (j0_test): Add another test.
22522 (j1_test): Likewise.
22523 (y0_test): Likewise.
22524 (y1_test): Likewise.
22525 * sysdeps/i386/fpu/libm-test-ulps: Update.
22526
3775a8bc
SP
225272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22528
22529 * Rules ($(objpfx)bench-%.c): Include code from a C source
22530 file.
22531
0a1b2ae6
JM
225322013-03-21 Joseph Myers <joseph@codesourcery.com>
22533
22534 [BZ #15287]
22535 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22536 imaginary part 1.0 and real part less than 0.5 specially.
22537 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22538 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22539 * math/libm-test.inc (cacos_test): Add more tests.
22540 (casin_test): Likewise.
22541 (casinh_test): Likewise.
22542 * sysdeps/i386/fpu/libm-test-ulps: Update.
22543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22544
b33d4ce4
SP
225452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22546
22547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22548 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22549
bef0b507
JM
225502013-03-20 Joseph Myers <joseph@codesourcery.com>
22551
22552 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22553 * config.make.in (config-cflags-sse4): Remove variable.
22554 (config-cflags-avx): Likewise.
22555 (config-cflags-sse2avx): Likewise.
22556 (config-cflags-novzeroupper): Likewise.
22557 (config-asflags-i686): Likewise.
22558 (have-mfma4): Likewise.
22559 (have-as-vis3): Likewise.
22560 (MIG): Likewise.
22561 * configure.in (MIG): Do not AC_SUBST.
22562 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22563 (libc_cv_cc_sse4): Do not AC_SUBST.
22564 (libc_cv_cc_avx): Likewise.
22565 (libc_cv_cc_sse2avx): Likewise.
22566 (libc_cv_cc_novzeroupper): Likewise.
22567 (libc_cv_cc_fma4): Likewise.
22568 (libc_cv_as_i686): Likewise.
22569 (libc_cv_sparc_as_vis3): Likewise.
22570 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22571 LIBC_CONFIG_VAR.
22572 (config-asflags-i686): Likewise.
22573 (config-cflags-avx): Likewise.
22574 (config-cflags-sse2avx): Likewise.
22575 (have-mfma4): Likewise.
22576 (config-cflags-novzeroupper): Likewise.
22577 * sysdeps/mach/configure.in (MIG): Likewise.
22578 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22579 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22580 LIBC_CONFIG_VAR.
22581 (config-cflags-avx): Likewise.
22582 (config-cflags-sse2avx): Likewise.
22583 (have-mfma4): Likewise.
22584 (config-cflags-novzeroupper): Likewise.
22585 * configure: Regenerated.
22586 * sysdeps/i386/configure: Likewise.
22587 * sysdeps/mach/configure: Likewise.
22588 * sysdeps/sparc/configure: Likewise.
22589 * sysdeps/x86_64/configure: Likewise.
22590
912cc4b3
RM
225912013-03-20 Roland McGrath <roland@hack.frob.com>
22592
22593 [BZ #14812]
22594 * locale/programs/localedef.c (options): Put N_ translation marker
22595 on argument names, not just descriptions.
22596
04eed2b0
MS
225972013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22598
22599 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22600
a065ceff
OB
226012013-03-20 Ondřej Bílka <neleai@seznam.cz>
22602
9bb2a810 22603 [BZ #14176]
a065ceff
OB
22604 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22605
a600e5ce
RM
226062013-03-19 Roland McGrath <roland@hack.frob.com>
22607
22608 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22609 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22610 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22611 [!BEFORE_ABORT] (before_abort): New function.
22612 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22613 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22614 (writev_for_fatal): New function.
22615 (WRITEV_FOR_FATAL): New macro; call that.
22616 (backtrace_and_maps): New function.
22617 (BEFORE_ABORT): New macro; call that.
22618 (struct str_list): Type removed.
22619 (__libc_message, __libc_fatal): Functions removed.
22620 Include <sysdeps/posix/libc_fatal.c> instead.
22621
6b18bea6
JM
226222013-03-19 Joseph Myers <joseph@codesourcery.com>
22623
22624 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22625 constants.
22626 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22627 double constants.
22628
aaa8cb4b
AS
226292013-03-19 Andreas Schwab <schwab@suse.de>
22630
44673770
AS
22631 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22632 * sysdeps/gnu/configure: Regenerate.
22633
aaa8cb4b
AS
22634 * configure.in: Substitute libc_cv_rtlddir.
22635 * configure: Regenerate.
22636 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22637 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22638 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22639 * elf/Makefile (install-others, CFLAGS-interp.c)
22640 (ldso_install, common-ldd-rewrite): Likewise.
22641 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22642 $(inst_slibdir)/$(rtld-installed-name).
22643 * scripts/rellns-sh: Add -p option.
22644 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22645 for source.
22646
d3cfc668
SP
226472013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22648
22649 * manual/nptl.texi: Renamed to ...
22650 * manual/threads.texi: ... this.
22651 * manual/Makefile (chapters): Update.
22652
0e2b9cdd
RM
226532013-03-18 Roland McGrath <roland@hack.frob.com>
22654
22655 [BZ #14812]
22656 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22657 on argument names, not just descriptions.
0e2b9cdd
RM
22658 * malloc/memusagestat.c (options): Likewise.
22659 * nss/getent.c (options): Likewise.
63270c24
RM
22660
226612013-03-18 Benno Schulenberg <bensberg@justemail.net>
22662
22663 [BZ #14812]
22664 * iconv/iconv_prog.c (options): Put N_ translation marker
22665 on argument names, not just descriptions.
22666 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22667
b2e1393c
OB
226682013-03-18 Ondrej Bilka <neleai@seznam.cz>
22669
22670 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22671 implementation which is faster on all x86_64 architectures.
22672 Tested on AMD, Intel Nehalem, SNB, IVB.
22673 * sysdeps/x86_64/strnlen.S: Likewise.
22674
22675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22676 Remove all multiarch strlen and strnlen versions.
22677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22678 Remove strlen and strnlen related parts.
22679
22680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22681 Inline strlen part.
22682 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22683
22684 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22685 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22686 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22687 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22688 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22689 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22690
ec4ff04d
CD
226912013-03-17 Carlos O'Donell <carlos@redhat.com>
22692
22693 * manual/memory.texi (Malloc Tunable Parameters):
22694 Sort parameters alphabetically. Add comments for missing entries.
22695
cd18e90a
DM
226962013-03-17 David S. Miller <davem@davemloft.net>
22697
22698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22699
2a185d32
JM
227002013-03-16 Joseph Myers <joseph@codesourcery.com>
22701
d2f9799e
JM
22702 [BZ #15283]
22703 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22704 for arguments at most half maximum finite value.
22705 * math/libm-test.inc (j0_test): Add more tests.
22706 (j1_test): Likewise.
22707 (y0_test): Likewise.
22708 (y1_test): Likewise.
22709 * sysdeps/i386/fpu/libm-test-ulps: Update.
22710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22711
2a185d32
JM
22712 [BZ #14155]
22713 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22714 1 / x and functions P and Q for arguments above 0x1p256L.
22715 (__ieee754_y0l): Likewise.
22716 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22717 (__ieee754_y1l): Likewise.
22718 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22719 (j1_test): Likewise.
22720 (y0_test): Likewise.
22721 (y1_test): Likewise.
22722
6cbec759
TS
227232013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22724
22725 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22726 variable.
22727
bc16e260
RM
227282013-03-15 Roland McGrath <roland@hack.frob.com>
22729
aefc9b8c
RM
22730 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22731 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22732 zero since it's initialized to EXEC_PAGESIZE.
22733
bc16e260
RM
22734 * sysdeps/unix/sysv/linux/ldsodefs.h
22735 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22736 * sysdeps/generic/ldsodefs.h: ... here.
22737
a57da955
TS
227382013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22739
af00a34d
TS
22740 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22741
495ded2c
TS
22742 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22743 math/test-snan.c.
22744 * math/test-snan.c: Renamed from
22745 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22746 * math/Makefile (tests): Add test-snan.
22747 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22748 test-powerpc-snan.
22749
777b0332
TS
22750 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22751 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22752 functions.
22753 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22754 __builtin_nan family of functions.
22755 * math/libm-test.inc (initialize): Initialize qnan_value with
22756 __builtin_nan family of functions.
22757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22758 Remove variables.
22759 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22760 Remove functions.
22761 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22762 storage class. Initialize qNaN_var and sNaN_var with
22763 __builtin_nan and __builtin_nans families of functions,
22764 respectively.
22765
64d063b8
TS
22766 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22767 (sqrt_test): Remove duplicate test with qNaN input.
22768 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22769 (round_test, signbit_test, significand_test): Note missing +/-Inf
22770 as well as qNaN tests.
22771
67e971f1
TS
22772 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22773 qNaN_var. Fix a few strings, too.
22774 * math/libm-test.inc (nan_value): Rename to qnan_value.
22775 * math/gen-libm-test.pl (%beautify): Adjust to that.
22776 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22777 * math/test-misc.c (main): Likewise.
22778 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22779 to __qnan_bytes, and __qnan_union, respectively.
22780 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22781 Likewise.
22782 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22783 and lqnanval, respectively.
22784 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22785 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22786 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22787 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22788
64487e12
TS
22789 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22790 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22791 doubles.
22792
e015e27b
TS
22793 * math/test-misc.c (main): Fix copy'n'pastos.
22794 * misc/tst-efgcvt.c (special): Likewise.
22795
a57da955
TS
22796 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22797 Remove declarations.
22798
1e380345
SP
227992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22800
22801 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22802 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22803 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22804 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22805
ef26eece
AZ
228062013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22807
22808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22809 macro to return vdso values correctly in IFUNC implementations.
22810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22811 Optimization by using IFUNC.
22812
8cfdb7e0
SP
228132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22814 Richard Henderson <rth@redhat.com>
22815 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22816
22817 * Makefile.in (bench): New target.
22818 * NEWS: Mention the benchmark framework.
22819 * Rules (bench): Likewise.
22820 (binaries-bench): Generate binaries for functions to
22821 benchmark.
22822 * benchtests/Makefile: New makefile for benchmark tests.
22823 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22824 programs.
22825 * benchtests/exp-inputs: New input file for EXP function.
22826 * benchtests/pow-inputs: New input file for POW function.
22827 * scripts/bench.pl: New script to generate source files for
22828 benchmark programs.
22829
bcda9880
SP
228302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22831
d22ca8cd
SP
22832 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22833 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22834 computations on mantissa. Use macros for rounding and
22835 division.
22836 (denorm): Likewise.
22837 (__dbl_mp): Likewise.
22838 (add_magnitudes): Likewise.
22839 (sub_magnitudes): Likewise.
22840 (__mul): Likewise.
22841 (__sqr): Likewise.
22842 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22843 powers of two in terms of TWOPOW macro.
22844 (mp_no): Make type of mantissa as MANTISSA_T.
22845 [!RADIXI]: Define RADIXI.
22846 [!TWO52]: Define TWO52.
22847 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22848
bcda9880
SP
22849 * manual/nptl.texi (cindex): Modify threads to pthreads.
22850
06d5adfb
JM
228512013-03-15 Joseph Myers <joseph@codesourcery.com>
22852
22853 * sysdeps/x86_64/preconfigure: Regenerated.
22854
41c7328e
JM
228552013-03-14 Joseph Myers <joseph@codesourcery.com>
22856
22857 [BZ #14155]
22858 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22859 0x1p28 and above.
22860 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22861 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22862 0x1p28 and above.
22863 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22864 * math/libm-test.inc (j0_test): Do not allow one spurious
22865 underflow exception.
22866 (y1_test): Likewise.
22867
e25cfa60
SP
228682013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22869
0409959c
SP
22870 * manual/Makefile (chapters): Add nptl.
22871 * manual/debug.texi (Debugging Support): Add link to Threads
22872 chapter.
22873 * manual/nptl.texi: New file.
22874
e25cfa60
SP
22875 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22876
58a1335e
PB
228772013-03-14 Petr Baudis <pasky@ucw.cz>
22878
22879 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22880 for non-NULL pointer before the memory validity test. Pointed
22881 out by Holger Brunck <holger.brunck@keymile.com>.
22882
9dc7c64f
AS
228832013-03-13 Andreas Schwab <schwab@suse.de>
22884
22885 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22886 instead of .os.
22887
54206aa6
JM
228882013-03-13 Joseph Myers <joseph@codesourcery.com>
22889
22890 * timezone/zic.c: Update from tzcode 2013b.
22891
e98cdb38
CD
228922013-03-12 Carlos O'Donell <carlos@redhat.com>
22893
22894 * manual/install.texi (Configuring and compiling):
22895 Mention i686 and i586.
22896 * INSTALL: Regenerate.
22897
9967e003
RM
228982013-03-12 Roland McGrath <roland@hack.frob.com>
22899
22900 * sysdeps/init_array/elf-init.c: New file.
22901 * csu/elf-init.c
22902 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22903 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22904
22905 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22906 __gmon_start__ as global, but as static with a .preinit_array pointer.
22907 * sysdeps/init_array/gmon-start.c: New file. Use that.
22908 * sysdeps/init_array/crti.S: New file, empty except for comments.
22909 * sysdeps/init_array/crtn.S: Likewise.
22910
e6b5a293 229112013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22912
22913 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22914 definining bcopy.
80f844c9
OB
22915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22916 Remove Prefer_SSE_for_memop.
22917 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22918 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22919 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22921 memset-x86-64.
80f844c9 22922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22923 Remove bzero, memset ifunc support.
80f844c9
OB
22924 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22925 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22926 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22927 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22928
fb6b0fcb
AS
229292013-03-11 Andreas Schwab <schwab@suse.de>
22930
22931 [BZ #15234]
22932 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22933 by SHLIB_COMPAT.
22934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22935 (GLIBC_2.16): Remove pthread_atfork.
22936
3e6bd4b1
PP
229372013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22938
22939 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22940 (ptestcases.h): Likewise.
22941
222d7f00
RM
229422013-03-08 Roland McGrath <roland@hack.frob.com>
22943
22944 * Makeconfig ($(common-objpfx)config.status): Depend on
22945 sysdeps/*/preconfigure{,.in} too.
22946
1ba4f030
JM
229472013-03-08 Joseph Myers <joseph@codesourcery.com>
22948
a222d91a
JM
22949 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22950 (__free_hook): Use void * instead of __malloc_ptr_t.
22951 (__malloc_hook): Likewise.
22952 (__realloc_hook): Likewise.
22953 (__memalign_hook): Likewise.
22954 (__after_morecore_hook): Likewise.
22955 * malloc/arena.c (save_malloc_hook): Likewise.
22956 (save_free_hook): Likewise.
22957 * malloc/hooks.c (malloc_hook_ini): Likewise.
22958 (realloc_hook_ini): Likewise.
22959 (memalign_hook_ini): Likewise.
22960 * malloc/malloc.c (malloc_hook_ini): Likewise.
22961 (realloc_hook_ini): Likewise.
22962 (memalign_hook_ini): Likewise.
22963 (__free_hook): Likewise.
22964 (__malloc_hook): Likewise.
22965 (__realloc_hook): Likewise.
22966 (__memalign_hook): Likewise.
22967 (__libc_malloc): Likewise.
22968 (__libc_free): Likewise.
22969 (__libc_realloc): Likewise.
22970 (__libc_memalign): Likewise.
22971 (__libc_valloc): Likewise.
22972 (__libc_pvalloc): Likewise.
22973 (__libc_calloc): Likewise.
22974 (__posix_memalign): Likewise.
22975 * malloc/morecore.c (__sbrk): Likewise.
22976 (__default_morecore): Likewise.
22977
5cc45e10
JM
22978 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22979
dd54b864
JM
22980 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22981 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22982 __malloc_ptrdiff_t.
22983
1ba4f030
JM
22984 * malloc/malloc.h (__malloc_size_t): Remove macro.
22985 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22986 __malloc_size_t.
22987 (old_memalign_hook): Likewise.
22988 (old_realloc_hook): Likewise.
22989 (struct hdr): Likewise.
22990 (flood): Likewise.
22991 (mallochook): Likewise.
22992 (memalignhook): Likewise.
22993 (reallochook): Likewise.
22994 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22995 (tr_old_realloc_hook): Likewise.
22996 (tr_old_memalign_hook): Likewise.
22997 (tr_mallochook): Likewise.
22998 (tr_reallochook): Likewise.
22999 (tr_memalignhook): Likewise.
23000
edf66e57
AZ
230012013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23002
23003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23004 default_ldbl_pack and using as default implementation.
23005 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23006 implementation.
23007 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23008 redundant definition.
23009 (ldbl_insert_mantissa): Likewise.
23010 (ldbl_canonicalize): Likewise.
23011 (ldbl_nearbyint): Likewise.
23012 (ldbl_pack): Rename to ldbl_pack_ppc.
23013 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23014 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23015 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23016
6d9145d8
SP
230172013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23018
23019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23020 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23021 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23022 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23024 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23025 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23026 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23027
4dd4e157
AJ
230282013-03-07 Andreas Jaeger <aj@suse.de>
23029
23030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23031 bits/mman-linux.h.
23032
adbb8027
SP
230332013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23034
ce544b5b
SP
23035 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23036 Include mpa.h and declare __MPEXP.
23037 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23038 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23039 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23040 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23041 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23042 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23044
4cc149fd
SP
23045 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23046 (__slowpow): Use long double EXPL and LOGL functions to
23047 compute POW.
23048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23049 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23051 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23052 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23053 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23054
e6ebd4a7
SP
23055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23056 intermediate variable to calculate exponent.
23057 (__sqr): Likewise.
23058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23059 Likewise.
23060 (__sqr): Likewise.
23061
82a9811d
SP
23062 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23063 [!NO__SQR]: Define __sqr.
23064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23065 and NO__SQR. Remove all code except __mul and __sqr. Include
23066 sysdeps/ieee754/dbl-64/mpa.c.
23067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23068
adbb8027
SP
23069 [BZ #12723]
23070 * posix/Makefile (tests): Add tst-pathconf.
23071 * posix/tst-pathconf.c: New test case.
23072 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23073 _PC_PIPE_BUF.
23074 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23075
39120df9
PF
230762013-03-06 Patsy Franklin <pfrankli@redhat.com>
23077
23078 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23079
67525cb8
AJ
230802013-03-06 Andreas Jaeger <aj@suse.de>
23081
664a9ce4
AJ
23082 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23083 definition via __MAP_ANONYMOUS.
23084
8e39047d
AJ
23085 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23086 it's not part of Linux headers.
23087
67525cb8
AJ
23088 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23089 (MAP_HUGE_MASK): Define.
23090
23091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23092 Define.
23093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23095 Define.
23096 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23097 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23098 Define.
23099 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23101 Define.
23102 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23103
23104 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23105 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23106 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23107 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23108 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23109 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23110
23111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23112 Handle f2fs.
23113
23114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23115 Handle f2fs and efivarfs.
23116
23117 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23118 f2fs.
23119
23120 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23121 (EFIVARFS_MAGIC): Add.
23122 (F2FS_LINK_MAX): Add.
23123
e1b42695
PP
231242013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23125
23126 * stdio-common/vfprintf.c: Replace __builtin_expect with
23127 __glibc_unlikely.
23128
2d67d91a
JM
231292013-03-06 Joseph Myers <joseph@codesourcery.com>
23130
23131 [BZ #13550]
23132 * sysdeps/generic/bp-sym.h: Remove file.
23133 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23134 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23135 <bp-sym.h> and <bp-asm.h>.
23136 (__longjmp): Don't use BP_SYM.
23137 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23138 and <bp-asm.h>.
23139 (memcpy): Don't use BP_SYM.
23140 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23141 <bp-sym.h> and <bp-asm.h>.
23142 (memcpy): Don't use BP_SYM.
23143 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23144 <bp-asm.h>.
23145 (memcpy): Don't use BP_SYM.
23146 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23147 <bp-asm.h>.
23148 (memset): Don't use BP_SYM.
23149 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23150 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23151 (__bzero): Don't use BP_SYM.
23152 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23153 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23154 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23155 <bp-sym.h> and <bp-asm.h>.
23156 (memcmp): Don't use BP_SYM. Remove comment about bounded
23157 pointers.
23158 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23159 <bp-sym.h> and <bp-asm.h>.
23160 (memcpy): Don't use BP_SYM.
23161 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23162 <bp-sym.h> and <bp-asm.h>.
23163 (memset): Don't use BP_SYM.
23164 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23165 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23166 (__bzero): Don't use BP_SYM.
23167 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23168 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23170 <bp-sym.h> and <bp-asm.h>.
23171 (strncmp): Don't use BP_SYM. Remove comment about bounded
23172 pointers.
23173 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23174 <bp-sym.h> and <bp-asm.h>.
23175 (memcpy): Don't use BP_SYM.
23176 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23177 <bp-sym.h> and <bp-asm.h>.
23178 (memset): Don't use BP_SYM.
23179 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23180 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23181 (__bzero): Don't use BP_SYM.
23182 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23183 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23185 <bp-sym.h> and <bp-asm.h>.
23186 (__memchr): Don't use BP_SYM.
23187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23188 <bp-sym.h> and <bp-asm.h>.
23189 (memcmp): Don't use BP_SYM. Remove comment about bounded
23190 pointers.
23191 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23192 <bp-sym.h> and <bp-asm.h>.
23193 (memcpy): Don't use BP_SYM.
23194 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23195 <bp-sym.h> and <bp-asm.h>.
23196 (__mempcpy): Don't use BP_SYM.
23197 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23198 <bp-sym.h> and <bp-asm.h>.
23199 (__memrchr): Don't use BP_SYM.
23200 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23201 <bp-sym.h> and <bp-asm.h>.
23202 (memset): Don't use BP_SYM.
23203 (__bzero): Likewise.
23204 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23205 <bp-sym.h> and <bp-asm.h>.
23206 (__rawmemchr): Don't use BP_SYM.
23207 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23208 <bp-sym.h> and <bp-asm.h>.
23209 (__STRCMP): Don't use BP_SYM.
23210 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23211 <bp-sym.h> and <bp-asm.h>.
23212 (strchr): Don't use BP_SYM.
23213 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23214 <bp-sym.h> and <bp-asm.h>.
23215 (__strchrnul): Don't use BP_SYM.
23216 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23217 <bp-sym.h> and <bp-asm.h>.
23218 (strlen): Don't use BP_SYM.
23219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23220 <bp-sym.h> and <bp-asm.h>.
23221 (strncmp): Don't use BP_SYM. Remove comment about bounded
23222 pointers.
23223 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23224 <bp-sym.h> and <bp-asm.h>.
23225 (__strnlen): Don't use BP_SYM.
23226 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23227 <bp-sym.h> and <bp-asm.h>.
23228 (__GI__setjmp): Don't use BP_SYM.
23229 (_setjmp): Likewise.
23230 (__sigsetjmp): Likewise.
23231 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23232 (L(start_addresses)): Don't use BP_SYM.
23233 (_start): Likewise.
23234 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23235 <bp-asm.h>.
23236 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23237 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23238 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23239 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23240 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23241 <bp-asm.h>.
23242 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23243 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23244 about bounded pointers.
23245 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23246 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23247 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23248 <bp-asm.h>.
23249 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23250 about bounded pointers. Remove GKM FIXME comments.
23251 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23252 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23253 <bp-asm.h>.
23254 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23255 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23256 Remove GKM FIXME comments.
23257 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23258 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23259 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23260 <bp-asm.h>.
23261 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23262 about bounded pointers. Remove GKM FIXME comment.
23263 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23264 and <bp-asm.h>.
23265 (strncmp): Don't use BP_SYM. Remove comment about bounded
23266 pointers.
23267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23268 <bp-sym.h> and <bp-asm.h>.
23269 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23271 <bp-sym.h> and <bp-asm.h>.
23272 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23273 comment.
23274
cdcf361f
PP
232752013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23276
23277 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23278 call free(NULL).
23279
3c4a2b15
DM
232802013-03-05 David S. Miller <davem@davemloft.net>
23281
23282 * po/es.po: Update from translation team.
23283
cdcf361f 232842013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23285
23286 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23287 <bits/mman-linux.h>.
23288 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23289 is fine.
23290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23291 <bits/mman-linux.h> to end of file.
23292 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23293 is fine.
23294 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23295 <bits/mman-linux.h> to end of file.
23296 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23297 is fine.
23298 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23299 <bits/mman-linux.h> to end of file.
23300
23301 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23302 (MCL_CURRENT, MCL_FUTURE): Define here.
23303
5f67c04f
AK
233042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23305
8a4473cc 23306 [BZ #15232]
5f67c04f
AK
23307 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23308 attribute_hidden.
23309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23310
c3e94a95
AK
233112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23312
23313 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23314 fourth parameter needed for rt_sigprocmask syscall.
23315 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23316 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23317 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23318 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23319 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23320 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23321
cfb6382a
JM
233222013-03-04 Joseph Myers <joseph@codesourcery.com>
23323
23324 [BZ #13550]
23325 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23326 comment about bounded pointers.
23327 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23328 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23329
539d8e01
AJ
233302013-03-04 Andreas Jaeger <aj@suse.de>
23331
23332 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23333 common definitions.
23334
23335 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23336 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23337 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23338 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23340 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23341
2e167a70 233422013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23343
23344 [BZ #15055]
23345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23346 __ieee754_sqrl instead of __sqrl.
23347
68508633
JM
233482013-03-01 Joseph Myers <joseph@codesourcery.com>
23349
23350 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23351 * sysdeps/powerpc/fpu_control.h: ... here.
23352 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23353 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23354 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23355 * sysdeps/powerpc/bits/mathinline.h: ... here.
23356
7775448e
RM
233572013-03-01 Roland McGrath <roland@hack.frob.com>
23358
23359 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23360 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23361 to just [NEED_DL_SYSINFO_DSO].
23362 * elf/dl-support.c: Likewise.
23363 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23364 * elf/rtld.c (dl_main): Likewise.
23365 * elf/setup-vdso.h (setup_vdso): Likewise.
23366 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23367 * sysdeps/unix/sysv/linux/dl-sysdep.c
23368 (_dl_discover_osversion): Likewise.
23369
4e9b5995
CD
233702013-03-01 Carlos O'Donell <carlos@redhat.com>
23371
23372 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23373 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23374
e23872c8
SP
233752013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23376
e5c74c63
SP
23377 * NEWS: Mention libm performance improvements and non-x86 PI
23378 futex support.
23379
e23872c8
SP
23380 * csu/libc-start.c (__pthread_initialize_minimal): Change
23381 function arguments.
23382 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23383
b5510883
JM
233842013-02-28 Joseph Myers <joseph@codesourcery.com>
23385
23386 [BZ #13550]
23387 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23388 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23389 <bp-sym.h> and <bp-asm.h>.
23390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23391 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23392 and <bp-asm.h>.
23393 (memcpy): Don't use BP_SYM.
23394 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23395 <bp-asm.h>.
23396 (__mpn_add_n): Don't use BP_SYM.
23397 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23398 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23399 and <bp-asm.h>.
23400 (__mpn_addmul_1): Don't use BP_SYM.
23401 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23402 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23403 <bp-sym.h>.
23404 (_setjmp): Don't use BP_SYM.
23405 (__novmx_setjmp): Likewise.
23406 (__GI__setjmp): Likewise.
23407 (__vmx_setjmp): Likewise.
23408 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23409 <bp-sym.h>.
23410 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23411 (__bzero): Don't use BP_SYM.
23412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23414 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23415 <bp-sym.h> and <bp-asm.h>.
23416 (memcpy): Don't use BP_SYM.
23417 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23418 <bp-sym.h> and <bp-asm.h>.
23419 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23421 <bp-sym.h> and <bp-asm.h>.
23422 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23423 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23424 <bp-asm.h>.
23425 (__mpn_lshift): Don't use BP_SYM.
23426 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23427 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23428 <bp-asm.h>.
23429 (memset): Don't use BP_SYM.
23430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23432 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23433 <bp-asm.h>.
23434 (__mpn_mul_1): Don't use BP_SYM.
23435 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23437 <bp-sym.h> and <bp-asm.h>.
23438 (memcmp): Don't use BP_SYM.
23439 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23440 <bp-sym.h> and <bp-asm.h>.
23441 (memcpy): Don't use BP_SYM.
23442 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23443 <bp-sym.h> and <bp-asm.h>.
23444 (memset): Don't use BP_SYM.
23445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23446 <bp-sym.h> and <bp-asm.h>.
23447 (strncmp): Don't use BP_SYM.
23448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23449 <bp-sym.h> and <bp-asm.h>.
23450 (memcpy): Don't use BP_SYM.
23451 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23452 <bp-sym.h> and <bp-asm.h>.
23453 (memset): Don't use BP_SYM.
23454 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23455 <bp-sym.h> and <bp-asm.h>.
23456 (__memchr): Don't use BP_SYM.
23457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23458 <bp-sym.h> and <bp-asm.h>.
23459 (memcmp): Don't use BP_SYM.
23460 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23461 <bp-sym.h> and <bp-asm.h>.
23462 (memcpy): Don't use BP_SYM.
23463 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23464 <bp-sym.h> and <bp-asm.h>.
23465 (__mempcpy): Don't use BP_SYM.
23466 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23467 <bp-sym.h> and <bp-asm.h>.
23468 (__memrchr): Don't use BP_SYM.
23469 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23470 <bp-sym.h> and <bp-asm.h>.
23471 (memset): Don't use BP_SYM.
23472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23473 <bp-sym.h> and <bp-asm.h>.
23474 (__rawmemchr): Don't use BP_SYM.
23475 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23476 <bp-sym.h> and <bp-asm.h>.
23477 (__STRCMP): Don't use BP_SYM.
23478 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23479 <bp-sym.h> and <bp-asm.h>.
23480 (strchr): Don't use BP_SYM.
23481 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23482 <bp-sym.h> and <bp-asm.h>.
23483 (__strchrnul): Don't use BP_SYM.
23484 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23485 <bp-sym.h> and <bp-asm.h>.
23486 (strlen): Don't use BP_SYM.
23487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23488 <bp-sym.h> and <bp-asm.h>.
23489 (strncmp): Don't use BP_SYM.
23490 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23491 <bp-sym.h> and <bp-asm.h>.
23492 (__strnlen): Don't use BP_SYM.
23493 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23494 <bp-asm.h>.
23495 (__mpn_rshift): Don't use BP_SYM.
23496 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23497 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23498 <bp-sym.h> and <bp-asm.h>.
23499 (__sigsetjmp): Don't use BP_SYM.
23500 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23501 (L(start_addresses)): Don't use BP_SYM.
23502 (_start): Likewise.
23503 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23504 <bp-asm.h>.
23505 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23506 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23507 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23508 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23509 <bp-asm.h>.
23510 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23511 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23512 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23513 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23514 <bp-asm.h>.
23515 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23516 comments.
23517 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23518 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23519 <bp-asm.h>.
23520 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23521 FIXME comments.
23522 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23523 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23524 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23525 <bp-asm.h>.
23526 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23527 comment.
23528 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23529 and <bp-asm.h>.
23530 (strncmp): Don't use BP_SYM,
23531 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23532 <bp-asm.h>.
23533 (__mpn_sub_n): Don't use BP_SYM.
23534 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23535 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23536 and <bp-asm.h>.
23537 (__mpn_submul_1): Don't use BP_SYM.
23538 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23540 <bp-sym.h> and <bp-asm.h>.
23541 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23543 <bp-sym.h> and <bp-asm.h>.
23544 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23545 comment.
23546
8d19fe64
SP
235472013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23548
23549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23550 Use ZK to minimize writes to Z.
23551 (sub_magnitudes): Simplify code a bit.
23552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23553 Use ZK to minimize writes to Z.
23554 (sub_magnitudes): Simplify code a bit.
23555
85bd816a
RM
235562013-02-27 Roland McGrath <roland@hack.frob.com>
23557
23558 * csu/gmon-start.c: Add special exception to license text.
23559
b5977bf2
RH
235602013-02-27 Richard Henderson <rth@redhat.com>
23561
23562 * scripts/config.guess: Update from config.git.
23563 * scripts/config.sub: Likewise.
23564
11d6e2f2
SP
235652013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23566
09c14ed2
SP
23567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23568
a688864e
SP
23569 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23570
6295157a
SP
23571 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23572
b8de2202
SP
23573 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23574
11d6e2f2
SP
23575 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23576
7e80ddb8
RM
235772013-02-26 Roland McGrath <roland@hack.frob.com>
23578
23579 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23580 [$(build-shared = yes].
7e80ddb8 23581
7da6d9ed
SP
235822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23583
45f05884
SP
23584 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23585 (__mul): Reduce iterations for calculating mantissa.
23586
2236d359
SP
23587 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23588 MPTWO.
23589 (__mpranred): Likewise.
23590
7da6d9ed
SP
23591 [BZ #15160]
23592 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23593 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23594
b7688c42
PE
235952013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23596
23597 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23598 Define __attribute__.
23599
53a5c423
SP
236002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23601
23602 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23603 unused.
23604 * posix/regex_internal.h (__attribute): Remove.
23605 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23606 (re_string_context_at): Likewise.
23607 (bitset_not): Use __attribute__ and mark function as possibly
23608 unused.
23609 (bitset_merge): Likewise.
23610 (bitset_mask): Likewise.
23611 (re_string_char_size_at): Likewise.
23612 (re_string_wchar_at): Likewise.
23613 (re_string_elem_size_at): Likewise.
23614
60f5a8b5
SP
236152013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23616
2a983a2e
SP
23617 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23618 code.
23619 (cc32): Likewise.
23620
e69804d1
SP
23621 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23622 (__acr): Likewise.
23623 (__cpy): Likewise.
23624 (norm): Likewise.
23625 (denorm): Likewise.
23626 (__dbl_mp): Likewise.
23627 (add_magnitudes): Likewise.
23628 (sub_magnitudes): Likewise.
23629 (__mul): Likewise.
23630 (__inv): Likewise.
23631
2f22a1e8
SP
23632 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23633 style.
23634
8930ddc7
SP
23635 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23636 style.
23637
dc60cb11
SP
23638 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23639 code.
23640
60f5a8b5
SP
23641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23642 up changes with default code.
23643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23644 Likewise.
23645
b4d1fd33
AM
236462013-02-24 Allan McRae <allan@archlinux.org>
23647
faf6f8bc
AM
23648 * manual/socket.texi (The Internet Namespace): Order menu items
23649 to match that in the file.
23650
b4d1fd33
AM
23651 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23652 node listing of the info page menu.
23653
2366713d
JM
236542013-02-21 Joseph Myers <joseph@codesourcery.com>
23655
23656 [BZ #13550]
23657 * sysdeps/i386/bp-asm.h: Remove file.
23658 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23659 (PARMS): Do not use macros from bp-asm.h.
23660 (S1): Likewise.
23661 (S2): Likewise.
23662 (SIZE): Likewise.
23663 (__mpn_add_n): Do not use BP_SYM
23664 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23665 "bp-asm.h".
23666 (PARMS): Do not use macros from bp-asm.h.
23667 (S1): Likewise.
23668 (SIZE): Likewise.
23669 (__mpn_addmul_1): Do not use BP_SYM
23670 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23671 "bp-asm.h".
23672 (PARMS): Do not use macros from bp-asm.h.
23673 (SIGMSK): Likewise.
23674 (_setjmp): Likewise. Do not use BP_SYM.
23675 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23676 "bp-asm.h".
23677 (PARMS): Do not use macros from bp-asm.h.
23678 (SIGMSK): Likewise.
23679 (setjmp): Likewise. Do not use BP_SYM.
23680 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23681 "bp-asm.h".
23682 (PARMS): Do not use macros from bp-asm.h.
23683 (__frexp): Do not use BP_SYM.
23684 (frexp): Likewise.
23685 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23686 "bp-asm.h".
23687 (PARMS): Do not use macros from bp-asm.h.
23688 (__frexpf): Do not use BP_SYM.
23689 (frexpf): Likewise.
23690 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23691 "bp-asm.h".
23692 (PARMS): Do not use macros from bp-asm.h.
23693 (__frexpl): Do not use BP_SYM.
23694 (frexpl): Likewise.
23695 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23696 "bp-asm.h".
23697 (PARMS): Do not use macros from bp-asm.h.
23698 (__remquo): Do not use BP_SYM.
23699 (remquo): Likewise.
23700 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23701 "bp-asm.h".
23702 (PARMS): Do not use macros from bp-asm.h.
23703 (__remquof): Do not use BP_SYM.
23704 (remquof): Likewise.
23705 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23706 "bp-asm.h".
23707 (PARMS): Do not use macros from bp-asm.h.
23708 (__remquol): Do not use BP_SYM.
23709 (remquol): Likewise.
23710 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23711 "bp-asm.h".
23712 (PARMS): Do not use macros from bp-asm.h.
23713 (DEST): Likewise.
23714 (SRC): Likewise.
23715 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23716 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23717 "bp-asm.h".
23718 (PARMS): Do not use macros from bp-asm.h.
23719 (strlen): Do not use BP_SYM.
23720 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23721 "bp-asm.h".
23722 (PARMS): Do not use macros from bp-asm.h.
23723 (S1): Likewise.
23724 (S2): Likewise.
23725 (SIZE): Likewise.
23726 (__mpn_add_n): Do not use BP_SYM.
23727 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23728 "bp-asm.h".
23729 (PARMS): Do not use macros from bp-asm.h.
23730 (S1): Likewise.
23731 (SIZE): Likewise.
23732 (__mpn_addmul_1): Do not use BP_SYM.
23733 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23734 weak_alias.
23735 (bzero): Likewise.
23736 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23737 "bp-asm.h".
23738 (PARMS): Do not use macros from bp-asm.h.
23739 (S): Likewise.
23740 (SIZE): Likewise.
23741 (__mpn_lshift): Do not use BP_SYM.
23742 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23743 "bp-asm.h".
23744 (PARMS): Do not use macros from bp-asm.h.
23745 (DEST): Likewise.
23746 (SRC): Likewise.
23747 (LEN): Likewise.
23748 (memcpy): Likewise. Do not use BP_SYM.
23749 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23750 libc_hidden_def and weak_alias.
23751 (mempcpy): Do not use BP_SYM in weak_alias.
23752 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23753 "bp-asm.h".
23754 (PARMS): Do not use macros from bp-asm.h.
23755 (DEST): Likewise.
23756 (LEN): Likewise.
23757 [!BZERO_P] (CHR): Likewise.
23758 (memset): Likewise. Do not use BP_SYM.
23759 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23760 "bp-asm.h".
23761 (PARMS): Do not use macros from bp-asm.h.
23762 (S1): Likewise.
23763 (SIZE): Likewise.
23764 (__mpn_mul_1): Do not use BP_SYM.
23765 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23766 "bp-asm.h".
23767 (PARMS): Do not use macros from bp-asm.h.
23768 (S): Likewise.
23769 (SIZE): Likewise.
23770 (__mpn_rshift): Do not use BP_SYM.
23771 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23772 "bp-asm.h".
23773 (PARMS): Do not use macros from bp-asm.h.
23774 (STR): Likewise.
23775 (CHR): Likewise.
23776 (strchr): Likewise. Do not use BP_SYM.
23777 (index): Do not use BP_SYM in weak_alias.
23778 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23779 "bp-asm.h".
23780 (PARMS): Do not use macros from bp-asm.h.
23781 (DEST): Likewise.
23782 (SRC): Likewise.
23783 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23784 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23785 "bp-asm.h".
23786 (PARMS): Do not use macros from bp-asm.h.
23787 (strlen): Do not use BP_SYM.
23788 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23789 "bp-asm.h".
23790 (PARMS): Do not use macros from bp-asm.h.
23791 (S1): Likewise.
23792 (S2): Likewise.
23793 (SIZE): Likewise.
23794 (__mpn_sub_n): Do not use BP_SYM.
23795 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23796 "bp-asm.h".
23797 (PARMS): Do not use macros from bp-asm.h.
23798 (S1): Likewise.
23799 (SIZE): Likewise.
23800 (__mpn_submul_1): Do not use BP_SYM.
23801 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23802 "bp-asm.h".
23803 (PARMS): Do not use macros from bp-asm.h.
23804 (S1): Likewise.
23805 (S2): Likewise.
23806 (SIZE): Likewise.
23807 (__mpn_add_n): Do not use BP_SYM.
23808 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23809 weak_alias.
23810 (bzero): Likewise.
23811 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23812 "bp-asm.h".
23813 (PARMS): Do not use macros from bp-asm.h.
23814 (BLK2): Likewise.
23815 (LEN): Likewise.
23816 (memcmp): Do not use BP_SYM.
23817 (bcmp): Do not use BP_SYM in weak_alias.
23818 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
23825 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23826 "bp-asm.h".
23827 (PARMS): Do not use macros from bp-asm.h.
23828 (DEST): Likewise.
23829 (SRC): Likewise.
23830 (LEN): Likewise.
23831 (memmove): Likewise. Do not use BP_SYM.
23832 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23833 "bp-asm.h".
23834 (PARMS): Do not use macros from bp-asm.h.
23835 (DEST): Likewise.
23836 (SRC): Likewise.
23837 (LEN): Likewise.
23838 (__mempcpy): Likewise. Do not use BP_SYM.
23839 (mempcpy): Do not use BP_SYM in weak_alias.
23840 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23841 "bp-asm.h".
23842 (PARMS): Do not use macros from bp-asm.h.
23843 (DEST): Likewise.
23844 (LEN): Likewise.
23845 [!BZERO_P] (CHR): Likewise.
23846 (memset): Likewise. Do not use BP_SYM.
23847 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23848 "bp-asm.h".
23849 (PARMS): Do not use macros from bp-asm.h.
23850 (STR2): Likewise.
23851 (strcmp): Do not use BP_SYM.
23852 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23853 "bp-asm.h".
23854 (PARMS): Do not use macros from bp-asm.h.
23855 (STR): Likewise.
23856 (DELIM): Likewise.
23857 [USE_AS_STRTOK_R] (SAVE): Likewise.
23858 (FUNCTION): Likewise. Do not use BP_SYM.
23859 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23860 aliases.
23861 (strtok_r): Likewise.
23862 (__GI___strtok_r): Likewise.
23863 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23864 (PARMS): Do not use macros from bp-asm.h.
23865 (S): Likewise.
23866 (SIZE): Likewise.
23867 (__mpn_lshift): Do not use BP_SYM.
23868 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23869 (PARMS): Do not use macros from bp-asm.h.
23870 (STR): Likewise.
23871 (CHR): Likewise.
23872 (__memchr): Do not use BP_SYM.
23873 (memchr): Do not use BP_SYM in weak_alias.
23874 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23875 (PARMS): Do not use macros from bp-asm.h.
23876 (BLK2): Likewise.
23877 (LEN): Likewise.
23878 (memcmp): Do not use BP_SYM.
23879 (bcmp): Do not use BP_SYM in weak_alias.
23880 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23881 (PARMS): Do not use macros from bp-asm.h.
23882 (S1): Likewise.
23883 (SIZE): Likewise.
23884 (__mpn_mul_1): Do not use BP_SYM.
23885 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23886 "bp-asm.h".
23887 (PARMS): Do not use macros from bp-asm.h.
23888 (STR): Likewise.
23889 (CHR): Likewise.
23890 (__rawmemchr): Do not use BP_SYM.
23891 (rawmemchr): Do not use BP_SYM in weak_alias.
23892 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23893 (PARMS): Do not use macros from bp-asm.h.
23894 (S): Likewise.
23895 (SIZE): Likewise.
23896 (__mpn_rshift): Do not use BP_SYM.
23897 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23898 (PARMS): Do not use macros from bp-asm.h.
23899 (SIGMSK): Likewise.
23900 (__sigsetjmp): Likewise. Do not use BP_SYM.
23901 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23902 (_start): Do not use BP_SYM.
23903 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23904 (PARMS): Do not use macros from bp-asm.h.
23905 (DEST): Likewise.
23906 (SRC): Likewise.
23907 (__stpcpy): Likewise. Do not use BP_SYM.
23908 (stpcpy): Do not use BP_SYM in weak_alias.
23909 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23910 "bp-asm.h".
23911 (PARMS): Do not use macros from bp-asm.h.
23912 (DEST): Likewise.
23913 (SRC): Likewise.
23914 (LEN): Likewise.
23915 (__stpncpy): Likewise. Do not use BP_SYM.
23916 (stpncpy): Do not use BP_SYM in weak_alias.
23917 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23918 (PARMS): Do not use macros from bp-asm.h.
23919 (STR): Likewise.
23920 (CHR): Likewise.
23921 (strchr): Likewise. Do not use BP_SYM.
23922 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23923 "bp-asm.h".
23924 (PARMS): Do not use macros from bp-asm.h.
23925 (STR): Likewise.
23926 (CHR): Likewise.
23927 (__strchrnul): Likewise. Do not use BP_SYM.
23928 (strchrnul): Do not use BP_SYM in weak_alias.
23929 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23930 "bp-asm.h".
23931 (PARMS): Do not use macros from bp-asm.h.
23932 (STOP): Likewise.
23933 (strcspn): Do not use BP_SYM.
23934 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23935 "bp-asm.h".
23936 (PARMS): Do not use macros from bp-asm.h.
23937 (STR): Likewise.
23938 (STOP): Likewise.
23939 (strpbrk): Likewise. Do not use BP_SYM.
23940 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23941 "bp-asm.h".
23942 (PARMS): Do not use macros from bp-asm.h.
23943 (STR): Likewise.
23944 (CHR): Likewise.
23945 (strrchr): Likewise. Do not use BP_SYM.
23946 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23947 (PARMS): Do not use macros from bp-asm.h.
23948 (SKIP): Likewise.
23949 (strspn): Do not use BP_SYM.
23950 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23951 (PARMS): Do not use macros from bp-asm.h.
23952 (STR): Likewise.
23953 (DELIM): Likewise.
23954 (SAVE): Likewise.
23955 (FUNCTION): Likewise. Do not use BP_SYM.
23956 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23957 aliases.
23958 (strtok_r): Likewise.
23959 (__GI___strtok_r): Likewise.
23960 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23961 (PARMS): Do not use macros from bp-asm.h.
23962 (S1): Likewise.
23963 (S2): Likewise.
23964 (SIZE): Likewise.
23965 (__mpn_sub_n): Do not use BP_SYM.
23966 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23967 "bp-asm.h".
23968 (PARMS): Do not use macros from bp-asm.h.
23969 (S1): Likewise.
23970 (SIZE): Likewise.
23971 (__mpn_submul_1): Do not use BP_SYM.
23972 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23973 <bp-sym.h>.
23974 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23975 and <bp-asm.h>.
23976 (PARMS): Do not use macros from bp-asm.h.
23977 (FLAGS): Likewise.
23978 (PTID): Likewise.
23979 (TLS): Likewise.
23980 (CTID): Likewise.
23981 (__clone): Do not use BP_SYM.
23982 (clone): Do not use BP_SYM in weak_alias.
23983 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23984 and <bp-asm.h>.
23985 (PARMS): Do not use macros from bp-asm.h.
23986 (LEN): Likewise.
23987 (__mmap64): Do not use BP_SYM.
23988 (mmap64): Do not use BP_SYM in weak_alias.
23989 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23990 <bp-sym.h> and <bp-asm.h>.
23991 (PARMS): Do not use macros from bp-asm.h.
23992 (__posix_fadvise64_l64): Do not use BP_SYM.
23993 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23994 (PARMS): Do not use macros from bp-asm.h.
23995 (NSOPS): Likewise.
23996 (semtimedop): Do not use BP_SYM.
23997 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23998 and <bp-asm.h>.
23999
582a3cff
AM
240002013-02-21 Allan McRae <allan@archlinux.org>
24001
24002 * manual/message.texi (Charset conversion in gettext):
24003 Move @end statement to beginning of line.
24004
bab8a695
SP
240052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24006
80945231
SP
24007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24008 static.
24009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24010 Likewise.
24011
bab8a695
SP
24012 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24013 (denorm): Likewise.
24014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24016
e21d7aa7
AK
240172013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24018
24019 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24020 tail-call to the resolved function if pltexit isn't needed.
24021
4c7a4263
SP
240222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24023
24024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24025 or Y being zero as being unlikely.
24026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24027 Likewise.
24028
41f49342
CD
240292013-02-20 Carlos O'Donell <carlos@redhat.com>
24030
24031 * manual/nss.texi (System Databases and Name Service Switch):
24032 Remove frobnicate @pxref.
24033
50022a93
TS
240342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24035
24036 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24037 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24038
08cbd996
PM
240392013-02-20 Petr Machata <pmachata@redhat.com>
24040
24041 * elf/elf.h (R_ARM_TARGET1): New macro.
24042 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24043 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24044 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24045 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24046 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24047 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24048 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24049 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24050 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24051 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24052 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24053 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24054 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24055 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24056 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24057 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24058 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24059 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24060 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24061 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24062 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24063 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24064 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24065 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24066 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24067 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24068 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24069 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24070 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24071 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24072 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24073 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24074 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24075 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24076 (R_ARM_THM_GOT_BREL12): Likewise.
24077 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24078 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24079 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24080 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24081 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24082 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24083 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24084 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24085 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24086
c7b275d6
TS
240872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24088
24089 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24090 __attribute_used__ to __attribute__ ((unused)).
24091
20cd7fb3
SP
240922013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24093
24094 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24095 powerpc mpa.c.
24096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24097 comment formatting.
24098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24099
92945b52
JM
241002013-02-19 Joseph Myers <joseph@codesourcery.com>
24101
24102 [BZ #13550]
24103 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24104 Remove macro.
24105 (ENTER): Remove both macro definitions.
24106 (LEAVE): Likewise.
24107 (CHECK_BOUNDS_LOW): Likewise.
24108 (CHECK_BOUNDS_HIGH): Likewise.
24109 (CHECK_BOUNDS_BOTH): Likewise.
24110 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24111 (RETURN_BOUNDED_POINTER): Likewise.
24112 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24113 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24114 (POP_ERRNO_LOCATION_RETURN): Likewise.
24115 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24116 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24117 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24118 macros.
24119 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24120 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24121 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24122 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24123 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24124 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24125 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24126 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24127 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24128 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24129 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24130 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24131 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24132 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24133 removed macros.
24134 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24135 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24136 macros.
24137 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24138 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24139 * sysdeps/i386/i586/memset.S (memset): Likewise.
24140 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24141 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24142 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24143 macros.
24144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24145 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24146 Change uses of L(2) to L(out).
24147 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24148 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24149 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24150 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24151 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24152 removed macros.
24153 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24154 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24155 macros.
24156 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24157 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24158 (RETURN): Do not use macro LEAVE.
24159 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24160 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24161 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24162 * sysdeps/i386/i686/memset.S (memset): Likewise.
24163 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24164 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24165 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24166 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24167 Likewise.
24168 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24169 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24170 L(1_2) and L(1_3) into L(1).
24171 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24172 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24173 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24174 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24175 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24176 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24177 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24178 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24179 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24180 macros.
24181 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24182 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24183 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24184 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24185 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24186 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24187 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24188 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24189 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24190 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24191 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24192 * sysdeps/i386/strspn.S (strspn): Likewise.
24193 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24194 conditional code.
24195 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24196 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24197 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24198 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24199 L(1_3) into L(1_1).
24200 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24201 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24202 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24203 macros.
24204 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24205
2389741a
JJ
242062013-02-19 Jakub Jelinek <jakub@redhat.com>
24207
24208 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24209 macro.
24210
2016b3cd
SP
242112013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24212
e4f22324
SP
24213 * math/atest-exp.c (exp_mpn): Remove ROUND.
24214 * math/atest-exp2.c (exp_mpn): Likewise.
24215 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24216
2016b3cd
SP
24217 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24218 * stdlib/tst-tls-atexit-lib.c: Likewise.
24219 * stdlib/tst-tls-atexit.c: Likewise.
24220
4be9b544
MF
242212013-02-18 Mike Frysinger <vapier@gentoo.org>
24222
24223 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24224 and __attribute_alloc_size__.
24225
2f62b9ee
MF
242262013-02-18 Mike Frysinger <vapier@gentoo.org>
24227
24228 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24229 __attribute_alloc_size__.
24230 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24231 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24232
6ff444c4
MF
242332013-02-18 Mike Frysinger <vapier@gentoo.org>
24234
24235 * include/programs/xmalloc.h: New file.
24236 * catgets/gencat.c: Include it.
24237 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24238 * elf/pldd.c: Likewise.
24239 * iconv/iconv_charmap.c: Likewise.
24240 * iconv/iconvconfig.c: Likewise.
24241 * iconv/strtab.c: Likewise.
24242 * locale/programs/locale.c: Likewise.
24243 * locale/programs/localedef.h: Likewise.
24244 * locale/programs/simple-hash.c: Likewise.
24245 * nscd/nscd.h: Likewise.
24246 * nss/makedb.c: Likewise.
24247 * sysdeps/generic/ldconfig.h: Likewise.
24248
be179c8a
SP
242492013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24250
ba384f6e
SP
24251 * Versions.def: Add GLIBC_2.18.
24252 * include/link.h (struct link_map): New member l_tls_dtor_count.
24253 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24254 (__call_tls_dtors): Likewise.
24255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24256 __cxa_thread_atexit_impl.
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24258 Likewise.
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24260 Likewise.
24261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24262 Likewise.
24263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24264 Likewise.
24265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24267 Likewise.
24268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24269 Likewise.
24270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24272 Likewise.
24273 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24274 (tests): Add test case tst-tls-atexit.
24275 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24276 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24277 (GLIBC_PRIVATE): Add __call_tls_dtors.
24278 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24279 for libstdc++.
24280 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24281 * stdlib/tst-tls-atexit.c: New test case.
24282 * stdlib/tst-tls-atexit-lib.c: New test case.
24283
ffaa74cf 24284 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24285
be179c8a
SP
24286 * elf/Versions (ld): Add _dl_find_dso_for_object.
24287 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24288 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24289 (dl_open_worker): Use _dl_find_dso_for_object.
24290 * elf/dl-sym.c (do_sym): Likewise.
24291 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24292
f78b5caa
AK
242932013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24294
24295 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24296 Syntactic changes only.
24297 (_dl_runtime_profile): Do a tail-call to the resolved function.
24298
29691210
JM
242992013-02-17 Joseph Myers <joseph@codesourcery.com>
24300
24301 [BZ #13550]
24302 * sysdeps/x86_64/bp-asm.h: Remove file.
24303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24304 <bp-sym.h> and <bp-asm.h>.
24305 (__clone): Do not use BP_SYM.
24306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24307 <bp-sym.h> and <bp-asm.h>.
24308 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24309 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24310 "bp-asm.h".
24311 (_setjmp): Do not use BP_SYM.
24312 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24313 "bp-asm.h".
24314 (setjmp): Do not use BP_SYM.
24315 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24316 libc_hidden_def.
24317 (mempcpy): Do not use BP_SYM in weak_alias.
24318 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24319 "bp-asm.h".
24320 (strchr): Do not use BP_SYM.
24321 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24322 "bp-asm.h".
24323 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24324 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24325 (_start): Do not use BP_SYM.
24326 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24327 "bp-asm.h".
24328 (strcat): Do not use BP_SYM.
24329 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24330 "bp-asm.h".
24331 (STRCMP): Do not use BP_SYM.
24332 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24333 "bp-asm.h".
24334 (STRCPY): Do not use BP_SYM.
24335 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24336 "bp-asm.h".
24337 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24338 "bp-asm.h".
24339 (FUNCTION): Do not use BP_SYM.
24340 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24341 weak_alias.
24342 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24343
f238fd19
AJ
243442013-02-17 Andreas Jaeger <aj@suse.de>
24345
24346 * time/Versions: Sort entries.
24347 * string/Versions: Likewise.
24348 * resolv/Versions: Likewise.
24349 * posix/Versions: Likewise.
24350 * iconv/Versions: Likewise.
24351 * elf/Versions: Likewise.
24352 * wcsmbs/Versions: Likewise.
24353
bd07f23c 243542013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24355
22af19f9
SP
24356 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24357 loop termination condition.
24358
4709fe76
SP
24359 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24360 variable to calculate EZ.
24361 (__sqr): Likewise.
2d0e0f29
SP
24362
24363 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24364 the lower precision input.
24365
daaa7713
JM
243662013-02-15 Joseph Myers <joseph@codesourcery.com>
24367
24368 [BZ #13550]
24369 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24370 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24371 (run-via-rtld-prefix): Do not handle %-bp tests.
24372 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24373 (all-object-suffixes): Remove .ob.
24374 (bppfx): Remove variable.
24375 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24376 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24377 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24378 [$(build-bounded) = yes] (libtype.ob): Likewise.
24379 * Makerules (elide-routines.ob): Remove variable.
24380 (do-tests-clean): Do not handle *-bp.out.
24381 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24382 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24383 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24384 (tests): Do not include $(tests-bp.out).
24385 (xtests): Do not include $(xtests-bp.out).
24386 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24387 [$(build-bounded) = yes] ($(addprefix
24388 $(objpfx),$(binaries-bounded))): Remove rule.
24389 ($(objpfx)%-bp.out): Remove rule.
24390 * config.make.in (build-bounded): Remove variable.
24391 * crypt/Makefile [$(build-bounded) = yes]
24392 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24393 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24394 append to variable.
24395 [$(build-bounded) = yes] (install-lib): Likewise.
24396 [$(build-bounded) = yes] (generated): Likewise.
24397 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24398 Remove rule.
24399 * intl/Makefile [$(build-bounded) = yes]
24400 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24401 * math/Makefile [$(build-bounded) = yes]
24402 ($(tests:%=$(objpfx)%-bp): Likewise.
24403 * misc/Makefile [$(build-bounded) = yes]
24404 ($(objpfx)tst-tsearch-bp): Likewise.
24405 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24406 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24407 Remove dependency.
24408 * string/Makefile (o-objects.ob): Remove variable.
24409 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24410 (CFLAGS-.ob): Remove variable.
24411 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24412 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24413 both definitions of variable.
24414 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24415 (ASFLAGS-.ob): Remove variable.
24416
e97ed6dd
JM
244172013-02-14 Joseph Myers <joseph@codesourcery.com>
24418
2bdd4ca6
JM
24419 [BZ #13550]
24420 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24421 Remove __BOUNDED_POINTERS__ from condition.
24422 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24423 * string/bits/string2.h [!__NO_STRING_INLINES &&
24424 !__BOUNDED_POINTERS__]: Likewise.
24425 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24426 Likewise.
24427 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24428 Remove conditional code.
24429 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24430 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24431 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24432 condition.
24433
e97ed6dd
JM
24434 [BZ #13550]
24435 * csu/libc-start.c: Do not include <bp-sym.h>.
24436 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24437 * elf/dl-open.c: Do not include <bp-sym.h>.
24438 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24439 * math/fegetenv.c: Do not include <bp-sym.h>.
24440 (fegetenv): Do not use BP_SYM in versioned symbols.
24441 * nptl/sysdeps/pthread/bits/libc-lockP.h
24442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24443 <bp-sym.h>.
24444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24445 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24447 (__pthread_mutex_destroy): Likewise.
24448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24449 (__pthread_mutex_lock): Likewise.
24450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24451 (__pthread_mutex_trylock): Likewise.
24452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24453 (__pthread_mutex_unlock): Likewise.
24454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24455 (__pthread_mutexattr_init): Likewise.
24456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24457 (__pthread_mutexattr_destroy): Likewise.
24458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24459 (__pthread_mutexattr_settype): Likewise.
24460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24461 (__pthread_rwlock_init): Likewise.
24462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24463 (__pthread_rwlock_destroy): Likewise.
24464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24465 (__pthread_rwlock_rdlock): Likewise.
24466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24467 (__pthread_rwlock_tryrdlock): Likewise.
24468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24469 (__pthread_rwlock_wrlock): Likewise.
24470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24471 (__pthread_rwlock_trywrlock): Likewise.
24472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24473 (__pthread_rwlock_unlock): Likewise.
24474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24475 (__pthread_key_create): Likewise.
24476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24477 (__pthread_setspecific): Likewise.
24478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24479 (__pthread_getspecific): Likewise.
24480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24481 Likewise.
24482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24483 (_pthread_cleanup_push_defer): Likewise.
24484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24485 (_pthread_cleanup_pop_restore): Likewise.
24486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24487 (pthread_setcancelstate): Likewise.
24488 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24489 <bp-sym.h>.
24490 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24491 (memchr): Do not use BP_SYM in weak_alias.
24492 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24493 (fegetenv): Do not use BP_SYM in versioned symbols.
24494 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24495 (fesetenv): Do not use BP_SYM in versioned symbols.
24496 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24497 (feupdateenv): Do not use BP_SYM in versioned symbols.
24498 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24499 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24500 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24501 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24502 (open64): Do not use BP_SYM in weak_alias.
24503 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24504 (fegetenv): Do not use BP_SYM in versioned symbols.
24505 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24506 (fesetenv): Do not use BP_SYM in versioned symbols.
24507 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24508 (feupdateenv): Do not use BP_SYM in versioned symbols.
24509 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24510 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24511 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24512 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24513 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24514 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24516 <bp-sym.h>.
24517 (__libc_start_main): Do not use BP_SYM.
24518
d6752ccd
SP
245192013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24520
cb57ce60
SP
24521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24522 redundant return line.
24523 (norm): Likewise.
24524 (denorm): Likewise.
24525 (dbl_mp): Likewise.
24526 (sub_magnitudes): Likewise.
24527 (__add): Likewise.
24528 (__sub): Likewise.
24529 (__mul): Likewise.
24530 (__inv): Likewise.
24531 (__dvd): Likewise.
24532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24533 (norm): Likewise.
24534 (denorm): Likewise.
24535 (dbl_mp): Likewise.
24536 (sub_magnitudes): Likewise.
24537 (__add): Likewise.
24538 (__sub): Likewise.
24539 (__mul): Likewise.
24540 (__inv): Likewise.
24541 (__dvd): Likewise.
24542
f414520d
SP
24543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24544 instead of __mul.
24545 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24546 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24547 (cc32): Likewise.
24548
d6752ccd
SP
24549 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24550 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24552 of __mul for squares.
24553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24554 function
24555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24556 Likewise.
24557 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24558 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24559
70d9946a
JM
245602013-02-13 Joseph Myers <joseph@codesourcery.com>
24561
24562 [BZ #13550]
24563 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24564 code.
24565 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24566 prototype or function definition. Rename ubp_* variables and
24567 parameters. Remove argv definitions conditional on
24568 [__BOUNDED_POINTERS__].
24569 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24570 * elf/dl-runtime.c (_dl_fixup): Likewise.
24571 * include/set-hooks.h (RUN_HOOK): Likewise.
24572 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24573 definition.
24574 * string/strcpy.c (strcpy): Do not use __unbounded.
24575 * sysdeps/generic/frame.h (struct layout): Likewise.
24576 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24577 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24578 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24579 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24580 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24581 (__backtrace): Likewise.
24582 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24583 use __ptrvalue.
24584 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24585 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24586 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24587 Likewise.
24588 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24589 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24590 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24591 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24592 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24593 Do not use __unbounded.
24594 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24595 Rename __unboundedrlimits parameter to rlimits in prototype.
24596 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24597 Do not use __unbounded.
24598 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24599 not use __ptrvalue.
24600 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24601 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24602 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24603 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24604 __ptrvalue or __unbounded.
24605 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24606 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24607 use __unbounded.
24608 (__new_msgctl): Do not use __ptrvalue.
24609 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24610 __unbounded.
24611 (__libc_msgrcv): Do not use __ptrvalue.
24612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24613 startup_info): Do not use __unbounded.
24614 (__libc_start_main): Likewise. Rename ubp_* variables and
24615 parameters. Remove argv definitions conditional on
24616 [__BOUNDED_POINTERS__].
24617 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24618 __ptrvalue.
24619 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24620 use __unbounded.
24621 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24622 or __ptrvalue.
24623 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24624 use __unbounded.
24625 (__new_shmctl): Do not use __ptrvalue.
24626 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24627 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24628 Likewise.
24629 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24630 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24631 (__libc_sigaction): Likewise.
24632 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24633 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24634 Likewise.
24635 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24636
cc7834d6
OB
246372013-02-13 Ondřej Bílka <neleai@seznam.cz>
24638
ffb1ec7b 24639 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24640
24641 * string/mempcpy.c: Implement by calling memcpy.
24642
bdf02814
SP
246432013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24644
c2af38aa
SP
24645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24646
4e92d59e
SP
24647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24648 evaluation.
24649
909279a5
SP
24650 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24651 values in the mantissa.
24652
bdf02814
SP
24653 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24654 minimize writes to Z.
24655 (sub_magnitudes): Simplify code a bit.
24656
cd525923
RM
246572013-02-12 Roland McGrath <roland@hack.frob.com>
24658
24659 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24660 from the message. The linker prefixes all warnings with that already.
24661
7e2f0d2d
AS
246622013-02-12 Andreas Schwab <schwab@suse.de>
24663
a445af0b
AS
24664 [BZ #15078]
24665 * posix/regexec.c (extend_buffers): Add parameter min_len.
24666 (check_matching): Pass minimum needed length.
24667 (clean_state_log_if_needed): Likewise.
24668 (get_subexp): Likewise.
24669 * posix/Makefile (tests): Add bug-regex34.
24670 (bug-regex34-ENV): Define.
24671 * posix/bug-regex34.c: New file.
24672
7e2f0d2d
AS
24673 [BZ #11561]
24674 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24675 elements compare against the byte sequence of it, not its name.
24676 * posix/Makefile (tests): Add bug-regex35.
24677 (bug-regex35-ENV): Define.
24678 * posix/bug-regex35.c: New file.
24679
a175b684
TV
246802013-02-11 Tom de Vries <tom@codesourcery.com>
24681
24682 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24683 comment.
24684 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24685 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24686 (CHECK_EOL): Add undef.
24687
310998fe 246882013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24689
24690 * bits/stdlib-bsearch.h: New file.
24691 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24692 * stdlib/stdlib.h: Likewise.
41eda41d 24693
8ded91fb
RM
246942013-02-11 Roland McGrath <roland@hack.frob.com>
24695
24696 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24697 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24698 declaration.
24699 * manual/search.texi (Array Search Function): Add missing const in
24700 lfind prototype.
24701 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24702 declaration to use rlim_t.
24703 (Basic Scheduling Functions): Remove erroneous const from
24704 sched_getparam prototype. Remove erroneous * from
24705 sched_get_priority_max and sched_get_priority_min prototypes.
24706 (Resource Usage): Fix summary @comment on vtimes to refer to
24707 sys/vtimes.h rather than vtimes.h.
24708 Add missing *s in vtimes prototype.
24709 (Limits on Resources): Fix ulimit prototype to return long int.
24710 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24711 prototypes to use long int rather than double.
24712 (BSD Random): Fix initstate and setstate to use char *, not void *.
24713 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24714 prototype to make second argument 'struct aiocb64 *const[]'.
24715 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24716 (Status of AIO Operations): Remove erroneous const in aio_return and
24717 aio_return64 prototypes.
24718 (Synchronizing I/O): Fix sync prototype to return void.
24719 * manual/startup.texi (Suboptions): Remove an erroneous const in
24720 getsubopt prototype.
24721 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24722 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24723 use size_t rather than int.
24724 (Scanning All Users): Likewise for getpwent_r.
24725 (Setting Groups): Add missing const to setgroups prototype.
24726 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24727 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24728 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24729 'const void *' rather than 'const char *'.
24730 (Host Address Functions): Likewise for inet_ntop.
24731 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24732 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24733 ssize_t for return value.
24734 (Sending Data): Likewise for send, sendto, sendmsg.
24735 (Socket Option Functions): Add a missing const in setsockopt prototype.
24736 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24737 use wchar_t for the argument.
24738 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24739 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24740 take no arguments.
24741 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24742 double/float/long double for second argument.
24743 Fix return types of significand, significandf, significandl.
24744 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24745 argument in fchmod prototype.
24746 (File Owner): Use uid_t and gid_t in fchown prototype.
24747 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24748 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24749 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24750 use 'const struct dirent **' as argument types to CMP function pointer
24751 argument.
24752 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24753 (File Times): Fix summary magic @comment for struct utimbuf and utime
24754 to refer to utime.h, not time.h.
24755 * manual/string.texi (Argz Functions): Add missing const in
24756 argz_extract and argz_next prototypes.
24757 (Finding Tokens in a String): Likewise for basename.
24758 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24759 (Copying and Concatenation): Fix typo in wmemmove prototype.
24760 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24761 (Signal Stack): Remove erroneous const in sigstack prototype.
24762 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24763 prototype.
24764 (Simple Calendar Time): Likewise for stime.
24765 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24766 prototype.
24767 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24768 say sys/sysctl.h instead.
24769 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24770 and vsyslog prototypes.
24771
fe77fe6d
TV
247722013-02-11 Tom de Vries <tom@codesourcery.com>
24773
24774 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24775 Remove.
24776
3a09b620
RM
247772013-02-11 Roland McGrath <roland@hack.frob.com>
24778
24779 * misc/sys/mman.h: Fix typo in mremap comment.
24780
550a0b89
RM
247812013-02-08 Roland McGrath <roland@hack.frob.com>
24782
24783 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24784 the '\0' terminator.
24785
a2da1673
JM
247862013-02-08 Joseph Myers <joseph@codesourcery.com>
24787
24788 [BZ #13550]
24789 * debug/segfault.c: Don't include <bp-checks.h>.
24790 * sysdeps/generic/bp-checks.h: Remove file.
24791 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24792 (__GETDENTS): Don't use CHECK_N.
24793 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24794 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24795 (__getgroups): Don't use CHECK_N.
24796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24797 (setgroups): Don't use CHECK_N.
24798 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24799 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24800 (__libc_msgrcv): Don't use CHECK_N.
24801 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24802 (__libc_msgsnd): Don't use CHECK_N.
24803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24804 <bp-checks.h>.
24805 (__libc_pread): Don't use CHECK_N.
24806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24807 include <bp-checks.h>.
24808 (__libc_pread64): Don't use CHECK_N.
24809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24810 include <bp-checks.h>.
24811 (__libc_pwrite): Don't use CHECK_N.
24812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24813 include <bp-checks.h>.
24814 (__libc_pwrite64): Don't use CHECK_N.
24815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24816 <bp-checks.h>.
24817 (__libc_pread): Don't use CHECK_N.
24818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24819 include <bp-checks.h>.
24820 (__libc_pread64): Don't use CHECK_N.
24821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24822 include <bp-checks.h>.
24823 (__libc_pwrite): Don't use CHECK_N.
24824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24825 include <bp-checks.h>.
24826 (__libc_pwrite64): Don't use CHECK_N.
24827 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24828 (do_pread): Don't use CHECK_N.
24829 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24830 (do_pread64): Don't use CHECK_N.
24831 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24832 (do_pwrite): Don't use CHECK_N.
24833 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24834 (do_pwrite64): Don't use CHECK_N.
24835 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24836 (__libc_readv): Don't use CHECK_N.
24837 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24838 (semop): Don't use CHECK_N.
24839 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24840 <bp-checks.h>.
24841 (semtimedop): Don't use CHECK_N.
24842 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24843 (__libc_pread): Don't use CHECK_N.
24844 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24845 <bp-checks.h>.
24846 (__libc_pread64): Don't use CHECK_N.
24847 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24848 <bp-checks.h>.
24849 (__libc_pwrite): Don't use CHECK_N.
24850 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24851 <bp-checks.h>.
24852 (__libc_pwrite64): Don't use CHECK_N.
24853 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24854 <bp-checks.h>.
24855 (__libc_msgrcv): Don't use CHECK_N.
24856 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24857 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24858 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24859 (__libc_writev): Don't use CHECK_N.
24860
b84660a8
RM
248612013-02-08 Roland McGrath <roland@hack.frob.com>
24862
7f3e75f8
RM
24863 * string/strcpy.c: Removed unused variable.
24864
b84660a8
RM
24865 * Makeconfig (+sysdep-includes): Define with := rather than =.
24866 Use an existing include/ subdir of each sysdeps dir before it.
24867
471514d3
CD
248682013-02-08 Carlos O'Donell <carlos@redhat.com>
24869
24870 * nscd/connection.c (register_traced_file): Comment function.
24871 [HAVE_INOTIFY] (union __inev): Define.
24872 [HAVE_INOTIFY] (inotify_check_files): New function.
24873 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24874 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24875 clear_db_cache.
24876 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24877
b2d3c3be
CD
248782013-02-08 Carlos O'Donell <carlos@redhat.com>
24879
24880 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24881 loaded if not already and that a failure is permanent.
24882
b39949d2
CD
248832013-02-08 Carlos O'Donell <carlos@redhat.com>
24884
ddacd1db 24885 [BZ #15006]
b39949d2
CD
24886 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24887 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24888
b2c9eff4
JM
248892013-02-08 Joseph Myers <joseph@codesourcery.com>
24890
f3aae3f3
JM
24891 [BZ #13550]
24892 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24893 (CHECK_1_NULL_OK): Likewise.
24894 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24895 (__fxstat): Do not use CHECK_1.
24896 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24897 <bp-checks.h>.
24898 (___fxstat64): Do not use CHECK_1.
24899 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24900 <bp-checks.h>.
24901 (__fxstatat): Do not use CHECK_1.
24902 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24903 <bp-checks.h>.
24904 (__fxstatat64): Do not use CHECK_1.
24905 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24906 <bp-checks.h>.
24907 (__fxstat): Do not use CHECK_1.
24908 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24909 <bp-checks.h>.
24910 (__fxstatat): Do not use CHECK_1.
24911 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24912 <bp-checks.h>.
24913 (__getresgid): Do not use CHECK_1.
24914 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24915 <bp-checks.h>.
24916 (__getresuid): Do not use CHECK_1.
24917 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24918 <bp-checks.h>.
24919 (__lxstat): Do not use CHECK_1.
24920 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24921 <bp-checks.h>.
24922 (__old_msgctl): Do not use CHECK_1.
24923 (__new_msgctl): Likewise.
24924 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24925 <bp-checks.h>.
24926 (__new_setrlimit): Do not use CHECK_1.
24927 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24928 <bp-checks.h>.
24929 (__old_shmctl): Do not use CHECK_1.
24930 (__new_shmctl): Likewise.
24931 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24932 <bp-checks.h>.
24933 (__xstat): Do not use CHECK_1.
24934 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24935 (__lxstat): Do not use CHECK_1.
24936 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24937 <bp-checks.h>.
24938 (___lxstat64): Do not use CHECK_1.
24939 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24940 (__old_msgctl): Do not use CHECK_1.
24941 (__new_msgctl): Likewise.
24942 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24943 <bp-checks.h>.
24944 (__gettimeofday): Do not use CHECK_1.
24945 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24946 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24947 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24948 <bp-checks.h>.
24949 (__gettimeofday): Do not use CHECK_1.
24950 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24951 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24952 (__new_shmctl): Do not use CHECK_1.
24953 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24954 <bp-checks.h>.
24955 (do_sigtimedwait): Do not use CHECK_1.
24956 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24957 <bp-checks.h>.
24958 (do_sigwaitinfo): Do not use CHECK_1.
24959 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24960 <bp-checks.h>.
24961 (msgctl): Do not use CHECK_1.
24962 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24963 <bp-checks.h>.
24964 (shmctl): Do not use CHECK_1.
24965 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24966 (ustat): Do not use CHECK_1.
24967 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24968 <bp-checks.h>.
24969 (__fxstat): Do not use CHECK_1.
24970 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24971 <bp-checks.h>.
24972 (__fxstatat): Do not use CHECK_1.
24973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24974 <bp-checks.h>.
24975 (__lxstat): Do not use CHECK_1.
24976 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24977 <bp-checks.h>.
24978 (__xstat): Do not use CHECK_1.
24979 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24980 (__xstat): Do not use CHECK_1.
24981 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24982 (___xstat64): Do not use CHECK_1.
24983
b2c9eff4
JM
24984 [BZ #13550]
24985 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24986 definitions.
24987 (CHECK_BOUNDS_HIGH): Likewise.
24988 * string/strcpy.c: Do not include <bp-checks.h>.
24989 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24990
f1d70dad
RM
249912013-02-07 Roland McGrath <roland@hack.frob.com>
24992
24993 * nscd/nscd-client.h (__nscd_drop_map_ref):
24994 Add __attribute__ ((unused)).
24995 * nis/nss-nisplus.h (niserr2nss): Likewise.
24996
24997 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24998 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24999
25000 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25001 Remove inline keyword.
25002 * include/rounding-mode.h (round_away): Likewise.
25003 * libio/wfileops.c (adjust_wide_data): Likewise.
25004 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25005 (__m128i_strloadu_tolower): Likewise.
25006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25007 (__m128i_strloadu_tolower): Likewise.
25008 * time/mktime.c (ydhms_diff): Likewise.
25009 * locale/elem-hash.h (elem_hash): Likewise.
25010 * locale/setlocale.c (setdata): Likewise.
25011 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25012 (re_string_wchar_at): Likewise.
25013 (bitset_not, bitset_merge, bitset_mask): Likewise.
25014 [!(__GNUC__ > 3)] (inline): Remove macro.
25015 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25016 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25017 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25018 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25019 * string/memcmp.c (memcmp_bytes): Likewise.
25020 * locale/programs/locarchive.c (compute_hashval): Likewise.
25021 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25022 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25023 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25024 * nss/getent.c (print_rpc, print_protocols): Likewise.
25025 (print_passwd, print_group, print_aliases): Likewise.
25026 * nis/nss-nisplus.h (niserr2nss): Likewise.
25027 * nscd/connections.c (restart_p): Likewise.
25028 Change return type to bool.
25029
eab55bfb
RM
250302013-02-05 Roland McGrath <roland@hack.frob.com>
25031
7bd642f5
RM
25032 * Makeconfig (all-Depend-files): Add existing
25033 $(sorted-subdirs:=/Depend) files.
25034 (all-subdirs): Remove nss.
25035 * sysdeps/unix/inet/Subdirs: Add it here instead.
25036 * hesiod/Depend: New file.
25037
573c29b2
RM
25038 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25039 instead of calling alloca.
25040
b2e25af0
RM
25041 * io/lseek.c (__lseek): Rename to __libc_lseek.
25042 Define __lseek as an alias.
25043
eab55bfb
RM
25044 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25045
9a0d1941
CD
250462013-02-04 Carlos O'Donell <carlos@redhat.com>
25047
25048 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25049 else clause and remove check for non-standard endianness.
25050
b83bbec4
DM
250512013-02-04 David S. Miller <davem@davemloft.net>
25052
25053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25054
6277fdab
JM
250552013-02-04 Joseph Myers <joseph@codesourcery.com>
25056
25057 [BZ #13550]
25058 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25059 (__ubp_memchr): Remove prototype.
25060 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25061 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25062 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25063 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25064 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25065 Remove alias.
25066 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25067 (__ubp_memchr): Likewise.
25068 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25069 (__ubp_memchr): Likewise.
25070 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25071 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25072 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25073 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25074 CHECK_STRING.
25075 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25076 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25077 (__getcwd): Do not use CHECK_STRING.
25078 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25079 <bp-checks.h>.
25080 (__real_chown): Do not use CHECK_STRING.
25081 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25082 <bp-checks.h>.
25083 (fchownat): Do not use CHECK_STRING.
25084 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25085 CHECK_STRING.
25086 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25087 <bp-checks.h>.
25088 (__lchown): Do not use CHECK_STRING.
25089 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25090 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25091 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25092 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25094 include <bp-checks.h>.
25095 (truncate64): Do not use CHECK_STRING.
25096 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25097 <bp-checks.h>.
25098 (__real_chown): Do not use CHECK_STRING.
25099 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25100 <bp-checks.h>.
25101 (__lchown): Do not use CHECK_STRING.
25102 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25103 <bp-checks.h>.
25104 (__chown): Do not use CHECK_STRING.
25105 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25106 <bp-checks.h>.
25107 (truncate64): Do not use CHECK_STRING.
25108 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25109 Likewise.
25110 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25111 (__xmknod): Do not use CHECK_STRING.
25112 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25113 <bp-checks.h>.
25114 (__xmknodat): Do not use CHECK_STRING.
25115 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25116 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25117
903ae060
AS
251182013-02-04 Andreas Schwab <schwab@suse.de>
25119
25120 [BZ #14142]
25121 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25122 * include/netdb.h: Likewise for h_errno.
25123 * elf/tst-stackguard1.c: Include <tls.h>.
25124
542f9466
JK
251252013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25126
25127 * elf/link.h (struct link_map): Extend the l_addr comment.
25128 * include/link.h (struct link_map): Likewise.
25129
e782a927
JM
251302013-02-01 Joseph Myers <joseph@codesourcery.com>
25131
25132 [BZ #13550]
25133 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25134 (BOUNDED_1): Remove macro.
25135 * debug/backtrace.c: Don't include <bp-checks.h>.
25136 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25137 (__backtrace): Likewise.
25138 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25139 <bp-checks.h>.
25140 (__backtrace): Don't use BOUNDED_1.
25141 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25142 <bp-checks.h>.
25143 (__backtrace): Don't use BOUNDED_1.
25144 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25145 (__backtrace): Don't use BOUNDED_1.
25146 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25147 (shmat): Don't use BOUNDED_N.
25148
8cf28c5e
JM
251492013-01-31 Joseph Myers <joseph@codesourcery.com>
25150
3a7ac8a0
JM
25151 [BZ #13550]
25152 * sysdeps/generic/bp-start.h: Remove file.
25153 * csu/libc-start.c: Don't include <bp-start.h>.
25154 (LIBC_START_MAIN): Set up __environ directly instead of using
25155 INIT_ARGV_and_ENVIRON.
25156 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25157 <bp-start.h>.
25158
f3499f95
JM
25159 [BZ #13550]
25160 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25161 definitions.
25162 (CHECK_FCNTL): Likewise.
25163 (CHECK_N_PAGES): Likewise.
25164
32a45bea
JM
25165 [BZ #13550]
25166 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25167 definitions.
25168 (CHECK_SIGSET_NULL_OK): Likewise.
25169 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25170 <bp-checks.h>.
25171 (sigpending): Don't use CHECK_SIGSET.
25172 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25173 <bp-checks.h>.
25174 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25175 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25176 <bp-checks.h>.
25177 (do_sigsuspend): Don't use CHECK_SIGSET.
25178 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25179 use CHECK_SIGSET.
25180 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25181 (do_sigwait): Don't use CHECK_SIGSET.
25182 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25183 use CHECK_SIGSET.
25184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25185 include <bp-checks.h>.
25186 (sigpending): Don't use CHECK_SIGSET.
25187 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25188 include <bp-checks.h>.
25189 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25190 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25191 <bp-checks.h>.
25192 (sigpending): Don't use CHECK_SIGSET.
25193 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25194 <bp-checks.h>.
25195 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25196
2e8a5c8c
JM
25197 [BZ #13550]
25198 * sysdeps/generic/bp-semctl.h: Remove file.
25199 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25200 <bp-checks.h> and <bp-semctl.h>.
25201 (__old_semctl): Don't use CHECK_SEMCTL.
25202 (__new_semctl): Likewise.
25203 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25204 and <bp-semctl.h>.
25205 (__old_semctl): Don't use CHECK_SEMCTL.
25206 (__new_semctl): Likewise.
25207 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25208 <bp-checks.h> and <bp-semctl.h>.
25209 (__old_semctl): Don't use CHECK_SEMCTL.
25210 (__new_semctl): Likewise.
25211 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25212 <bp-checks.h> and <bp-semctl.h>.
25213 (semctl): Don't use CHECK_SEMCTL.
25214
c2d54929
JM
25215 [BZ #13550]
25216 * Makerules (elide-bp-thunks): Remove variable.
25217 (elide-routines.oS): Don't use $(elide-bp-thunks).
25218 (elide-routines.os): Likewise.
25219 (elide-routines.o): Likewise.
25220 (elide-routines.op): Likewise.
25221 (elide-routines.og): Likewise.
25222 (objects): Don't use $(bp-thunks).
25223 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25224 include.
25225 (common-generated): Do not add s-proto-bp.d.
25226 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25227 (int): Likewise.
25228 (typ): Likewise.
25229 Do not generate makefile rules for bounded-pointer thunks.
25230 * sysdeps/generic/bp-thunks.h: Remove file.
25231 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25232 * sysdeps/unix/s-proto-bp.S: Likewise.
25233
8cf28c5e
JM
25234 [BZ #15062]
25235 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25236 parts of result separately when argument is not close to line from
25237 -i to i and one part of argument is small.
25238 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25239 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25240 * math/libm-test.inc (cacos_test): Add more tests.
25241 (casin_test): Likewise.
25242 (casinh_test): Likewise.
25243 * sysdeps/i386/fpu/libm-test-ulps: Update.
25244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25245
c4e33b8d
DM
252462013-01-31 David S. Miller <davem@davemloft.net>
25247
25248 * po/de.po: Update from translation team.
25249
3b60b421
MK
252502013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25251
25252 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25253
bb931195
TS
252542013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25255
b5a5da23
TS
25256 * configure.in (_AC_PROG_CC_C89): New definition.
25257 * configure: Regenerate.
25258
bb931195
TS
25259 * configure.in (AC_PROG_CPP): New definition.
25260 * configure: Regenerate.
25261
8c53a12c
JM
252622013-01-23 Joseph Myers <joseph@codesourcery.com>
25263
25264 * debug/tst-backtrace.h: New file.
25265 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25266 (ret): Remove variable.
25267 (x): Likewise.
25268 (FAIL): Remove macro.
25269 (NO_INLINE): Likewise.
25270 (fn1): Use match function instead of strstr.
25271 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25272 (ret): Remove variable.
25273 (x): Likewise.
25274 (FAIL): Remove macro.
25275 (NO_INLINE): Likewise.
25276 (fn): Use match function instead of strstr.
25277 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25278 (ret): Remove variable.
25279 (x): Likewise.
25280 (FAIL): Remove macro.
25281 (NO_INLINE): Likewise.
25282 (handle_signal): Use match function instead of strstr.
25283 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25284 (ret): Remove variable.
25285 (x): Likewise.
25286 (FAIL): Remove macro.
25287 (NO_INLINE): Likewise.
25288 (handle_signal): Use match function instead of strstr.
25289
4858fa2a
RM
252902013-01-23 Roland McGrath <roland@hack.frob.com>
25291
25292 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25293
bae8e7f5
DM
252942013-01-23 David S. Miller <davem@davemloft.net>
25295
25296 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25297 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25298 argument of CAS if possible.
25299 * sysdeps/sparc/sparc64/bits/atomic.h
25300 (__arch_compare_and_exchange_val_32_acq): Likewise.
25301 (__arch_compare_and_exchange_val_64_acq): Likewise.
25302
9cbbc4ae
PT
253032013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25304
25305 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25306 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25307 Include <limits.h>.
67b3f58c 25308 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25309
5655a0b5
AC
253102013-01-23 Adam Conrad <adconrad@0c3.net>
25311
25312 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25313 (LDFLAGS-tst-array5): Likewise.
25314
052aff95
JM
253152013-01-23 Joseph Myers <joseph@codesourcery.com>
25316
25317 [BZ #15036]
25318 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25319 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25320 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25321 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25322
7c1e01aa
DM
253232013-01-21 David S. Miller <davem@davemloft.net>
25324
25325 * sysdeps/sparc/backtrace.c: New file.
25326 * sysdeps/sparc/sparc32/backtrace.h: New file.
25327 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25328 * sysdeps/sparc/sparc64/backtrace.h: New file.
25329 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25330 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25331 -funwind-tables.
25332
ab087e0a
AS
253332013-01-21 Andreas Schwab <schwab@suse.de>
25334
25335 [BZ #15020]
25336 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25337 closed its stdout.
25338
ed689c2f
AS
253392013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25340
25341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25342 "mpa2.h".
25343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25344
31d470ac
JM
253452013-01-18 Joseph Myers <joseph@codesourcery.com>
25346 Mark Mitchell <mark@codesourcery.com>
25347 Tom de Vries <tom@codesourcery.com>
25348 Paul Pluzhnikov <ppluzhnikov@google.com>
25349
25350 * debug/tst-backtrace2.c: New file.
25351 * debug/tst-backtrace3.c: Likewise.
25352 * debug/tst-backtrace4.c: Likewise.
25353 * debug/tst-backtrace5.c: Likewise.
25354 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25355 (CFLAGS-tst-backtrace3.c): Likewise.
25356 (CFLAGS-tst-backtrace4.c): Likewise.
25357 (CFLAGS-tst-backtrace5.c): Likewise.
25358 (LDFLAGS-tst-backtrace2): Likewise.
25359 (LDFLAGS-tst-backtrace3): Likewise.
25360 (LDFLAGS-tst-backtrace4): Likewise.
25361 (LDFLAGS-tst-backtrace5): Likewise.
25362 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25363 tst-backtrace4 and tst-backtrace5.
25364
90567f30 253652013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25366 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25367
25368 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25369 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25370 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25371 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25373 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25374 "+r" and remove output regs list as redundant. Add explicit inline
25375 asm to specify register of return val to work around compiler codegen
25376 bug. Remove (int) cast on return value. Add return type parameter to
25377 use in macro so that this macro does not truncate return value for
25378 64-bit values.
25379 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25380 pass to INTERNAL_VSYSCALL_NCS.
25381 (INLINE_VSYSCALL): Add 'long int' as return type to
25382 INTERNAL_VSYSCALL_NCS macro invocation.
25383 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25384 INTERNAL_VSYSCALL_NCS macro invocation.
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25386
d3b9ea61
SP
253872013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25388
0b57daeb
SP
25389 [BZ #14496]
25390 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25391 Fix application of SIMD FP exception mask.
25392
caa99d06
SP
25393 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25394 mp_no from a power of two.
25395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25396 __mpexp_twomm1. Use __pow_mp.
25397
d3b9ea61
SP
25398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25399 multiplication.
25400
1dbaee3c
DM
254012013-01-17 David S. Miller <davem@davemloft.net>
25402
25403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25404
728d7b43
JM
254052013-01-17 Joseph Myers <joseph@codesourcery.com>
25406
25407 [BZ #15023]
25408 * include/complex.h: Condition contents on [!_COMPLEX_H].
25409 (__kernel_casinhf): New prototype.
25410 (__kernel_casinh): Likewise.
25411 (__kernel_casinhl): Likewise.
25412 * math/Makefile (libm_calls): Add k_casinh.
25413 * math/k_casinh.c: New file.
25414 * math/k_casinhf.c: Likewise.
25415 * math/k_casinhl.c: Likewise.
25416 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25417 finite nonzero arguments.
25418 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25419 finite nonzero arguments.
25420 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25421 finite nonzero arguments.
25422 * math/s_casinh.c: Do not include <float.h>.
25423 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25424 * math/s_casinhf.c: Do not include <float.h>.
25425 (__casinhf): Move code for finite nonzero arguments to
25426 k_casinhf.c.
25427 * math/s_casinhl.c: Do not include <float.h>.
25428 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25429 redefine.
25430 (__casinhl): Move code for finite nonzero arguments to
25431 k_casinhl.c.
25432 * math/libm-test.inc (cacos_test): Add more tests.
25433 * sysdeps/i386/fpu/libm-test-ulps: Update.
25434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25435
2a26ef3a
PT
254362013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25437
25438 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25439 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25440 [!HAVE_MREMAP]: Remove [defined linux] case.
25441 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25442
a897655d
SP
254432013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25444
25445 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25446
881ebe89 254472013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25448
25449 * elf/elf.h (R_386_SIZE32): New relocation.
25450 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25451 R_386_SIZE32.
25452 (elf_machine_rela): Likewise.
25453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25454 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25455
59981e9b
JM
254562013-01-17 Joseph Myers <joseph@codesourcery.com>
25457
25458 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25459 (FP_FAST_FMA): Do not define.
25460 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25461 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25462 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25463 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25464 !_SOFT_FLOAT]: Likewise.
25465 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25466 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25467 value.
25468 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25469 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25470 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25471 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25472 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25473 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25474 file.
25475
cfa8054f
AS
254762013-01-16 Andreas Schwab <schwab@suse.de>
25477
25478 [BZ #14327]
25479 * include/stdlib.h (__mktemp): Add declaration.
25480 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25481 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25482
dd930cc5
SP
254832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25484
881ebe89
SP
25485 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25486 definitions.
25487 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25488 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25489 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25490 definitions here.
25491 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25492 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25493 definitions.
25494 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25495 and ONE.
25496 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25497 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25499 definitions.
25500 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25501 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25502 definitions.
25503 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25504
dd930cc5
SP
25505 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25506
c19a9f89
DM
255072013-01-15 David S. Miller <davem@davemloft.net>
25508
1aa61767
DM
25509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25510 trunc{,f} to libm-sysdep_routes.
25511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25513 file.
25514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25516 file.
25517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25518 file.
25519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25521 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25522 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25523 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25524 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25525 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25526 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25527
c42d5e98
DM
25528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25529 nearbyint{,f} to libm-sysdep_routes.
25530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25532 New file.
25533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25534 file.
25535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25536 New file.
25537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25538 file.
25539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25541 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25542 file.
25543 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25544 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25545 file.
25546 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25547 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25548 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25549
c19a9f89
DM
25550 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25551 libc_feholdexcept and libc_fesetenv.
25552
357679d2
MF
255532013-01-15 Mike Frysinger <vapier@gentoo.org>
25554
25555 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25556
65a82e3d
DM
255572013-01-14 David S. Miller <davem@davemloft.net>
25558
8b954ab9
DM
25559 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25560 (SPARC_ASM_VIS2_IFUNC): Likewise.
25561 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25563 use of 'siam' instruction.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25565 Likewise.
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25567 Likewise.
25568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25569 Likewise.
25570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25575 file.
25576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25577 file.
25578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25579 file.
25580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25581 file.
25582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25587 new VIS2 routines.
25588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25591 Likewise.
25592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25597 routines to libm-sysdep_routines.
25598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25599
65a82e3d
DM
25600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25601 fdim/fdimf to libm-sysdep_routines.
25602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25603 file.
25604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25606 file.
25607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25610 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25611 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25612 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25613 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25614
e34ab705
SP
256152013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25616
2a91b573
SP
25617 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25618 to optimize copies.
25619
1066a534
SP
25620 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25623
e34ab705
SP
25624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25625 local variable MPTWO.
25626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25627 Likewise.
25628
aba5e596
MF
256292013-01-13 Mike Frysinger <vapier@gentoo.org>
25630
25631 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25632 GLOB_NOESCAPE.
25633
e557e9e5
MF
256342013-01-13 Mike Frysinger <vapier@gentoo.org>
25635
25636 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25637
0428cec9
MF
256382013-01-13 Mike Frysinger <vapier@gentoo.org>
25639
25640 * manual/pattern.texi (glob_t): Document gl_flags.
25641 (glob64_t): Likewise.
25642
8794a964
DM
256432013-01-11 David S. Miller <davem@davemloft.net>
25644
66438c3f
RM
25645 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25646 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25647 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25648 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25649 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25650 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25651 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25652 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25653 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25654 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25655 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25656 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25657 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25658
4ae4244d
DM
25659 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25660 sparc V9 rather than using V8 code.
25661 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25662 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25663
8794a964
DM
25664 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25665 Move to...
25666 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25667 Here.
25668
6270516e
RM
256692013-01-11 Roland McGrath <roland@hack.frob.com>
25670
25671 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25672 not in the main loop.
25673 * configure: Regenerated.
25674
6a57d931
JM
256752013-01-11 Joseph Myers <joseph@codesourcery.com>
25676
25677 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25678 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25679 to just #else.
25680 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25681 [!__GLIBC_HAVE_LONG_LONG] case.
25682 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25683 condition to just #else.
25684 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25685 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25686 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25687 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25688 unconditional.
25689 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25690 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25691 #elif condition to just #else.
25692 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25693 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25694 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25695 #elif condition to just #else.
25696
0e8529e9
SE
256972013-01-11 Steve Ellcey <sellcey@mips.com>
25698
25699 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25700 (EF_MIPS_ARCH_64): Fix value.
25701 (EF_MIPS_ARCH_32R2): New.
25702 (EF_MIPS_ARCH_64R2): New.
25703
740b3dbe
L
257042013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25705
25706 * Makeconfig (+link-pie-before-libc): New.
25707 (+link-pie-after-libc): Likewise.
25708 (+link-pie-tests): Likewise.
25709 (+link-pie): Rewritten.
25710 (link-before-libc): Remove $(config-LDFLAGS).
25711 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25712 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25713 (config-LDFLAGS): Renamed to ...
25714 (rtld-LDFLAGS): This.
25715 (rtld-tests-LDFLAGS): New macro.
25716 (link-libc-rpath-link): Likewise.
25717 (link-libc-tests-rpath-link): Likewise.
25718 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25719 (link-libc): Prepand $(link-libc-rpath-link).
25720 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25721 (test-program-prefix): New macro.
25722 (test-via-rtld-prefix): Likewise.
25723 (test-program-cmd): Likewise.
25724 (host-test-program-cmd): Likewise.
25725 * Makefile ($(common-objpfx)testrun.sh): Replace
25726 $(run-program-prefix) with $(test-program-prefix).
25727 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25728 $(rtld-LDFLAGS).
25729 ($(common-objpfx)shlib.lds): Likewise.
25730 (build-module-helper): Likewise.
25731 ($(common-objpfx)format.lds): Likewise.
25732 * Rules (binaries-pie-tests): New.
25733 (binaries-pie-notests): Likewise.
25734 (binaries-pie): Rewritten.
25735 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25736 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25737 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25738 (make-test-out): Replace $(host-built-program-cmd) with
25739 $(host-test-program-cmd).
25740 * config.make.in (build-hardcoded-path-in-tests): New variable.
25741 * configure.in (--enable-hardcoded-path-in-tests): New configure
25742 option.
25743 (hardcoded_path_in_tests): New AC_SUBST.
25744 * configure: Regenerated.
25745 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25746 $(built-program-cmd) with $(test-program-cmd).
25747 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25748 (test_program_cmd): This.
25749 * elf/Makefile ($(objpfx)order.out): Run test with
25750 $(test-program-prefix).
25751 ($(objpfx)order2.out): Likewise.
25752 ($(objpfx)tst-initorder.out): Likewise.
25753 ($(objpfx)tst-initorder2.out): Likewise.
25754 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25755 $(test-program-cmd).
25756 ($(objpfx)tst-array1-static.out): Likewise.
25757 ($(objpfx)tst-array2.out): Likewise.
25758 ($(objpfx)tst-array3.out): Likewise.
25759 ($(objpfx)tst-array4.out): Likewise.
25760 ($(objpfx)tst-array5.out): Likewise.
25761 ($(objpfx)tst-array5-static.out): Likewise.
25762 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25763 $(test-program-cmd).
25764 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25765 $(run-program-prefix) with $(test-program-prefix).
25766 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25767 (test_program_prefix): This.
25768 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25769 $(run-program-prefix) with $(test-program-prefix).
25770 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25771 (test_program_prefix): This.
25772 * iconvdata/tst-tables.sh: Likewise.
25773 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25774 $(run-program-prefix) with $(test-program-prefix).
25775 ($(objpfx)tst-translit.out): Likewise.
25776 ($(objpfx)tst-gettext2.out): Likewise.
25777 ($(objpfx)tst-gettext4.out): Likewise.
25778 ($(objpfx)tst-gettext6.out): Likewise.
25779 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25780 (test_program_prefix): This.
25781 * intl/tst-gettext2.sh: Likewise.
25782 * intl/tst-gettext4.sh Likewise.
25783 * intl/tst-gettext6.sh: Likewise.
25784 * intl/tst-translit.sh: Likewise.
25785 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25786 with $(test-program-cmd).
25787 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25788 $(run-program-prefix) with $(test-program-prefix).
25789 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25790 (test_program_prefix): This.
25791 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25792 $(run-program-prefix) with $(test-program-prefix).
25793 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25794 (test_program_prefix): This.
25795 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25796 * posix/Makefile ($(objpfx)globtest.out): Replace
25797 $(run-via-rtld-prefix) and $(test-wrapper) with
25798 $(test-program-prefix) and $(test-via-rtld-prefix).
25799 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25800 $(test-program-prefix).
25801 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25802 $(host-test-program-cmd).
25803 (tst-spawn-ARGS): Likewise.
25804 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25805 $(test-program-prefix).
25806 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25807 (test_via_rtld_prefix): This.
25808 (test_wrapper): Renamed to ...
25809 (test_program_prefix): This.
25810 (run_program_prefix): Replaced by test_program_prefix.
25811 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25812 (test_program_prefix): This.
25813 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25814 with $(host-test-program-cmd).
25815 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25816 $(run-program-prefix) with $(test-program-prefix).
25817 ($(objpfx)tst-printf.out): Likewise.
25818 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25819 $(test-program-cmd).
25820 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25821 (test_program_prefix): This.
25822 * stdio-common/tst-unbputc.sh: Likewise.
25823 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25824 $(run-program-prefix) with $(test-program-prefix).
25825 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25826 (test_program_prefix): This.
25827 * string/Makefile ($(objpfx)tst-svc.out): Replace
25828 $(built-program-cmd) with $(test-program-cmd).
25829
c6fe55cf
AJ
258302013-01-11 Andreas Jaeger <aj@suse.de>
25831
25832 [BZ #15003]
25833 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25834 value. Sync with Linux 3.7.
25835
9e6919c8
DM
258362013-01-10 David S. Miller <davem@davemloft.net>
25837
25838 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25839 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25840 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25841
1c9f1a02
RM
258422013-01-10 Roland McGrath <roland@hack.frob.com>
25843
25844 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25845 never set.
25846 * configure: Regenerated.
25847
b9de2dde
DM
258482013-01-10 David S. Miller <davem@davemloft.net>
25849
25850 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25851 sparc V9 rather than using V8 code.
25852 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25853 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25854
e7f68ef4
RM
258552013-01-10 Roland McGrath <roland@hack.frob.com>
25856
25857 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25858 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25859 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25860 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25861 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25862 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25863 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25864 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25865 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25866 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25867 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25868 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25869 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25870 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25871 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25872 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25873 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25874 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25875 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25876 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25877 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25878 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25879 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25880 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25881 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25882 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25883 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25884
5a47cc9c
DM
258852013-01-10 David S. Miller <davem@davemloft.net>
25886
25887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25888
4cf8f209
L
258892013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25890
25891 * posix/Makefile (tests-static): New variable.
25892 (tests): Add $(tests-static).
25893 (tst-exec-static-ARGS): New variable.
25894 (tst-spawn-static-ARGS): Likewise.
25895 * posix/tst-exec-static.c: New file.
25896 * posix/tst-spawn-static.c: Likewise.
25897 * posix/tst-exec.c: Support run directly.
25898 * posix/tst-spawn.c: Likewise.
25899
fed0faa1
JM
259002013-01-10 Joseph Myers <joseph@codesourcery.com>
25901
828beb13
JM
25902 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25903 long.
25904 * math/bits/mathcalls.h (llrint): Likewise.
25905 (llround): Likewise.
25906 * stdlib/stdlib.h (struct drand48_data): Likewise.
25907 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25908 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25909 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25910 Likewise.
25911 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25912 Likewise.
25913 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25914 (elf_greg_t): Likewise.
25915 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25916 (__jmp_buf): Likewise.
25917 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25918 definitions.
25919 (llrint): Likewise, for all definitions.
25920 (llrintl): Likewise.
25921
fed0faa1
JM
25922 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25923 Remove [__GNUC__] condition.
25924 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25925 condition to just [__USE_ISOC99].
25926 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25927
1a20cb20
L
259282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25929
25930 [BZ #14200]
25931 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25932 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25933 defined.
25934 (_POSIX_V6_ILP32_OFF32): Likewise.
25935 (_XBS5_ILP32_OFF32): Likewise.
25936 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25937 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25938
751b85f7
SP
259392013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25940
7490eb81
SP
25941 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25942
751b85f7
SP
25943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25944 doubles __mpexp_twomm1. Adjust usage.
25945 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25946 Remove.
25947
988197f0
AS
259482013-01-10 Andreas Schwab <schwab@suse.de>
25949
25950 [BZ #14964]
25951 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25952 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25953
e83d7298
DM
259542013-01-09 David S. Miller <davem@davemloft.net>
25955
034ed64b 25956 [BZ #15003]
57f41c40
AS
25957 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25958 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25959 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25960 (TCP_FASTOPEN): Define.
e83d7298
DM
25961 (tcp_repair_opt): New structure.
25962 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25963 enum values.
57f41c40
AS
25964 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25965 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25966 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25967 (tcp_cookie_transactions): New structure.
25968
d5e0b9bd
AB
259692013-01-09 Anton Blanchard <anton@samba.org>
25970
25971 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25972 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25973 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25974 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25975
0c07e3ea
JM
259762013-01-09 Joseph Myers <joseph@codesourcery.com>
25977
25978 * include/features.h (__USE_ANSI): Remove.
25979
232f7002
RM
259802013-01-09 Roland McGrath <roland@hack.frob.com>
25981
ad98e30c
RM
25982 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25983
232f7002
RM
25984 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25985
950c99ca
SP
259862013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25987
b5792741
SP
25988 * sysdeps/s390/fpu/libm-test-ulps: Update.
25989
47cf2278
SP
25990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25991
950c99ca
SP
25992 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26021 (__acr): Likewise.
26022 (__cpy): Likewise.
26023 (norm): Likewise.
26024 (denorm): Likewise.
26025 (__mp_dbl): Likewise.
26026 (__dbl_mp): Likewise.
26027 (add_magnitudes): Likewise.
26028 (sub_magnitudes): Likewise.
26029 (__add): Likewise.
26030 (__sub): Likewise.
26031 (__mul): Likewise.
26032 (__inv): Likewise.
26033 (__dvd): Likewise.
26034
eede9df9
JM
260352013-01-08 Joseph Myers <joseph@codesourcery.com>
26036
26037 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26038 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26039 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26040 2 && __USE_EXTERN_INLINES]: Likewise.
26041
c40ea3d9
AJ
260422013-01-08 Andreas Jaeger <aj@suse.de>
26043
26044 [BZ# 14985]
26045 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26046 Remove.
26047 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26048 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26049
2ccdea26
AB
260502013-01-07 Anton Blanchard <anton@samba.org>
26051
26052 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26053 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26054 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26055 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26057 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26058 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26059 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26061 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26062 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26063 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26066 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26067 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26069 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26070 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26071 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26073 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26074 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26075 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26076 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26077 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26078 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26079 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26081 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26082 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26084 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26085 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26086 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26087 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26088 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26089 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26090 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26092 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26094 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26095
a9708fed
JM
260962013-01-07 Joseph Myers <joseph@codesourcery.com>
26097
375607b9
JM
26098 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26099 (__MALLOC_PMT): Likewise.
26100 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26101 [__GNUC__], only on [_LIBC].
26102 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26103 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26104 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26105 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26106 forward declaration.
26107 (realloc_hook_ini): Likewise.
26108 (memalign_hook_ini): Likewise.
26109 (__libc_memalign): Do not use __MALLOC_PMT in variable
26110 declaration.
26111 (__libc_valloc): Likewise.
26112 (__libc_pvalloc): Likewise.
26113 (__libc_calloc): Likewise.
26114 (__posix_memalign): Likewise.
26115
a9708fed
JM
26116 [BZ #14996]
26117 * math/s_casinh.c: Include <float.h>.
26118 (__casinh): Do not do computation with squaring and square root
26119 for large arguments.
26120 * math/s_casinhf.c: Include <float.h>.
26121 (__casinhf): Do not do computation with squaring and square root
26122 for large arguments.
26123 * math/s_casinhl.c: Include <float.h>.
26124 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26125 (__casinhl): Do not do computation with squaring and square root
26126 for large arguments.
26127 * math/libm-test.inc (casin_test): Add more tests.
26128 (casinh_test): Likewise.
26129 * sysdeps/i386/fpu/libm-test-ulps: Update.
26130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26131
afec409a
L
261322013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26133
26134 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26135 (__x86_64_raw_data_cache_size): Likewise.
26136 (__x86_64_data_cache_size_half): Likewise.
26137 (__x86_64_raw_data_cache_size_half): Likewise.
26138 (__x86_64_shared_cache_size): Likewise.
26139 (__x86_64_raw_shared_cache_size): Likewise.
26140 (__x86_64_shared_cache_size_half): Likewise.
26141 (__x86_64_raw_shared_cache_size_half): Likewise.
26142 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26143 to ...
26144 (__x86_data_cache_size): This.
26145 (__x86_64_raw_data_cache_size): Renamed to ...
26146 (__x86_raw_data_cache_size): This.
26147 (__x86_64_data_cache_size_half): Renamed to ...
26148 (__x86_data_cache_size_half): This.
26149 (__x86_64_raw_data_cache_size_half): Renamed to ...
26150 (__x86_raw_data_cache_size_half): This.
26151 (__x86_64_shared_cache_size): Renamed to ...
26152 (__x86_shared_cache_size): This.
26153 (__x86_64_raw_shared_cache_size): Renamed to ...
26154 (__x86_raw_shared_cache_size): This.
26155 (__x86_64_shared_cache_size_half): Renamed to ...
26156 (__x86_shared_cache_size_half): This.
26157 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26158 (__x86_raw_shared_cache_size_half): This.
26159 * sysdeps/x86_64/memcpy.S: Updated.
26160 * sysdeps/x86_64/memset.S: Likewise.
26161 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26164
0b3986d0
DM
261652013-01-04 David S. Miller <davem@davemloft.net>
26166
26167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26168
e47686e9
AS
261692013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26170
d643bac1
AS
26171 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26172 1 to avoid redefinition warning.
26173 (__USE_GNU): Don't define.
26174 (init_signaling_nan): Protoize.
26175
e47686e9
AS
26176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26177
b18decba
SP
261782013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26179
fffb407f
SP
26180 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26182 (__cpymn): Likewise.
26183 (norm): Remove commented code.
26184 (denorm): Likewise.
26185 (__mp_dbl): Likewise.
26186 (__inv): Likewise.
26187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26188 (__cpymn): Likewise.
26189 (norm): Remove commented code.
26190 (denorm): Likewise.
26191 (__mp_dbl): Likewise.
26192 (__inv): Likewise.
26193
b18decba
SP
26194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26195 mp_no value for 1.0 and 2.0.
26196 (norm): Use RADIXI instead of radixi.d.
26197 (denorm): Likewise.
26198 (__mul): Use 0.0 instead of zero.d.
26199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26200 mp_no value for 1.0 and 2.0.
26201 (norm): Use RADIXI instead of radixi.d.
26202 (denorm): Likewise.
26203 (__mul): Use 0.0 instead of zero.d.
26204
cdc1c96f
JM
262052013-01-04 Joseph Myers <joseph@codesourcery.com>
26206
26207 [BZ #14994]
26208 * math/s_casinh.c (__casinh): Reduce finite argument to first
26209 quadrant then set signs of results at the end.
26210 * math/s_casinhf.c (__casinhf): Likewise.
26211 * math/s_casinhl.c (__casinhl): Likewise.
26212 * math/libm-test.inc (casin_test): Add more tests.
26213 (casinh_test): Likewise.
26214 * sysdeps/i386/fpu/libm-test-ulps: Update.
26215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26216
302913e1
SP
262172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26218
6420d207
SP
26219 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26220
a9e48ab4
SP
26221 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26222
b7837264
SP
26223 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26224 declarations.
26225 (denorm): Likewise.
26226 (__mp_dbl): Likewise.
26227 (__inv): Likewise.
26228
f8af25d2
SP
26229 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26230 and adjust the header comment.
26231
302913e1
SP
26232 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26233 variable name from declaration.
26234
5d7dd1ca
L
262352013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26236
26237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26238 Initialize COMMON_CPUID_INDEX_7 element.
26239 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26240 (CPUID_RTM): Likewise.
26241 (HAS_RTM): Likewise.
26242 (COMMON_CPUID_INDEX_7): New enum.
26243
2f5f40f4
AS
262442013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26245
26246 [BZ #14981]
26247 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26248 size is zero, record memory as freed.
26249
4056f4a0
AJ
262502013-01-03 Andreas Jaeger <aj@suse.de>
26251
26252 * po/ia.po: Add new Interlingua translation.
26253
ab15736f 262542012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26255
26256 * locale/programs/localedef.c: Fix description of '--posix' flag.
26257
568035b7
JM
262582013-01-02 Joseph Myers <joseph@codesourcery.com>
26259
e6898b8d
JM
26260 * NEWS: Update dates in second copyright notice.
26261 * README: Update copyright dates in example.
26262 * manual/libc.texinfo: Update copyright dates.
26263 * scripts/test-installation.pl: Update copyright date in --version
26264 output.
26265
0e2f9562
JM
26266 * hurd/ctty-input.c: Fix copyright notice formatting.
26267 * hurd/ctty-output.c: Likewise.
26268 * hurd/dtable.c: Likewise.
26269 * hurd/hurd-raise.c: Likewise.
26270 * hurd/hurdprio.c: Likewise.
26271 * hurd/msgportdemux.c: Likewise.
26272 * misc/sys/file.h: Likewise.
26273 * misc/sys/ioctl.h: Likewise.
26274 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26275 * sysdeps/mach/hurd/chdir.c: Likewise.
26276 * sysdeps/mach/hurd/fchdir.c: Likewise.
26277 * sysdeps/mach/hurd/rename.c: Likewise.
26278 * sysdeps/mach/hurd/rmdir.c: Likewise.
26279 * sysdeps/mach/hurd/seekdir.c: Likewise.
26280 * sysdeps/mach/hurd/setsid.c: Likewise.
26281 * sysdeps/posix/wait3.c: Likewise.
26282
568035b7
JM
26283 * All files with FSF copyright notices: Update copyright dates
26284 using scripts/update-copyrights.
26285 * intl/plural.c: Regenerated.
26286 * locale/programs/charmap-kw.h: Likewise.
26287 * locale/programs/locfile-kw.h: Likewise.
26288
da08f647
SP
262892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26290
0f5477af
SP
26291 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26292 four values.
26293
44e0d4c2
SP
26294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26295 calculation loop and add branch prediction.
26296
4d55b4e5
SP
26297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26298 check access beyond bounds of m1np.
26299
da08f647
SP
26300 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26301 MPTWO.
26302 (__inv): Remove local variable MPTWO to use the global
26303 constant.
26304 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26306 variable MPTWO.
26307 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26308 MP3HALFS static const.
26309
8e051029
DM
263102013-01-01 David S. Miller <davem@davemloft.net>
26311
26312 * po/ca.po: Update from translation team.
26313
f4cf5f2d
JM
263142013-01-01 Joseph Myers <joseph@codesourcery.com>
26315
26316 * scripts/update-copyrights: New file.
26317 * Makeconfig: Reformat copyright notice.
26318 * ctype/ctype.h: Likewise.
26319 * debug/swprintf_chk.c: Likewise.
26320 * elf/dl-cache.c: Likewise.
26321 * elf/dl-debug.c: Likewise.
26322 * elf/dl-object.c: Likewise.
26323 * grp/initgroups.c: Likewise.
26324 * hurd/Makefile: Likewise.
26325 * hurd/hurd/signal.h: Likewise.
26326 * hurd/hurdfault.c: Likewise.
26327 * hurd/hurdioctl.c: Likewise.
26328 * hurd/hurdlookup.c: Likewise.
26329 * hurd/intr-msg.c: Likewise.
26330 * iconv/gconv_open.c: Likewise.
26331 * libio/swprintf.c: Likewise.
26332 * locale/lc-ctype.c: Likewise.
26333 * locale/nl_langinfo.c: Likewise.
26334 * mach/Machrules: Likewise.
26335 * mach/Makefile: Likewise.
26336 * malloc/obstack.h: Likewise.
26337 * manual/Makefile: Likewise.
26338 * manual/tsort.awk: Likewise.
26339 * misc/bits/stab.def: Likewise.
26340 * nis/nis_print_group_entry.c: Likewise.
26341 * nis/nis_table.c: Likewise.
26342 * nis/nss_compat/compat-pwd.c: Likewise.
26343 * nis/nss_compat/compat-spwd.c: Likewise.
26344 * po/Makefile: Likewise.
26345 * posix/fnmatch.c: Likewise.
26346 * posix/regex.h: Likewise.
26347 * resolv/Makefile: Likewise.
26348 * resolv/nss_dns/dns-network.c: Likewise.
26349 * resolv/res_hconf.c: Likewise.
26350 * scripts/gen-sorted.awk: Likewise.
26351 * soft-fp/soft-fp.h: Likewise.
26352 * stdio-common/printf.h: Likewise.
26353 * stdlib/monetary.h: Likewise.
26354 * stdlib/random.c: Likewise.
26355 * stdlib/random_r.c: Likewise.
26356 * sysdeps/generic/Makefile: Likewise.
26357 * sysdeps/gnu/Makefile: Likewise.
26358 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26365 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26368 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26369 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26370 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26371 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26372 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26373 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26374 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26375 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26378 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26379 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26380 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26386 * sysdeps/mach/hurd/errnos.awk: Likewise.
26387 * sysdeps/mach/hurd/fork.c: Likewise.
26388 * sysdeps/mach/hurd/getcwd.c: Likewise.
26389 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26390 * sysdeps/mach/hurd/mmap.c: Likewise.
26391 * sysdeps/mach/hurd/utimes.c: Likewise.
26392 * sysdeps/mach/hurd/xmknod.c: Likewise.
26393 * sysdeps/posix/profil.c: Likewise.
26394 * sysdeps/posix/readdir_r.c: Likewise.
26395 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26396 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26397 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26398 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26400 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26401 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26402 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26404 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26405 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26406 * sysdeps/pthread/lio_listio.c: Likewise.
26407 * sysdeps/sparc/dl-procinfo.h: Likewise.
26408 * sysdeps/unix/i386/sysdep.S: Likewise.
26409 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26410 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26411 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26412 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26414 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26415 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26416 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26417 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26418 * sysdeps/wordsize-32/divdi3.c: Likewise.
26419 * time/sys/time.h: Likewise.
26420 * wcsmbs/Makefile: Likewise.
26421
0549fbba
DM
264222013-01-01 David S. Miller <davem@davemloft.net>
26423
a141f1a7
DM
26424 * po/fr.po: Update from translation team.
26425
0549fbba
DM
26426 * catgets/gencat.c: Update copyright year.
26427 * csu/version.c: Likewise.
26428 * debug/catchsegv.sh: Likewise.
26429 * debug/pcprofiledump.c: Likewise.
26430 * debug/xtrace.sh: Likewise.
26431 * elf/ldconfig.c: Likewise.
26432 * elf/ldd.bash.in: Likewise.
26433 * elf/pldd.c: Likewise.
26434 * elf/sotruss.ksh: Likewise.
26435 * elf/sprof.c: Likewise.
26436 * iconv/iconv_prog.c: Likewise.
26437 * iconv/iconvconfig.c: Likewise.
26438 * locale/programs/locale.c: Likewise.
26439 * locale/programs/localedef.c: Likewise.
26440 * login/programs/pt_chown.c: Likewise.
26441 * malloc/memusage.sh: Likewise.
26442 * malloc/memusagestat.c: Likewise.
26443 * malloc/mtrace.pl: Likewise.
26444 * nscd/nscd.c: Likewise.
26445 * nss/getent.c: Likewise.
26446 * nss/makedb.c: Likewise.
26447 * posix/getconf.c: Likewise.
26448
18ea052c
SP
264492012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26450
26451 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26452 numbers.
26453
9c89fca6
MF
264542012-12-30 Mike Frysinger <vapier@gentoo.org>
26455
26456 * math/bits/mathcalls.h (modf): Use __nonnull.
26457
085ec079
SP
264582012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26459
26460 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26461 (split): Use macro CN instead of the bare value.
26462 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26463 could be used.
26464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26465 instead of the bare value.
26466 (power1): Likewise.
26467
6d9f97e1
SP
264682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26469
d63f73be
SP
26470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26471 __ATAN_TWOM.
26472 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26473
6d9f97e1
SP
26474 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26475 their values.
26476 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26477 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26478 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26479 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26480
4c4febf5
AJ
264812012-12-28 Andreas Jaeger <aj@suse.de>
26482
af5843ef
AJ
26483 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26484 values are from Linux 3.7.
26485
4c4febf5
AJ
26486 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26487 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26488
99136f82
SP
264892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26490
2f216c3c 26491 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26492 TRUE case.
26493
99136f82
SP
26494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26495 (norm): Likewise.
26496 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26497 variables with preprocessor constants.
26498 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26499 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26500 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26501
7fffbdff
BH
265022012-12-27 Bruno Haible <bruno@clisp.org>
26503
26504 [BZ #14317]
26505 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26506 only if needed.
26507
b76eb5f0
SP
265082012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26509
31a7fe5c
SP
26510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26511 and use variable directly.
26512 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26513
b76eb5f0
SP
26514 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26515 MPONE.
26516 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26518 variable MPONE.
26519 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26521 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26522 include directive. Remove local variable MPONE.
26523 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26524 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26525 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26526
2c8bfe7d
DM
265272012-12-25 David S. Miller <davem@davemloft.net>
26528
26529 * version.h (RELEASE): Set to "development".
26530 (VERSION): Set to "2.17.90".
26531 * NEWS: Add 2.18 section.
26532
147d03b0
DM
265332012-12-21 David S. Miller <davem@davemloft.net>
26534
26535 * po/hr.po: Update from translation team.
26536
a8ebb2b9
AK
265372012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26538
26539 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26540
95b4f1b6
SE
265412012-12-19 Steve Ellcey <sellcey@mips.com>
26542
b2d94007 26543 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26544
cedb2a90
MS
265452012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26546
26547 * manual/contrib.texi (Contributors): Spelling correction.
26548
bbf527d6
DM
265492012-12-15 David S. Miller <davem@davemloft.net>
26550
26551 * po/ru.po: Update from translation team.
26552
bc38c906
DM
265532012-12-13 David S. Miller <davem@davemloft.net>
26554
85429b1a
DM
26555 * NEWS: Mention IFUNC testsuite enhancements.
26556
d283e353
DM
26557 * po/pl.po: Update from translation team.
26558 * po/bg.po: Likewise.
26559
bc38c906
DM
26560 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26561 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26562
a181b0d7
DM
265632012-12-11 David S. Miller <davem@davemloft.net>
26564
4641d57e
DM
26565 * po/sv.po: Update from translation team.
26566
f7bc6495
DM
26567 * po/vi.po: Update from translation team.
26568
6fc9048f
DM
26569 * po/cs.po: Update from translation team.
26570
a181b0d7
DM
26571 * po/de.po: Update from translation team.
26572 * po/eo.po: Likewise.
26573 * po/nl.po: Likewise.
26574
f70bfe80
SP
265752012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26576
3c8b4190
SP
26577 [BZ #14246]
26578 * manual/argp.texi (Argp Helper Functions): Move node to follow
26579 Argp Parsing State.
26580
f70bfe80
SP
26581 [BZ #14872]
26582 * manual/conf.texi (Limits on File System Capacity): Mention if
26583 terminating null is included in the max size.
26584
188f0adf
AJ
265852012-12-10 Andreas Jaeger <aj@suse.de>
26586
26587 * po/cs.po: Update from translation team.
26588
56e7d3ad
SP
265892012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26590
26591 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26592 void pointer and cast to uintptr_t.
26593 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26594 path.
26595 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26596 * sysdeps/s390/s390-64/memset.S: Likewise.
26597
76f2d2ea 265982012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26599
26600 [BZ #14833]
26601 * menual/message.texi (Message Translation): Fix typos.
26602 (Helper programs for gettext): Likewise.
26603
67cbf9a2
AS
266042012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26605
26606 [BZ #14898]
26607 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26608 Change to -1.
26609
682d0e9a
DM
266102012-12-07 David S. Miller <davem@davemloft.net>
26611
26612 * po/libc.pot: Update.
26613
573cd484
RH
266142012-12-07 Richard Henderson <rth@redhat.com>
26615
7e9da188 26616 [BZ #10114]
573cd484
RH
26617 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26618 normal/normal case to before the switch.
26619 (_FP_DIV): Likewise.
26620
e933a943
MF
266212012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26622 Mike Frysinger <vapier@gentoo.org>
26623
26624 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26625 check for __NR_fadvise64_64.
26626
82123268
CM
266272012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26628
26629 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26630 0, not just to plain "0" as a statement.
26631 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26632 with cw.
26633
d9814526
JM
266342012-12-06 Joseph Myers <joseph@codesourcery.com>
26635
26636 * NEWS: Use sourceware.org in Bugzilla URL.
26637
7728c574
SP
266382012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26639
f16946dd
SP
26640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26641 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26642
5704bbcb
SP
26643 * stdio-common/tst-put-error.c (do_test): Add newline to the
26644 padded test to ensure flush.
26645
17aa0516
JL
266462012-12-05 Jeff Law <law@redhat.com>
26647
26648 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26649
363313b5
JM
266502012-12-05 Joseph Myers <joseph@codesourcery.com>
26651
effbd42a
JM
26652 * README: Don't refer to ports add-on as distributed separately.
26653 Mention AArch64 in list of systems supported in the ports add-on.
26654
87600365
JM
26655 * LICENSES: Add more non-FSF copyright and license notices.
26656
a0d7066a
JM
26657 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26658 ((unused)).
26659
66ca5a5b
JM
26660 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26661
363313b5
JM
26662 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26663 10000 as width of padded output.
26664
b37984ad
JM
266652012-12-04 Joseph Myers <joseph@codesourcery.com>
26666
9003570a
JM
26667 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26668
b37984ad
JM
26669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26670 variable LX with __attribute__ ((unused)).
26671 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26672 Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26676 with __attribute__ ((unused)).
26677
c8df52ec
DM
266782012-12-04 David S. Miller <davem@abraco.davemloft.net>
26679
26680 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26681
b3b099af
JM
266822012-12-04 Joseph Myers <joseph@codesourcery.com>
26683
c33aa6e3
JM
26684 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26685 (CFLAGS-nldbl-acos.c): New variable.
26686 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26687 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26688 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26689 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26690 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26691 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26692 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26693 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26694 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26695 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26696 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26697 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26698 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26699 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26700 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26701 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26702 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26703 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26704 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26705 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26706 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26707 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26708 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26709 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26710 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26711 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26712 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26713 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26714 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26715 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26716 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26717 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26718 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26719 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26720 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26721 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26722 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26723 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26724 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26725 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26726 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26727 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26728 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26729 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26730 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26731 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26732 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26733 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26734 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26735 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26736 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26737 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26738 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26739 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26740 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26741 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26742 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26743 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26744 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26745 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26746 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26747 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26748 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26749 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26750 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26751 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26752 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26753 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26754 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26755 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26756 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26757 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26758 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26759 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26760 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26761 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26762 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26763 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26764 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26765 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26766 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26767 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26769 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26770 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26771 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26772 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26773 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26774 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26775 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26776 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26777 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26778 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26779 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26780 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26781 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26782 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26783
20f0018d
JM
26784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26785 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26786
b3b099af
JM
26787 [BZ #14914]
26788 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26789 whole low double instead of just low 47 bits when splitting values
26790 into two parts.
26791
029264d1
AM
267922012-12-03 Allan McRae <allan@archlinux.org>
26793
26794 * manual/stdio.texi (Predefined Printf Handlers): Remove
26795 @hsep and @vsep usage.
26796
c9d6789e
MF
267972012-12-03 Mike Frysinger <vapier@gentoo.org>
26798
26799 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26800 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26801
4b7634a5
JL
268022012-12-03 Jeff Law <law@redhat.com>
26803
26804 * time/sys/time.h (settimeofday): Do not mark TV argument
26805 as __nonnull.
26806
eb6cbd24
MF
268072012-12-01 Mike Frysinger <vapier@gentoo.org>
26808
26809 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26810 when currently writing and seek to current position when not.
26811 * libio/Makefile (tests): Remove bug-fclose1.
26812 * libio/bug-fclose1.c: Delete.
26813
f638872a
JM
268142012-12-01 Joseph Myers <joseph@codesourcery.com>
26815
26816 * manual/arith.texi (feenableexcept): Fix typo.
26817 (fedisableexcept): Likewise.
26818
48085d14
RM
268192012-11-30 Roland McGrath <roland@hack.frob.com>
26820
26821 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26822 second, differently-typed declaration, rather than a cast.
26823
1a538b9f
SP
268242012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26825
26826 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26827 * include/rpc/svc.h: ... here.
26828
d07f2ff1 268292012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26830
26831 [BZ #13013]
26832 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26833 depending n and resplen2 to catch cases where answer
26834 equals answerp2.
26835
c93ec1f0
CD
268362012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26837
26838 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26839 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26840
37db69de
MF
268412012-11-29 Mike Frysinger <vapier@gentoo.org>
26842
26843 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26844
e10c4e4f
RM
268452012-11-29 Roland McGrath <roland@hack.frob.com>
26846
26847 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26848
2af1b328
JL
268492012-11-28 Jeff Law <law@redhat.com>
26850
26851 [BZ #13761]
26852 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26853 dataset_temporary. Track alloca usage into alloca_used.
26854 If dataset is large allocate and release it via malloc/free.
26855
111db5b1
FW
268562012-06-04 Florian Weimer <fweimer@redhat.com>
26857
f06cc227 26858 [BZ #14197]
111db5b1
FW
26859 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26860
dd694abd
DM
268612012-11-28 David S. Miller <davem@davemloft.net>
26862
26863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26864
9984dd01
JM
268652012-11-28 Joseph Myers <joseph@codesourcery.com>
26866
26867 [BZ #14803]
26868 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26869 of pi/2 rounded to nearest to 64 bits.
26870 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26871 nearest to 64 bits.
26872 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26873 bits.
26874
14bc93a9
JL
268752012-11-28 Jeff Law <law@redhat.com>
26876 Martin Osvald <mosvald@redhat.com>
26877
26878 [BZ #14889]
26879 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26880 * sunrpc/svc.c: Include time.h.
26881 (__svc_accept_failed): New function.
26882 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26883 any reason other than EINTR, call __svc_accept_failed.
26884 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26885 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26886
e3c6aa3a
AS
268872012-11-28 Andreas Schwab <schwab@suse.de>
26888
26889 * scripts/abilist.awk: Also handle indirect functions in .opd
26890 section.
26891
1bead169
JM
268922012-11-28 Joseph Myers <joseph@codesourcery.com>
26893
26894 [BZ #13881]
26895 * sysdeps/x86/fpu/powl_helper.c: New file.
26896 * sysdeps/x86/fpu/Makefile: Likewise.
26897 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26898 (p3): New object.
26899 (__ieee754_powl): Use __powl_helper for finite arguments except
26900 integer exponents below 8.
26901 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26902 (p3): New object.
26903 (__ieee754_powl): Use __powl_helper for finite arguments except
26904 integer exponents below 8.
26905 * math/libm-test.inc (pow_test): Add more tests and enable some
26906 previously disabled tests.
26907 * sysdeps/i386/fpu/libm-test-ulps: Update.
26908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26909
0817d63d
SP
269102012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26911 Carlos O'Donell <carlos_odonell@mentor.com>
26912
26913 * nss/makedb.c (is_prime): Assert that input is odd and greater
26914 than 4. Note that fact in a comment too.
26915 (next_prime): Add 4 to input.
26916
de2fd463
SP
269172012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26918
26919 [BZ #11741]
26920 * libio/Makefile (tests): Add test case tst-fwrite-error.
26921 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26922 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26923 * libio/tst-fwrite-error.c: New test case.
26924
c515fb51
L
269252012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26926
26927 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26928 before casting to void *.
26929 * include/libc-internal.h (__pointer_type): New macro.
26930 (__integer_if_pointer_type_sub): Likewise.
26931 (__integer_if_pointer_type): Likewise.
26932 (cast_to_integer): Likewise.
26933 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26934 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26935 before casting to atomic64_t.
26936 (atomic_exchange_acq): Likewise.
26937 (__arch_exchange_and_add_body): Likewise.
26938 (__arch_add_body): Likewise.
26939 (atomic_add_negative): Likewise.
26940 (atomic_add_zero): Likewise.
26941
4cf77aa9
JM
269422012-11-26 Joseph Myers <joseph@codesourcery.com>
26943
26944 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26945 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26946 (add_fdes): Likewise.
26947 (linear_search_fdes): Likewise.
26948 (binary_search_unencoded_fdes): Likewise.
26949
d260b3b4
AS
269502012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26951
26952 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26953
67060746
AC
269542012-11-24 Adam Conrad <adconrad@0c3.net>
26955
26956 * configure.in: Autodetect C++ header directories.
26957 * configure: Regenerated.
26958
800938a1
MF
269592012-11-23 Mike Frysinger <vapier@gentoo.org>
26960
26961 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26962
4e6e34e6
AS
269632012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26964
26965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26966
7c7feb47
JM
269672012-11-22 Joseph Myers <joseph@codesourcery.com>
26968
7184dcdf
JM
26969 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26970 LDBL_MANT_DIG == 106]: Disable some tests.
26971 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26972 Likewise.
26973 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26974 Likewise.
26975
0a42601f
JM
26976 [BZ #14871]
26977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26978 input for small inputs. Return +/- pi/2 for large inputs.
26979 * math/libm-test.inc (atan_test): Add more tests.
26980
79c9b9fe
JM
26981 * sysdeps/generic/unwind-dw2-fde-glibc.c
26982 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26983 __attribute__ ((unused)).
26984
c60d3bf2
JM
26985 [BZ #14645]
26986 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26987 x * y if x and y are nonzero and z is zero.
26988
ef1e0867
JM
26989 [BZ #14811]
26990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26991 nonzero exponents with absolute value below 0x1p-117 to +/-
26992 0x1p-117.
26993
1468ded3
JM
26994 [BZ #14869]
26995 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26996 up arguments below 2**-450, not just those below 2**-500.
26997 * math/libm-test.inc (hypot_test): Add another test.
26998
8e27e3cc
JM
26999 [BZ #14868]
27000 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27001 Return a+b for ratio over 2**120, not 2**60.
27002 * math/libm-test.inc (hypot_test): Add another test.
27003
c9c0279b
JM
27004 * math/libm-test.inc (clog_test): Use
27005 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27006 (clog10_test): Likewise.
27007
7c7feb47
JM
27008 [BZ #6778]
27009 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27010
fff1530e
AS
270112012-11-22 Andreas Schwab <schwab@suse.de>
27012
27013 * sysdeps/i386/fpu/libm-test-ulps: Update.
27014
94558d30
PT
270152012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27016
27017 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27018 printf output with newline.
27019
7e1be741
L
270202012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27021
6bfea974
L
27022 [BZ #14865]
27023 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27024 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27025 -z nodlopen, -z initfirst and -z execstack support.
27026 * configure: Regenerated.
27027
7e1be741
L
27028 * elf/elf.h (DF_1_NODIRECT): New macro.
27029 (DF_1_IGNMULDEF): Likewise.
27030 (DF_1_NOKSYMS): Likewise.
27031 (DF_1_NOHDR): Likewise.
27032 (DF_1_EDITED): Likewise.
27033 (DF_1_NORELOC): Likewise.
27034 (DF_1_SYMINTPOSE): Likewise.
27035 (DF_1_GLOBAUDIT): Likewise.
27036 (DF_1_SINGLETON): Likewise.
27037 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27038 DT_1_SUPPORTED_MASK bits.
27039 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27040
105ce2ce
CD
270412012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27042
27043 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27044
123be9de
TS
270452012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27046
d072f3f7
TS
27047 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27048 macro.
27049
123be9de
TS
27050 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27051 (sendmmsg): Move declarations...
27052 * socket/sys/socket.h: ... here.
27053 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27054 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27055 include it from...
27056 * socket/recvmmsg.c: ... this new file.
27057 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27058 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27059 definition of __sendmmsg hidden.
27060 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27061 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27062 Move ENOSYS stub into and include it from...
27063 * socket/sendmmsg.c: ... this new file.
27064 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27065 (sysdep_routines): Move recvmmsg and sendmmsg...
27066 * socket/Makefile (routines): ... here.
27067 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27068 (GLIBC_PRIVATE): Add __sendmmsg.
27069 * include/sys/socket.h (__sendmmsg): Add declarations.
27070 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27071 sendmmsg.
27072
cf9a5d18
JM
270732012-11-20 Joseph Myers <joseph@codesourcery.com>
27074
27075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27076 variable I1 with __attribute__ ((unused)).
27077 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27078
ecd4caf9
JM
270792012-11-19 Joseph Myers <joseph@codesourcery.com>
27080
be14d48f
JM
27081 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27082 DUMMY variables with __attribute__ ((unused)).
27083
ecd4caf9
JM
27084 * bits/byteswap.h: Include <bits/types.h>.
27085 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27086
986cab95
PT
270872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27088
27089 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27090 string_t. Do not manually set errno.
27091 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27092 length with __strnlen. Make sure to both set errno and return it on
27093 failure.
27094
6d33cc9d
DM
270952012-11-19 David S. Miller <davem@davemloft.net>
27096
27097 With help from Joseph Myers.
27098 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27099 very large arguments properly.
27100 * math/libm-test.inc (atan_test): New tests.
27101 (atan2_test): New tests.
27102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27104
ee663277
JM
271052012-11-19 Joseph Myers <joseph@codesourcery.com>
27106
877f2d8e
JM
27107 [BZ #14856]
27108 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27109 Define to 3.
27110
116fc08a
JM
27111 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27112 [POSIX] (EADDRNOTAVAIL): Likewise.
27113 [POSIX] (EAFNOSUPPORT): Likewise.
27114 [POSIX] (EALREADY): Likewise.
27115 [POSIX] (ECONNABORTED): Likewise.
27116 [POSIX] (ECONNREFUSED): Likewise.
27117 [POSIX] (ECONNRESET): Likewise.
27118 [POSIX] (EDESTADDRREQ): Likewise.
27119 [POSIX] (EDQUOT): Likewise.
27120 [POSIX] (EHOSTUNREACH): Likewise.
27121 [POSIX] (EIDRM): Likewise.
27122 [POSIX] (EISCONN): Likewise.
27123 [POSIX] (ELOOP): Likewise.
27124 [POSIX] (EMULTIHOP): Likewise.
27125 [POSIX] (ENETDOWN): Likewise.
27126 [POSIX] (ENETUNREACH): Likewise.
27127 [POSIX] (ENOBUFS): Likewise.
27128 [POSIX] (ENODATA): Likewise.
27129 [POSIX] (ENOLINK): Likewise.
27130 [POSIX] (ENOMSG): Likewise.
27131 [POSIX] (ENOPROTOOPT): Likewise.
27132 [POSIX] (ENOSR): Likewise.
27133 [POSIX] (ENOSTR): Likewise.
27134 [POSIX] (ENOTCONN): Likewise.
27135 [POSIX] (ENOTSOCK): Likewise.
27136 [POSIX] (EOPNOTSUPP): Likewise.
27137 [POSIX] (EOVERFLOW): Likewise.
27138 [POSIX] (EPROTO): Likewise.
27139 [POSIX] (EPROTONOSUPPORT): Likewise.
27140 [POSIX] (EPROTOTYPE): Likewise.
27141 [POSIX] (ESTALE): Likewise.
27142 [POSIX] (ETIME): Likewise.
27143 [POSIX] (ETXTBSY): Likewise.
27144 [POSIX] (EWOULDBLOCK): Likewise.
27145 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27146 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27147 [POSIX] (SEEK_CUR): Likewise.
27148 [POSIX] (SEEK_END): Likewise.
27149 [POSIX || UNIX98] (mode_t): Do not require.
27150 [POSIX] (off_t): Likewise.
27151 [POSIX] (pid_t): Likewise.
27152 [POSIX] (sys/stat.h): Do not allow header.
27153 [POSIX] (unistd.h): Likewise.
27154 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27155 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27156 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27157 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27158 require.
27159 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27160 sigevent): Specify elements.
27161 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27162 entry.
27163 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27164 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27165
a483863f
JM
27166 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27167 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27168 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27169 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27170 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27171 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27172 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27173 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27174 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27175 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27176 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27177 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27178 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27179 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27180 Likewise.
27181 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27182 Likewise.
27183 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27184 Likewise.
27185 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27186 Likewise.
27187 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27188 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27189 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27190 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27191 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27192 Specify lower bound on value.
27193 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27194 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27195 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27196 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27197 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27198 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27199 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27200 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27201 value.
27202 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27203 as optional.
27204 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27206 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27207 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27208 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27209 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27213 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27214 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27215 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27216 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27218 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27219 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27220 entry.
27221 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27222 optional.
27223 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27228 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27229 Likewise.
27230 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27234 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27235 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27236 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27237 as optional.
27238 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27240 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27242 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27243 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27244 specify as optional.
27245 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27248 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27249 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27250 [XPG3] (NL_LANGMAX): Likewise.
27251 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27252 [POSIX || XPG3] (NL_NMAX): Likewise.
27253 [POSIX || XPG3] (NL_SETMAX): Likewise.
27254 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27255 [XPG3] (NZERO): Likewise.
27256 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27257 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27258 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27259 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27260 (REG_ERANGE): Expect.
27261 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27262 optional-constant.
27263 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27264 Use (void) in prototype.
27265 [POSIX] (*_t): Allow.
27266 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27267 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27268 (WRDE_BADVAL): Expect.
27269
5ba924e3
JM
27270 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27271 expect.
27272 [XPG3 || XPG4] (O_RSYNC): Likewise.
27273 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27274 Likewise.
27275 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27276 [XPG3 || XPG4] (sigqueue): Likewise.
27277 [XPG3 || XPG4] (sigtimedwait): Likewise.
27278 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27279 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27280 [XPG3 || XPG4] (vsnprintf): Likewise.
27281 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27282 Likewise.
27283 [XPG3 || XPG4] (blksize_t): Likewise.
27284 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27285 Likewise.
27286 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27287 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27288 [XPG3 || XPG4] (struct itimerspec): Likewise.
27289 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27290 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27291 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27292 [XPG3 || XPG4] (clockid_t): Likewise.
27293 [XPG3 || XPG4] (timer_t): Likewise.
27294 [XPG3 || XPG4] (clock_getres): Likewise.
27295 [XPG3 || XPG4] (clock_gettime): Likewise.
27296 [XPG3 || XPG4] (clock_settime): Likewise.
27297 [XPG3 || XPG4] (nanosleep): Likewise.
27298 [XPG3 || XPG4] (timer_create): Likewise.
27299 [XPG3 || XPG4] (timer_delete): Likewise.
27300 [XPG3 || XPG4] (timer_gettime): Likewise.
27301 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27302 [XPG3 || XPG4] (timer_settime): Likewise.
27303 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27304 [XPG3 || XPG4] (getlogin_r): Likewise.
27305 [XPG3 || XPG4] (pread): Likewise.
27306 [XPG3 || XPG4] (pthread_atfork): Likewise.
27307 [XPG3 || XPG4] (pwrite): Likewise.
27308
ee663277
JM
27309 [BZ #14835]
27310 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27311 <bits/siginfo.h>.
27312
942caa16
PT
273132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27314
e19af380
PT
27315 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27316 finalizing MALLSTREAM.
27317
942caa16
PT
27318 * sysdeps/mach/hurd/syncfs.c: New file.
27319
cfde9b46
SP
273202012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27321
27322 [BZ #14719]
27323 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27324 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27325 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27326 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27327 (_nss_dns_gethostbyname4_r): Likewise.
27328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27329 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27330
f6da27e5
PH
273312012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27332
27333 [BZ #13763]
27334 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27335
6665d4a2
SM
273362012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27337
1f51ee92
SM
27338 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27339 * elf/cache.c (print_entry): Print ",AArch64" for
27340 FLAG_AARCH64_LIB64
27341
6665d4a2
SM
27342 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27343 * elf/cache.c (print_entry): Print ",hard-float" for
27344 FLAG_ARM_LIBHF.
27345
05b227bd
DM
273462012-11-18 David S. Miller <davem@davemloft.net>
27347
27348 With help from Joseph Myers.
27349 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27350 cutoff to 2**-13.
27351 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27352 cutoff to 2**-25.
27353 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27354 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27355 small.
27356 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27357 * math/libm-test.inc (y0_test): New tests.
27358 (y1_test): New tests.
27359 * sysdeps/i386/fpu/libm-test-ulps: Update.
27360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27362
786b0b67
AS
273632012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27364
27365 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27366 64-bit targets.
27367 * configure: Regenerated.
27368
8e18b86d
DM
273692012-11-17 David S. Miller <davem@davemloft.net>
27370
27371 [BZ #14811]
27372 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27373 nonzero exponents with absolute value below 0x1p-128 to +/-
27374 0x1p-128.
27375
531f1ae0
JM
273762012-11-17 Joseph Myers <joseph@codesourcery.com>
27377
12df29e2
JM
27378 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27379
150dc1a0
JM
27380 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27381
531f1ae0
JM
27382 * posix/getconf-speclist.c: New file.
27383 * posix/posix-envs.def: Likewise.
27384 * posix/confstr.c (START_ENV_GROUP): New macro.
27385 (END_ENV_GROUP): Likewise.
27386 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27387 (KNOWN_PRESENT_ENV_STRING): Likewise.
27388 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27389 (UNKNOWN_ENVIRONMENT): Likewise.
27390 (confstr): Include posix-envs.def instead of handling
27391 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27392 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27393 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27394 (END_ENV_GROUP): Likewise.
27395 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27396 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27397 (UNKNOWN_ENVIRONMENT): Likewise.
27398 (__sysconf): Include posix-envs.def instead of handling associated
27399 cases directly here.
27400 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27401 preprocessing getconf-speclist.c rather than running getconf or
27402 generating empty file.
27403
a93f9cbc
PT
274042012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27405
27406 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27407
d64d9f87
AL
274082012-11-16 Andrej Lajovic <natrij@gmail.com>
27409
27410 [BZ #14672]
27411 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27412
447885eb
DM
274132012-11-16 David S. Miller <davem@davemloft.net>
27414
27415 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27416 smaller than LDBL_EPSILON/2.0L, just return xm1.
27417
bcbf9830
L
274182012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27419
27420 * elf/tst-array1.c (init): Set constructor priority to 1000.
27421 (fini): Set destructor priority to 1000.
27422 * elf/tst-array2dep.c: Likewise.
27423
2b766585
SP
274242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27425
27426 [BZ #11741]
27427 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27428 (_IO_new_file_xsputn): Also return EOF if none of the input
27429 data was written when overflow failed.
27430 * libio/iopadn.c (_IO_padn): Likewise.
27431 * libio/iowpadn.c (_IO_wpadn): Likewise.
27432 * stdio-common/tst-put-error.c: Add copyright notice.
27433 (do_test): Add case for printing padded string.
27434 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27435 _IO_padn returned error.
27436 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27437 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27438 return EOF.
27439
b1848fde
SP
274402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27441
27442 * libio/libioP.h: Add comment note that the references to C++
27443 bits are now obsolete.
27444
2fd89785
MS
274452012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27446
27447 * math/libm-test.inc (check_complex): Use asprintf.
27448
e3ea5409
JM
274492012-11-14 Joseph Myers <joseph@codesourcery.com>
27450
27451 * debug/pcprofiledump.c (print_version): Update copyright year.
27452 * malloc/memusagestat.c (print_version): Likewise.
27453
2e64d265
L
274542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27455
27456 [BZ #14831]
27457 * elf/Makefile (tests): Add tst-audit8.
27458 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27459 ($(objpfx)tst-audit8.out): New target.
27460 (tst-audit8-ENV): New variable.
27461 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27462 audit if l_reloc_result is NULL.
27463 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27464 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27465 * elf/tst-audit8.c: New file.
27466
c485e4d2
MS
274672012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27468
27469 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27470 * misc/Makefile (CFLAGS-select.c): Define.
27471 * posix/Makefile (CFLAGS-pause.c): Define.
27472
3a0d900a
DM
274732012-11-13 David S. Miller <davem@davemloft.net>
27474
27475 * crypt/Makefile: Move test targets after toplevel Rules
27476 inclusion. Grab any necessary sysdep routines when linking.
27477 * crypt/md5.c (md5_process_block): Remove define, we will always
27478 name it __md5_process_block.
27479 (md5_finish_ctx): Update md5_process_block call.
27480 (md5_stream): Likewise.
27481 (md5_process_bytes): Likewise.
27482 (md5_process_block): Rename to __md5_process_block and move to ...
27483 * crypt/md5-block.c: ... here.
27484 * crypt/sha256.c (sha256_process_block): Move to ...
27485 * crypt/sha256-block.c: ... here.
27486 * crypt/sha512.c (sha512_process_block): Move to ...
27487 * crypt/sha512-block.c: ... here.
27488 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27489 path.
27490 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27491 * sysdeps/sparc/sparc64/multiarch/Makefile
27492 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27493 crypt subdir.
27494 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27495 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27496 multiarch changes.
27497 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27498 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27499 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27500 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27501 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27502 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27503 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27504 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27505 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27506 file.
27507 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27508 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27509 file.
27510 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27511
8ca89318
JM
275122012-11-13 Joseph Myers <joseph@codesourcery.com>
27513
e27d476a
JM
27514 * timezone/tzselect.ksh: Update from tzcode git revision
27515 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27516 * timezone/zdump.c: Likewise.
27517 * timezone/zic.c: Likewise.
27518 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27519 in TZVERSION setting, not $(PKGVERSION).
27520 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27521 REPORT_BUGS_TO settings.
27522
8ca89318
JM
27523 [BZ #14838]
27524 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27525 macro.
27526
47594329
MS
275272012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27528
27529 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27530 detection to immediately after _FP_ROUND().
27531 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27532 bits are 0.
27533
640ac3f1
DM
275342012-11-11 David S. Miller <davem@davemloft.net>
27535
27536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27537 inttypes.h
27538 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27539 __close rather than their public counterparts.
27540
3d2577bb
JM
275412012-11-10 Joseph Myers <joseph@codesourcery.com>
27542
27543 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27544 file.
27545 [UNIX98] (sem_timedwait): Do not expect.
27546 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27547 [XPG4 || UNIX98] (sockatmark): Do not expect.
27548 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27549 (clock_getcpuclockid): Do not expect.
27550 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27551 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27552 Do not expect.
27553 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27554 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27555 [UNIX98] (vwscanf): Likewise.
27556 [UNIX98] (vswscanf): Likewise.
27557
fb1ae1ee
JM
275582012-11-09 Joseph Myers <joseph@codesourcery.com>
27559
9ec6f8bd
JM
27560 * timezone/version.h: Remove file.
27561 * timezone/README: Do not refer to version.h.
27562 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27563 $(objpfx)version.h.
27564 ($(objpfx)zdump.o): Likewise.
c3f81911 27565 ($(objpfx)version.h): New target.
9ec6f8bd 27566
0aa8f8a1
JM
27567 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27568 2012i.
27569 * timezone/README: Don't mention modification to tzselect.ksh.
27570 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27571 work on unmodified tzselect.ksh. Substitute version numbers in
27572 tzselect.ksh.
27573
4e87147f
JM
27574 * Makefile (format-me): Remove.
27575 (INSTALL): Adjust indentation. Use commands directly instead of
27576 using $(format-me).
27577
8b748aed
JM
27578 * aclocal.m4 (ACX_PKGVERSION): New macro.
27579 (ACX_BUGURL): Likewise.
27580 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27581 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27582 (REPORT_BUGS_TO): Likewise.
27583 * configure: Regenerated.
27584 * config.h.in (PKGVERSION): New macro.
27585 (REPORT_BUGS_TO): Likewise.
27586 * config.make.in (PKGVERSION): New variable.
27587 (PKGVERSION_TEXI): Likewise.
27588 (REPORT_BUGS_TO): Likewise.
27589 (REPORT_BUGS_TEXI): Likewise.
27590 * Makefile (format-me): Use -I$(common-objpfx)manual.
27591 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27592 ($(common-objpfx)manual/%): New target.
27593 (manual/%): Remove target.
27594 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27595 (print_version): Use PKGVERSION.
27596 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27597 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27598 and REPORT_BUGS_TO.
27599 ($(objpfx)xtrace): Likewise.
27600 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27601 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27602 (print_version): Use PKGVERSION.
27603 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27604 (do_version): Use PKGVERSION.
27605 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27606 REPORT_BUGS_TO.
27607 (common-ldd-rewrite): Likewise.
27608 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27609 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27610 (print_version): Use PKGVERSION.
27611 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27612 * elf/pldd.c (argp_program_bug_address): Remove variable.
27613 (more_help): New function.
27614 (argp): Use more_help.
27615 (print_version): Use PKGVERSION.
27616 * elf/sln.c (main): Use PKGVERSION.
27617 (usage): Use REPORT_BUGS_TO.
27618 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27619 (top level): Use PKGVERSION.
27620 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27621 (print_version): Use PKGVERSION.
27622 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27623 (print_version): Use PKGVERSION.
27624 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27625 (print_version): Use PKGVERSION.
27626 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27627 (print_version): Use PKGVERSION.
27628 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27629 (print_version): Use PKGVERSION.
27630 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27631 (print_version): Use PKGVERSION.
27632 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27633 and BUGURL.
27634 ($(objpfx)memusage): Likewise.
27635 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27636 (do_version): Use PKGVERSION.
27637 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27638 (print_version): Use PKGVERSION.
27639 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27640 ($PKGVERSION): New variable.
27641 ($REPORT_BUGS_TO): Likewise.
27642 (usage): Use $REPORT_BUGS_TO.
27643 (top level): Use $PKGVERSION.
27644 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27645 ($(objpfx)pkgvers.texi): New rule.
27646 ($(objpfx)stamp-pkgvers): Likewise.
27647 * manual/install.texi: Include pkgvers.texi.
27648 (--with-pkgversion): Document new configure option.
27649 (--with-bugurl): Likewise.
27650 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27651 than necessarily for this particular distribution. Use
27652 REPORT_BUGS_TO for where to report bugs.
27653 * INSTALL: Regenerated.
27654 * manual/libc.texinfo: Include pkgvers.texi.
27655 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27656 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27657 (print_version): Use PKGVERSION.
27658 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27659 (print_version): Use PKGVERSION.
27660 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27661 (print_version): Use PKGVERSION.
27662 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27663 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27664 macro.
27665 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27666 (print_version): Use PKGVERSION.
27667 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27668 (print_version): Use PKGVERSION.
27669 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27670 and PKGVERSION.
27671
92e4b6a9
JM
27672 * timezone/checktab.awk: Update from tzcode 2012i.
27673 * timezone/ialloc.c: Likewise.
27674 * timezone/private.h: Likewise.
27675 * timezone/scheck.c: Likewise.
27676 * timezone/tzfile.h: Likewise.
27677 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27678 (TZVERSION): Hardcode tzcode version number.
27679 * timezone/zdump.c: Update from tzcode 2012i.
27680 * timezone/zic.c: Likewise.
27681 * timezone/version.h: New file.
27682 * timezone/README: Describe version.h. Update upstream location.
27683
9bde902c
JM
27684 [BZ #14824]
27685 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27686 (mktemp): Enable declaration.
27687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27691 Likewise.
27692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27693 Likewise.
27694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27695 Likewise.
27696 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27697 Likewise.
27698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27699 Likewise.
27700 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27701 Likewise.
27702
fb1ae1ee
JM
27703 [BZ #14821]
27704 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27705 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27706 for copies of such integer values.
27707 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27708 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27709
2c1adbcb
AJ
277102012-11-09 Andreas Jaeger <aj@suse.de>
27711
27712 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27713 definitions and declarations that are provided by
27714 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27715
d0f8457e
AK
277162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27717
3a235abb 27718 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27719 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27720 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27721 definition.
27722
57241e26
MS
277232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27724
27725 * elf/elf.h: Update comment before AArch64 relocations.
27726
60e8270d
DM
277272012-11-07 David S. Miller <davem@davemloft.net>
27728
27729 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27730 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27731 (__start_context): Declare.
27732 (__makecontext_ret): Delete.
27733 (__makecontext): Hook up __start_context instead of
27734 __makecontext_ret.
27735 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27736 (sysdep_routines): Add __start_context when in stdlib.
27737
0fbb0fbc
JM
277382012-11-07 Joseph Myers <joseph@codesourcery.com>
27739
27740 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27741 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27742 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27743 hardcoded "nm".
27744 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27745 (READELF): New variable. Use it instead of hardcoded "readelf".
27746
eb48db7e
L
277472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27748
27749 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27750 * sysdeps/x86/Makefile: Here.
27751 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27752 * sysdeps/x86/tst-xmmymm.sh: This.
27753
05bcf62a
JM
277542012-11-07 Joseph Myers <joseph@codesourcery.com>
27755
c4b6cf53
JM
27756 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27757 expectations.
27758 [UNIX98] (pthread_barrier_t): Do not expect.
27759 [UNIX98] (pthread_barrierattr_t): Likewise.
27760 [UNIX98] (pthread_spinlock_t): Likewise.
27761 [UNIX98] (pthread_barrier_destroy): Likewise.
27762 [UNIX98] (pthread_barrier_init): Likewise.
27763 [UNIX98] (pthread_barrier_wait): Likewise.
27764 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27765 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27766 [UNIX98] (pthread_barrierattr_init): Likewise.
27767 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27768 [UNIX98] (pthread_getcpuclockid): Likewise.
27769 [UNIX98] (pthread_mutex_timedlock): Likewise.
27770 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27771 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27772 [UNIX98] (pthread_sigmask): Likewise.
27773 [UNIX98] (pthread_spin_destroy): Likewise.
27774 [UNIX98] (pthread_spin_init): Likewise.
27775 [UNIX98] (pthread_spin_lock): Likewise.
27776 [UNIX98] (pthread_spin_trylock): Likewise.
27777 [UNIX98] (pthread_spin_unlock): Likewise.
27778 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27779 Do not expect.
27780 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27781 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27782 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27783 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27784 [XPG3 || XPG4] (pthread_key_t): Likewise.
27785 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27786 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27787 [XPG3 || XPG4] (pthread_once_t): Likewise.
27788 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27789 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27790 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27791 [XPG3 || XPG4] (pthread_t): Likewise.
27792
cbe6e120
JM
27793 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27794 not expect.
27795 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27796
1b126443
JM
27797 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27798 Change function return type to int.
27799
b961a573
JM
27800 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27801 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27802 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27803 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27804 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27805 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27806 [!POSIX] (posix_madvise): Likewise.
27807 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27808 && !UNIX98].
27809 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27810 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27811 (mode_t): Likewise.
27812 (posix_mem_offset): Likewise.
27813 (posix_typed_mem_get_info): Likewise.
27814 (posix_typed_mem_open): Likewise.
27815
9e188909
JM
27816 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27817 Change condition to [XOPEN2K8].
27818
05bcf62a
JM
27819 * conform/conformtest.pl: Preprocess allow-header data with -x c
27820 instead of from stdin.
27821 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27822 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27823 [C99-based standards] (cerfc): Likewise.
27824 [C99-based standards] (cexp2): Likewise.
27825 [C99-based standards] (cexpm1): Likewise.
27826 [C99-based standards] (clog10): Likewise.
27827 [C99-based standards] (clog1p): Likewise.
27828 [C99-based standards] (clog2): Likewise.
27829 [C99-based standards] (clgamma): Likewise.
27830 [C99-based standards] (ctgamma): Likewise.
27831 [C99-based standards] (cerff): Likewise.
27832 [C99-based standards] (cerfcf): Likewise.
27833 [C99-based standards] (cexp2f): Likewise.
27834 [C99-based standards] (cexpm1f): Likewise.
27835 [C99-based standards] (clog10f): Likewise.
27836 [C99-based standards] (clog1pf): Likewise.
27837 [C99-based standards] (clog2f): Likewise.
27838 [C99-based standards] (clgammaf): Likewise.
27839 [C99-based standards] (ctgammaf): Likewise.
27840 [C99-based standards] (cerfl): Likewise.
27841 [C99-based standards] (cerfcl): Likewise.
27842 [C99-based standards] (cexp2l): Likewise.
27843 [C99-based standards] (cexpm1l): Likewise.
27844 [C99-based standards] (clog10l): Likewise.
27845 [C99-based standards] (clog1pl): Likewise.
27846 [C99-based standards] (clog2l): Likewise.
27847 [C99-based standards] (clgammal): Likewise.
27848 [C99-based standards] (ctgammal): Likewise.
27849 * conform/data/inttypes.h-data [C99-based standards]: Include
27850 stdint.h-data. Remove all expectations for stdint.h contents.
27851 [C99-based standards] (PRI*): Do not allow.
27852 [C99-based standards] (SCN*): Likewise.
27853 [C99-based standards] (*_t): Likewise.
27854 [C99-based-standards] (PRId8): Expect macro.
27855 [C99-based-standards] (PRIi8): Likewise.
27856 [C99-based-standards] (PRIo8): Likewise.
27857 [C99-based-standards] (PRIu8): Likewise.
27858 [C99-based-standards] (PRIx8): Likewise.
27859 [C99-based-standards] (PRIX8): Likewise.
27860 [C99-based-standards] (SCNd8): Likewise.
27861 [C99-based-standards] (SCNi8): Likewise.
27862 [C99-based-standards] (SCNo8): Likewise.
27863 [C99-based-standards] (SCNu8): Likewise.
27864 [C99-based-standards] (SCNx8): Likewise.
27865 [C99-based-standards] (PRIdLEAST8): Likewise.
27866 [C99-based-standards] (PRIiLEAST8): Likewise.
27867 [C99-based-standards] (PRIoLEAST8): Likewise.
27868 [C99-based-standards] (PRIuLEAST8): Likewise.
27869 [C99-based-standards] (PRIxLEAST8): Likewise.
27870 [C99-based-standards] (PRIXLEAST8): Likewise.
27871 [C99-based-standards] (SCNdLEAST8): Likewise.
27872 [C99-based-standards] (SCNiLEAST8): Likewise.
27873 [C99-based-standards] (SCNoLEAST8): Likewise.
27874 [C99-based-standards] (SCNuLEAST8): Likewise.
27875 [C99-based-standards] (SCNxLEAST8): Likewise.
27876 [C99-based-standards] (PRIdFAST8): Likewise.
27877 [C99-based-standards] (PRIiFAST8): Likewise.
27878 [C99-based-standards] (PRIoFAST8): Likewise.
27879 [C99-based-standards] (PRIuFAST8): Likewise.
27880 [C99-based-standards] (PRIxFAST8): Likewise.
27881 [C99-based-standards] (PRIXFAST8): Likewise.
27882 [C99-based-standards] (SCNdFAST8): Likewise.
27883 [C99-based-standards] (SCNiFAST8): Likewise.
27884 [C99-based-standards] (SCNoFAST8): Likewise.
27885 [C99-based-standards] (SCNuFAST8): Likewise.
27886 [C99-based-standards] (SCNxFAST8): Likewise.
27887 [C99-based-standards] (PRId16): Likewise.
27888 [C99-based-standards] (PRIi16): Likewise.
27889 [C99-based-standards] (PRIo16): Likewise.
27890 [C99-based-standards] (PRIu16): Likewise.
27891 [C99-based-standards] (PRIx16): Likewise.
27892 [C99-based-standards] (PRIX16): Likewise.
27893 [C99-based-standards] (SCNd16): Likewise.
27894 [C99-based-standards] (SCNi16): Likewise.
27895 [C99-based-standards] (SCNo16): Likewise.
27896 [C99-based-standards] (SCNu16): Likewise.
27897 [C99-based-standards] (SCNx16): Likewise.
27898 [C99-based-standards] (PRIdLEAST16): Likewise.
27899 [C99-based-standards] (PRIiLEAST16): Likewise.
27900 [C99-based-standards] (PRIoLEAST16): Likewise.
27901 [C99-based-standards] (PRIuLEAST16): Likewise.
27902 [C99-based-standards] (PRIxLEAST16): Likewise.
27903 [C99-based-standards] (PRIXLEAST16): Likewise.
27904 [C99-based-standards] (SCNdLEAST16): Likewise.
27905 [C99-based-standards] (SCNiLEAST16): Likewise.
27906 [C99-based-standards] (SCNoLEAST16): Likewise.
27907 [C99-based-standards] (SCNuLEAST16): Likewise.
27908 [C99-based-standards] (SCNxLEAST16): Likewise.
27909 [C99-based-standards] (PRIdFAST16): Likewise.
27910 [C99-based-standards] (PRIiFAST16): Likewise.
27911 [C99-based-standards] (PRIoFAST16): Likewise.
27912 [C99-based-standards] (PRIuFAST16): Likewise.
27913 [C99-based-standards] (PRIxFAST16): Likewise.
27914 [C99-based-standards] (PRIXFAST16): Likewise.
27915 [C99-based-standards] (SCNdFAST16): Likewise.
27916 [C99-based-standards] (SCNiFAST16): Likewise.
27917 [C99-based-standards] (SCNoFAST16): Likewise.
27918 [C99-based-standards] (SCNuFAST16): Likewise.
27919 [C99-based-standards] (SCNxFAST16): Likewise.
27920 [C99-based-standards] (PRId32): Likewise.
27921 [C99-based-standards] (PRIi32): Likewise.
27922 [C99-based-standards] (PRIo32): Likewise.
27923 [C99-based-standards] (PRIu32): Likewise.
27924 [C99-based-standards] (PRIx32): Likewise.
27925 [C99-based-standards] (PRIX32): Likewise.
27926 [C99-based-standards] (SCNd32): Likewise.
27927 [C99-based-standards] (SCNi32): Likewise.
27928 [C99-based-standards] (SCNo32): Likewise.
27929 [C99-based-standards] (SCNu32): Likewise.
27930 [C99-based-standards] (SCNx32): Likewise.
27931 [C99-based-standards] (PRIdLEAST32): Likewise.
27932 [C99-based-standards] (PRIiLEAST32): Likewise.
27933 [C99-based-standards] (PRIoLEAST32): Likewise.
27934 [C99-based-standards] (PRIuLEAST32): Likewise.
27935 [C99-based-standards] (PRIxLEAST32): Likewise.
27936 [C99-based-standards] (PRIXLEAST32): Likewise.
27937 [C99-based-standards] (SCNdLEAST32): Likewise.
27938 [C99-based-standards] (SCNiLEAST32): Likewise.
27939 [C99-based-standards] (SCNoLEAST32): Likewise.
27940 [C99-based-standards] (SCNuLEAST32): Likewise.
27941 [C99-based-standards] (SCNxLEAST32): Likewise.
27942 [C99-based-standards] (PRIdFAST32): Likewise.
27943 [C99-based-standards] (PRIiFAST32): Likewise.
27944 [C99-based-standards] (PRIoFAST32): Likewise.
27945 [C99-based-standards] (PRIuFAST32): Likewise.
27946 [C99-based-standards] (PRIxFAST32): Likewise.
27947 [C99-based-standards] (PRIXFAST32): Likewise.
27948 [C99-based-standards] (SCNdFAST32): Likewise.
27949 [C99-based-standards] (SCNiFAST32): Likewise.
27950 [C99-based-standards] (SCNoFAST32): Likewise.
27951 [C99-based-standards] (SCNuFAST32): Likewise.
27952 [C99-based-standards] (SCNxFAST32): Likewise.
27953 [C99-based-standards] (PRId64): Likewise.
27954 [C99-based-standards] (PRIi64): Likewise.
27955 [C99-based-standards] (PRIo64): Likewise.
27956 [C99-based-standards] (PRIu64): Likewise.
27957 [C99-based-standards] (PRIx64): Likewise.
27958 [C99-based-standards] (PRIX64): Likewise.
27959 [C99-based-standards] (SCNd64): Likewise.
27960 [C99-based-standards] (SCNi64): Likewise.
27961 [C99-based-standards] (SCNo64): Likewise.
27962 [C99-based-standards] (SCNu64): Likewise.
27963 [C99-based-standards] (SCNx64): Likewise.
27964 [C99-based-standards] (PRIdLEAST64): Likewise.
27965 [C99-based-standards] (PRIiLEAST64): Likewise.
27966 [C99-based-standards] (PRIoLEAST64): Likewise.
27967 [C99-based-standards] (PRIuLEAST64): Likewise.
27968 [C99-based-standards] (PRIxLEAST64): Likewise.
27969 [C99-based-standards] (PRIXLEAST64): Likewise.
27970 [C99-based-standards] (SCNdLEAST64): Likewise.
27971 [C99-based-standards] (SCNiLEAST64): Likewise.
27972 [C99-based-standards] (SCNoLEAST64): Likewise.
27973 [C99-based-standards] (SCNuLEAST64): Likewise.
27974 [C99-based-standards] (SCNxLEAST64): Likewise.
27975 [C99-based-standards] (PRIdFAST64): Likewise.
27976 [C99-based-standards] (PRIiFAST64): Likewise.
27977 [C99-based-standards] (PRIoFAST64): Likewise.
27978 [C99-based-standards] (PRIuFAST64): Likewise.
27979 [C99-based-standards] (PRIxFAST64): Likewise.
27980 [C99-based-standards] (PRIXFAST64): Likewise.
27981 [C99-based-standards] (SCNdFAST64): Likewise.
27982 [C99-based-standards] (SCNiFAST64): Likewise.
27983 [C99-based-standards] (SCNoFAST64): Likewise.
27984 [C99-based-standards] (SCNuFAST64): Likewise.
27985 [C99-based-standards] (SCNxFAST64): Likewise.
27986 [C99-based-standards] (PRIdMAX): Likewise.
27987 [C99-based-standards] (PRIiMAX): Likewise.
27988 [C99-based-standards] (PRIoMAX): Likewise.
27989 [C99-based-standards] (PRIuMAX): Likewise.
27990 [C99-based-standards] (PRIxMAX): Likewise.
27991 [C99-based-standards] (PRIXMAX): Likewise.
27992 [C99-based-standards] (SCNdMAX): Likewise.
27993 [C99-based-standards] (SCNiMAX): Likewise.
27994 [C99-based-standards] (SCNoMAX): Likewise.
27995 [C99-based-standards] (SCNuMAX): Likewise.
27996 [C99-based-standards] (SCNxMAX): Likewise.
27997 [C99-based-standards] (PRIdPTR): Likewise.
27998 [C99-based-standards] (PRIiPTR): Likewise.
27999 [C99-based-standards] (PRIoPTR): Likewise.
28000 [C99-based-standards] (PRIuPTR): Likewise.
28001 [C99-based-standards] (PRIxPTR): Likewise.
28002 [C99-based-standards] (PRIXPTR): Likewise.
28003 [C99-based-standards] (SCNdPTR): Likewise.
28004 [C99-based-standards] (SCNiPTR): Likewise.
28005 [C99-based-standards] (SCNoPTR): Likewise.
28006 [C99-based-standards] (SCNuPTR): Likewise.
28007 [C99-based-standards] (SCNxPTR): Likewise.
28008 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28009 allow.
28010 * conform/data/stdint.h-data: Update comments to clarify
28011 requirements.
28012 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28013 type.
28014 [C99-based standards] (INT8_MAX): Likewise.
28015 [C99-based standards] (INT16_MIN): Likewise.
28016 [C99-based standards] (INT16_MAX): Likewise.
28017 [C99-based standards] (INT32_MIN): Likewise.
28018 [C99-based standards] (INT32_MAX): Likewise.
28019 [C99-based standards] (INT64_MIN): Likewise.
28020 [C99-based standards] (INT64_MAX): Likewise.
28021 [C99-based standards] (UINT8_MAX): Likewise.
28022 [C99-based standards] (UINT16_MAX): Likewise.
28023 [C99-based standards] (UINT32_MAX): Likewise.
28024 [C99-based standards] (UINT64_MAX): Likewise.
28025 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28026 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28027 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28028 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28029 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28030 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28031 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28032 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28033 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28034 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28035 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28036 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28037 [C99-based standards] (INT_FAST8_MIN): Likewise.
28038 [C99-based standards] (INT_FAST8_MAX): Likewise.
28039 [C99-based standards] (INT_FAST16_MIN): Likewise.
28040 [C99-based standards] (INT_FAST16_MAX): Likewise.
28041 [C99-based standards] (INT_FAST32_MIN): Likewise.
28042 [C99-based standards] (INT_FAST32_MAX): Likewise.
28043 [C99-based standards] (INT_FAST64_MIN): Likewise.
28044 [C99-based standards] (INT_FAST64_MAX): Likewise.
28045 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28046 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28047 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28048 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28049 [C99-based standards] (INTPTR_MIN): Likewise.
28050 [C99-based standards] (INTPTR_MAX): Likewise.
28051 [C99-based standards] (UINTPTR_MAX): Likewise.
28052 [C99-based standards] (INTMAX_MIN): Likewise.
28053 [C99-based standards] (INTMAX_MAX): Likewise.
28054 [C99-based standards] (UINTMAX_MAX): Likewise.
28055 [C99-based standards] (PTRDIFF_MIN): Likewise.
28056 [C99-based standards] (PTRDIFF_MAX): Likewise.
28057 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28058 [C99-based standards] (SIZE_MAX): Likewise.
28059 [C99-based standards] (WCHAR_MAX): Likewise.
28060 [C99-based standards] (WINT_MAX): Likewise.
28061 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28062 constraint on value.
28063 [C99-based standards] (WCHAR_MIN): Likewise.
28064 [C99-based standards] (WINT_MIN): Likewise.
28065 [C99-based standards] (*_t): Allow.
28066 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28067 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28068 Include math.h-data and complex.h-data. Remove all expectations
28069 of math.h and complex.h contents.
28070 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28071 at end of line.
28072 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28073 (struct tm): Expect tag.
28074 [C99-based-standards] (wcstof): Expect function.
28075 [C99-based-standards] (wcstold): Likewise.
28076 [C99-based-standards] (wcstoll): Likewise.
28077 [C99-based-standards] (wcstoull): Likewise.
28078 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28079 macro-int-constant. Specify type.
28080 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28081 constraint on value.
28082 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28083 Specify type.
28084 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28085 Specify value.
28086 [ISO C standards]: Do not allow headers.
28087 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28088 wcs[abcdefghijklmnopqrstuvwxyz]*.
28089 [ISO C standards] (*_t): Do not allow.
28090 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28091 Expect function.
28092 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28093 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28094 Specify type.
28095 [ISO C standards]: Do not allow headers.
28096 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28097 is[abcdefghijklmnopqrstuvwxyz]*.
28098 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28099 to[abcdefghijklmnopqrstuvwxyz]*.
28100 [ISO C standards] (*_t): Do not allow.
28101 * conform/data/stdalign.h-data: New file.
28102 * conform/data/stdbool.h-data: Likewise.
28103 * conform/data/stdnoreturn.h-data: Likewise.
28104
7514feb8
RM
281052012-11-07 Roland McGrath <roland@hack.frob.com>
28106
28107 [BZ #14815]
28108 * manual/filesys.texi (Directory Entries): Typo fix.
28109 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28110
19b2ecfc
MS
281112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28112
28113 * elf/elf.h (EM_AARCH64): New macro.
28114 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28115 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28116 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28117 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28118 (R_AARCH64_TLSDESC): Likewise.
28119 (NT_ARM_TLS): Likewise.
28120 (NT_ARM_HW_BREAK): Likewise.
28121 (NT_ARM_HW_WATCH): Likewise.
28122
60e235ee
JM
281232012-11-07 Joseph Myers <joseph@codesourcery.com>
28124
28125 [BZ #14811]
28126 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28127 (__ieee754_powl): Saturate nonzero exponents with absolute value
28128 below 0x1p-79 to +/- 0x1p-79.
28129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28130 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28131 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28132 nonzero exponents with absolute value below 0x1p-32 to +/-
28133 0x1p-32.
28134 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28135 (__ieee754_powl): Saturate nonzero exponents with absolute value
28136 below 0x1p-79 to +/- 0x1p-79.
28137 * math/libm-test.inc (pow_test): Add more tests.
28138
0ab234b7
AK
281392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28140
28141 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28142 _dl_s390_cap_flags with kernel. Increase string length.
28143 (_dl_s390_platforms): Add z196 and zEC12.
28144
45832f74
JM
281452012-11-07 Joseph Myers <joseph@codesourcery.com>
28146
28147 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28148 Change XOPEN21K to XOPEN2K.
28149
19218757
MK
281502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28151
28152 * string/memmove.c: Use memcpy when possible.
28153
c5f45721
AJ
281542012-11-06 Andreas Jaeger <aj@suse.de>
28155
28156 * po/eo.po: Update from translation team.
28157
82477c28
JM
281582012-11-06 Joseph Myers <joseph@codesourcery.com>
28159
28160 [BZ #14793]
28161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28162 exponent and small x and y exponents, scale x or y up. Increase
28163 by 2 the exponent used in scaling up.
28164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28166 * math/libm-test.inc (fma_test): Add more tests.
28167 (fma_test_towardzero): Likewise.
28168 (fma_test_downward): Likewise.
28169 (fma_test_upward): Likewise.
28170
99252c8c
JM
281712012-11-05 Joseph Myers <joseph@codesourcery.com>
28172
acfa885f
JM
28173 [BZ #14805]
28174 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28175 fenv_t *.
28176
99252c8c
JM
28177 [BZ #14801]
28178 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28179 namespace for names of struct fields.
28180 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28181 fenv_t fields.
28182 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28183 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28184
d6d98dea
ST
281852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28186
28187 [BZ #3665]
28188 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28189
e10bb107
TS
281902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28191
28192 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28193 PTR_DEMANGLE.
28194
28195 [BZ #5246]
28196 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28197 PTR_DEMANGLE.
28198
a0c2940d
JM
281992012-11-04 Joseph Myers <joseph@codesourcery.com>
28200
28201 [BZ #14797]
28202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28203 definitely overflow as x * y not x * y + z.
28204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28206 * math/libm-test.inc (fma_test): Add more tests.
28207 (fma_test_towardzero): Likewise.
28208 (fma_test_downward): Likewise.
28209 (fma_test_upward): Likewise.
28210
b830319d
TS
282112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28212
28213 [BZ #157]
28214
28215 * include/stub-tag.h: Remove file.
28216 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28217 '#include' of it.
28218 * manual/maint.texi (Porting): Don't reference it.
28219 * Makerules ($(objpfx)stubs): Likewise.
28220 * dirent/closedir.c: Don't include <stub-tag.h>.
28221 * dirent/dirfd.c: Likewise.
28222 * dirent/fdopendir.c: Likewise.
28223 * dirent/getdents.c: Likewise.
28224 * dirent/getdents64.c: Likewise.
28225 * dirent/opendir.c: Likewise.
28226 * dirent/readdir.c: Likewise.
28227 * dirent/readdir64.c: Likewise.
28228 * dirent/readdir64_r.c: Likewise.
28229 * dirent/readdir_r.c: Likewise.
28230 * dirent/rewinddir.c: Likewise.
28231 * dirent/seekdir.c: Likewise.
28232 * dirent/telldir.c: Likewise.
28233 * gmon/profil.c: Likewise.
28234 * grp/setgroups.c: Likewise.
28235 * inet/if_index.c: Likewise.
28236 * io/access.c: Likewise.
28237 * io/chdir.c: Likewise.
28238 * io/chmod.c: Likewise.
28239 * io/chown.c: Likewise.
28240 * io/close.c: Likewise.
28241 * io/dup.c: Likewise.
28242 * io/dup2.c: Likewise.
28243 * io/dup3.c: Likewise.
28244 * io/euidaccess.c: Likewise.
28245 * io/faccessat.c: Likewise.
28246 * io/fchdir.c: Likewise.
28247 * io/fchmod.c: Likewise.
28248 * io/fchmodat.c: Likewise.
28249 * io/fchown.c: Likewise.
28250 * io/fchownat.c: Likewise.
28251 * io/fcntl.c: Likewise.
28252 * io/flock.c: Likewise.
28253 * io/fstatfs.c: Likewise.
28254 * io/fstatfs64.c: Likewise.
28255 * io/fstatvfs.c: Likewise.
28256 * io/fstatvfs64.c: Likewise.
28257 * io/futimens.c: Likewise.
28258 * io/fxstat.c: Likewise.
28259 * io/fxstat64.c: Likewise.
28260 * io/fxstatat.c: Likewise.
28261 * io/fxstatat64.c: Likewise.
28262 * io/getcwd.c: Likewise.
28263 * io/isatty.c: Likewise.
28264 * io/lchmod.c: Likewise.
28265 * io/lchown.c: Likewise.
28266 * io/link.c: Likewise.
28267 * io/linkat.c: Likewise.
28268 * io/lseek.c: Likewise.
28269 * io/lseek64.c: Likewise.
28270 * io/lxstat64.c: Likewise.
28271 * io/mkdir.c: Likewise.
28272 * io/mkdirat.c: Likewise.
28273 * io/mkfifo.c: Likewise.
28274 * io/mkfifoat.c: Likewise.
28275 * io/open.c: Likewise.
28276 * io/open64.c: Likewise.
28277 * io/openat.c: Likewise.
28278 * io/openat64.c: Likewise.
28279 * io/pipe.c: Likewise.
28280 * io/pipe2.c: Likewise.
28281 * io/poll.c: Likewise.
28282 * io/posix_fadvise.c: Likewise.
28283 * io/posix_fadvise64.c: Likewise.
28284 * io/posix_fallocate.c: Likewise.
28285 * io/posix_fallocate64.c: Likewise.
28286 * io/read.c: Likewise.
28287 * io/readlink.c: Likewise.
28288 * io/readlinkat.c: Likewise.
28289 * io/rmdir.c: Likewise.
28290 * io/sendfile.c: Likewise.
28291 * io/sendfile64.c: Likewise.
28292 * io/statfs.c: Likewise.
28293 * io/statfs64.c: Likewise.
28294 * io/statvfs.c: Likewise.
28295 * io/statvfs64.c: Likewise.
28296 * io/symlink.c: Likewise.
28297 * io/symlinkat.c: Likewise.
28298 * io/ttyname.c: Likewise.
28299 * io/ttyname_r.c: Likewise.
28300 * io/umask.c: Likewise.
28301 * io/unlink.c: Likewise.
28302 * io/unlinkat.c: Likewise.
28303 * io/utime.c: Likewise.
28304 * io/utimensat.c: Likewise.
28305 * io/write.c: Likewise.
28306 * io/xmknod.c: Likewise.
28307 * io/xmknodat.c: Likewise.
28308 * io/xstat.c: Likewise.
28309 * io/xstat64.c: Likewise.
28310 * login/getpt.c: Likewise.
28311 * login/grantpt.c: Likewise.
28312 * login/unlockpt.c: Likewise.
28313 * math/e_acoshl.c: Likewise.
28314 * math/e_acosl.c: Likewise.
28315 * math/e_asinl.c: Likewise.
28316 * math/e_atan2l.c: Likewise.
28317 * math/e_atanhl.c: Likewise.
28318 * math/e_coshl.c: Likewise.
28319 * math/e_expl.c: Likewise.
28320 * math/e_fmodl.c: Likewise.
28321 * math/e_gammal_r.c: Likewise.
28322 * math/e_hypotl.c: Likewise.
28323 * math/e_j0l.c: Likewise.
28324 * math/e_j1l.c: Likewise.
28325 * math/e_jnl.c: Likewise.
28326 * math/e_lgammal_r.c: Likewise.
28327 * math/e_log10l.c: Likewise.
28328 * math/e_log2l.c: Likewise.
28329 * math/e_logl.c: Likewise.
28330 * math/e_powl.c: Likewise.
28331 * math/e_rem_pio2l.c: Likewise.
28332 * math/e_sinhl.c: Likewise.
28333 * math/e_sqrtl.c: Likewise.
28334 * math/fclrexcpt.c: Likewise.
28335 * math/fedisblxcpt.c: Likewise.
28336 * math/feenablxcpt.c: Likewise.
28337 * math/fegetenv.c: Likewise.
28338 * math/fegetexcept.c: Likewise.
28339 * math/fegetround.c: Likewise.
28340 * math/feholdexcpt.c: Likewise.
28341 * math/fesetenv.c: Likewise.
28342 * math/fesetround.c: Likewise.
28343 * math/feupdateenv.c: Likewise.
28344 * math/fgetexcptflg.c: Likewise.
28345 * math/fraiseexcpt.c: Likewise.
28346 * math/fsetexcptflg.c: Likewise.
28347 * math/ftestexcept.c: Likewise.
28348 * math/k_cosl.c: Likewise.
28349 * math/k_rem_pio2l.c: Likewise.
28350 * math/k_sinl.c: Likewise.
28351 * math/k_tanl.c: Likewise.
28352 * math/s_asinhl.c: Likewise.
28353 * math/s_atanl.c: Likewise.
28354 * math/s_cbrtl.c: Likewise.
28355 * math/s_erfl.c: Likewise.
28356 * math/s_expm1l.c: Likewise.
28357 * math/s_log1pl.c: Likewise.
28358 * math/s_tanhl.c: Likewise.
28359 * misc/acct.c: Likewise.
28360 * misc/brk.c: Likewise.
28361 * misc/chflags.c: Likewise.
28362 * misc/chroot.c: Likewise.
28363 * misc/fchflags.c: Likewise.
28364 * misc/fgetxattr.c: Likewise.
28365 * misc/flistxattr.c: Likewise.
28366 * misc/fremovexattr.c: Likewise.
28367 * misc/fsetxattr.c: Likewise.
28368 * misc/fsync.c: Likewise.
28369 * misc/ftruncate.c: Likewise.
28370 * misc/futimes.c: Likewise.
28371 * misc/futimesat.c: Likewise.
28372 * misc/getdomain.c: Likewise.
28373 * misc/getdtsz.c: Likewise.
28374 * misc/gethostid.c: Likewise.
28375 * misc/gethostname.c: Likewise.
28376 * misc/getloadavg.c: Likewise.
28377 * misc/getpagesize.c: Likewise.
28378 * misc/getsysstats.c: Likewise.
28379 * misc/getxattr.c: Likewise.
28380 * misc/gtty.c: Likewise.
28381 * misc/ioctl.c: Likewise.
28382 * misc/lgetxattr.c: Likewise.
28383 * misc/listxattr.c: Likewise.
28384 * misc/llistxattr.c: Likewise.
28385 * misc/lremovexattr.c: Likewise.
28386 * misc/lsetxattr.c: Likewise.
28387 * misc/lutimes.c: Likewise.
28388 * misc/madvise.c: Likewise.
28389 * misc/mincore.c: Likewise.
28390 * misc/mlock.c: Likewise.
28391 * misc/mlockall.c: Likewise.
28392 * misc/mmap.c: Likewise.
28393 * misc/mprotect.c: Likewise.
28394 * misc/msync.c: Likewise.
28395 * misc/munlock.c: Likewise.
28396 * misc/munlockall.c: Likewise.
28397 * misc/munmap.c: Likewise.
28398 * misc/preadv.c: Likewise.
28399 * misc/preadv64.c: Likewise.
28400 * misc/ptrace.c: Likewise.
28401 * misc/pwritev.c: Likewise.
28402 * misc/pwritev64.c: Likewise.
28403 * misc/readv.c: Likewise.
28404 * misc/reboot.c: Likewise.
28405 * misc/remap_file_pages.c: Likewise.
28406 * misc/removexattr.c: Likewise.
28407 * misc/revoke.c: Likewise.
28408 * misc/select.c: Likewise.
28409 * misc/setdomain.c: Likewise.
28410 * misc/setegid.c: Likewise.
28411 * misc/seteuid.c: Likewise.
28412 * misc/sethostid.c: Likewise.
28413 * misc/sethostname.c: Likewise.
28414 * misc/setregid.c: Likewise.
28415 * misc/setreuid.c: Likewise.
28416 * misc/setxattr.c: Likewise.
28417 * misc/sstk.c: Likewise.
28418 * misc/stty.c: Likewise.
28419 * misc/swapoff.c: Likewise.
28420 * misc/swapon.c: Likewise.
28421 * misc/sync.c: Likewise.
28422 * misc/syncfs.c: Likewise.
28423 * misc/syscall.c: Likewise.
28424 * misc/truncate.c: Likewise.
28425 * misc/ualarm.c: Likewise.
28426 * misc/usleep.c: Likewise.
28427 * misc/ustat.c: Likewise.
28428 * misc/utimes.c: Likewise.
28429 * misc/vhangup.c: Likewise.
28430 * misc/writev.c: Likewise.
28431 * posix/_exit.c: Likewise.
28432 * posix/alarm.c: Likewise.
28433 * posix/execve.c: Likewise.
28434 * posix/fexecve.c: Likewise.
28435 * posix/fork.c: Likewise.
28436 * posix/fpathconf.c: Likewise.
28437 * posix/getaddrinfo.c: Likewise.
28438 * posix/getegid.c: Likewise.
28439 * posix/geteuid.c: Likewise.
28440 * posix/getgid.c: Likewise.
28441 * posix/getgroups.c: Likewise.
28442 * posix/getlogin.c: Likewise.
28443 * posix/getlogin_r.c: Likewise.
28444 * posix/getpgid.c: Likewise.
28445 * posix/getpid.c: Likewise.
28446 * posix/getppid.c: Likewise.
28447 * posix/getresgid.c: Likewise.
28448 * posix/getresuid.c: Likewise.
28449 * posix/getsid.c: Likewise.
28450 * posix/getuid.c: Likewise.
28451 * posix/glob64.c: Likewise.
28452 * posix/nanosleep.c: Likewise.
28453 * posix/pathconf.c: Likewise.
28454 * posix/pause.c: Likewise.
28455 * posix/posix_madvise.c: Likewise.
28456 * posix/pread.c: Likewise.
28457 * posix/pread64.c: Likewise.
28458 * posix/pwrite.c: Likewise.
28459 * posix/pwrite64.c: Likewise.
28460 * posix/sched_getaffinity.c: Likewise.
28461 * posix/sched_getp.c: Likewise.
28462 * posix/sched_gets.c: Likewise.
28463 * posix/sched_primax.c: Likewise.
28464 * posix/sched_primin.c: Likewise.
28465 * posix/sched_rr_gi.c: Likewise.
28466 * posix/sched_setaffinity.c: Likewise.
28467 * posix/sched_setp.c: Likewise.
28468 * posix/sched_sets.c: Likewise.
28469 * posix/sched_yield.c: Likewise.
28470 * posix/setgid.c: Likewise.
28471 * posix/setlogin.c: Likewise.
28472 * posix/setpgid.c: Likewise.
28473 * posix/setresgid.c: Likewise.
28474 * posix/setresuid.c: Likewise.
28475 * posix/setsid.c: Likewise.
28476 * posix/setuid.c: Likewise.
28477 * posix/sleep.c: Likewise.
28478 * posix/spawni.c: Likewise.
28479 * posix/sysconf.c: Likewise.
28480 * posix/times.c: Likewise.
28481 * posix/wait.c: Likewise.
28482 * posix/wait3.c: Likewise.
28483 * posix/wait4.c: Likewise.
28484 * posix/waitpid.c: Likewise.
28485 * resolv/gai_sigqueue.c: Likewise.
28486 * resource/getpriority.c: Likewise.
28487 * resource/getrlimit.c: Likewise.
28488 * resource/getrusage.c: Likewise.
28489 * resource/nice.c: Likewise.
28490 * resource/setpriority.c: Likewise.
28491 * resource/setrlimit.c: Likewise.
28492 * resource/ulimit.c: Likewise.
28493 * rt/aio_cancel.c: Likewise.
28494 * rt/aio_fsync.c: Likewise.
28495 * rt/aio_read.c: Likewise.
28496 * rt/aio_sigqueue.c: Likewise.
28497 * rt/aio_suspend.c: Likewise.
28498 * rt/aio_write.c: Likewise.
28499 * rt/clock_getres.c: Likewise.
28500 * rt/clock_gettime.c: Likewise.
28501 * rt/clock_nanosleep.c: Likewise.
28502 * rt/clock_settime.c: Likewise.
28503 * rt/lio_listio.c: Likewise.
28504 * rt/mq_close.c: Likewise.
28505 * rt/mq_getattr.c: Likewise.
28506 * rt/mq_notify.c: Likewise.
28507 * rt/mq_open.c: Likewise.
28508 * rt/mq_receive.c: Likewise.
28509 * rt/mq_send.c: Likewise.
28510 * rt/mq_setattr.c: Likewise.
28511 * rt/mq_timedreceive.c: Likewise.
28512 * rt/mq_timedsend.c: Likewise.
28513 * rt/mq_unlink.c: Likewise.
28514 * rt/shm_open.c: Likewise.
28515 * rt/shm_unlink.c: Likewise.
28516 * rt/timer_create.c: Likewise.
28517 * rt/timer_delete.c: Likewise.
28518 * rt/timer_getoverr.c: Likewise.
28519 * rt/timer_gettime.c: Likewise.
28520 * rt/timer_settime.c: Likewise.
28521 * setjmp/__longjmp.c: Likewise.
28522 * setjmp/setjmp.c: Likewise.
28523 * signal/kill.c: Likewise.
28524 * signal/killpg.c: Likewise.
28525 * signal/raise.c: Likewise.
28526 * signal/sigaction.c: Likewise.
28527 * signal/sigaltstack.c: Likewise.
28528 * signal/sigblock.c: Likewise.
28529 * signal/sigignore.c: Likewise.
28530 * signal/sigintr.c: Likewise.
28531 * signal/signal.c: Likewise.
28532 * signal/sigpause.c: Likewise.
28533 * signal/sigpending.c: Likewise.
28534 * signal/sigqueue.c: Likewise.
28535 * signal/sigreturn.c: Likewise.
28536 * signal/sigset.c: Likewise.
28537 * signal/sigsetmask.c: Likewise.
28538 * signal/sigstack.c: Likewise.
28539 * signal/sigsuspend.c: Likewise.
28540 * signal/sigtimedwait.c: Likewise.
28541 * signal/sigvec.c: Likewise.
28542 * signal/sigwait.c: Likewise.
28543 * signal/sigwaitinfo.c: Likewise.
28544 * signal/sysv_signal.c: Likewise.
28545 * socket/accept.c: Likewise.
28546 * socket/accept4.c: Likewise.
28547 * socket/bind.c: Likewise.
28548 * socket/connect.c: Likewise.
28549 * socket/getpeername.c: Likewise.
28550 * socket/getsockname.c: Likewise.
28551 * socket/getsockopt.c: Likewise.
28552 * socket/isfdtype.c: Likewise.
28553 * socket/listen.c: Likewise.
28554 * socket/recv.c: Likewise.
28555 * socket/recvfrom.c: Likewise.
28556 * socket/recvmsg.c: Likewise.
28557 * socket/send.c: Likewise.
28558 * socket/sendmsg.c: Likewise.
28559 * socket/sendto.c: Likewise.
28560 * socket/setsockopt.c: Likewise.
28561 * socket/shutdown.c: Likewise.
28562 * socket/sockatmark.c: Likewise.
28563 * socket/socket.c: Likewise.
28564 * socket/socketpair.c: Likewise.
28565 * stdio-common/ctermid.c: Likewise.
28566 * stdio-common/cuserid.c: Likewise.
28567 * stdio-common/remove.c: Likewise.
28568 * stdio-common/rename.c: Likewise.
28569 * stdio-common/renameat.c: Likewise.
28570 * stdio-common/tempname.c: Likewise.
28571 * stdlib/getcontext.c: Likewise.
28572 * stdlib/makecontext.c: Likewise.
28573 * stdlib/setcontext.c: Likewise.
28574 * stdlib/swapcontext.c: Likewise.
28575 * stdlib/system.c: Likewise.
28576 * streams/fattach.c: Likewise.
28577 * streams/fdetach.c: Likewise.
28578 * streams/getmsg.c: Likewise.
28579 * streams/getpmsg.c: Likewise.
28580 * streams/putmsg.c: Likewise.
28581 * streams/putpmsg.c: Likewise.
28582 * sysdeps/unix/bsd/getpt.c: Likewise.
28583 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28584 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28585 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28587 Likewise.
28588 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28589 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28590 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28591 * sysvipc/msgctl.c: Likewise.
28592 * sysvipc/msgget.c: Likewise.
28593 * sysvipc/msgrcv.c: Likewise.
28594 * sysvipc/msgsnd.c: Likewise.
28595 * sysvipc/semctl.c: Likewise.
28596 * sysvipc/semget.c: Likewise.
28597 * sysvipc/semop.c: Likewise.
28598 * sysvipc/semtimedop.c: Likewise.
28599 * sysvipc/shmat.c: Likewise.
28600 * sysvipc/shmctl.c: Likewise.
28601 * sysvipc/shmdt.c: Likewise.
28602 * sysvipc/shmget.c: Likewise.
28603 * termios/tcdrain.c: Likewise.
28604 * termios/tcflow.c: Likewise.
28605 * termios/tcflush.c: Likewise.
28606 * termios/tcgetattr.c: Likewise.
28607 * termios/tcgetpgrp.c: Likewise.
28608 * termios/tcsendbrk.c: Likewise.
28609 * termios/tcsetattr.c: Likewise.
28610 * termios/tcsetpgrp.c: Likewise.
28611 * time/adjtime.c: Likewise.
28612 * time/clock.c: Likewise.
28613 * time/getitimer.c: Likewise.
28614 * time/gettimeofday.c: Likewise.
28615 * time/setitimer.c: Likewise.
28616 * time/settimeofday.c: Likewise.
28617 * time/stime.c: Likewise.
28618 * time/time.c: Likewise.
28619
286202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28621
a20492cf
PT
28622 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28623 /usr/old/bin.
28624
72e182e3
PT
28625 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28626 instead of spaces.
28627 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28628
fbeafede
JM
286292012-11-03 Joseph Myers <joseph@codesourcery.com>
28630
5b5b04d6
JM
28631 [BZ #14796]
28632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28633 FE_TONEAREST before applying Dekker multiplication and Knuth
28634 addition. Clear inexact exceptions and check for exact zero
28635 results afterwards.
28636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28637 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28639 * math/libm-test.inc (fma_test): Add more tests.
28640 (fma_test_towardzero): Likewise.
28641 (fma_test_downward): Likewise.
28642 (fma_test_upward): Likewise.
28643 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28644 function.
28645 (libc_fesetround): New macro.
28646 (libc_fesetroundf): Likewise.
28647 (libc_fesetroundl): Likewise.
28648 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28649 function.
28650 (libc_fesetround_387): Likewise.
28651 (libc_fesetroundf): New macro.
28652 (libc_fesetround): Likewise.
28653 (libc_fesetroundl): Likewise.
28654 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28655 function.
28656 (libc_fesetroundf): New macro.
28657 (libc_fesetround): Likewise.
28658 (libc_fesetroundl): Likewise.
28659 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28660 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28661 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28662 libm_hidden_ver.
28663 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28664 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28665 libm_hidden_def.
28666 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28667 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28668 libm_hidden_ver.
28669 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28670 libm_hidden_def.
28671
fbeafede
JM
28672 [BZ #3439]
28673 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28674 integer constant usable in #if and use that to give value to enum
28675 constant.
28676 (FE_DIVBYZERO): Likewise.
28677 (FE_UNDERFLOW): Likewise.
28678 (FE_OVERFLOW): Likewise.
28679 (FE_INVALID): Likewise.
28680 (FE_INVALID_SNAN): Likewise.
28681 (FE_INVALID_ISI): Likewise.
28682 (FE_INVALID_IDI): Likewise.
28683 (FE_INVALID_ZDZ): Likewise.
28684 (FE_INVALID_IMZ): Likewise.
28685 (FE_INVALID_COMPARE): Likewise.
28686 (FE_INVALID_SOFTWARE): Likewise.
28687 (FE_INVALID_SQRT): Likewise.
28688 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28689 (FE_TONEAREST): Likewise.
28690 (FE_TOWARDZERO): Likewise.
28691 (FE_UPWARD): Likewise.
28692 (FE_DOWNWARD): Likewise.
28693 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28694 (FE_DIVBYZERO): Likewise.
28695 (FE_OVERFLOW): Likewise.
28696 (FE_UNDERFLOW): Likewise.
28697 (FE_INEXACT): Likewise.
28698 (FE_TONEAREST): Likewise.
28699 (FE_DOWNWARD): Likewise.
28700 (FE_UPWARD): Likewise.
28701 (FE_TOWARDZERO): Likewise.
28702 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28703 (FE_UNDERFLOW): Likewise.
28704 (FE_OVERFLOW): Likewise.
28705 (FE_DIVBYZERO): Likewise.
28706 (FE_INVALID): Likewise.
28707 (FE_TONEAREST): Likewise.
28708 (FE_TOWARDZERO): Likewise.
28709 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28710 (FE_OVERFLOW): Likewise.
28711 (FE_UNDERFLOW): Likewise.
28712 (FE_DIVBYZERO): Likewise.
28713 (FE_INEXACT): Likewise.
28714 (FE_TONEAREST): Likewise.
28715 (FE_TOWARDZERO): Likewise.
28716 (FE_UPWARD): Likewise.
28717 (FE_DOWNWARD): Likewise.
28718 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28719 (FE_DIVBYZERO): Likewise.
28720 (FE_OVERFLOW): Likewise.
28721 (FE_UNDERFLOW): Likewise.
28722 (FE_INEXACT): Likewise.
28723 (FE_TONEAREST): Likewise.
28724 (FE_DOWNWARD): Likewise.
28725 (FE_UPWARD): Likewise.
28726 (FE_TOWARDZERO): Likewise.
28727
105ca950
CM
287282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28729
28730 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28731
a542b389
AS
287322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28733
28734 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28735 commands. Quote $PWD.
28736 (blacklist_exports): Don't use remove_newlines. Replace "declare
28737 -x" by "export".
28738 (remove_newlines): Remove.
28739
f62c8abc
L
287402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28741
28742 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28743 * stdlib/stdlib.h (atof): Moved to ...
28744 * include/bits/stdlib-float.h: Here. New file.
28745 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28746 * stdlib/bits/stdlib-float.h: New file.
28747 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28748 -mno-sse -mno-mmx.
28749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28750 <xmmintrin.h>.
28751
0155d5b2
JM
287522012-11-02 Joseph Myers <joseph@codesourcery.com>
28753
a68d0680
JM
28754 * conform/conformtest.pl (@headers): Add fenv.h.
28755 * conform/data/fenv.h-data: New file.
28756 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28757 include of <math/fenv.h>.
28758
caf7f573
JM
28759 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28760 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28761 && !UNIX98]. Enables tests for XOPEN2K8.
28762 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28763 POSIX2008]: Likewise.
28764
6c073ad6
JM
28765 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28766 (struct rusage): Do not expect type or its members.
28767
0155d5b2
JM
28768 [BZ #3439]
28769 * math/math.h (FP_NAN): Define macro to integer constant usable in
28770 #if and use that to give value to enum constant.
28771 (FP_INFINITE): Likewise.
28772 (FP_ZERO): Likewise.
28773 (FP_SUBNORMAL): Likewise.
28774 (FP_NORMAL): Likewise.
28775
b5dcacb4
AS
287762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28777
28778 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28779 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28780 arguments.
28781
f7934be8
RM
287822012-11-02 Roland McGrath <roland@hack.frob.com>
28783
28784 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28785 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28786 autoconf-time if not.
28787 * configure.in: Remove AC_PREREQ.
28788
d7d08bde
TMQMF
287892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28790
28791 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28792 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28793 of the internal implementation.
28794
dcdae19a
JM
287952012-11-02 Joseph Myers <joseph@codesourcery.com>
28796
28797 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28798 except include of <misc/sys/syslog.h>.
28799
d6cffd3e
AS
288002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28801
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28803 function returns with a NULL context exit with zero.
28804
b3563932
TMQMF
288052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28806
28807 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28808
b288a93d
L
288092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28810
28811 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28812 (run_program_cmd): This.
28813 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28814 (tst_langinfo): New variable. Use it.
28815
a2421a68
SAS
288162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28817
28818 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28819 floating point opcodes.
28820
6f796e1b
TS
288212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28822
7402596b
TS
28823 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28824 variable.
28825
d0d4f868
TS
28826 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28827
6f796e1b
TS
28828 * sysdeps/mach/hurd/powerpc: Remove directory.
28829 * sysdeps/mach/powerpc: Likewise.
28830
4da224a2
AS
288312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28832
28833 * scripts/check-local-headers.sh: Ignore c++ headers.
28834
341dd673
TS
288352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28836
28837 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28838 __libc_cleanup_region_start argument.
28839
473611b2
JM
288402012-11-01 Joseph Myers <joseph@codesourcery.com>
28841
28842 [BZ #14784]
28843 [BZ #14785]
28844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28845 x * y using scaling, not as x * y + z.
28846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28848 * math/libm-test.inc (fma_test): Add more tests.
28849 (fma_test_towardzero): Likewise.
28850 (fma_test_downward): Likewise.
28851 (fma_test_upward): Likewise.
28852
4078da3d
TS
288532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28854
28855 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28856
903252aa
JM
288572012-10-31 Joseph Myers <joseph@codesourcery.com>
28858
28859 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28860 New variable.
28861
cbc818d0
TS
288622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28863
28864 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28865
5a03cb1e
AS
288662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28867
28868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28869 Fix sort order.
28870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28871 Likewise.
28872
90aff2ff
TMQMF
288732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28874
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28876 Fix the order of the list for glibc 2.17.
28877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28878 Likewise.
28879
1818fcb7
AS
288802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28881
28882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28883
ef82f4da
JM
288842012-10-31 Joseph Myers <joseph@codesourcery.com>
28885
16a0e2ec
JM
28886 [BZ #14610]
28887 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28888 for low part of x being zero before using __atanl (y).
28889 * math/libm-test.inc (atan2_test): Add another test.
28890
0eb69512
JM
28891 * manual/install.texi (Configuring and compiling): Document
28892 general use of test-wrapper and test-wrapper-env.
28893 * INSTALL: Regenerated.
28894
ef82f4da
JM
28895 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28896 (__fma): Do not extract and scale down low bits on after-rounding
28897 systems when result rounded to normal precision would have normal
28898 exponent.
28899 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28900 (__fmal): Do not extract and scale down low bits on after-rounding
28901 systems when result rounded to normal precision would have normal
28902 exponent.
28903 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28904 (__fmal): Do not extract and scale down low bits on after-rounding
28905 systems when result rounded to normal precision would have normal
28906 exponent.
28907 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28908 macro.
28909 (fma_test): Add more tests.
28910 (fma_test_towardzero): Likewise.
28911 (fma_test_downward): Likewise.
28912 (fma_test_upward): Likewise.
28913
954ef0d9
L
289142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28915
28916 * sysdeps/i386/tininess.h: Renamed to ...
28917 * sysdeps/x86/tininess.h: This.
28918 * sysdeps/x86_64/tininess.h: Removed.
28919
df61ffb2
JM
289202012-10-30 Joseph Myers <joseph@codesourcery.com>
28921
28922 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28923 input. Use $(build-program-cmd).
28924 ($(objpfx)tst-array1-static.out): Likewise.
28925 ($(objpfx)tst-array2.out): Likewise.
28926 ($(objpfx)tst-array3.out): Likewise.
28927 ($(objpfx)tst-array4.out): Likewise.
28928 ($(objpfx)tst-array5.out): Likewise.
28929 ($(objpfx)tst-array5-static.out): Likewise.
28930
01767843
CM
289312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28932
47cc1490
CM
28933 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28934 if defined.
28935
01767843
CM
28936 * nss/nsswitch.h (nss_interface_function): Provide new
28937 macro for use with NSS functions.
28938 * grp/initgroups.c: Use new macro.
28939 * nss/getXXbyYY.c: Likewise.
28940 * nss/getXXbyYY_r.c: Likewise.
28941 * nss/getXXent.c: Likewise.
28942 * nss/getXXent_r.c: Likewise.
28943 * sysdeps/posix/getaddrinfo.c: Likewise.
28944
8321aa97
AJ
289452012-10-30 Andreas Jaeger <aj@suse.de>
28946
28947 * po/ru.po: Update Russion translation from translation project.
28948
2a27fd6d
JM
289492012-10-30 Joseph Myers <joseph@codesourcery.com>
28950
8627a232
JM
28951 [BZ #14152]
28952 [BZ #14783]
28953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28954 result and shift together with sticky bit instead of replicating
28955 round-to-nearest rounding.
28956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28958 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28959 missing underflow exceptions.
28960 (fma_test_towardzero): Add more tests.
28961 (fma_test_downward): Likewise.
28962 (fma_test_upward): Likewise.
28963
2a27fd6d
JM
28964 [BZ #14047]
28965 * sysdeps/generic/tininess.h: New file.
28966 * sysdeps/i386/tininess.h: Likewise.
28967 * sysdeps/sh/tininess.h: Likewise.
28968 * sysdeps/x86_64/tininess.h: Likewise.
28969 * stdlib/tst-strtod-underflow.c: Likewise.
28970 * stdlib/tst-tininess.c: Likewise.
28971 * stdlib/strtod_l.c: Include <tininess.h>.
28972 (round_and_return): Do not set errno for exact underflow cases.
28973 Force an underflow exception when setting errno for underflow.
28974 Determine underflow based on rounding to normal precision if
28975 TININESS_AFTER_ROUNDING.
28976 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28977 ERANGE for exact underflow cases.
28978 * stdlib/Makefile (tests): Add tst-tininess and
28979 tst-strtod-underflow.
28980 ($(objpfx)tst-tininess): Use $(link-libm).
28981 ($(objpfx)tst-strtod-underflow): Likewise.
28982
e7170363
AJ
289832012-10-30 Andreas Jaeger <aj@suse.de>
28984
e5088dc6
AJ
28985 [BZ#14767]
28986 * elf/Makefile (tests): Remove conditional for have-initfini-array
28987 since this is now always required and the variable does not exist
28988 anymore.
28989 (tests-static): Likewise.
28990 (modules-names): Likewise.
28991
e7170363 28992 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28993
28994 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28995 merged with constructor/destructor.
28996 (init_array): Likewise.
28997 * elf/tst-array2dep.c (fini_array): Likewise.
28998 (init_array): Likewise.
28999
60457d8a
MF
290002012-10-29 Mike Frysinger <vapier@gentoo.org>
29001
29002 * manual/message.texi: Delete @cartouche tags.
29003
8bece752
PT
290042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29005
94ce799f
PT
29006 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29007 EOPNOTSUPP.
29008 * sysdeps/mach/hurd/fsync.c: Likewise.
29009
8bece752
PT
29010 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29011 [_POSIX_REALTIME_SIGNALS]: Change condition to
29012 [_POSIX_REALTIME_SIGNALS > 0].
29013
86ebe6b1
AJ
290142012-10-27 Andreas Jaeger <aj@suse.de>
29015
29016 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29017 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29019 [__WORDSIZE != 64]: Likewise.
29020
54399c08
L
290212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29022
29023 * iconvdata/tst-table.sh: Remove ${SHELL}.
29024 * iconvdata/tst-tables.sh: Likewise.
29025
e2211bed
DM
290262012-10-25 David S. Miller <davem@davemloft.net>
29027
29028 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29029 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29030 of strtoull.
29031
f303f97c
DM
29032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29033 ifunc-impl-list.c
29034 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29035 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29036 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29037 file.
29038
1e9d84cd
RM
290392012-10-25 Roland McGrath <roland@hack.frob.com>
29040
29041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29042 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29043 __getdirentries.
29044
df381762
JM
290452012-10-25 Joseph Myers <joseph@codesourcery.com>
29046 Jim Blandy <jimb@codesourcery.com>
29047
29048 * scripts/cross-test-ssh.sh: New file.
29049 * manual/install.texi (Configuring and compiling): Document use of
29050 cross-test-ssh.sh.
29051 * INSTALL: Regenerated.
29052
bff64913
PT
290532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29054
29055 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29056 EOPNOTSUPP.
29057
25fe8932
JM
290582012-10-25 Joseph Myers <joseph@codesourcery.com>
29059
29060 * Makeconfig (run-program-prefix): Fix comment.
29061
cc1290d0
JM
290622012-10-24 Joseph Myers <joseph@codesourcery.com>
29063 Jim Blandy <jimb@codesourcery.com>
29064
29065 * Makeconfig (test-wrapper): New variable,
29066 (test-wrapper-env): Likewise.
29067 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29068 (run-built-tests): Define to yes.
29069 (run-program-prefix): Use $(test-wrapper).
29070 (built-program-cmd): Likewise.
29071 * Rules (make-test-out): Use $(test-wrapper-env) and
29072 $(host-built-program-cmd).
29073 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29074 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29075 tst-pathopt.sh.
29076 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29077 $(test-wrapper-env) to tst-rtld-load-self.sh.
29078 ($(objpfx)order2.out): Use $(test-wrapper).
29079 ($(objpfx)tst-initorder.out): Likewise.
29080 ($(objpfx)tst-initorder2.out): Likewise.
29081 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29082 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29083 (test_wrapper_env): New variable. Use it to run ld.so.
29084 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29085 Use it to run ld.so.
29086 (test_wrapper_env): Likewise.
29087 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29088 $(test-wrapper) to run-iconv-test.sh.
29089 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29090 (ICONV): Use $test_wrapper.
29091 * posix/Makefile ($(objpfx)globtest.out): Pass
29092 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29093 globtest.sh, not $(run-program-prefix).
29094 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29095 (test_wrapper): Likewise.
29096 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29097 set together with run_via_rtld_prefix.
29098 (run_program_prefix): Define in terms of test_wrapper and
29099 run_via_rtld_prefix.
29100
6e6249d0
RM
291012012-10-24 Roland McGrath <roland@hack.frob.com>
29102
29103 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29104 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29105 Targets removed.
29106
29107 [BZ #14743]
29108 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29109 Declare __clock_getres, __clock_gettime, __clock_settime,
29110 __clock_nanosleep, and __clock_getcpuclockid.
29111 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29112 Remove librt_hidden_def (clock_gettime).
29113 * sysdeps/unix/clock_gettime.c: Likewise.
29114 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29116 * rt/clock_getres.c: Define __clock_getres as an alias.
29117 * sysdeps/posix/clock_getres.c: Likewise.
29118 * rt/clock_settime.c: Define __clock_settime as an alias.
29119 * sysdeps/unix/clock_settime.c: Likewise.
29120 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29121 * sysdeps/unix/clock_nanosleep.c: Likewise.
29122 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29123 * rt/clock-compat.c: New file.
29124 * rt/Makefile (librt-routines): Add clock-compat and move
29125 $(clock-routines) to ...
29126 (routines): ... here, new variable.
29127 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29128 Don't add get_clockfreq here.
29129 * rt/Versions (libc: GLIBC_2.17): New version set.
29130 Add clock_* symbols here.
29131 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29132 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29133 (GLIBC_2.17): Add clock_* symbols.
29134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29138 Likewise.
29139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29140 Likewise.
29141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29145 * NEWS: Mention the move.
29146
29147 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29148 Use __open, __read, __close rather than their public counterparts.
29149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29150 (__get_clockfreq_via_cpuinfo): Likewise.
29151 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29152 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29153
29154 * config.h.in (HAVE_IFUNC): New #undef.
29155 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29156 was successful.
29157 * configure: Regenerated.
29158
0cae3f4b
MF
291592012-10-24 Mike Frysinger <vapier@gentoo.org>
29160
29161 * configure.in: Move READELF check to start of file.
29162 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29163 libc_cv_asm_gnu_indirect_function in the process.
29164 * configure: Regenerated.
29165
8175a253
MF
291662012-10-24 Mike Frysinger <vapier@gentoo.org>
29167
29168 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29169 send the output to /dev/null.
29170 (libc_cv_cc_with_libunwind): Likewise.
29171 (libc_cv_as_noexecstack): Likewise.
29172 * configure: Regenerate.
29173
0708a7d1
JM
291742012-10-24 Joseph Myers <joseph@codesourcery.com>
29175
10b40d85
JM
29176 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29177
0708a7d1
JM
29178 * posix/globtest.sh (TMPDIR): Do not set.
29179 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29180 (testout): Likewise.
29181
9fddec1a
AJ
291822012-10-24 Andreas Jaeger <aj@suse.de>
29183
3a8db22f
AJ
29184 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29185 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29186 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29187 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29188 posix_fadvise64, posix_fallocate64.
29189
9fddec1a
AJ
29190 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29191 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29192 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29193 Likewise.
29194 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29195 Likewise.
29196 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29197
29198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29199 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29200 <bits/fcntl-linux.h>.
29201 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29202
29203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29204 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29205 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29206 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29207 [__WORDSIZE != 64]: Likewise.
29208
ebfd1bbd
JM
292092012-10-23 Joseph Myers <joseph@codesourcery.com>
29210
03ac099f
JM
29211 * Makeconfig (run-built-tests): New variable.
29212 * Rules [$(cross-compiling) = yes]: Change condition to
29213 [$(run-built-tests) = no].
29214 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29215 to [$(run-built-tests) = yes].
29216 * elf/Makefile [$(cross-compiling) = no]: Likewise
29217 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29218 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29219 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29220 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29221 * io/Makefile [$(cross-compiling) = no]: Likewise.
29222 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29223 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29224 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29225 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29226 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29227 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29228 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29229 * string/Makefile [$(cross-compiling) = no]: Likewise.
29230
ebfd1bbd
JM
29231 * posix/Makefile ($(objpfx)globtest.out): Pass
29232 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29233 $(rtld-installed-name).
29234 * posix/globtest.sh (elf_objpfx): Remove variable.
29235 (rtld_installed_name): Likewise.
29236 (library_path): Likewise.
29237 (run_program_prefix): New variable. Use for running globtest
29238 binary.
29239
166bca24
JB
292402012-10-23 Jim Blandy <jimb@codesourcery.com>
29241 Joseph Myers <joseph@codesourcery.com>
29242
29243 * Makeconfig (host-built-program-cmd): New variable.
29244 * elf/Makefile (tst-stackguard1-ARGS): Use
29245 $(host-built-program-cmd).
29246 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29247 (tst-spawn-ARGS): Likewise.
29248 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29249
88866099
JM
292502012-10-23 Joseph Myers <joseph@codesourcery.com>
29251 Jim Blandy <jimb@codesourcery.com>
29252
29253 * Makeconfig (run-via-rtld-prefix): New variable.
29254 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29255 (built-program-cmd): Likewise.
29256
b4b4c296
AJ
292572012-10-22 Andreas Jaeger <aj@suse.de>
29258
29259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29260 __O_RSYNC if it exists, otherwise to O_SYNC.
29261
6fb54a22
JB
292622012-10-22 Jim Blandy <jimb@codesourcery.com>
29263 Joseph Myers <joseph@codesourcery.com>
29264
29265 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29266 /dev/null.
29267 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29268 from /dev/null
29269 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29270 /dev/null.
29271
481b90b9
AJ
292722012-10-22 Andreas Jaeger <aj@suse.de>
29273
2a0e2669
AJ
29274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29275 Define always.
29276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29277
76e38f9a
AJ
29278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29279 bits/fcntl-linux.h.
29280
7cd37b43
AJ
29281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29282 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29283
481b90b9
AJ
29284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29285 to __O_LARGEFILE.
29286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29287 to __O_LARGEFILE.
29288
aba75984
JB
292892012-10-21 Jim Blandy <jimb@codesourcery.com>
29290 Joseph Myers <joseph@codesourcery.com>
29291
29292 * config.make.in (NM): New variable.
29293
88d4247f
AJ
292942012-10-21 Andreas Jaeger <aj@suse.de>
29295
29296 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29297 definitions and declarations that are provided by
29298 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29299
f2eed205
L
293002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29301
29302 [BZ #14683]
29303 * elf/Makefile (tests-static): Add tst-leaks1-static.
29304 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29305 ($(objpfx)tst-leaks1-static): New rule.
29306 ($(objpfx)tst-leaks1-static-mem): Likewise.
29307 (tst-leaks1-static-ENV): New macro.
29308 * elf/dl-open.c (dl_open_worker): Check the main application
29309 only if SHARED is defined.
29310 * elf/tst-leaks1-static.c: New file.
29311
335e6931
AJ
293122012-10-20 Andreas Jaeger <aj@suse.de>
29313
29314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29315 generic values for Linux.
29316 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29317 and declarations that are provided by <bits/fcntl-linux.h> and
29318 include <bits/fcntl-linux.h>.
29319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29321
ac5c94d3
RM
293222012-10-20 Roland McGrath <roland@hack.frob.com>
29323
29324 * io/fcntl.h: Move include of <bits/types.h> to the top and
29325 include it unconditionally.
29326
de54b33a
L
293272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29328
228cfb01
L
29329 * wcsmbs/Makefile (tests-ifunc): New variable.
29330 (tests): Add $(tests-ifunc).
29331 * wcsmbs/test-wcschr-ifunc.c: New file.
29332 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29333 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29334 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29335 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29336 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29337
69f07e5f
L
29338 * string/Makefile (tests-ifunc): New variable.
29339 (tests): Add $(tests-ifunc).
29340 * string/test-memccpy.c (TEST_NAME): New macro.
29341 * string/test-memchr.c (TEST_NAME): Likewise.
29342 * string/test-memcmp.c (TEST_NAME): Likewise.
29343 * string/test-memcpy.c (TEST_NAME): Likewise.
29344 * string/test-memmem.c (TEST_NAME): Likewise.
29345 * string/test-memmove.c (TEST_NAME): Likewise.
29346 * string/test-memset.c (TEST_NAME): Likewise.
29347 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29348 * string/test-stpcpy.c (TEST_NAME): Likewise.
29349 * string/test-stpncpy.c (TEST_NAME): Likewise.
29350 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29351 * string/test-strcasestr.c (TEST_NAME): Likewise.
29352 * string/test-strcat.c (TEST_NAME): Likewise.
29353 * string/test-strchr.c (TEST_NAME): Likewise.
29354 * string/test-strcmp.c(TEST_NAME): Likewise.
29355 * string/test-strcpy.c (TEST_NAME): Likewise.
29356 * string/test-strcspn.c (TEST_NAME): Likewise.
29357 * string/test-strlen.c (TEST_NAME): Likewise.
29358 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29359 * string/test-strncmp.c (TEST_NAME): Likewise.
29360 * string/test-strncpy.c (TEST_NAME): Likewise.
29361 * string/test-strnlen.c (TEST_NAME): Likewise.
29362 * string/test-strpbrk.c (TEST_NAME): Likewise.
29363 * string/test-strrchr.c (TEST_NAME): Likewise.
29364 * string/test-strspn.c (TEST_NAME): Likewise.
29365 * string/test-strstr.c (TEST_NAME): Likewise.
29366 * string/test-bcopy-ifunc.c: New file.
29367 * string/test-bzero-ifunc.c: Likewise.
29368 * string/test-memccpy-ifunc.c: Likewise.
29369 * string/test-memchr-ifunc.c: Likewise.
29370 * string/test-memcmp-ifunc.c: Likewise.
29371 * string/test-memcpy-ifunc.c: Likewise.
29372 * string/test-memmem-ifunc.c: Likewise.
29373 * string/test-memmove-ifunc.c: Likewise.
29374 * string/test-mempcpy-ifunc.c: Likewise.
29375 * string/test-memset-ifunc.c: Likewise.
29376 * string/test-rawmemchr-ifunc.c: Likewise.
29377 * string/test-stpcpy-ifunc.c: Likewise.
29378 * string/test-stpncpy-ifunc.c: Likewise.
29379 * string/test-strcasecmp-ifunc.c: Likewise.
29380 * string/test-strcasestr-ifunc.c: Likewise.
29381 * string/test-strcat-ifunc.c: Likewise.
29382 * string/test-strchr-ifunc.c: Likewise.
29383 * string/test-strchrnul-ifunc.c: Likewise.
29384 * string/test-strcmp-ifunc.c: Likewise.
29385 * string/test-strcpy-ifunc.c: Likewise.
29386 * string/test-strcspn-ifunc.c: Likewise.
29387 * string/test-strlen-ifunc.c: Likewise.
29388 * string/test-strncasecmp-ifunc.c: Likewise.
29389 * string/test-strncat-ifunc.c: Likewise.
29390 * string/test-strncmp-ifunc.c: Likewise.
29391 * string/test-strncpy-ifunc.c: Likewise.
29392 * string/test-strnlen-ifunc.c: Likewise.
29393 * string/test-strpbrk-ifunc.c: Likewise.
29394 * string/test-strrchr-ifunc.c: Likewise.
29395 * string/test-strspn-ifunc.c: Likewise.
29396 * string/test-strstr-ifunc.c: Likewise.
29397
de54b33a
L
29398 * debug/Makefile (tests-ifunc): New variable.
29399 (tests): Add $(tests-ifunc).
29400 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29401 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29402 * debug/test-stpcpy_chk-ifunc.c: New file.
29403 * debug/test-strcpy_chk-ifunc.c: Likewise.
29404
88481c16
SP
294052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29406
29407 [BZ #13601]
29408 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29409 header is not read in.
29410
135948bd
JM
294112012-10-19 Joseph Myers <joseph@codesourcery.com>
29412
89f1c388
JM
29413 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29414 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29415 directly. Pass built executable to script as
29416 $(built-program-cmd).
29417 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29418 $testprogram without using LD_LIBRARY_PATH and $ldso.
29419
e40a0d21
JM
29420 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29421 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29422 $(rtld-installed-name).
29423 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29424 (rtld_installed_name): Likewise.
29425 (library_path): Likewise.
29426 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29427 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29428 $(run-program-prefix) to tst-tables.sh.
29429 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29430 it to run tst-table-from and tst-table-to.
29431 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29432 Pass it to tst-table.sh.
29433 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29434 $(run-program-prefix) to tst-gettext.sh.
29435 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29436 tst-translit.sh.
29437 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29438 tst-gettext2.sh.
29439 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29440 to run tst-gettext.
29441 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29442 to run tst-gettext2.
29443 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29444 to run tst-translit.
29445 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29446 $(run-program-prefix) to tst-mtrace.sh.
29447 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29448 to run tst-mtrace.
29449 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29450 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29451 $(rtld-installed-name).
29452 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29453 (rtld_installed_name): Likewise.
29454 (run_program_prefix): New variable. Use it to run wordexp-test.
29455
728e272a
JM
29456 * Makeconfig (ARCH): Remove all definitions.
29457 (machine): Likewise.
29458 [ARCH]: Remove conditional code.
29459 [!objdir]: Give error.
29460 [!objdir] (objpfx): Remove.
29461 [!objdir] (common-objpfx): Likewise.
29462 [!objdir] (common-objdir): Likewise.
29463 * configure.in (config_makefile): Remove. Hardcode Makefile in
29464 AC_CONFIG_FILES call.
29465 * configure: Regenerated.
29466
d528cdcf
JM
29467 [BZ #13888]
29468 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29469 or TMPDIR.
29470 (testout): Likewise.
29471
135948bd
JM
29472 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29473 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29474 $(rtld-installed-name).
29475 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29476 (rtld_installed_name): Likwise.
29477 (runit): Remove function.
29478 (run_getconf): New variable, Use it for running getconf binary.
29479
38c78296
L
294802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29481
29482 [BZ #14716]
29483 * string/test-memmem.c (check_result): New function.
29484 (do_one_test): Use it.
29485 (check1): New function.
29486 (test_main): Use it.
29487
d077f65f
MT
294882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29489
29490 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29491
ced52c71
JM
294922012-10-18 Joseph Myers <joseph@codesourcery.com>
29493
29494 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29495 (_G_LSEEK64): Likewise.
29496 (_G_MMAP64): Likewise.
29497 (_G_FSTAT64): Likewise.
29498 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29499 (_G_LSEEK64): Likewise.
29500 (_G_MMAP64): Likewise.
29501 (_G_FSTAT64): Likewise.
29502 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29503 unconditional. Call __mmap64 directly.
29504 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29505 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29506 __lseek64 directly.
29507 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29508 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29509 __mmap64 directly.
29510 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29511 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29512 __lseek64 directly.
29513 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29514 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29515 __lseek64 directly.
29516 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29517 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29518 __lseek64 directly.
29519 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29520 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29521 __fxstat64 directly.
29522 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29523 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29524 unconditional.
29525 (freopen64) [!_G_OPEN64]: Remove conditional code.
29526 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29527 unconditional.
29528 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29529 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29530 unconditional.
29531 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29532 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29533 unconditional.
29534 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29535 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29536 unconditional.
29537 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29538 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29539 unconditional.
29540 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29541 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29542 unconditional.
29543 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29544 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29545 unconditional.
29546 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29547
b741de23
SP
295482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29549
29550 [BZ #12140]
29551 * manual/memory.texi (Malloc Tunable Parameters): Add note
29552 about free list pointers overwriting some perturb bytes.
29553 Wording suggested by Roland McGrath.
29554
f9b9d9c9
JM
295552012-10-17 Joseph Myers <joseph@codesourcery.com>
29556
29557 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29558 (lgamma_test): Likewise.
29559 (tgamma_test): Likewise.
29560
172a631a
FW
295612012-10-16 Florian Weimer <fweimer@redhat.com>
29562
29563 [BZ #14700]
29564 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29565 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29566
e9f37252
MK
295672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29568
29569 * NEWS: Mention BZ #14716.
29570 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29571 when removing AVAILABLE1_USES_J macro.
29572
d394eb74
L
295732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29576 (__bswap_64): __uint64_t for unsigned 64-bit int.
29577
ca38dc17
AS
295782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29579
29580 * include/string.h (memmem): Declare libc hidden alias.
29581 * string/memmem.c (memmem): Define libc hidden alias.
29582 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29583 __read, __close instead of open, read, close.
29584
9a387d1f
L
295852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29586
ac49ecaf
L
29587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29588 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29589 global and hidden.
29590 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29591 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29592 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29593 Likewise.
29594 (__rawmemchr_sse2): Likewise.
29595 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29596 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29597 (__strchr_sse2): Likewise.
29598 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29599 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29600 (__strcasecmp_sse2): Likewise.
29601 (__strncasecmp_sse2): Likewise.
29602 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29603 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29604 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29605 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29606 (__strrchr_sse2): Likewise.
29607 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29608 ifunc-impl-list.c.
29609 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29610 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29611 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29612 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29613 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29614 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29615 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29616 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29617 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29618 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29619 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29620 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29621 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29622 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29623 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29624 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29625 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29626 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29627 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29628 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29629 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29630 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29631 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29632 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29633 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29634 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29635 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29636 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29637 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29638 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29639
b090e8ea
L
29640 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29641 global and hidden.
29642 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29643 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29644 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29645 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29646 Likewise.
29647 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29648 Likewise.
29649 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29650 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29651 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29652 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29653 ifunc-impl-list.c.
29654 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29655 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29656 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29657 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29658 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29659 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29660 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29661 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29662 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29663 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29664 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29665 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29666 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29667 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29668 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29669 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29670 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29671 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29672 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29673 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29674 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29675 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29676 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29677 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29678 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29679 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29680 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29681 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29682 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29683 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29684 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29685 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29686 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29687 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29688 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29689 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29690 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29691 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29692 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29693 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29694 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29695
11dd4af6
L
29696 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29697 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29698 * include/ifunc-impl-list.h: New file.
29699 * misc/ifunc-impl-list.c: Likewise.
29700 * misc/Makefile (routines): Add ifunc-impl-list.
29701 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29702 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29703 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29704 TEST_NAME]: New variables.
11dd4af6
L
29705 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29706 are defined.
29707 (test_init): Call __libc_ifunc_impl_list to initialize
29708 func_list if TEST_IFUNC and TEST_NAME are defined.
29709
9a387d1f
L
29710 * string/Makefile (strop-tests): Add bcopy and bzero.
29711 * string/test-bcopy.c: New file.
29712 * string/test-bzero.c: Likewise.
29713 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29714 defined.
29715 * string/test-memset.c: Support bzero test if TEST_BZERO is
29716 defined.
29717 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29718 __libc_memmove.
29719 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29720 __libc_memset.
29721 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29722 of memset.
29723
472371b9
JM
297242012-10-10 Joseph Myers <joseph@codesourcery.com>
29725
1e4a9536
JM
29726 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29727 * configure: Regenerated.
29728
d173d12e
JM
29729 * Makeconfig (+link-static-before-libc): Don't include
29730 $(link-static-libc).
29731
472371b9
JM
29732 * libio/libio.h (_IO_pos_t): Remove.
29733
89a3ad0b
AO
297342012-10-10 Alexandre Oliva <aoliva@redhat.com>
29735
29736 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29737 McGrath.
29738
e7451425
AO
297392012-10-10 Alexandre Oliva <aoliva@redhat.com>
29740
29741 * crypt/crypt-entry.c: Include fips-private.h.
29742 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29743 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29744 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29745 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29746
4ba74a35
AO
297472012-10-10 Alexandre Oliva <aoliva@redhat.com>
29748
29749 * crypt/crypt-private.h: Include stdbool.h.
29750 (_ufc_setup_salt_r): Return bool.
29751 * crypt/crypt-entry.c: Include errno.h.
29752 (__crypt_r): Return NULL with EINVAL for bad salt.
29753 * crypt/crypt_util.c (bad_for_salt): New.
29754 (_ufc_setup_salt_r): Check that salt is long enough and within
29755 the specified alphabet.
29756 * crypt/badsalttest.c: New file.
29757 * crypt/Makefile (tests): Add it.
29758 ($(objpfx)badsalttest): New.
29759
f96f1242
MK
297602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29761
29762 * NEWS: Add entry for BZ #14602.
29763
0e8e0c1c
JM
297642012-10-09 Joseph Myers <joseph@codesourcery.com>
29765
29766 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29767 type-generic.
29768 * math/libm-test.inc: Update comment listing what functions and
29769 macros are tested.
29770 (isgreater_test): New function.
29771 (isgreaterequal_test): Likewise.
29772 (isless_test): Likewise.
29773 (islessequal_test): Likewise.
29774 (islessgreater_test): Likewise.
29775 (isunordered_test): Likewise.
29776 (main): Call the new functions.
29777
273edc5e
RM
297782012-10-09 Roland McGrath <roland@hack.frob.com>
29779
b8493de0
RM
29780 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29781 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29782 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29783 * sysdeps/i386/configure: Regenerated.
29784 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29785 * sysdeps/mach/configure: Regenerated.
29786 * sysdeps/mach/hurd/configure: Regenerated.
29787 * sysdeps/powerpc/configure: Regenerated.
29788 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29789 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29790 * sysdeps/s390/s390-32/configure: Regenerated.
29791 * sysdeps/s390/s390-64/configure: Regenerated.
29792 * sysdeps/sh/configure: Regenerated.
29793 * sysdeps/sparc/configure: Regenerated.
29794 * sysdeps/unix/sysv/linux/configure: Regenerated.
29795 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29796 * sysdeps/x86_64/configure: Regenerated.
29797
273edc5e
RM
29798 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29799 defined. Don't check if MAP is NULL.
29800
c8450f70
JM
298012012-10-09 Joseph Myers <joseph@codesourcery.com>
29802
29803 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29804 (_G_stat64): Likewise.
29805 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29806 (_G_stat64): Likewise.
29807 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29808 instead of struct _G_stat64.
29809 * libio/fileops.c (mmap_remap_check): Likewise.
29810 (decide_maybe_mmap): Likewise.
29811 (_IO_new_file_seekoff): Likewise.
29812 (_IO_file_stat): Likewise.
29813 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29814 _G_off64_t.
29815 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29816 instead of struct _G_stat64.
29817 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29818
57e605ba
MK
298192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29820
29821 [BZ #14602]
29822 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29823 Replace with ...
29824 (CHECK_EOL): New macro.
29825 (two_way_short_needle): Check beginning of haystack for EOL. Use
29826 CHECK_EOL.
29827 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29828 Replace with CHECK_EOL.
29829 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29830 Replace with CHECK_EOL.
29831
ef1bb361
JM
298322012-10-08 Joseph Myers <joseph@codesourcery.com>
29833
29834 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29835 type-generic.
29836 * math/libm-test.inc: Update comment listing what functions and
29837 macros are tested.
29838 (finite_test): New function.
29839 (isinf_test): Likewise.
29840 (isnan_test): Likewise.
29841 (fpclassify_test): Test subnormal input.
29842 (isfinite_test): Likewise.
29843 (isnormal_test): Likewise.
29844 (main): Call the new functions.
29845
55f11534
JN
298462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29847
29848 [BZ #14660]
29849 * Makerules (%.dynsym): Force C locale when running
29850 $(OBJDUMP) --dynamic-syms.
29851
1ab29350
AS
298522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29853
29854 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29855 <stdint.h>.
29856
f1ecb7ef
DM
298572012-10-06 David S. Miller <davem@davemloft.net>
29858
29859 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29860 upper 32-bits of the length value in %o2 since we use branch-on-register
29861 tests which consider the entire 64-bit register.
29862
5d41d91a
L
298632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 * string/test-strstr.c (check2): Add a test for page boundary.
29866
3baddb72
DM
298672012-10-05 David S. Miller <davem@davemloft.net>
29868
29869 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29870 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29871 file.
29872 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29873 sysdep_routines.
29874 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29875 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29876 and bzero when HWCAP_SPARC_CRYPTO is present.
29877
9cee5585
L
298782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29879
d7e0dab9
L
29880 [BZ #14602]
29881 * string/test-strstr.c (check2): New function.
29882 (test_main): Call check2.
29883
03759f47
L
29884 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29885 and bug-strchr1.
29886 * string/bug-strcasestr1.c (do_test): Moved to ...
29887 * string/test-strcasestr.c (check1): Here. New function.
29888 (do_one_test): Break out result checking code into ...
29889 (check_result): This. New function.
29890 (do_one_test): Call check_result.
29891 (test_main): Call check1.
29892 * string/bug-strchr1.c (do_test): Moved to ...
29893 * string/test-strchr.c (check1): Here. New function.
29894 (do_one_test): Break out result checking code into ...
29895 (check_result): This. New function.
29896 (do_one_test): Call check_result.
29897 (test_main): Call check1.
29898 * string/bug-strstr1.c (main): Moved to ...
046f153e 29899 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29900 (do_one_test): Break out result checking code into ...
29901 (check_result): This. New function.
29902 (do_one_test): Call check_result.
29903 (test_main): Call check1.
29904 * string/bug-strcasestr1.c: Removed.
29905 * string/bug-strchr1.c: Likewise.
29906 * string/bug-strstr1.c: Likewise.
29907
53cea63e
L
29908 * elf/Makefile (dl-routines): Add hwcaps.
29909 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29910 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29911 (_dl_important_hwcaps): Moved to ...
29912 * elf/dl-hwcaps.c: Here. New file.
29913 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29914
9cee5585 29915 [BZ #14557]
bb859b06
L
29916 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29917 if IS_IN_rtld isn't defined.
29918
9cee5585
L
29919 * elf/dl-support.c (_dl_sysinfo_map): New.
29920 Include "get-dynamic-info.h" and "setup-vdso.h".
29921 (_dl_non_dynamic_init): Call setup_vdso.
29922 * elf/dynamic-link.h: Don't include <assert.h>.
29923 (elf_get_dynamic_info): Moved to ...
29924 * elf/get-dynamic-info.h: Here. New file.
29925 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29926 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29927 * elf/setup-vdso.h: Here. New file.
29928 * elf/rtld.c: Include "setup-vdso.h".
29929 (dl_main): Call setup_vdso.
29930
23c31b76
JM
299312012-10-05 Joseph Myers <joseph@codesourcery.com>
29932
28234b07
JM
29933 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29934 creal in comment listing functions tested. List finite, isinf,
29935 isnan, isless, islessequal, isgreater, isgreaterequal,
29936 islessgreater, isunordered, lgamma_r and pow10 as functions and
29937 macros not tested. Mention which functions not tested are aliases
29938 for other functions. Fix typo. Note that signs of NaNs are not
29939 tested.
29940
23c31b76
JM
29941 * scripts/config.guess: Update from config.git.
29942 * scripts/config.sub: Likewise.
29943
9043e228
RM
299442012-10-04 Roland McGrath <roland@hack.frob.com>
29945
29946 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29947 * misc/madvise.c (madvise): Renamed to __madvise.
29948 Make madvise a weak alias.
29949 * include/sys/mman.h: Declare __madvise.
29950 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29951 * sysdeps/unix/syscalls.list
29952 (madvise): Make __madvise the strong name, and madvise a weak alias.
29953 * sysdeps/unix/sysv/linux/syscalls.list
29954 (madvise, mmap): Remove redundant entries.
29955 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29956 * malloc/malloc.c (mtrim): Likewise.
29957 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29958
f57f8055
RM
299592012-10-03 Roland McGrath <roland@hack.frob.com>
29960
29961 * sysdeps/mach/hurd/dl-cache.c: File removed.
29962 * config.h.in (USE_LDCONFIG): New #undef.
29963 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29964 * configure: Regenerated.
29965 * elf/Makefile (dl-routines): Add dl-cache only under
29966 [$(use-ldconfig) = yes].
29967 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29968 cache on [USE_LDCONFIG].
29969 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29970 [USE_LDCONFIG].
29971 * elf/rtld.c (dl_main): Likewise.
29972
5bb0c10a
PT
299732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29974
29975 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29976 _SC_LEVEL4_CACHE_LINESIZE.
29977
010188c6
RM
299782012-10-03 Roland McGrath <roland@hack.frob.com>
29979
29980 * sysdeps/unix/bsd/confstr.h: File removed.
29981
b6c5ec07
AO
299822012-10-02 Alexandre Oliva <aoliva@redhat.com>
29983
29984 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29985 sys/sdt-config.h.
29986
408223d4
RM
299872012-10-02 Roland McGrath <roland@hack.frob.com>
29988
29989 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29990 Make 'mapoff' field ElfW(Off) rather than off_t.
29991
bb9510dc
DL
299922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29993
fc997c6e
DL
29994 * nscd/Makefile: Remove nscd-cflags and all its users.
29995 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29996 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29997
bb9510dc
DL
29998 [BZ #10631]
29999 * malloc.c (malloc_printerr): Clarify error message.
30000
05699367
L
300012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30002
30003 [BZ #14648]
30004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30005 Set bit_FMA_Usable if FMA is supported.
30006 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30007 macro.
30008 (bit_FMA4_Usable): Updated.
30009 (index_FMA_Usable): New macro.
30010 (CPUID_FMA): Likewise
30011 (HAS_FMA): Defined with bit_FMA_Usable.
30012
51367701
RM
300132012-10-01 Roland McGrath <roland@hack.frob.com>
30014
30015 * bits/types.h (__swblk_t): Type removed.
30016 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30017 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30019 (__SWBLK_T_TYPE): Likewise.
30020 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30021 (__SWBLK_T_TYPE): Likewise.
30022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30023 (__SWBLK_T_TYPE): Likewise.
30024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30025 (__SWBLK_T_TYPE): Likewise.
30026
4d57bf63 300272012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30028 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30029
30030 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30031 (xdr_mapname): Use YPMAXMAP as maxsize.
30032 (xdr_peername): Use YPMAXPEER as maxsize.
30033 (xdr_keydat): Use YPAXRECORD as maxsize.
30034 (xdr_valdat): Use YPMAXRECORD as maxsize.
30035
93c65d43
RM
300362012-10-01 Roland McGrath <roland@hack.frob.com>
30037
497a03d6
RM
30038 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30039
93c65d43
RM
30040 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30041 * csu/init-first.c: ... here.
30042 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30043 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30045 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30046 * sysdeps/i386/init-first.c: File removed.
30047 * sysdeps/sh/init-first.c: File removed.
30048
bec749fd
JM
300492012-10-01 Joseph Myers <joseph@codesourcery.com>
30050
30051 [BZ #14645]
30052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30053 if x * y might underflow to zero and z is zero.
30054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30056 * math/libm-test.inc (min_subnorm_value): New variable.
30057 (fma_test): Add more tests.
30058 (fma_test_towardzero): Likewise.
30059 (fma_test_downward): Likewise
30060 (fma_test_upward): Likewise.
30061 (initialize): Set min_subnorm_value.
30062
8ec5b013
JM
300632012-09-29 Joseph Myers <joseph@codesourcery.com>
30064
30065 [BZ #14638]
30066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30067 0 + 0.
30068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30069 mode for addition resulting in exact zero.
30070 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30072 exact 0 + 0.
30073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30075 * math/libm-test.inc (fma_test): Add more tests.
30076 (fma_test_towardzero): New function.
30077 (fma_test_downward): Likewise.
30078 (fma_test_upward): Likewise.
30079 (main): Call the new functions.
30080
b1fa802e
DM
300812012-09-28 David S. Miller <davem@davemloft.net>
30082
30083 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30084
d3b9fd9e
RM
300852012-09-28 Roland McGrath <roland@hack.frob.com>
30086
ea4d37b3
RM
30087 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30088 instead of SIGALRM.
30089
ac51c949
RM
30090 * sysdeps/gnu/_G_config.h: Moved to ...
30091 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30092 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30093 * sysdeps/generic/_G_config.h: ... here.
30094
28c195f7
RM
30095 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30096
848917f9
RM
30097 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30098
6bacf05b
RM
30099 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30100 Conditionalize target on [libnss_test1.so-version].
30101
91363dbb
RM
30102 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30103
cc87f7d8
RM
30104 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30105 (elfobjdir): Move out of conditionals.
30106
b1c608fe
RM
30107 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30108 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30109 (__nss_lookup_function): Conditionalize label remove_from_tree on
30110 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30111
1d9a6d96
DM
301122012-09-28 David S. Miller <davem@davemloft.net>
30113
30114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30115 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30116 file.
30117 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30118 sysdep_routines.
30119 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30121 when HWCAP_SPARC_CRYPTO is present.
30122
72581615
PT
301232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30124
30125 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30126
715a900c
JL
301272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30128
30129 [BZ #6530]
30130 * stdio-common/vfprintf.c (process_string_arg): Revert
30131 2000-07-22 change.
30132
301332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30134
30135 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30136 for testcase.
30137 * stdio-common/tst-sprintf.c: Include <locale.h>
30138 (main): Test sprintf's handling of incomplete multibyte
30139 characters.
30140
9bac1d86
L
301412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30142
30143 * elf/dl-runtime.c (VERSYMIDX): Removed.
30144 * elf/dl-version.c (VERSYMIDX): Likewise.
30145 * elf/do-rel.h (VERSYMIDX): Likewise.
30146 (VALIDX): Likewise.
30147 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30148 * elf/rtld.c (VALIDX): Likewise.
30149 (ADDRIDX): Likewise.
9bac1d86
L
30150 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30151 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30152 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30153 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30154 (VALIDX): Likewise.
30155 (ADDRIDX): Likewise.
9bac1d86 30156
b31606c0
PT
301572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30158
30159 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30160
11541177
JL
301612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30162
30163 [BZ #11438]
30164 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30165 to global scope.
30166 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30167 addresses are in the same scope as 192.0.2/24.
30168 * posix/gai.conf: Document new scope table defaults.
30169
adb26fae
SP
301702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30171
30172 [BZ #5298]
30173 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30174 for ftell. Compute offsets from write pointers instead.
30175 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30176
4573c6b0
SP
301772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30178
30179 [BZ #14543]
30180 * libio/Makefile (tests): New test case tst-fseek.
30181 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30182 combination works in wide mode.
30183 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30184 state when the external buffer state changes.
30185
aa9bbfe6
DM
301862012-09-27 David S. Miller <davem@davemloft.net>
30187
30188 [BZ #14376]
30189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30190 pass reloc->r_addend in as the 'high' argument to
30191 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30192
784421e7
DM
30193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30194
c39bc8b8
PT
301952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30196
30197 * rt/tst-aio2.c: Include <pthread.h>.
30198 * rt/tst-aio3.c: Likewise.
30199
1ccc2399
SE
302002012-09-27 Steve Ellcey <sellcey@mips.com>
30201
30202 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30203
31ed4153
L
302042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30205
25f5f885
L
30206 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30207 contents on [SHARED].
31ed4153 30208
b7bfe116
MP
302092012-09-26 Marek Polacek <polacek@redhat.com>
30210
30211 [BZ #14530]
30212 [BZ #13741]
30213 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30214 for C++ and GCC <4.3 as well as for non GCC compilers.
30215
43c4edba
MT
302162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30217
30218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30219
6a1bf82f
RM
302202012-09-25 Roland McGrath <roland@hack.frob.com>
30221
30222 * Makefile.in (all, install): Declare with .PHONY.
30223 Reported by Michael Hope <michael.hope@linaro.org>.
30224
8ad11b9a
TMQMF
302252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30226
30227 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30228 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30229 system header.
30230 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30231 Likewise.
30232 (sydep_routines): Add the new and the internal functions.
30233 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30234 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30236 (GLIBC_2.17): Add the new function.
30237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30238 (GLIBC_2.17): Likewise.
30239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30240 (GLIBC_2.17): Likewise.
30241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30242 (GLIBC_2.17): Likewise.
30243 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30244
7e2fca8d
AM
302452012-09-25 Alan Modra <amodra@gmail.com>
30246
30247 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30248 Add release barrier before setting once_control to say
30249 initialisation is done. Add hints on lwarx. Use macro in
30250 place of isync.
30251 (clear_once_control): Add release barrier.
30252
b87c4b24
JM
302532012-09-25 Joseph Myers <joseph@codesourcery.com>
30254
d032e0d2
JM
30255 [BZ #13629]
30256 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30257 specially.
30258 * math/s_clog10.c (__clog10): Likewise.
30259 * math/s_clog10f.c (__clog10f): Likewise.
30260 * math/s_clog10l.c (__clog10l): Likewise.
30261 * math/s_clogf.c (__clogf): Likewise.
30262 * math/s_clogl.c (__clogl): Likewise.
30263 * math/Makefile (libm-calls): Add x2y2m1.
30264 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30265 (__x2y2m1): Likewise.
30266 (__x2y2m1l): Likewise.
30267 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30268 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30269 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30270 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30271 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30272 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30273 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30274 * sysdeps/i386/fpu/libm-test-ulps: Update.
30275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30276
b87c4b24
JM
30277 [BZ #14621]
30278 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30279 int as type of variable DEPTH.
30280 (glob): Use size_t instead of int as type of variables NEWCOUNT
30281 and OLD_PATHC.
30282
6d3bf199
LD
302832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30284
22bf5c17
LD
30285 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30286 Add s_sincosf-sse2.
30287 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30288 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30289 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30290 macros for using routine as __sincosf_ia32.
30291 Use macro for function declaration and weak_alias.
30292 * sysdeps/i386/fpu/libm-test-ulps: Update.
30293
30294 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30296
30297 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30298 subnormal argument.
30299 * math/s_cexpf.c (__cexpf): Likewise.
30300 * math/s_csinf.c (__csinf): Likewise.
30301 * math/s_csinhf.c (__csinhf): Likewise.
30302 * math/s_ctanf.c (__ctanf): Likewise.
30303 * math/s_ctanhf.c (__ctanhf): Likewise.
30304 * math/s_ccosh.c (__ccoshf): Likewise.
30305 * math/s_cexp.c (__cexpl): Likewise.
30306 * math/s_csin.c (__csin): Likewise.
30307 * math/s_csinh.c (__csinh): Likewise.
30308 * math/s_ctan.c (__ctan): Likewise.
30309 * math/s_ctanh.c (ctanh): Likewise.
30310 * math/s_ccoshl.c (__ccoshl): Likewise.
30311 * math/s_cexpl.c (__cexpl): Likewise.
30312 * math/s_csinl.c (__csinl): Likewise.
30313 * math/s_csinhl.c (__csinhl): Likewise.
30314 * math/s_ctanl.c (__ctanl): Likewise.
30315 * math/s_ctanhl.c (__ctanhl): Likewise.
30316
203e5603
JM
303172012-09-25 Joseph Myers <joseph@codesourcery.com>
30318
30319 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30320 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30321 (_IO_off_t): Define to __off_t, not _G_off_t.
30322 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30323 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30324 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30325 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30326 type of __dummy and __dummy2 fields.
30327 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30335 (_G_ssize_t): Likewise.
30336 (_G_off_t): Likewise.
30337 (_G_pid_t): Likewise.
30338 (_G_uid_t): Likewise.
30339 (_G_wchar_t): Likewise.
30340 (_G_wint_t): Likewise.
30341 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30342 (_G_ssize_t): Likewise.
30343 (_G_off_t): Likewise.
30344 (_G_pid_t): Likewise.
30345 (_G_uid_t): Likewise.
30346 (_G_wchar_t): Likewise.
30347 (_G_wint_t): Likewise.
30348
9fab36eb
SP
303492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30350
30351 * malloc/arena.c: Include malloc-sysdep.h.
30352 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30353 is sufficient to shrink the heap or an unmap is needed.
30354 * sysdeps/generic/malloc-sysdep.h: New file. Define
30355 new function check_may_shrink_heap.
30356 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30357 new function check_may_shrink_heap.
30358
2b4f00d1
SP
303592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30360
30361 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30362 comments.
30363
9a9028b1
DL
303642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30365
57c69bef
DL
30366 * catgets/test-gencat.sh: Add "set -e".
30367 * elf/tst-pathopt.sh: Likewise.
30368 * grp/tst_fgetgrent.sh: Likewise.
30369 * iconvdata/run-iconv-test.sh: Likewise.
30370 * intl/tst-gettext.sh: Likewise.
30371 * intl/tst-gettext2.sh: Likewise.
30372 * intl/tst-gettext4.sh: Likewise.
30373 * intl/tst-gettext6.sh: Likewise.
30374 * intl/tst-translit.sh: Likewise.
30375 * io/ftwtest-sh: Likewise.
30376 * libio/test-freopen.sh: Likewise.
30377 * malloc/tst-mtrace.sh: Likewise.
30378 * posix/globtest.sh: Likewise.
30379 * posix/tst-getconf.sh: Likewise.
30380 * posix/wordexp-tst.sh: Likewise.
30381 * stdio-common/tst-printf.sh: Likewise.
30382 * stdio-common/tst-unbputc.sh: Likewise.
30383 * stdlib/tst-fmtmsg.sh: Likewise.
30384 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30385 * catgets/Makefile: Do not specify -e option when running
30386 testsuite shell scripts.
30387 * elf/Makefile: Likewise.
30388 * grp/Makefile: Likewise.
30389 * iconvdata/Makefile: Likewise.
30390 * intl/Makefile: Likewise.
30391 * io/Makefile: Likewise.
30392 * libio/Makefile: Likewise.
30393 * malloc/Makefile: Likewise.
30394 * posix/Makefile: Likewise.
30395 * stdio-common/Makefile: Likewise.
30396 * stdlib/Makefile: Likewise.
30397 * sysdeps/x86_64/Makefile: Likewise.
30398
9a9028b1
DL
30399 * io/ftwtest-sh: Add copyright header.
30400 * posix/globtest.sh: Likewise.
30401 * posix/tst-getconf.sh: Likewise.
30402 * posix/wordexp-tst.sh: Likewise.
30403 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30404
ced6f16e
L
304052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30406
94b32c39
L
30407 [BZ #13679]
30408 * Makeconfig (+link): Defined as $(+link-static) if
30409 $(build-shared) isn't yes.
30410 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30411 isn't yes.
30412 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30413
189e935b
L
30414 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30415
ced6f16e
L
30416 [BZ #14562]
30417 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30418 new chunk size with MALLOC_ALIGN_MASK.
30419
a9f8e53a
JM
304202012-09-24 Joseph Myers <joseph@codesourcery.com>
30421
30422 [BZ #5044]
30423 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30424 <rounding-mode.h>.
30425 (__printf_fphex): Determine rounding using get_rounding_mode and
30426 round_away.
30427 * stdio-common/tst-printf-round.c (struct hex_test): New
30428 structure.
30429 (hex_tests): New variable.
30430 (test_hex_in_one_mode): New function.
30431 (do_test): Also run tests for hex float output.
30432
43153109
JM
304332012-09-21 Joseph Myers <joseph@codesourcery.com>
30434
30435 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30436 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30437 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30438 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30439 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30440 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30441 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30443
8a26625d
JM
304442012-09-20 Joseph Myers <joseph@codesourcery.com>
30445
30446 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30447 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30448 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30449 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30450
f3fd569c
DL
304512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30452
30453 [BZ #14579]
30454 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30455 mode only.
30456 * elf/tst-rtld-load-self.sh: New test.
30457 * elf/Makefile: Run it.
30458
63bbedd4
JM
304592012-09-18 Joseph Myers <joseph@codesourcery.com>
30460
30461 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30462 (tst-writev-ENV): Remove.
30463 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30464
626f8b6a
CM
304652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30466
30467 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30468
b7aaa4d6
JM
304692012-09-17 Joseph Myers <joseph@codesourcery.com>
30470
30471 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30472 unconditional.
30473 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30474 Likewise.
30475 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30476 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30477 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30478 Likewise.
30479
65513990
L
304802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30481
30482 [BZ #14587]
30483 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30484 * config.make.in (have-cpp-asm-debuginfo): Removed.
30485 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30486 * configure: Regenerated.
30487
784761be
JM
304882012-09-14 Joseph Myers <joseph@codesourcery.com>
30489
30490 [BZ #5044]
30491 * stdio-common/printf_fp.c: Include <stdbool.h> and
30492 <rounding-mode.h>.
30493 (___printf_fp): Determine rounding using get_rounding_mode and
30494 round_away.
30495 * stdio-common/tst-printf-round.c: New file.
30496 * stdio-common/Makefile (tests): Add tst-printf-round.
30497 (link-libm): New variable.
30498 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30499
9503345f
L
305002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30501
30502 [BZ #14576]
30503 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30504 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30505 Likewise.
30506 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30507 Likewise.
30508
ad35fc00
JM
305092012-09-13 Joseph Myers <joseph@codesourcery.com>
30510
30511 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30512 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30513 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30514 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30515
6c9b0f68
JM
305162012-09-12 Joseph Myers <joseph@codesourcery.com>
30517
30518 [BZ #14518]
30519 * include/rounding-mode.h: New file.
30520 * sysdeps/generic/get-rounding-mode.h: Likewise.
30521 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30522 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30523 (MAX_VALUE): New macro.
30524 (MIN_VALUE): Likewise.
30525 (overflow_value): New function.
30526 (underflow_value): Likewise.
30527 (round_and_return): Use overflow_value and underflow_value to
30528 determine return values in overflow and underflow cases. Use
30529 round_away to determine rounding depending on rounding mode.
30530 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30531 determine return values in overflow and underflow cases.
30532 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30533 (struct test_results): New structure.
30534 (struct test): Use struct test_results to store expected results
30535 for all rounding modes.
30536 (TEST): Include expected results for all rounding modes.
30537 (test_in_one_mode): New function.
30538 (do_test): Use test_in_one_mode to compute and check results.
30539 Check results for all rounding modes.
30540 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30541 $(link-libm).
30542
19fcedd5
AM
305432012-12-09 Allan McRae <allan@archlinux.org>
30544
1e9d84cd 30545 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30546
8bbfd2f1
JM
305472012-09-11 Joseph Myers <joseph@codesourcery.com>
30548
30549 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30550 (_G_int32_t): Likewise.
30551 (_G_uint16_t): Likewise.
30552 (_G_uint32_t): Likewise.
30553 (_G_HAVE_BOOL): Likewise.
30554 (_G_HAVE_ATEXIT): Likewise.
30555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30556 (_G_HAVE_IO_FILE_OPEN): Likewise.
30557 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30558 (_G_int32_t): Likewise.
30559 (_G_uint16_t): Likewise.
30560 (_G_uint32_t): Likewise.
30561 (_G_HAVE_BOOL): Likewise.
30562 (_G_HAVE_ATEXIT): Likewise.
30563 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30564 (_G_HAVE_IO_FILE_OPEN): Likewise.
30565 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30566 (_G_int32_t): Likewise.
30567 (_G_uint16_t): Likewise.
30568 (_G_uint32_t): Likewise.
30569 (_G_HAVE_BOOL): Likewise.
30570 (_G_HAVE_ATEXIT): Likewise.
30571 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30572 (_G_HAVE_IO_FILE_OPEN): Likewise.
30573
b1dc5912
L
305742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30575
30576 * csu/libc-tls.c: Update copyright years.
30577
0e886ef9
JM
305782012-09-10 Joseph Myers <joseph@codesourcery.com>
30579
28361c5e
JM
30580 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30581 [!_G_USING_THUNKS]: Remove conditional code.
30582 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30583 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30584
0e886ef9
JM
30585 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30586 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30587 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30588 (_G_VTABLE_LABEL_PREFIX): Likewise.
30589 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30590 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30591 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30592 (_G_VTABLE_LABEL_PREFIX): Likewise.
30593 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30594 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30595 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30596 (_G_VTABLE_LABEL_PREFIX): Likewise.
30597 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30598
bcba7aa2
L
305992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30600
30601 * libio/Makefile: Include ../Makeconfig before tests.
30602 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30603 only if $(build-shared) is yes.
30604
06585ee8
L
30605 * iconv/gconv_db.c: Update copyright years.
30606
80ccd52c
LD
306072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30608
30609 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30610 unwind info if defined PIC. Fix special cases description.
30611 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30612
30613 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30614 DP_HI_MASK entry.
30615 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30616
691bc9c1
L
306172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30618
3d9b46b3
L
30619 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30620
de2139a9
L
30621 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30622 is NULL.
30623
5ca78dd0
L
30624 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30625 (LDLIBS-tst-chk4): This.
30626 (LDFLAGS-tst-chk5): Renamed to ...
30627 (LDLIBS-tst-chk5): This.
30628 (LDFLAGS-tst-chk6): Renamed to ...
30629 (LDLIBS-tst-chk6): This.
30630 (LDFLAGS-tst-lfschk4): Renamed to ...
30631 (LDLIBS-tst-lfschk4): This.
30632 (LDFLAGS-tst-lfschk5): Renamed to ...
30633 (LDLIBS-tst-lfschk5): This.
30634 (LDFLAGS-tst-lfschk6): Renamed to ...
30635 (LDLIBS-tst-lfschk6): This.
30636
691bc9c1
L
30637 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30638 on $(common-objpfx)soversions.mk.
30639
65cafb1c
JM
306402012-09-07 Joseph Myers <joseph@codesourcery.com>
30641
30642 [BZ #10014]
30643 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30644 example host name.
30645
c78ab094
SP
306462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30647
30648 * malloc/arena.c (arena_get_retry): New function that gets
30649 another arena for the caller to try its request on.
30650 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30651 current arena cannot fulfill the request.
30652 (__libc_memalign): Likewise.
30653 (__libc_memalign): Likewise.
30654 (__libc_pvalloc): Likewise.
30655 (__libc_calloc): Likewise.
30656
01f49f59
JT
306572012-09-05 John Tobey <john.tobey@gmail.com>
30658
30659 [BZ #13542]
30660 * manual/arith.texi (Operations on Complex): Fix description
30661 of carg branch cut.
30662
4c23fed5
JM
306632012-09-06 Joseph Myers <joseph@codesourcery.com>
30664
1d3c8572
JM
30665 [BZ #10014]
30666 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30667 host name.
30668
4c23fed5
JM
30669 [BZ #10038]
30670 * manual/memory.texi (Memory): Make order of menu items match
30671 order of sections.
30672
04570aaa
L
306732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30674
30675 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30676 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30677 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30678
b80af2f4
L
306792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30680
30681 * csu/libc-tls.c (static_dtv): Renamed to ...
30682 (_dl_static_dtv): This. Make it global.
30683 (_dl_initial_dtv): Removed.
30684 (__libc_setup_tls): Updated.
30685 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30686 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30687 DL_INITIAL_DTV.
30688
2abe9f15
PM
306892012-09-06 Petr Machata <pmachata@redhat.com>
30690
30691 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30692 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30693 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30694 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30695
0948c3af
L
306962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30697
30698 [BZ #14545]
30699 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30700 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30701 freeing dtv[-1].
30702
a5055ad1
L
307032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30704
30705 [BZ #14544]
30706 * Makeconfig (link-static-before-libc): Replace $(+prector)
30707 with $(+prectorT).
30708 (link-static-after-libc): Replace $(+postctor) with
30709 $(+postctorT).
30710 (link-bounded): Replace $(+prector)/$(+postctor) with
30711 $(+prectorT)/$(+postctorT).
30712 (+prectorT): New macro.
30713 (+postctorT): Likewise.
30714
ed8c2ecd
JM
307152012-09-06 Joseph Myers <joseph@codesourcery.com>
30716
30717 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30718 (round_str): Handle values above the maximum for IBM long double
30719 as inexact.
30720 * stdlib/tst-strtod-round.c (tests): Regenerated.
30721
14c996c8
AK
307222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30723
30724 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30725 assembler flag.
30726 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30727 zarch_nohighgprs around the zarch optimized routines.
30728 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30729 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30730 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30731 for zarch.
30732
430d6ce6
DM
307332012-09-05 David S. Miller <davem@davemloft.net>
30734
30735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30736
57f41c40
AS
30737 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30738 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30739 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30740 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30741 entries.
30742
24d4e01b
AO
307432012-09-05 Alexandre Oliva <aoliva@redhat.com>
30744
30745 * malloc/arena.c: Fold copyright years.
30746 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30747
61d58174
AO
307482012-09-05 Alexandre Oliva <aoliva@redhat.com>
30749
30750 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30751
20196a5e
AO
307522012-09-05 Alexandre Oliva <aoliva@redhat.com>
30753
30754 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30755
5c447383
AO
307562012-09-05 Alexandre Oliva <aoliva@redhat.com>
30757
30758 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30759 change internal state upon failure.
30760
fad64255
AO
307612012-09-05 Alexandre Oliva <aoliva@redhat.com>
30762
30763 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30764 * malloc/memusage.c (mmap): Likewise.
30765 (mmap64, mremap): Likewise. Adjust name in comment.
30766
1ffb8c90
SP
307672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30768
30769 * libio/fileops.c: Fix typos in comments.
30770 * libio/oldfileops.c: Likewise.
30771 * libio/wfileops.c: Likewise.
30772
6ef9cc37
SP
307732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30774
30775 [BZ #1349]
30776 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30777 (tst-malloc-usable-ENV): Set environment for test case.
30778 * malloc/hooks.c (malloc_check_get_size): New function to get
30779 requested size.
30780 * malloc/malloc.c (musable): Use malloc_check_get_size.
30781 * malloc/tst-malloc-usable.c: New test case.
30782
4d038ae3
AS
307832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30784
30785 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30786
c4e85184
AM
307872012-09-05 Allan McRae <allan@archlinux.org>
30788
b9dafc56 30789 [BZ #13966]
c4e85184
AM
30790 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30791 determine header location.
30792 * configure: Regenerated.
30793
e1343020
AS
307942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30795
30796 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30797 float format.
30798 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30799 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30800 format.
e1343020
AS
30801 (test): Regenerate.
30802
0a9f1987
DM
308032012-09-04 David S. Miller <davem@davemloft.net>
30804
30805 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30806 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30807 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30808
29237804
FW
308092012-09-04 Florian Weimer <fweimer@redhat.com>
30810
30811 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30812 failures.
30813
edb3cb88
FW
30814 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30815
60160d83
JM
308162012-09-04 Joseph Myers <joseph@codesourcery.com>
30817
30818 [BZ #9914]
30819 * libio/iogetdelim.c: Include <limits.h>.
30820 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30821 + len + 1 would overflow.
30822
bcd6c8dc
AJ
308232012-09-03 Andreas Jaeger <aj@suse.de>
30824
30825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30826 * sysdeps/i386/fpu/libm-test-ulps: Update.
30827
4ffffbd2
LD
308282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30829
30830 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30831 Add s_sinf-sse2, s_conf-sse2.
30832
30833 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30834 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30835 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30836 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30837
30838 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30839 for using routine as __sinf_ia32.
30840 Use macro for function declaration and weak_alias.
30841 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30842 for using routine as __cosf_ia32.
30843 Use macro for function declaration and weak_alias.
30844
30845 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30846 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30847
30848 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30849 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30851
30852 * math/libm-test.inc (cos_test): Add more test cases.
30853 (sin_test): Likewise.
30854 (sincos_test): Likewise.
30855
511fa286
AK
308562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30857
30858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30859 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30860 hidden.
30861 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30862
5f30cfec
L
308632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30864
30865 [BZ #14538]
30866 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30867 first element of the GOT.
30868 (elf_machine_load_address): Return the difference between
30869 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30870
0786794f
AM
308712012-09-01 Allan McRae <allan@archlinux.org>
30872
5f30cfec
L
30873 [BZ #13412]
30874 * configure.in (AWK): Require gawk version 3.0 or later.
30875 * configure: Regenerated.
0786794f 30876
26889eac
JM
308772012-09-01 Joseph Myers <joseph@codesourcery.com>
30878
30879 * sysdeps/unix/sysv/linux/kernel-features.h
30880 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30881 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30882 [__NR_clock_getres]: Make code unconditional.
30883 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30884 (clock_getcpuclockid): Remove code left unreachable by removal of
30885 conditionals.
30886 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30887 code unconditional.
30888 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30889 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30890 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30891 Make code unconditional.
30892 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30893 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30894 * sysdeps/unix/sysv/linux/clock_settime.c
30895 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30896 conditional code.
30897 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30898 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30899
d22e28b0
L
309002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30901
30902 [BZ #14476]
30903 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30904 scripts/test-installation.pl.
30905
30906 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30907 and $ld_so_version if it is set.
30908
050af9c4
SP
309092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30910
30911 [BZ #14516]
30912 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30913 failure if reading from procfs failed.
30914 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30915
ad845c0b
JM
309162012-08-27 Joseph Myers <joseph@codesourcery.com>
30917
30918 * sysdeps/unix/sysv/linux/kernel-features.h
30919 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30920 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30921 Remove conditional code.
30922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30923 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30924 Remove conditional code.
30925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30926 * sysdeps/unix/sysv/linux/i386/fxstat.c
30927 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30929 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30930 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30932 * sysdeps/unix/sysv/linux/i386/lxstat.c
30933 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30935 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30936 Remove conditional code.
30937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30938 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30939 Remove conditional code.
30940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30941 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30942 <kernel-features.h>.
30943 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30944 Remove.
30945 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30946 Remove conditional code.
30947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30948 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30949 Remove conditional.
30950
5dbf56af
MF
309512012-08-27 Mike Frysinger <vapier@gentoo.org>
30952
30953 [BZ #5400]
30954 * NEWS: Add fixed bug number.
30955
d6e70f43
JM
309562012-08-27 Joseph Myers <joseph@codesourcery.com>
30957
7efb4737
JM
30958 [BZ #14519]
30959 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30960 underflowing exponent in case of negative sign.
30961 * stdlib/tst-strtod-round-data: Add more tests.
30962 * stdlib/tst-strtod-round.c (tests): Regenerated.
30963
af92131a
JM
30964 [BZ #3479]
30965 * stdlib/strtod_l.c (NDIG): Remove.
30966 (HEXNDIG): Likewise.
30967 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30968 smallest representable value.
30969 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30970 lie within an exact representation of 1/2 ulp of the result.
30971 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30972 unconditionally.
30973 (TENS_P9_IDX): Define unconditionally.
30974 (TENS_P9_SIZE): Likewise.
30975 (TENS_P10_IDX): Likewise.
30976 (TENS_P10_SIZE): Likewise.
30977 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30978 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30979 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30980 entries for 10^2^13 and 10^2^14.
30981 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30982 (TENS_P13_IDX): Define.
30983 (TENS_P13_SIZE): Likewise.
30984 (TENS_P14_IDX): Likewise.
30985 (TENS_P14_SIZE): Likewise.
30986 (_fpioconst_pow10): Change array size to
30987 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30988 unconditional.
30989 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30990 1024]: Add entries for 10^2^13 and 10^2^14.
30991 [LAST_POW10 > _LAST_POW10]: Remove #error.
30992 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30993 (_fpioconst_pow10): Change array size to
30994 FPIOCONST_POW10_ARRAY_SIZE.
30995 * stdlib/gen-fpioconst.c: New file.
30996 * stdlib/gen-tst-strtod-round.c: Likewise.
30997 * stdlib/tst-strtod-round-data: Likewise.
30998 * stdlib/tst-strtod-round.c: Likewise.
30999 * stdlib/Makefile (tests): Add tst-strtod-round.
31000
d6e70f43
JM
31001 [BZ #14459]
31002 * stdlib/strtod_l.c: Include <stdint.h>.
31003 (NDEBUG): Do not define.
31004 (round_and_return): Change EXPONENT parameter to type intmax_t.
31005 Rearrange calculations to avoid internal overflow possibilities.
31006 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31007 Rearrange calculations to avoid internal overflow possibilities.
31008 Assert that number fits inside MPNSIZE limbs.
31009 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31010 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31011 calculations and add assertions to avoid internal overflow
31012 possibilities. Add casts to avoid signed/unsigned operations.
31013 * stdlib/tst-strtod-overflow.c: New file.
31014 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31015
1f529f7d
MP
310162012-08-25 Marek Polacek <polacek@redhat.com>
31017
31018 * time/time.h: Fix some typos in comments.
31019
59a629f1
RM
310202012-08-23 Roland McGrath <roland@hack.frob.com>
31021
31022 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31023 * posix/tst-rfc3484-2.c: Likewise.
31024 * posix/tst-rfc3484-3.c: Likewise.
31025
d3bafbc9
SM
310262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31027
31028 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31029 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31030
4efcc022
JM
310312012-08-23 Joseph Myers <joseph@codesourcery.com>
31032
31033 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31034 #include of fxstatat64.c.
31035
3cc3ef96
RM
310362012-08-22 Roland McGrath <roland@hack.frob.com>
31037
f04e2132
RM
31038 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31039 * shadow/getspent_r.c: Likewise.
31040 * shadow/getspnam.c: Likewise.
31041 * shadow/getspnam_r.c: Likewise.
31042 * gshadow/getsgent.c: Likewise.
31043 * gshadow/getsgent_r.c: Likewise.
31044 * gshadow/getsgnam.c: Likewise.
31045 * gshadow/getsgnam_r.c: Likewise.
31046 * inet/getnetbyad.c: Likewise.
31047 * inet/getnetbyad_r.c: Likewise.
31048 * inet/getnetbynm.c: Likewise.
31049 * inet/getnetbynm_r.c: Likewise.
31050 * inet/getnetent.c: Likewise.
31051 * inet/getnetent_r.c: Likewise.
31052 * inet/getproto.c: Likewise.
31053 * inet/getproto_r.c: Likewise.
31054 * inet/getprtent.c: Likewise.
31055 * inet/getprtent_r.c: Likewise.
31056 * inet/getprtname.c: Likewise.
31057 * inet/getprtname_r.c: Likewise.
31058 * inet/getrpcbyname.c: Likewise.
31059 * inet/getrpcbyname_r.c: Likewise.
31060 * inet/getrpcbynumber.c: Likewise.
31061 * inet/getrpcbynumber_r.c: Likewise.
31062 * inet/getrpcent.c: Likewise.
31063 * inet/getrpcent_r.c: Likewise.
31064 * inet/getaliasent.c: Likewise.
31065 * inet/getaliasent_r.c: Likewise.
31066 * inet/getaliasname.c: Likewise.
31067 * inet/getaliasname_r.c: Likewise.
31068 * nscd/getgrgid_r.c: Likewise.
31069 * nscd/getgrnam_r.c: Likewise.
31070 * nscd/gethstbyad_r.c: Likewise.
31071 * nscd/gethstbynm3_r.c: Likewise.
31072 * nscd/getpwnam_r.c: Likewise.
31073 * nscd/getpwuid_r.c: Likewise.
31074 * nscd/getsrvbynm_r.c: Likewise.
31075 * nscd/getsrvbypt_r.c: Likewise.
31076 * nscd/gai.c: Likewise.
31077
c53d909c
RM
31078 * configure.in (build_nscd): New substituted variable, set
31079 by --disable-build-nscd and defaults to $use_nscd.
31080 * configure: Regenerated.
31081 * config.make.in (build-nscd): New substituted variable.
31082 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31083 Change conditional to require [$(build-nscd) = yes] as well.
31084 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31085
3cc3ef96
RM
31086 [BZ# 13696]
31087 * configure.in (use_nscd): New substituted variable, set by
31088 --disable-nscd. If enabled, define USE_NSCD.
31089 * configure: Regenerated.
31090 * config.h.in: Add USE_NSCD.
31091 * config.make.in (use-nscd): New substituted variable.
31092 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31093 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31094 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31095 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31096 (CFLAGS-getgrnam_r.c): Likewise.
31097 (CFLAGS-initgroups.c): Likewise.
31098 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31099 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31100 Variables removed.
31101 * inet/getnetgrent_r.c
31102 (nscd_setnetgrent): New function, broken out of ...
31103 (setnetgrent): ... here. Call it.
31104 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31105 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31106 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31107 * nscd/Makefile (routines, aux): Move definitions after include of
31108 Makeconfig. Conditionalize on [$(use-nscd) != no].
31109 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31110 Conditionalize on [USE_NSCD].
31111 (is_nscd, nscd_init_cb): Likewise.
31112 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31113 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31114 * nss/nss_db/db-init.c: Likewise.
31115 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31116 [USE_NSCD].
31117 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31118 (make_request): Use it.
31119 (cache_valid_p): New function.
31120 (__check_pf): Use it.
31121 * NEWS: Add item for --disable-nscd.
31122
07e51550
DL
311232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31124
31125 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31126 to support sed >= 4.2.1-20-ga9bf076.
31127 * configure: Regenerated.
31128
35a5b08b
RM
311292012-08-22 Roland McGrath <roland@hack.frob.com>
31130
31131 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31132 Conditionalize whole body on [IREL].
31133
8479f23a
JL
311342012-08-22 Jeff Law <law@redhat.com>
31135
31136 [BZ #14505]
31137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31138 if the family is PF_UNSPEC.
31139
48da0b21
MF
311402012-08-22 Mike Frysinger <vapier@gentoo.org>
31141
31142 * Makerules (lib-version): Rename from V.
31143 (install-lib-nosubdir): Change V to lib-version.
31144
15d0da8c
WS
311452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31146
31147 [BZ #14252]
31148 * powerpc32/power6/wcschr.c: New file.
31149 * powerpc32/power6/wcscpy.c: New file.
31150 * powerpc32/power6/wcsrchr.c: New file.
31151 * powerpc64/power6/wcschr.c: New file.
31152 * powerpc64/power6/wcscpy.c: New file.
31153 * powerpc64/power6/wcsrchr.c: New file.
31154
bcca0895
MK
311552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31156
31157 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31158 (two_way_short_needle): Use it.
5a4aaa33
RM
31159 * string/strstr.c (AVAILABLE1_USES_J): Define.
31160 * string/strcasestr.c: Likewise.
99677e57
MK
31161
31162 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31163 array references.
31164 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31165
400726de
MK
31166 [BZ #11607]
31167 * NEWS: Add an entry.
31168 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31169 define their defaults.
31170 (two_way_short_needle): Detect end-of-string on-the-fly.
31171 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31172 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31173 * string/bug-strcasestr1.c: New test.
31174 * string/Makefile: Run it.
31175
20a71f2c
MK
311762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31177
31178 [BZ #11607]
31179 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31180 the first character.
31181
21ad0558
RM
311822012-08-21 Roland McGrath <roland@hack.frob.com>
31183
31184 * csu/elf-init.c (__libc_csu_irel): Function removed.
31185 * csu/libc-start.c (apply_irel): New function.
31186 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31187
0e1d9911
JM
311882012-08-21 Joseph Myers <joseph@codesourcery.com>
31189
31190 * sysdeps/unix/sysv/linux/kernel-features.h
31191 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31192 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31193 <kernel-features.h>.
31194 [__NR_fadvise64_64]: Make code unconditional.
31195 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31196 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31197 !__NR_fadvise64_64)]: Likewise.
31198 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31199 !__NR_fadvise64_64))]: Likewise.
31200 [__NR_fadvise64]: Make code unconditional.
31201 [!__NR_fadvise64]: Remove conditional code.
31202 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31203 <kernel-features.h>.
31204 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31205 unconditional.
31206 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31207 conditional code.
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31209 not include <kernel-features.h>.
31210 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31211 unconditional.
31212 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31213 conditional code.
31214 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31215 include <kernel-features.h>.
31216 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31217 unconditional.
31218 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31219 conditional code.
31220
14a50c9d
WS
312212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31222
31223 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31224 slight instruction rearrangements per scrollpipe analysis.
31225 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31226
c0f4faf0
RM
312272012-08-20 Roland McGrath <roland@hack.frob.com>
31228
696da859
RM
31229 * manual/syslog.texi (syslog; vsyslog, closelog):
31230 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31231 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31232
c0f4faf0
RM
31233 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31234 DSOCAPS to match condition on defining it.
31235
348363b2
JM
312362012-08-20 Joseph Myers <joseph@codesourcery.com>
31237
a35cbf28
JM
31238 * sysdeps/unix/sysv/linux/kernel-features.h
31239 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31241 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31242 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31244 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31245 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31247 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31248 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31249
445f7ecd
JM
31250 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31251 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31252
348363b2
JM
31253 * sysdeps/unix/sysv/linux/kernel-features.h
31254 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31255 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31256 unconditional.
31257 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31258 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31259 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31260 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31261 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31262 Make code unconditional.
31263 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31264 (__mmap64) [!__NR_mmap2]: Likewise.
31265 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31266 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31267 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31268 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31269 [__NR_mmap2]: Make code unconditional.
31270 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31271 (__mmap64) [!__NR_mmap2]: Likewise.
31272
bc5bc0e5
AK
312732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31274
31275 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31276
88d506de
AJ
312772012-08-18 Andreas Jaeger <aj@suse.de>
31278
31279 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31280
493387d2
MF
312812012-08-18 Mike Frysinger <vapier@gentoo.org>
31282
31283 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31284 * include/unistd.h (__have_sock_cloexec): Likewise.
31285 (__have_pipe2): Likewise.
31286 (__have_dup3): Likewise.
31287
a277af22
MF
312882012-08-18 Mike Frysinger <vapier@gentoo.org>
31289
31290 [BZ #9685]
31291 * include/unistd.h (__have_pipe2): Change define into an extern int.
31292 (__have_dup3): Likewise.
31293 * socket/have_sock_cloexec.c: Include fcntl.h.
31294 (__have_pipe2): New variable.
31295 (__have_dup3): Likewise.
31296
fdab8fd3
MF
312972012-08-17 Mike Frysinger <vapier@gentoo.org>
31298
31299 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31300
31035e80
MP
313012012-08-17 Marek Polacek <polacek@redhat.com>
31302
31303 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31304 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31305
3bd9e993
RM
313062012-08-17 Roland McGrath <roland@hack.frob.com>
31307
c91c505f
RM
31308 * configure.in: Add AC_SUBST for sysheaders.
31309 * configure: Regenerated.
31310 * config.make.in (sysheaders): New substituted variable.
31311
7c6f9d53
RM
31312 * sysdeps/unix/mkfifo.c: Moved ...
31313 * sysdeps/posix/mkfifo.c: ... here.
31314 * sysdeps/unix/mkfifoat.c: Moved ...
31315 * sysdeps/posix/mkfifoat.c: ... here.
31316
31317 * sysdeps/unix/utime.c: Moved ...
31318 * sysdeps/posix/utime.c: ... here.
31319
31320 * sysdeps/unix/time.c: Moved ...
31321 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31322 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31323 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31324
31325 * sysdeps/unix/nice.c: Moved ...
31326 * sysdeps/posix/nice.c: ... here.
31327
31328 * sysdeps/unix/alarm.c: Moved ...
31329 * sysdeps/posix/alarm.c: ... here.
31330
3bd9e993
RM
31331 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31332
d1f09384
JL
313332012-08-17 Jeff Law <law@redhat.com>
31334
31335 * intl/Makefile (codeset_mo): New variable.
31336 ($(codeset_mo)): New target.
31337 (tst-codeset.out): Depend on that. Remove explicit rule.
31338 (tst-gettext3.out, tst-gettext5.out): Likewise.
31339 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31340 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31341 * intl/tst-codeset.sh: Remove.
31342 * intl/tst-gettext3.sh: Likewise.
31343 * intl/tst-gettext5.sh: Likewise.
31344
2ae1ae5c
RM
313452012-08-17 Roland McGrath <roland@hack.frob.com>
31346
c31fdb83
RM
31347 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31348 * sysdeps/unix/syscalls.list: ... here.
31349
a0844057
RM
31350 * sysdeps/posix/getaddrinfo.c
31351 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31352 (gaiconf_init, gaiconf_reload): Use them.
31353 [!_STATBUF_ST_NSEC]
31354 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31355 Define using time_t rather than struct timespec.
31356
750c1f2a
RM
31357 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31358 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31359 Macros removed.
31360 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31361 [!NO_THREADS].
31362 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31363 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31364 Likewise.
31365
2ae1ae5c
RM
31366 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31367 __libc_cleanup_push argument.
31368
e66a42f5
RM
31369 * bits/param.h: New file.
31370 * misc/sys/param.h: New file.
31371 * include/sys/param.h: New file.
31372 * misc/Makefile (headers): Add bits/param.h.
31373 * sysdeps/generic/sys/param.h: File removed.
31374 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31375 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31376 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31377 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31378
b7c08a66
RM
31379 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31380 last change.
31381
b2e1c562
RM
31382 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31383 [_IO_MTSAFE_IO].
31384 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31385 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31386 New macros.
31387
c75ccd4c
RM
31388 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31389 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31390 rather than -D_IO_MTSAFE_IO conditionally.
31391 * stdio-common/Makefile (CPPFLAGS): Likewise.
31392 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31393 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31394 Use $(libio-mtsafe).
31395 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31396 of -D_IO_MTSAFE_IO.
31397 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31398 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31399 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31400 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31401 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31402 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31403 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31404 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31405 (CFLAGS-fread_u_chk.c): Likewise.
31406 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31407 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31408 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31409 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31410 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31411 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31412 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31413 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31414 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31415
31416 * libio/Makefile: Test [$(libc-reentrant) = yes]
31417 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31418
31419 * Makeconfig
31420 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31421 * sysdeps/pthread/configure: File removed.
31422 * sysdeps/pthread/Makeconfig: New file.
31423 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31424 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31425
d9195db8
GB
314262012-08-16 Gary Benson <gbenson@redhat.com>
31427
31428 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31429 unmapping the first object in a namespace.
31430
86466cd9
RM
314312012-08-16 Roland McGrath <roland@hack.frob.com>
31432
31433 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31434 (__internal_setnetgrent): ... this. Add internal_function to
31435 definition. Add libc_hidden_def.
31436 (setnetgrent): Update caller.
31437 (internal_endnetgrent): Renamed to ...
31438 (__internal_endnetgrent): ... this. Add internal_function to
31439 definition. Add libc_hidden_def.
31440 (endnetgrent): Update caller.
31441 (internal_getnetgrent_r): Renamed to ...
31442 (__internal_getnetgrent_r): ... this. Add internal_function to
31443 definition. Add libc_hidden_def.
31444 (__getnetgrent_r): Update caller.
31445 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31446
c3c8283c
JM
314472012-08-16 Joseph Myers <joseph@codesourcery.com>
31448
31449 * stdlib/longlong.h: Update from GCC.
31450
db1ee0a8
RM
314512012-08-16 Roland McGrath <roland@hack.frob.com>
31452
31453 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31454 on _QL, which is set by umul_ppmm but never used.
31455 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31456 variables, which are set by GMP macros but never used.
31457 * stdio-common/_itowa.c (_itowa): Likewise.
31458 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31459 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31460
30f69637
CD
314612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31462
31463 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31464 struct La_sh_regs is not constant.
31465 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31466 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31467 and struct La_sparc64_regs are not constant.
31468
93a78ac4
JM
314692012-08-16 Joseph Myers <joseph@codesourcery.com>
31470
31471 * sysdeps/unix/sysv/linux/kernel-features.h
31472 (__ASSUME_POSIX_TIMERS): Remove.
31473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31474 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31475 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31476 Make code unconditional.
31477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31478 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31479 Make code unconditional.
31480 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31481 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31482 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31483 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31484 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31485 Make code unconditional.
31486 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31487 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31488 (__libc_missing_posix_timers): Remove.
31489
dd924cd7
RM
314902012-08-15 Roland McGrath <roland@hack.frob.com>
31491
4b4f2771
RM
31492 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31493 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31494
601c888b
RM
31495 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31496
176790a7
RM
31497 * elf/dl-sym.c: Include <stdlib.h>.
31498
329bc018
RM
31499 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31500 constants, which avoids warnings in 32-bit builds.
31501
e04e272d
RM
31502 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31503 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31504
952bf94a
RM
31505 * misc/lseek.c: File moved to ...
31506 * io/lseek.c: ... here.
31507
7c99b50a
RM
31508 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31509
dd924cd7
RM
31510 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31511 shifting LEN more than 31 bits at once.
31512
b3f479a8
LD
315132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31514
31515 [BZ #14195]
8c4ae0d4
RM
31516 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31517 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31518 * string/test-strncasecmp.c (check1): Renamed to...
31519 (bz12205): ...this.
31520 (bz14195): Add new testcase for two empty input strings and N > 0.
31521 (test_main): Call new testcase, adapt for renamed function.
31522
9c55864e
AJ
315232012-08-15 Andreas Jaeger <aj@suse.de>
31524
31525 [BZ #14090]
31526 * crypt/md5test2.c: New test, based on test supplied by Serge
31527 Belyshev <belyshev@depni.sinp.msu.ru>.
31528 * crypt/Makefile (xtests): Add md5test-giant..
31529 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31530
02dcb6c5
PE
315312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31532
31533 [BZ #14090]
31534 * crypt/md5.c (md5_process_block): Don't assume the buffer
31535 length is less than 2**32.
31536 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31537 length is less than 2**64.
31538
a3f95dcc
RM
315392012-08-15 Roland McGrath <roland@hack.frob.com>
31540
be75d758
RM
31541 * string/str-two-way.h: Include <sys/param.h>.
31542 (MAX): Macro removed.
31543
7312ca90
RM
31544 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31545 Move #define and #undef of memmove to just before and after
31546 including <string.h>.
31547
9a0a5486
RM
31548 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31549 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31550 and after including <string.h>. Move declarations of
31551 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31552 to before #include "string/memmove.c".
31553
67cc348d
RM
31554 * include/dirent.h: Declare __getdirentries.
31555
a3f95dcc
RM
31556 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31557 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31558
ca98e171
MF
315592012-08-14 Mike Frysinger <vapier@gentoo.org>
31560
31561 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31562 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31563 * sysdeps/i386/configure: Regenerated.
31564 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31565 STABS_CURRENT_FILE, and STABS_FUN.
31566 (END): Remove call to STABS_FUN_END.
31567 (STABS_CURRENT_FILE1): Delete.
31568 (STABS_CURRENT_FILE): Likewise.
31569 (STABS_FUN): Likewise.
31570 (STABS_FUN_END): Likewise.
31571 (STABS_FUN2): Likewise.
31572 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31573 * sysdeps/x86_64/configure: Regenerated.
31574
5908bf46
RM
315752012-08-14 Roland McGrath <roland@hack.frob.com>
31576
31577 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31578 * elf/dl-lookup.c: Likewise.
5908bf46 31579
f2c05b9e
JM
315802012-08-14 Joseph Myers <joseph@codesourcery.com>
31581
31582 * sysdeps/unix/sysv/linux/kernel-features.h
31583 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31584 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31585 unconditionally.
31586 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31587 unconditionally.
31588 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31589 condition on __ASSUME_CLONE_THREAD_FLAGS.
31590
e11f5155
AJ
315912012-08-14 Andreas Jaeger <aj@suse.de>
31592
31593 * sysdeps/i386/fpu/libm-test-ulps: Update.
31594
51a9ba86
MK
315952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31596
2fdd4f78
AJ
31597 * include/atomic.h (atomic_exchange_and_add): Split into ...
31598 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31599 New atomic macros.
51a9ba86 31600
ba6cba9e
MT
316012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31602
31603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31604
42443a47
JL
316052012-08-13 Jeff Law <law@redhat.com>
31606
31607 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31608 null byte in the output string.
31609
121dce05
JM
316102012-08-10 Joseph Myers <joseph@codesourcery.com>
31611
31612 * sysdeps/unix/sysv/linux/kernel-features.h
31613 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31614 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31615 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31616 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31617 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31618 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31619 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31620
bf51f568
JL
316212012-08-09 Jeff Law <law@redhat.com>
31622
31623 [BZ #13939]
31624 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31625 When avoid_arena is set, don't retry in the that arena. Pick the
31626 next one, whatever it might be.
31627 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31628 (arena_lock): Pass in new parameter to arena_get2.
31629 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31630 arena_get2.
31631 (__libc_malloc): Unify retrying after main arena failure with
31632 __libc_memalign version.
31633 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31634
f85fa270
L
316352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31636
31637 [BZ #14166]
31638 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31639 to __redirect_strstr.
31640 (__strstr_sse42): Use typeof __redirect_strstr.
31641 (__strstr_ia32): Likewise.
31642 (__libc_strstr): New prototype.
31643 (strstr): Renamed to ...
31644 (__libc_strstr): This.
31645 (strstr): New strong alias of __libc_strstr.
31646 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31647 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31648 __redirect_time.
31649 Include <time.h>.
31650 (__libc_time): New prototype.
31651 (time_ifunc): Replace time with __libc_time.
31652 (time): New strong alias and hidden definition of __libc_time.
31653 (__GI_time): Remove strong alias.
31654 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31655 Include <stddef.h>.
31656 (memmove): Redefined to __redirect_memmove.
31657 (__memmove_sse2): Use typeof __redirect_memmove.
31658 (__memmove_ssse3): Likewise.
31659 (__memmove_ssse3_back): Likewise.
31660 (__libc_memmove): New prototype.
31661 (memmove): Renamed to ...
31662 (__libc_memmove): This.
31663 (memmove): New strong alias of __libc_memmove.
31664
33b4a91e
MS
316652012-08-08 Mark Salter <msalter@redhat.com>
31666
31667 * elf/elf.h
31668 (R_MN10300_TLS_GD): Define.
31669 (R_MN10300_TLS_LD): Likewise.
31670 (R_MN10300_TLS_LDO): Likewise.
31671 (R_MN10300_TLS_GOTIE): Likewise.
31672 (R_MN10300_TLS_IE): Likewise.
31673 (R_MN10300_TLS_LE): Likewise.
31674 (R_MN10300_TLS_DTPMOD): Likewise.
31675 (R_MN10300_TLS_DTPOFF): Likewise.
31676 (R_MN10300_TLS_TPOFF): Likewise.
31677 (R_MN10300_SYM_DIFF): Likewise.
31678 (R_MN10300_ALIGN): Likewise.
31679 (R_MN10300_NUM): Update.
31680
b36137f1
JM
316812012-08-08 Joseph Myers <joseph@codesourcery.com>
31682
31683 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31684 Remove.
31685
cdd915fd
RM
316862012-08-08 Roland McGrath <roland@hack.frob.com>
31687
a2433aac
RM
31688 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31689
cdd915fd
RM
31690 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31691 sysdeps/unix -> sysdeps/posix move.
31692 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31693
bf9b740a
AM
316942012-08-07 Allan McRae <allan@archlinux.org>
31695
31696 [BZ #14303]
31697 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31698 (SUNOS_CPP): Likewise.
31699 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31700 not found.
31701 (open_input): Call CPP using execvp.
31702
93df14ee
JM
317032012-08-07 Joseph Myers <joseph@codesourcery.com>
31704
31705 * sysdeps/unix/sysv/linux/kernel-features.h
31706 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31707 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31708 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31709 (__ASSUME_WAITID_SYSCALL): Likewise.
31710 * sysdeps/unix/sysv/linux/dl-execstack.c
31711 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31712 code unconditional.
31713 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31714 conditional code.
31715 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31716 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31717 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31718 code.
31719 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31720 unconditional.
31721 [__ASSUME_WAITID_SYSCALL]: Likewise.
31722 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31723
d34689de
RM
317242012-08-07 Roland McGrath <roland@hack.frob.com>
31725
a281decc
RM
31726 * sysdeps/unix/closedir.c: Renamed to ...
31727 * sysdeps/posix/closedir.c: ... here.
31728 * sysdeps/unix/dirfd.c: Renamed to ...
31729 * sysdeps/posix/dirfd.c: ... here.
31730 * sysdeps/unix/dirstream.h: Renamed to ...
31731 * sysdeps/posix/dirstream.h: ... here.
31732 * sysdeps/unix/fdopendir.c: Renamed to ...
31733 * sysdeps/posix/fdopendir.c: ... here.
31734 * sysdeps/unix/opendir.c: Renamed to ...
31735 * sysdeps/posix/opendir.c: ... here.
31736 * sysdeps/unix/readdir.c: Renamed to ...
31737 * sysdeps/posix/readdir.c: ... here.
31738 * sysdeps/unix/readdir_r.c: Renamed to ...
31739 * sysdeps/posix/readdir_r.c: ... here.
31740 * sysdeps/unix/rewinddir.c: Renamed to ...
31741 * sysdeps/posix/rewinddir.c: ... here.
31742 * sysdeps/unix/seekdir.c: Renamed to ...
31743 * sysdeps/posix/seekdir.c: ... here.
31744 * sysdeps/unix/telldir.c: Renamed to ...
31745 * sysdeps/posix/telldir.c: ... here.
31746 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31747 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31748 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31749 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31750
22895b47
RM
31751 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31752 * bits/fcntl.h: ... here.
31753
707a53b6
RM
31754 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31755 not 0.
31756 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31757 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31758 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31759 (struct flock): Move l_start, l_len to the beginning.
31760 Use __pid_t for l_pid.
31761 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31762 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31763 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31764 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31765 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31766 [__USE_LARGEFILE64] (struct flock64): New type.
31767 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31768
f0bd3e25
RM
31769 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31770 * bits/dirent.h: ... here.
31771
d34689de
RM
31772 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31773 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31774
6dad2c06
JM
317752012-08-07 Joseph Myers <joseph@codesourcery.com>
31776
31777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31778 Change from 2.6.0 to 2.6.16.
31779 * sysdeps/unix/sysv/linux/configure: Regenerated.
31780 * sysdeps/unix/sysv/linux/kernel-features.h
31781 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31782 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31783 version.
31784 (__ASSUME_UTIMES): Likewise.
31785 (__ASSUME_CLONE_STOPPED): Remove.
31786 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31787 architectures, not kernel version.
31788 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31789 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31790 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31791 (__ASSUME_WAITID_SYSCALL): Likewise.
31792 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31793 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31794 * README: State 2.6.16 as minimum Linux kernel version. Do not
31795 refer to older versions.
31796
03af9520
RM
317972012-08-06 Roland McGrath <roland@hack.frob.com>
31798
8e49df1d
RM
31799 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31800 Define alphasort64 as an alias.
31801 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31802 Define versionsort64 as an alias.
31803 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31804 Define scandir64 as an alias.
31805 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31806 Define scandirat64 as an alias.
31807 * dirent/alphasort64.c (alphasort64):
31808 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31809 * dirent/versionsort64.c: Likewise.
31810 * dirent/scandir64.c: Likewise.
31811 * dirent/scandirat64.c: Likewise.
31812 * sysdeps/wordsize-64/alphasort.c: File removed.
31813 * sysdeps/wordsize-64/alphasort64.c: File removed.
31814 * sysdeps/wordsize-64/scandir.c: File removed.
31815 * sysdeps/wordsize-64/scandir64.c: File removed.
31816 * sysdeps/wordsize-64/scandirat.c: File removed.
31817 * sysdeps/wordsize-64/scandirat64.c: File removed.
31818 * sysdeps/wordsize-64/versionsort.c: File removed.
31819 * sysdeps/wordsize-64/versionsort64.c: File removed.
31820 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31822 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31824 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31828
31829 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31831 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31833 [defined __arch64__ || defined __sparcv9]
31834 (__INO_T_MATCHES_INO64_T): New macro.
31835 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31836 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31837 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31838 * sysdeps/unix/sysv/linux/bits/dirent.h
31839 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31840 (_DIRENT_MATCHES_DIRENT64): New macro.
31841
03af9520
RM
31842 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31843 Define lockf64 as an alias.
31844 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31845 Define fseeko64 as an alias.
31846 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31847 Define ftello64 as an alias.
31848 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31849 Define _IO_fgetpos64 and fgetpos64 as aliases.
31850 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31851 Define _IO_fsetpos64 and fsetpos64 as aliases.
31852 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31853 Conditionalize body on this.
31854 * libio/fseeko64.c: Likewise.
31855 * libio/ftello64.c: Likewise.
31856 * libio/iofgetpos64.c: Likewise.
31857 * libio/iofsetpos64.c: Likewise.
31858 * sysdeps/wordsize-64/lockf.c: File removed.
31859 * sysdeps/wordsize-64/lockf64.c: File removed.
31860 * sysdeps/wordsize-64/fseeko.c: File removed.
31861 * sysdeps/wordsize-64/fseeko64.c: File removed.
31862 * sysdeps/wordsize-64/ftello.c: File removed.
31863 * sysdeps/wordsize-64/ftello64.c: File removed.
31864 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31865 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31866 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31867 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31868 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31869 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31870 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31872 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31874 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31875 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31876 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31877 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31878
31879 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31881 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31883 [defined __arch64__ || defined __sparcv9]
31884 (__OFF_T_MATCHES_OFF64_T): New macro.
31885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31886 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31888 (__OFF_T_MATCHES_OFF64_T): New macro.
31889
c5757acd
L
318902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31891
31892 * stdlib/secure-getenv.c (__secure_getenv): Replace
31893 GLIBC_2_16 with GLIBC_2_17.
31894
3a31811e
L
318952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31896
31897 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31898 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31899
faa2bccb
DM
319002012-08-03 David S. Miller <davem@davemloft.net>
31901
31902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31903
85fe1997
JM
319042012-08-03 Joseph Myers <joseph@codesourcery.com>
31905
31906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31907 Remove.
31908 (__ASSUME_CORRECT_SI_PID): Likewise.
31909 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31910 (__ASSUME_TMPFS_NAME): Likewise.
31911 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31912 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31913 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31914 (HAVE_AUX_SECURE): Make definition unconditional.
31915 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31916 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31917
4f75b7a0
RM
319182012-08-03 Roland McGrath <roland@hack.frob.com>
31919
31920 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31921 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31922 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31923 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31924 __eloop_threshold instead of SYMLOOP_MAX.
31925
31926 * sysdeps/generic/eloop-threshold.h: New file.
31927 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31928 of MAXSYMLINKS.
31929 * elf/chroot_canon.c (chroot_canon): Likewise.
31930
7aab07e4
JM
319312012-08-03 Joseph Myers <joseph@codesourcery.com>
31932
31933 [BZ #13717]
31934 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31935 Change to 2.6.0 everywhere.
31936 * sysdeps/unix/sysv/linux/configure: Regenerated.
31937 * sysdeps/unix/sysv/linux/kernel-features.h
31938 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31939 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31940 kernel versions.
31941 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31942 (__ASSUME_FUTEX_REQUEUE): Remove.
31943 (__ASSUME_STATFS64): Define unconditionally.
31944 (__ASSUME_AT_SECURE): Likewise.
31945 (__ASSUME_CORRECT_SI_PID): Likewise.
31946 (__ASSUME_TGKILL): Define without depending on kernel version for
31947 i386.
31948 (__ASSUME_UTIMES): Likewise.
31949 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31950 kernel version.
31951 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31952 (__ASSUME_TMPFS_NAME): Likewise.
31953 * README: Update reference to Linux kernel versions.
31954
b67e9372
MP
319552012-08-02 Marek Polacek <polacek@redhat.com>
31956
1f529f7d 31957 [BZ# 14150]
b67e9372
MP
31958 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31959 libc_cv_asm_type_prefix with %.
31960 * configure: Regenerated.
d2441631
RM
31961 * include/libc-symbols.h: Remove comment about
31962 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31963 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31964 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31965 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31966 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31967 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31968 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31969 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31970 * elf/tst-unique2mod1.c: Likewise.
31971 * elf/tst-unique1mod2.c: Likewise.
31972 * elf/tst-unique1mod1.c: Likewise.
31973 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31974 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31975 Replace ASM_TYPE_DIRECTIVE with .type.
31976 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31977 * sysdeps/i386/sysdep.h: Likewise.
31978 * sysdeps/x86_64/sysdep.h: Likewise.
31979 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31981 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31982 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31983 * sysdeps/powerpc/powerpc32/sysdep.h:
31984 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31985 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31986 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31987 * sysdeps/i386/fpu/e_powf.S: Likewise.
31988 * sysdeps/i386/fpu/e_expl.S: Likewise.
31989 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31990 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31991 * sysdeps/i386/fpu/e_pow.S: Likewise.
31992 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31993 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31994 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31995 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31996 * sysdeps/i386/fpu/e_log2.S: Likewise.
31997 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31999 * sysdeps/i386/fpu/e_powl.S: Likewise.
32000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32001 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32002 * sysdeps/i386/fpu/e_logl.S: Likewise.
32003 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32004 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32005 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32008 * sysdeps/i386/fpu/e_log.S: Likewise.
32009 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32010 * sysdeps/i386/fpu/e_logf.S: Likewise.
32011 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32012 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32014 * sysdeps/i386/fpu/e_log10.S: Likewise.
32015 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32016 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32017 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32018 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32019 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32020 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32022 * sysdeps/i386/i686/strtok.S: Likewise.
32023 * sysdeps/i386/i386-mcount.S: Likewise.
32024 * sysdeps/i386/strtok.S: Likewise.
32025 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32026 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32028 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32029 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32030 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32031 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32032 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32033 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32034 * sysdeps/x86_64/_mcount.S: Likewise.
32035 * sysdeps/x86_64/strtok.S: Likewise.
32036 * sysdeps/sh/_mcount.S: Likewise.
32037
2747bf9a
RM
320382012-08-01 Roland McGrath <roland@hack.frob.com>
32039
32040 * libio/iofopen.c: Include <fcntl.h>.
32041 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32042 (_IO_fopen64, fopen64): Define as aliases.
32043 * libio/iofopen64.c: Include <fcntl.h>.
32044 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32045 Conditionalize body on this.
32046 * sysdeps/wordsize-64/iofopen.c: File removed.
32047 * sysdeps/wordsize-64/iofopen64.c: File removed.
32048
3fb791b8
MP
320492012-08-01 Marek Polacek <polacek@redhat.com>
32050
32051 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32052 Use dlfcn directly instead of a variable.
32053 (binfmt-subdir): Do not define.
32054 (dlfcn): Likewise.
32055
a9f1039f
JM
320562012-08-01 Joseph Myers <joseph@codesourcery.com>
32057
23bddc06
JM
32058 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32059 Remove all definitions.
32060 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32061 <kernel-features.h>.
32062 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32063 (miss_F_GETOWN_EX): Remove all definitions.
32064 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32065 macro definition.
32066 [!__ASSUME_FCNTL64]: Remove conditional code.
32067 [__ASSUME_FCNTL64]: Make code unconditional.
32068 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32069 <kernel-features.h>.
32070 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32071 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32072 (lockf64) [__NR_fcntl64]: Make code unconditional.
32073 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32074
a9f1039f
JM
32075 * sysdeps/unix/sysv/linux/kernel-features.h
32076 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32077 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32078 Make code unconditional.
32079 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32080 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32082 [__NR_vfork]: Make code unconditional.
32083 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32084 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32086 [__NR_vfork]: Make code unconditional.
32087 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32088 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32089
09c0ee5f
RM
320902012-08-01 Roland McGrath <roland@hack.frob.com>
32091
48aec5b9
RM
32092 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32093 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32094
cd97c966
RM
32095 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32096 Define mkstemp64 as an alias.
3f55550c
RM
32097 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32098 Define mkstemps64 as an alias.
cd97c966
RM
32099 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32100 Define mkostemp64 as an alias.
b8625cfc
RM
32101 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32102 Define mkostemps64 as an alias.
cd97c966
RM
32103 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32104 Conditionalize body on this.
32105 * misc/mkostemp64.c: Likewise.
b8625cfc 32106 * misc/mkostemps64.c: Likewise.
3f55550c 32107 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32108 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32109 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32110 * sysdeps/wordsize-64/mkostemp.c: File removed.
32111 * sysdeps/wordsize-64/mkstemp.c: File removed.
32112 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32114 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32116
09c0ee5f
RM
32117 [BZ #14138]
32118 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32119 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32120 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32121 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32122
32123 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32124 compat_symbol macros from <shlib-compat.h> rather than the underlying
32125 default_symbol_version and symbol_version macros, so that DEFAULT
32126 lines in shlib-versions are respected.
32127 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32128
7e66ee51
FW
321292012-08-01 Florian Weimer <fweimer@redhat.com>
32130
32131 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32132 Declare with warn_unused_result.
32133 (setgid, setregid, setegid, setresgid): Likewise.
32134 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32135 Likewise.
32136 * WUR-REPORT: Remove set*id functions.
32137
d2a54255
PT
321382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32139
32140 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32141
7ecdb005
RM
321422012-07-31 Roland McGrath <roland@hack.frob.com>
32143
b4180a5e 32144 [BZ #10191]
789bd351
RM
32145 * include/sys/socket.h (__libc_accept, __libc_accept4):
32146 Add attribute_hidden.
32147 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32148
40ce302d
RM
32149 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32150 use of PTR_MANGLE.
32151 * inet/getnetgrent_r.c (setup): Likewise.
32152
7ecdb005
RM
32153 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32154
e2eabb2c
DM
321552012-07-31 David S. Miller <davem@davemloft.net>
32156
32157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32158
d0419dbf
JM
321592012-07-31 Joseph Myers <joseph@codesourcery.com>
32160
32161 [BZ #13629]
32162 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32163 value between 1.0 and 2.0 and smaller part has absolute value less
32164 than 1.0.
32165 * math/s_clog10.c (__clog10): Likewise.
32166 * math/s_clog10f.c (__clog10f): Likewise.
32167 * math/s_clog10l.c (__clog10l): Likewise.
32168 * math/s_clogf.c (__clogf): Likewise.
32169 * math/s_clogl.c (__clogl): Likewise.
32170 * math/libm-test.inc (clog_test): Add more tests.
32171 (clog10_test): Likewise.
32172 * sysdeps/i386/fpu/libm-test-ulps: Update.
32173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32174
2bc13872
FW
321752012-07-31 Florian Weimer <fweimer@redhat.com>
32176
32177 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32178 Exit with zero in case no suitable GID is found, and write a
32179 message to standard error.
32180
bea9b193
RM
321812012-07-30 Roland McGrath <roland@hack.frob.com>
32182
32183 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32184 rather than to 1.
32185 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32186 (MAXPATHLEN): Removed.
32187 (NOGROUP, NODEV): New macros.
32188 (setbit, clrbit, isset, isclr): New macros.
32189 (howmany, roundup, powerof2): New macros.
32190 (DEV_BSIZE): New macro.
32191
32192 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32193 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32194
32195 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32196 definition on [!__NO_LONG_DOUBLE_MATH].
32197
32198 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32199 PTR_MANGLE and PTR_DEMANGLE.
32200
32201 * socket/accept4.c (accept4): Rename to __libc_accept4.
32202 Define accept4 as a weak alias.
32203
32204 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32205 on [_DIRENT_HAVE_D_TYPE].
32206 * io/ftw.c (ftw_dir): Likewise.
32207
32208 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32209
32210 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32211
32212 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32213 Use the BSD numbers rather than the arbitrary ones we had.
32214 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32215 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32216 (SIGXCPU, SIGXFSZ): New macros.
32217 (_NSIG): Now 32.
32218
32219 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32220 initializer on [_LIBC_REENTRANT].
32221
32222 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32223 definitions inside [_POSIX_MAPPED_FILES].
32224
32225 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32226
32227 * dirent/opendir.c: Include <fcntl.h>.
32228
32229 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32230 (__libc_getspecific): Likewise.
32231 (__libc_key_create): Likewise.
32232
32233 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32234 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32235 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32236 (tmpfile64): Define as alias.
32237 * sysdeps/wordsize-64/tmpfile.c: File removed.
32238 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32241
32242 * stdio-common/vfscanf.c: Include <stdbool.h>.
32243 * nss/makedb.c: Likewise.
32244 * stdio-common/_i18n_number.h: Likewise.
32245 * argp/argp-help.c: Likewise.
32246 * posix/wordexp.c: Likewise.
32247 * sysdeps/posix/spawni.c: Likewise.
32248 * nss/nss_files/files-initgroups.c: Likewise.
32249 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32250 * nss/nss_files/files-initgroups.c: Likewise.
32251 * nss/nss_db/db-netgrp.c: Likewise.
32252 * nss/nss_db/db-initgroups.c: Likewise.
32253 * io/fchmodat.c: Include <sys/stat.h>.
32254
32255 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32256 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32257
32258 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32259 [HAVE_MMAP].
32260
32261 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32262 Add multiple inclusion protection.
32263
e5abc686
DM
322642012-07-27 David S. Miller <davem@davemloft.net>
32265
32266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32267
815e6fa3
GB
322682012-07-27 Gary Benson <gbenson@redhat.com>
32269
32270 [BZ #14298]
32271 * elf/rtld.c: Include <stap-probe.h>.
32272 (dl_main): Added static probes "init_start" and "init_complete".
32273 * elf/dl-load.c: Include <stap-probe.h>.
32274 (lose): Take new parameter "nsid".
32275 Added static probe "map_failed".
32276 (_dl_map_object_from_fd): Pass namespace id to lose.
32277 Added static probe "map_start".
32278 (open_verify): Pass namespace id to lose.
32279 * elf/dl-open.c: Include <stap-probe.h>.
32280 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32281 and "reloc_complete".
32282 * elf/dl-close.c: Include <stap-probe.h>.
32283 (_dl_close_worker): Added static probes "unmap_start" and
32284 "unmap_complete".
32285 * elf/rtld-debugger-interface.txt: New file documenting the above.
32286
9f98c16c
RM
322872012-07-26 Roland McGrath <roland@hack.frob.com>
32288
32289 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32290 rather than a string variable.
32291 * sunrpc/rpc_main.c (h_output): Likewise.
32292 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32293
f3c22df3
PT
322942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32295
32296 * inet/check_native.c: New file.
32297
3129cfc6
JM
322982012-07-26 Joseph Myers <joseph@codesourcery.com>
32299
da865e95
JM
32300 [BZ #13629]
32301 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32302 if larger part has absolute value 1.0.
32303 * math/s_clog10.c (__clog10): Likewise.
32304 * math/s_clog10f.c (__clog10f): Likewise.
32305 * math/s_clog10l.c (__clog10l): Likewise.
32306 * math/s_clogf.c (__clogf): Likewise.
32307 * math/s_clogl.c (__clogl): Likewise.
32308 * math/libm-test.inc (clog_test): Add more tests.
32309 (clog10_test): Likewise.
32310 * sysdeps/i386/fpu/libm-test-ulps: Update.
32311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32312
3129cfc6
JM
32313 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32314 (pltexit): Likewise.
32315 (La_regs): Likewise.
32316 (La_retval): Likewise.
32317 (int_retval): Likewise.
32318 Update #error for removed macros to refer only to definitions in
32319 tst-audit.h.
32320 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32321 macro.
32322 (pltexit): Likewise.
32323 (La_regs): Likewise.
32324 (La_retval): Likewise.
32325 (int_retval): Likewise.
32326 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32327 macro.
32328 (pltexit): Likewise.
32329 (La_regs): Likewise.
32330 (La_retval): Likewise.
32331 (int_retval): Likewise.
32332 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32333 macro.
32334 (pltexit): Likewise.
32335 (La_regs): Likewise.
32336 (La_retval): Likewise.
32337 (int_retval): Likewise.
32338 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32339 macro.
32340 (pltexit): Likewise.
32341 (La_regs): Likewise.
32342 (La_retval): Likewise.
32343 (int_retval): Likewise.
32344 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32345 macro.
32346 (pltexit): Likewise.
32347 (La_regs): Likewise.
32348 (La_retval): Likewise.
32349 (int_retval): Likewise.
32350 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32351 macro.
32352 (pltexit): Likewise.
32353 (La_regs): Likewise.
32354 (La_retval): Likewise.
32355 (int_retval): Likewise.
32356 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32357 macro definitions in tst-audit.h.
32358 * sysdeps/i386/tst-audit.h: New file.
32359 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32360 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32361 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32362 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32363 * sysdeps/sh/tst-audit.h: Likewise.
32364 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32365 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32366 * sysdeps/x86_64/tst-audit.h: Likewise.
32367
bfc07087
AJ
323682012-07-26 Andreas Jaeger <aj@suse.de>
32369
b1b2aaf8
AJ
32370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32371 ptrace.
32372
32373 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32374 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32375 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32376 PTRACE_O_MASK.
32377 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32378 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32379 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32380
bfc07087
AJ
32381 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32382 value.
32383
32384 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32385 _sigsys.
32386 (si_call_addr, si_syscall, si_arch): Define new macro.
32387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32388 _sigsys.
32389 (si_call_addr, si_syscall, si_arch): Define new marcro.
32390 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32391 _sigsys.
32392 (si_call_addr, si_syscall, si_arch): Define new macro.
32393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32394 _sigsys.
32395 (si_call_addr, si_syscall, si_arch): Define new macro.
32396
89b4b02f
JM
323972012-07-25 Joseph Myers <joseph@codesourcery.com>
32398
32399 [BZ #13717]
32400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32401 Change to 2.4.21 where previously 2.4.1.
32402 * sysdeps/unix/sysv/linux/configure: Regenerated.
32403 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32404 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32405 Linux kernel version.
32406 (__ASSUME_STD_AUXV): Remove.
32407 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32408 kernel version.
32409 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32410 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32411 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32412 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32413 (__ASSUME_NETLINK_SUPPORT): Likewise.
32414 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32415 (__no_netlink_support): Remove conditional definition.
32416 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32417 Remove.
32418 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32419 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32420 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32421 (if_nameindex_ioctl): Remove.
32422 (if_nameindex_netlink): Do not handle __no_netlink_support.
32423 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32424 code.
32425 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32426 Remove conditional code.
32427 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32428 code.
32429 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32430 unconditional.
32431 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32432 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32433 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32434 Remove.
32435 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32436 [!__ASSUME_STD_AUXV]: Remove conditional code.
32437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32438 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32439 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32441 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32442 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32443 code.
32444 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32446 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32447 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32448 conditional code.
32449 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32451 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32452 code.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32454 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32455 conditional code.
32456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32457 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32458 code unconditional.
32459 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32460 conditional code.
32461 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32462 unconditional.
32463 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32464 conditional code.
32465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32466 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32467 unconditional.
32468 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32469 conditional code.
32470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32471 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32472 code unconditional.
32473 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32474 conditional code.
32475 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32476 unconditional.
32477 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32478 conditional code.
32479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32480 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32481 code unconditional.
32482 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32483 conditional code.
32484 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32485 unconditional.
32486 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32487 conditional code.
32488
842a39cd
AS
324892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32490
32491 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32492 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32493 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32494 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32495 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32496 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32497 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32498 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32499 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32500 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32501 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32502 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32503 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32504 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32506 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32507 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32509 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32511 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32512 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32514
84b3fd84
FW
325152012-07-25 Florian Weimer <fweimer@redhat.com>
32516
32517 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32518 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32519 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32520 Introduce __libc_secure_getenv.
0c7936d5
FW
32521 * stdlib/Versions (2.17): Add secure_getenv
32522 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32523 * stdlib/secure-getenv.c: Rename __secure_getenv to
32524 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32525 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32526 * stdlib/tst-secure-getenv.c: New.
32527 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32528 * manual/startup.texi (Environment Access): Document
32529 secure_getenv.
84b3fd84
FW
32530 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32531 __libc_secure_getenv.
32532 * inet/ruserpass.c (ruserpass): Likewise.
32533 * malloc/mtrace.c (mtrace): Likewise.
32534 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32535 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32536 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32537 * sysdeps/posix/tempname.c: Likewise. Evaluate
32538 HAVE_SECURE_GETENV.
32539 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32540 __secure_getenv to __libc_secure_getenv.
84b3fd84 32541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32543 Likewise.
32544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32545 Likewise.
32546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32553
56e49b71
JM
325542012-07-25 Joseph Myers <joseph@codesourcery.com>
32555
32556 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32557 (struct La_i86_retval): Likewise.
32558 (struct La_x86_64_regs): Likewise.
32559 (struct La_x86_64_retval): Likewise.
32560 (struct La_x32_regs): Likewise.
32561 (struct La_x32_retval): Likewise.
32562 (struct La_ppc32_regs): Likewise.
32563 (struct La_ppc32_retval): Likewise.
32564 (struct La_ppc64_regs): Likewise.
32565 (struct La_ppc64_retval): Likewise.
32566 (struct La_sh_regs): Likewise.
32567 (struct La_sh_retval): Likewise.
32568 (struct La_s390_32_regs): Likewise.
32569 (struct La_s390_32_retval): Likewise.
32570 (struct La_s390_64_regs): Likewise.
32571 (struct La_s390_64_retval): Likewise.
32572 (struct La_sparc32_regs): Likewise.
32573 (struct La_sparc32_retval): Likewise.
32574 (struct La_sparc64_regs): Likewise.
32575 (struct La_sparc64_retval): Likewise.
32576 (struct audit_ifaces): Remove architecture-specific pltenter and
32577 pltexit members.
32578 * sysdeps/i386/ldsodefs.h: New file.
32579 * sysdeps/powerpc/ldsodefs.h: Likewise.
32580 * sysdeps/s390/ldsodefs.h: Likewise.
32581 * sysdeps/sh/ldsodefs.h: Likewise.
32582 * sysdeps/sparc/ldsodefs.h: Likewise.
32583 * sysdeps/x86_64/ldsodefs.h: Likewise.
32584
354691b7
MP
325852012-07-25 Marek Polacek <polacek@redhat.com>
32586
32587 [BZ #6808]
32588 * math/libm-test.inc (yn_test): Add another test.
32589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32590 to ERANGE when the result is +-Inf.
32591 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32593 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32594 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32595
bf9e2071
JM
325962012-07-24 Joseph Myers <joseph@codesourcery.com>
32597
32598 * conform/data/time.h-data (NULL): Use macro-constant. Require
32599 equal to 0.
32600 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32601 clock_t.
32602 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32603
57633811
TS
326042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32605
32606 * configure.in <sysdeps resolving>: Correct printing
32607 Implies_before.
32608 * configure: Regenerate.
32609
c23c33b0
TS
326102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32611
32612 * math/w_ilogb.c: Include <limits.h>.
32613 * math/w_ilogbl.c: Likewise.
32614
b5982523
JM
326152012-07-20 Joseph Myers <joseph@codesourcery.com>
32616
32617 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32618 va_copy. Document allowing for unavailable va_copy only as
32619 pre-C99 compatibility.
32620 * manual/string.texi (Copying and Concatenation): Use va_copy
32621 instead of __va_copy in concat example.
32622
ac4ea442
PT
326232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32624
32625 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32626 (__sendto): Use create_address_port. Initialize APORT and deallocate
32627 it if not null.
32628
f98eafbd
PT
32629 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32630 with O_NOLINK passed to __file_name_lookup.
32631
898c7aab
PT
32632 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32633 with O_NOLINK passed to __file_name_lookup.
32634
0ced335a
PT
32635 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32636 negative N or less than NGIDS.
32637
b3404dbd
PT
32638 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32639 type to string_t. Set ERANGE as errno and return it if NAME is not big
32640 enough. Use memcpy instead of strncpy.
32641
0f48659e
JM
326422012-07-20 Joseph Myers <joseph@codesourcery.com>
32643
32644 * elf/Makefile (check-data): Remove.
32645 (localplt.data): New vpath directive.
32646 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32647 instead of $(check-data).
32648 * scripts/data/localplt-generic.data: Move to ...
32649 * sysdeps/generic/localplt.data: ... here.
32650 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32651 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32652 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32654 ... here.
32655 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32657 ... here.
32658 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32660 ... here.
32661 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32663 ... here.
32664 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32666 ... here.
32667 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32669 ... here.
32670
d37cbdaa
AZ
326712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32672
32673 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32674 PPC32 and PPC64 files.
32675 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32676 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32677
46f85fc2
AK
326782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32679
32680 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32681 __makecontext_ret to ...
32682 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32683 ... here and call exit if uc_link is NULL. New file.
32684 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32685 __makecontext_ret.S.
32686 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32687 __makecontext_ret to ...
32688 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32689 ... here and call exit if uc_link is NULL. New file.
32690 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32691 __makecontext_ret.S.
32692
08f43f9b
AK
326932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32694
32695 * elf/elf.h (R_390_IRELATIVE): New definition.
32696 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32697 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32698 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32700 (elf_machine_lazy_rel): Likewise.
32701 * sysdeps/s390/dl-irel.h: New file.
32702 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32703 * sysdeps/s390/s390-64/memset.S: New asm code.
32704 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32705 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32706 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32707 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32708 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32709 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32711 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32712 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32713 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32714 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32715 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32716 * sysdeps/s390/s390-32/memset.S: New asm code.
32717 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32718
3b05db33
MP
327192012-07-17 Marek Polacek <polacek@redhat.com>
32720
32721 [BZ #14349]
32722 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32723 * sysdeps/s390/s390-64/configure.in: Likewise.
32724 * sysdeps/sparc/configure.in: Likewise.
32725 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32726 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32727 * sysdeps/i386/configure.in: Likewise.
32728 * sysdeps/x86_64/configure.in: Likewise.
32729 * sysdeps/sh/configure.in: Likewise.
32730 * sysdeps/s390/s390-32/configure: Regenerated.
32731 * sysdeps/s390/s390-64/configure: Likewise.
32732 * sysdeps/x86_64/configure: Likewise.
32733 * sysdeps/sh/configure: Likewise.
32734 * sysdeps/powerpc/powerpc64/configure: Likewise.
32735 * sysdeps/powerpc/powerpc32/configure: Likewise.
32736 * sysdeps/sparc/configure: Likwise.
32737 * sysdeps/i386/configure: Likewise.
32738
a66877c6
MP
32739 * elf/dl-open.c: Comment fixes.
32740
cfc82fd8
JM
327412012-07-17 Joseph Myers <joseph@codesourcery.com>
32742
bd29910a
JM
32743 * Makefile [CXX] (check-data): Remove.
32744 [CXX] (c++-types.data): New vpath directive.
32745 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32746 vpath. Do not allow for C++ type data being missing.
32747 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32748 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32749 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32750 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32751 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32752 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32753 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32755 ... here.
32756 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32758 ... here.
32759 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32761 ... here.
32762 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32764 ... here.
32765 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32767 ... here.
32768 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32770 ... here.
32771 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32773 ... here.
32774 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32776
cfc82fd8
JM
32777 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32778 definitions to architecture-specific files.
32779 (TLS_IE): Likewise.
32780 (TLS_LD): Likewise.
32781 (TLS_GD): Likewise.
32782 * sysdeps/i386/tls-macros.h: New file.
32783 * sysdeps/powerpc/tls-macros.h: Likewise.
32784 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32785 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32786 * sysdeps/sh/tls-macros.h: Likewise.
32787 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32788 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32789 * sysdeps/x86_64/tls-macros.h: Likewise.
32790
f7db3170
TS
327912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32792
07cbfc23
TS
32793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32794 zero value for regular exit case.
32795
f7db3170
TS
32796 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32797 (__start_context): Preserve zero value for regular exit case.
32798
dc97c227
TS
327992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32800 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32801
32802 * manual/setjmp.texi (setcontext): Clarify normal process
32803 termination when uc_link is the null pointer.
32804 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32805 exit call.
32806
d0cd7d02
AS
328072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32808
32809 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32810 preprocessor. Test for each exception mask separately.
32811
dd318934
AJ
328122012-07-16 Andreas Jaeger <aj@suse.de>
32813
32814 * po/ru.po: Update from translation team.
32815
8048311a
JM
328162012-07-15 Joseph Myers <joseph@codesourcery.com>
32817
32818 * conform/data/string.h-data (NULL): Use macro-constant. Require
32819 equal to 0.
32820 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32822 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32823 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32825
b637d46e
AJ
328262012-07-13 Andreas Jaeger <aj@suse.de>
32827
32828 * po/fr.po: Update from translation team.
32829
541428fe
MP
328302012-07-12 Marek Polacek <polacek@redhat.com>
32831
32832 [BZ #14173]
32833 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32835 loop condition.
32836
ec332e94
JM
328372012-07-12 Joseph Myers <joseph@codesourcery.com>
32838
32839 [BZ #13717]
32840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32841 Change to 2.4.1 where previously 2.4.0.
32842 * sysdeps/unix/sysv/linux/configure: Regenerated.
32843 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32844 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32845 version.
32846 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32847 (__ASSUME_AT_CLKTCK): Remove.
32848 (__ASSUME_AT_PAGESIZE): Likewise.
32849 (__ASSUME_AT_XID): Likewise.
32850 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32851 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32852 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32853 unconditionally.
32854 (HAVE_AUX_PAGESIZE): Likewise.
32855 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32856 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32857 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32858
7b6e99be
JB
328592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32860
32861 [BZ #14307]
32862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32863 the temporary buffer used to invoke __gethostbyname2_r,
32864 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32865 host_data / struct gaih_addrtuple.
32866 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32867 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32868 header file nss/nsswitch.h.
32869 * nss/nsswitch.h (global scope): Add definition of implementation
32870 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32871 resolv/nss_dns/dns-host.c).
32872
608404eb
AJ
328732012-07-11 Andreas Jaeger <aj@suse.de>
32874
32875 * po/fr.po: Update from translation team.
32876
71220aca
AJ
32877 * po/sv.po: Update from translation team
32878 * po/fr.po: Another update from translation team.
32879
28cfe843
AZ
328802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32881
32882 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32883 for subnormals or multiply small sinh result by itself.
32884 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32886
6b90f981
DM
328872012-07-11 David S. Miller <davem@davemloft.net>
32888
32889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32890
c6825772
AS
328912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32892
32893 [BZ #14347]
32894 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32895 (INTERNAL_MARK): Shift it here.
32896
7b8e0d49
MP
328972012-07-10 Marek Polacek <polacek@redhat.com>
32898
32899 [BZ #14151]
32900 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32901 libc_cv_asm_global_directive with .globl.
32902 * configure: Regenerated.
32903 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32904 with .globl.
32905 * sysdeps/i386/configure: Regenerated.
32906 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32907 with .globl.
32908 * sysdeps/x86_64/configure: Regenerated.
32909 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32910 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32911 * elf/tst-unique2mod2.c: Likewise.
32912 * elf/tst-unique2mod1.c: Likewise.
32913 * elf/tst-unique1mod2.c: Likewise.
32914 * elf/tst-unique1mod1.c: Likewise.
32915 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32916 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32918 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32919 * sysdeps/mach/sysdep.h: Likewise.
32920 * sysdeps/i386/sysdep.h: Likewise.
32921 * sysdeps/i386/i386-mcount.S: Likewise.
32922 * sysdeps/x86_64/_mcount.S: Likewise.
32923 * sysdeps/x86_64/sysdep.h: Likewise.
32924 * sysdeps/sh/_mcount.S: Likewise.
32925 * sysdeps/sh/sysdep.h: Likewise.
32926 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32927 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32928 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32929 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32930 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32931 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32932 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32933 * locale/localeinfo.h: Likewise.
32934 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32935 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32936
6c55cda3
RM
329372012-07-09 Roland McGrath <roland@hack.frob.com>
32938
32939 [BZ #14336]
32940 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32941 system".
32942 * manual/message.texi (The Uniforum approach): Likewise.
32943 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32944 (glibc iconv Implementation): Likewise.
32945
638a572e
JM
329462012-07-09 Joseph Myers <joseph@codesourcery.com>
32947
32948 [BZ #14337]
32949 * math/s_clog.c (__clog): Avoid scaling a value down where that
32950 could result in underflow.
32951 * math/s_clog10.c (__clog10): Likewise.
32952 * math/s_clog10f.c (__clog10f): Likewise.
32953 * math/s_clog10l.c (__clog10l): Likewise.
32954 * math/s_clogf.c (__clogf): Likewise.
32955 * math/s_clogl.c (__clogl): Likewise.
32956 * math/libm-test.inc (clog_test): Add more tests.
32957 (clog10_test): Likewise.
32958 * sysdeps/i386/fpu/libm-test-ulps: Update.
32959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32960
261f4859
AS
329612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32962
0abaf3e4
AS
32963 [BZ #14283]
32964 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32965 by 7 not 8 to examine high bit of fractional part.
32966
261f4859
AS
32967 [BZ #14042]
32968 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32969 for call to __mcount_internal.
32970 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32971 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32972 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32973
f17ac40d
JM
329742012-07-06 Joseph Myers <joseph@codesourcery.com>
32975
9ad63c23
JM
32976 [BZ #14154]
32977 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32978 approximation for values within 0x1p-13f of an odd multiple of
32979 pi/4.
32980 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32981 exception. Add more tests.
32982 * sysdeps/i386/fpu/libm-test-ulps: Update.
32983
f17ac40d
JM
32984 [BZ #6778]
32985 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32986 inputs and return -1 for them. Do not check for +Inf in case not
32987 reachable for +Inf.
32988 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32989 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32990 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32991 and return -1 for them. Do not check for +Inf in case not
32992 reachable for +Inf.
32993 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32994 define.
32995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32996 and return -1 for them. Do not check for +Inf in case not
32997 reachable for +Inf.
32998 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32999 spurious underflow.
33000 * sysdeps/i386/fpu/libm-test-ulps: Update.
33001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33002
fb21f89b
MF
330032012-07-06 Mike Frysinger <vapier@gentoo.org>
33004
33005 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33006
cdfe2c5e
JM
330072012-07-05 Joseph Myers <joseph@codesourcery.com>
33008
33009 [BZ #14157]
33010 [BZ #14331]
33011 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33012 could result in spurious underflow. Scale down values above
33013 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33014 * math/s_csqrtf.c (__csqrtf): Likewise.
33015 * math/s_csqrtl.c (__csqrtl): Likewise.
33016 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33017 spurious underflow.
33018 * sysdeps/i386/fpu/libm-test-ulps: Update.
33019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33020
70d35b67
AS
330212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33022
704bc459
AS
33023 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33024 xopen-msg.sed.
33025 * catgets/xopen-msg.awk: New file.
33026 * catgets/xopen-msg.sed: Removed.
33027
70d35b67
AS
33028 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33029 po2text.sed.
33030 * intl/po2test.awk: New file.
33031 * intl/po2test.sed: Removed.
33032
ca61cf32
JM
330332012-07-04 Joseph Myers <joseph@codesourcery.com>
33034
33035 [BZ #14328]
33036 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33037 or multiply small sinh result by itself.
33038 * math/s_ctanf.c (__ctanf): Likewise.
33039 * math/s_ctanh.c (__ctanh): Likewise.
33040 * math/s_ctanhf.c (__ctanhf): Likewise.
33041 * math/s_ctanhl.c (__ctanhl): Likewise.
33042 * math/s_ctanl.c (__ctanl): Likewise.
33043 * math/libm-test.inc (ctan_test_tonearest): New function.
33044 (ctan_test_towardzero): Likewise.
33045 (ctan_test_downward): Likewise.
33046 (ctan_test_upward): Likewise.
33047 (ctanh_test_tonearest): Likewise.
33048 (ctanh_test_towardzero): Likewise.
33049 (ctanh_test_downward): Likewise.
33050 (ctanh_test_upward): Likewise.
33051 (main): Call these new functions.
33052 * sysdeps/i386/fpu/libm-test-ulps: Update.
33053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33054
ca48a46a
MF
330552012-07-03 Mike Frysinger <vapier@gentoo.org>
33056
33057 * .gitignore: Delete /ports entry.
33058
9d63d37d
AJ
330592012-07-03 Andreas Jaeger <aj@suse.de>
33060
33061 * po/bg.po: Update from translation team.
33062 * po/cs.po: Likewise.
33063 * po/de.po: Likewise.
33064 * po/hr.po: Likewise.
33065 * po/nl.pl: Likewise.
33066 * po/pl.po: Likewise.
33067 * po/vi.po: Likewise.
33068
370ca3d2
JM
330692012-07-03 Joseph Myers <joseph@codesourcery.com>
33070
95f5a9a8
JM
33071 * Makeconfig [!+link] (+link-before-libc): New variable.
33072 [!+link] (+link-after-libc): Likewise.
33073 [!+link] (+link-tests): Likewise.
33074 [!+link] (+link): Define in terms of $(+link-before-libc) and
33075 $(+link-after-libc).
33076 [!+link-static] (+link-static-before-libc): New variable.
33077 [!+link-static] (+link-static-after-libc): Likewise.
33078 [!+link-static] (+link-static-tests): Likewise.
33079 [!+link-static] (+link-static): Define in terms of
33080 $(+link-static-before-libc) and $(+link-static-after-libc).
33081 [build-shared] (link-libc-before-gnulib): New variable.
33082 [build-shared] (link-libc-tests): Likewise.
33083 [build-shared] (link-libc): Define in terms of
33084 $(link-libc-before-gnulib).
33085 [!build-shared] (link-libc-tests): New variable.
33086 (link-libc-static-tests): New variable.
33087 [!gnulib] (gnulib-arch): New variable.
33088 [!gnulib] (gnulib-tests): Likewise.
33089 [!gnulib] (static-gnulib-arch): Likewise.
33090 [!gnulib] (static-gnulib-tests): Likewise.
33091 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33092 Define with "=" instead of ":=".
33093 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33094 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33095 * Rules (binaries-all-notests): New variable.
33096 (binaries-all-tests): Likewise.
33097 (binaries-static-notests): Likewise.
33098 (binaries-static-tests): Likewise.
33099 (binaries-all): Define using $(binaries-all-notests) and
33100 $(binaries-all-tests).
33101 (binaries-static): Define using $(binaries-static-notests) and
33102 $(binaries-static-tests).
33103 (binaries-shared-tests): New variable.
33104 (binaries-shared-notests): Likewise.
33105 (binaries-shared): Remove variable.
33106 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33107 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33108 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33109 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33110 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33111 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33112 * elf/Makefile (sln-modules): New variable.
33113 (extra-objs): Add $(sln-modules:=.o).
33114 (ldconfig-modules): Add static-stubs.
33115 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33116 * elf/static-stubs.c: New file.
33117
7a845b2c
JM
33118 [BZ #14283]
33119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33120 by 7 not 8 to examine high bit of fractional part. Use volatile
33121 variables when splitting into final array of floats if
33122 __FLT_EVAL_METHOD__ != 0.
33123 * math/libm-test.inc (cos_test): Add another test.
33124 (sin_test): Likewise.
33125 * sysdeps/i386/fpu/libm-test-ulps: Update.
33126
e2283f38
JM
33127 [BZ #14273]
33128 * math/libm-test.inc (cosh_test): Add more tests.
33129
370ca3d2
JM
33130 * version.h (RELEASE): Set to "development".
33131 (VERSION): Set to "2.16.90".
33132
ee9247c3
CD
331332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33134
33135 * NEWS: Update copyright. Remove last-updated date.
33136 Mention math library bug fixes and timezone data changes.
33137 * README: Mention GNU/Hurd, x32, and HPPA support status.
33138
4648c381
TS
331392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33140
33141 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33142
aac78a43
AJ
331432012-06-27 Andreas Jaeger <aj@suse.de>
33144
33145 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33146
ed3dbfad
AJ
331472012-06-25 Andreas Jaeger <aj@suse.de>
33148
33149 * sysdeps/s390/fpu/libm-test-ulps: Update.
33150
4d0ee855
AS
331512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33152 Thomas Schwinge <thomas@codesourcery.com>
33153
33154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33155 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33157 fanotify_mark.
33158
af1bce34
TS
331592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33160
a9fa33ba
TS
33161 * sysdeps/mach/start.c: Remove file.
33162 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33163 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33164 * sysdeps/sh/init-first.c: Likewise.
33165
58f902b8
TS
33166 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33167 registers for frame unwinding purposes, add CFI directives.
33168 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33170 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33171 Likewise.
33172
1518f58b
TS
33173 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33174 __fortify_fail returning.
33175 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33176
db9b5059
TS
33177 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33178 sysdeps/sh/____longjmp_chk.S.
33179 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33180 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33181 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33182 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33183
967705fe
TS
33184 * sysdeps/sh/abort-instr.h: New file.
33185 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33186 process in case exit returns.
33187
a9def8c4
TS
33188 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33189 initialize the GOT register before use.
33190
2a649725
TS
33191 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33192 calculation of ARGC > 4.
33193
af1bce34
TS
33194 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33195 meaningful names to some local labels.
33196
d230f50a
KK
331972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33198 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33199
33200 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33201 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33202 (__arch_compare_and_exchange_val_16_acq): Likewise.
33203 (__arch_compare_and_exchange_val_32_acq): Likewise.
33204 (atomic_exchange_and_add): Fix gUSA sequence.
33205 (atomic_add): Likewise.
33206 (atomic_add_negative): Likewise.
33207 (atomic_add_zero): Likewise.
33208 (atomic_bit_test_set): Likewise.
33209
0479b305
AS
332102012-06-22 Andreas Schwab <schwab@redhat.com>
33211
33212 [BZ #13579]
33213 * include/link.h (struct link_map): Add l_free_initfini.
33214 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33215 l_initfini.
33216 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33217 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33218 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33219 set.
33220
0e3933b9
CD
332212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33222
33223 * configure.in: Use AC_LANG_SOURCE.
33224 * configure: Regenerate.
33225
4248b1b1
RM
332262012-06-22 Roland McGrath <roland@hack.frob.com>
33227
33228 * configure.in (libc_cv_localstatedir): New substituted variable.
33229 * configure: Regenerated.
33230 * config.make.in (localstatedir): New variable, substituted from
33231 libc_cv_localstatedir.
33232 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33233 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33234 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33235 * sysdeps/gnu/configure: Regenerated.
33236
006dd861
JL
332372012-06-21 Jeff Law <law@redhat.com>
33238
33239 [BZ #14277]
33240 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33241 free. Simplify list management for _LIBC case.
33242
79662d42
JM
332432012-06-21 Joseph Myers <joseph@codesourcery.com>
33244
b7abb4bf
JM
33245 [BZ #14273]
33246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33247 Clear sign bit of 64-bit integer value before comparing against
33248 overflow value.
33249
79662d42
JM
33250 * sysdeps/mach/configure: Regenerated.
33251
1f150908
L
332522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33253
33254 [BZ #14278]
33255 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33256
28363bbf
JL
332572012-06-21 Jeff Law <law@redhat.com>
33258
33259 [BZ #13882]
33260 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33261 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33263 * elf/dl-open.c (dl_open_worker): Likewise.
33264
09615db4
CD
332652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33266
33267 * scripts/list-sources.sh: Scan PORTS for translations.
33268 * po/libc.pot: Regenerated.
33269
2174c6dd
AJ
332702012-06-21 Andreas Jaeger <aj@suse.de>
33271
33272 [BZ #12194]
33273 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33274 warning.
33275 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33276 * bits/byteswap-16.h (__bswap_16): Likewise.
33277 * bits/byteswap.h (__bswap_constant_16): Likewise.
33278
3ee947b1
L
332792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33280
33281 [BZ #14117]
a2f34833
L
33282 * sysdeps/i386/fpu_control.h: Removed.
33283 * sysdeps/x86_64/fpu_control.h: Moved to ...
33284 * sysdeps/x86/fpu_control.h: Here.
33285
3ee947b1
L
33286 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33287 (_FPU_SETCW): Likewise.
33288
ed1825f8
L
332892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33290
25f1282a
L
33291 [BZ #14117]
33292 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33293 * sysdeps/x86/fpu/bits/mathinline.h: This.
33294 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33295
ed1825f8
L
33296 [BZ #14050]
33297 [BZ #14117]
33298 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33299 functions if __x86_64__ is defined.
33300
36d54b74
CLT
333012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33302
33303 * string/endian.h: Add !__ASSEMBLER__ condition for including
33304 conversion interfaces.
33305
10285c21
JM
333062012-06-15 Joseph Myers <joseph@codesourcery.com>
33307
33308 [BZ #14241]
33309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33310 of ABS(x) in calculating zero to negative powers other than odd
33311 integers.
33312 * math/libm-test.inc (pow_test): Add more tests.
33313
06c5abbd
AJ
333142012-06-15 Andreas Jaeger <aj@suse.de>
33315
33316 * manual/contrib.texi (Contributors): Update entry of Liubov
33317 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33318 Machado Filho.
33319
a3aeac40
CH
333202012-06-15 Cyril Hrubis <metan@ucw.cz>
33321
33322 * string/string.h: Add __wur to GNU version of strerror_r.
33323
49bdf4c1
L
333242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33325
33326 [BZ #14229]
33327 * string/Makefile (tests): Add tst-strtok_r.
33328 * string/tst-strtok_r.c: New file.
33329 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33330 RAX_LP/RDX_LP on SAVE_PTR.
33331
834f9b8d
RM
333322012-06-14 Roland McGrath <roland@hack.frob.com>
33333
33334 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33335
75fa1921
JM
333362012-06-14 Joseph Myers <joseph@codesourcery.com>
33337
33338 * libm_test.inc (csqrt_test): Allow more spurious underflow
33339 exceptions.
33340 (j0_test): Likewise.
33341 (j1_test): Likewise.
33342 (y0_test): Likewise.
33343 (y1_test): Likewise.
33344
771766df
CD
333452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33346
33347 * po/Makefile (libc.pot): Use UTF-8 charset.
33348
ceb9e56b
PP
333492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33350
33351 [BZ #14210]
33352 Suppress sign-conversion warning from FD_SET.
33353 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33354 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33355 not unsigned long int.
33356 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33357
ddb28975
L
333582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33359
33360 [BZ #14050]
33361 [BZ #14117]
33362 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33363 __extern_always_inline instead of __extern_inline.
33364 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33365 (__signbit): Likewise.
33366 (__signbitl): Support C++ namespace.
33367 (lrintf): New inline function.
33368 (lrint): Likewise.
33369 (llrintf): Likewise.
33370 (llrint): Likewise.
33371 (fmaxf): Likewise.
33372 (fmax): Likewise.
33373 (fminf): Likewise.
33374 (fmin): Likewise.
33375 (rint): Likewise.
33376 (rintf): Likewise.
33377 (ceil): Likewise.
33378 (ceilf): Likewise.
33379 (floor): Likewise.
33380 (floorf): Likewise.
33381 (nearbyint): Likewise.
33382 (nearbyintf): Likewise.
33383
d7b4fb26
TS
333842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33385
33386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33387 non-default versions.
33388
eb55f5c2
RM
333892012-06-11 Roland McGrath <roland@hack.frob.com>
33390
33391 [BZ #14218]
33392 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33393
366af02c
TS
333942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33395
99ff6e5c
TS
33396 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33397 (FE_UPWARD, FE_DOWNWARD): Don't define.
33398 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33400
366af02c
TS
33401 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33402 reading it.
33403 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33404 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33405
793ea851
KK
334062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33407
33408 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33410 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33411 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33412
a728a38f
L
334132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33414
33415 [BZ #14117]
c08010c7
L
33416 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33417 * sysdeps/i386/fpu/Implies: New file.
33418 * sysdeps/x86_64/fpu/Implies: Likewise.
33419 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33420 * sysdeps/x86/fpu/bits/fenv.h: This.
33421
a728a38f
L
33422 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33423 __SSE_MATH__.
33424
6e230d11
SP
334252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33426
33427 [BZ #14134]
33428 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33429 character 0xffff that matches the last element of the
33430 conversion table.
33431
1b671feb
AZ
334322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33433
33434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33435 fmodl commit.
33436
6043738b
AZ
334372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33438
33439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33440 values higher than 25.6283.
33441
34ae0b32
AZ
334422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33443
33444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33445 subnormal exponent extraction and add some __builtin_expect.
33446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33447 Fix for subnormal mantissa calculation.
33448
1214ec8f
MF
334492012-06-04 Mike Frysinger <vapier@gentoo.org>
33450
33451 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33452 cpu2 is -1 and errno is not ENOSYS.
33453
f3d1f93c
L
334542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33455
33456 [BZ #14117]
0e4a3cd7
L
33457 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33458 * sysdeps/x86/bits/string.h: This.
33459 * sysdeps/x86_64/bits/string.h: Removed.
33460
6704c645
L
33461 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33462 if not compiling for x86-64, but compiling for >= i486.
33463
48495318
L
33464 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33465 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33466
14adcbfc
L
33467 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33468 New macro from Linux kernel 3.4.0.
33469 (FP_XSTATE_MAGIC2): Likewise.
33470 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33471 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33472 (struct _fpx_sw_bytes): New struct.
33473 (struct _xsave_hdr): Likewise.
33474 (struct _ymmh_state): Likewise.
33475 (struct _xstate): Likewise.
33476
68e408ab
L
33477 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33478 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33480 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33482 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33483
f3d1f93c
L
33484 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33485 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33486 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33487 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33488 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33489 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33490
d9dc34cd
TMQMF
334912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33492
33493 [BZ #13743]
33494 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33495 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33496 (sysdep_headers): Include sys/platform/ppc.h.
33497 * sysdeps/powerpc/test-gettimebase.c: Test for
33498 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33499 * manual/Makefile (appendices): Include platform.texi.
33500 * manual/contrib.texi (Contributors): Update @node pointers.
33501 * manual/maint.texi (Maintenance): Likewise.
33502 (Platform): New node.
33503 * manual/platform.texi: New file. Document the new features.
33504
4af3879c
SP
335052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33506 Jakub Jelinek <jakub@redhat.com>
33507
33508 [BZ #14188]
33509 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33510 where __builtin_expect is unavailable.
33511
2fd6ff13
DM
335122012-06-03 David S. Miller <davem@davemloft.net>
33513
33514 * stdlib/longlong.h: Updated from GCC.
33515
173f7220
AS
335162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33517
33518 [BZ #14042]
33519 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33520 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33521 __mcount_internal.
33522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33523 (GLIBC_2.16): Likewise.
33524
f34a1c6f
L
335252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33526
33527 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33528
88a4576f
JM
335292012-06-01 Joseph Myers <joseph@codesourcery.com>
33530
ea32bcdd
JM
33531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33532 (default-abi): New variable.
33533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33534 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33535 variable.
33536 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33537 Likewise.
33538 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33539 Likewise.
33540 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33541 Likewise.
33542
88a4576f
JM
33543 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33544 definition. Document in comment.
33545
402fe938
DM
335462012-06-01 David S. Miller <davem@davemloft.net>
33547
33548 * stdlib/longlong.h: Updated from GCC.
33549
3553723f
L
335502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33551
33552 [BZ #14117]
3bd872c4
L
33553 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33554 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33555 sys/debugreg.h sys/io.h here.
33556 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33557 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33558 sys/io.h.
33559 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33560 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33562 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33564 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33565
3553723f
L
33566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33567 Define only if __x86_64__ is defined.
33568
4842e4fe
JM
335692012-06-01 Joseph Myers <joseph@codesourcery.com>
33570
c5bfe3d5
JM
33571 [BZ #14048]
33572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33573 Use int64_t for variable i.
33574 * math/libm-test.inc (fmod_test): Add more tests.
33575
4842e4fe
JM
33576 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33577 z computation is not scheduled after fetestexcept.
33578 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33579 Use math_force_eval instead of asm to ensure calculation scheduled
33580 before exception test.
33581 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33582 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33583
efb73488
AJ
335842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33585
33586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33587 computation is not scheduled after fetestexcept.
33588
29bcce7c
L
335892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33590
33591 [BZ #14117]
33592 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33593 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33594
73a68f94
AZ
335952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33596
33597 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33598 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33599
67b6df78
L
336002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33601
edf2933a 33602 [BZ #14117]
ebc64a18
L
33603 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33604 <bits/wordsize.h>.
33605 (__WCHAR_MIN): Support __WORDSIZE == 64.
33606 (__WCHAR_MAX): Likewise.
33607
edf2933a
L
33608 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33610
57c6cf40
L
33611 [BZ #14183]
33612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33613 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33614
67b6df78 33615 [BZ #14117]
8eb6281e
L
33616 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33618
aac639f4
L
33619 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33620 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33621
67b6df78
L
33622 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33623 Defined to 1 if __x86_64__ isn't defined.
33624 (_STAT_VER_LINUX_OLD): New.
33625 (st_atime): Remove duplicate.
33626 (st_mtime): Likewise.
33627 (st_ctime): Likewise.
33628
1c2cfe81
DM
336292012-05-31 David S. Miller <davem@davemloft.net>
33630
33631 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33632 entries.
33633
5be8418c
AS
336342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33635
e7725326
AS
33636 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33637 gen-libm-test.pl.
33638
5be8418c
AS
33639 [BZ #14132]
33640 * elf/dl-reloc.c: Include <_itoa.h>.
33641 (_dl_reloc_bad_type): Remove use of INTUSE.
33642 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33643 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33644 * stdio-common/psiginfo.c (psiginfo): Likewise.
33645 * stdio-common/psignal.c (psignal): Likewise.
33646 * string/strsignal.c (strsignal): Likewise.
33647 * include/signal.h (_sys_siglist): Declare hidden proto.
33648 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33649 INTVARDEF with libc_hidden_data_def.
33650 * stdio-common/itoa-udigits.c: Likewise.
33651 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33652 (_itoa_lower_digits_internal): Remove declaration.
33653 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33654 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33655 (_sys_sigabbrev_internal): Remove aliases.
33656 (_sys_siglist): Define hidden alias.
33657
507352f1
MT
336582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33659
33660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33661 bits/sysctl.h.
33662
42bbb1c3
L
336632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33664
33665 [BZ #14117]
6bd784b6
L
33666 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33667 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33668
8bca20f0
L
33669 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33670 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33671 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33672 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33673 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33674 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33675
f9e890a9
L
33676 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33677 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33678 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33679
471101a1
L
33680 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33681 with __addr.
33682 (insw): Likewise.
33683 (insl): Likewise.
33684 (outsb): Likewise.
33685 (outsw): Likewise.
33686 (outsl): Likewise.
33687
6451c862
L
33688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33690 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33691
a254b8c9
L
33692 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33693 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33695 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33696 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33697 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33698
b8dfdd92
L
33699 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33700 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33701
578cd270
L
33702 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33703 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33704
de662f5f
L
33705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33708
25653439
L
33709 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33710 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33711 to ...
33712 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33713
6bad24a0
L
33714 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33715 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33716 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33717
42bbb1c3
L
33718 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33719 for x86-64.
33720 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33721
2d10d547
JM
337222012-05-31 Joseph Myers <joseph@codesourcery.com>
33723
33724 * math/math.h (M_El): Use two more decimal places.
33725 (M_LOG2El): Likewise.
33726 (M_LOG10El): Likewise.
33727 (M_LN2l): Likewise.
33728 (M_LN10l): Likewise.
33729 (M_PIl): Likewise.
33730 (M_PI_2l): Likewise.
33731 (M_PI_4l): Likewise.
33732 (M_1_PIl): Likewise.
33733 (M_2_PIl): Likewise.
33734 (M_2_SQRTPIl): Likewise.
33735 (M_SQRT2l): Likewise.
33736 (M_SQRT1_2l): Likewise.
33737
f230c29b
DM
337382012-05-31 David S. Miller <davem@davemloft.net>
33739
33740 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33741 values between float registers.
33742 * sysdeps/sparc/sparc64/memset.S: Likewise.
33743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33744
fed806c3
MF
337452012-05-31 Mike Frysinger <vapier@gentoo.org>
33746
33747 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33748 -D_FORTIFY_SOURCE=1.
33749 (CPPFLAGS-tst-longjmp_chk.c): Define.
33750 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33751 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33752 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33753 CFLAGS-tst-wchar-h.c.
33754
30917259
MP
337552012-05-31 Marek Polacek <polacek@redhat.com>
33756
33757 [BZ #14132]
33758 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33759 __endmntent_internal): Remove declaration.
33760 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33761 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33762 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33763
1c58d5dc
DM
337642012-05-30 David S. Miller <davem@davemloft.net>
33765
33766 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33767 (___Q_simulate_exceptions): Use real FP ops rather than writing
33768 into the %fsr.
33769 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33770 Likewise.
33771
7dc00e0d
L
337722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33773
33774 [BZ #14117]
0bd53985
L
33775 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33776 * sysdeps/x86/bits/xtitypes.h: This.
33777
3a257e66
L
33778 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33779 * sysdeps/x86/bits/wordsize.h: This.
33780
62f62904
L
33781 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33782 * sysdeps/x86/bits/huge_vall.h: This.
33783
404fe9d9
L
33784 * sysdeps/i386/bits/select.h: Removed.
33785 * sysdeps/x86_64/bits/select.h: Renamed to ...
33786 * sysdeps/x86/bits/select.h: This.
33787
d48d0446
L
33788 * sysdeps/i386/bits/setjmp.h: Removed.
33789 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33790 * sysdeps/x86/bits/setjmp.h: This.
33791
7dc00e0d
L
33792 * sysdeps/i386/bits/mathdef.h: Removed.
33793 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33794 * sysdeps/x86/bits/mathdef.h: This.
33795
03277f8f
AS
337962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33797
33798 [BZ #14132]
33799 * include/sys/socket.h (__connect_internal)
33800 (__libc_sa_len_internal): Remove declaration.
33801 (__connect, __libc_sa_len): Declare hidden_proto.
33802 (SA_LEN): Remove use of INTUSE.
33803 * socket/connect.c: Add libc_hidden_def.
33804 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33805 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33806 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33807 alias.
33808 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33810 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33811 of adding _internal alias.
33812
13764867
L
338132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33814
33815 [BZ #14117]
6bd97696
L
33816 * sysdeps/i386/bits/link.h: Removed.
33817 * sysdeps/i386/bits/linkmap.h: Likewise.
33818 * sysdeps/x86_64/bits/link.h: Renamed to ...
33819 * sysdeps/x86/bits/link.h: This.
33820 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33821 * sysdeps/x86/bits/linkmap.h: This.
33822
f726f0bb
L
33823 * sysdeps/i386/bits/endian.h: Removed.
33824 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33825 * sysdeps/x86/bits/endian.h: This.
33826
13764867
L
33827 * sysdeps/i386/bits/byteswap.h: Removed.
33828 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33829 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33830 * sysdeps/x86/bits/byteswap.h: This.
33831 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33832 * sysdeps/x86/bits/byteswap-16.h: This.
33833 * sysdeps/i386/Implies: Add x86.
33834 * sysdeps/x86_64/Implies: Likewise.
33835
ae251b0b
DM
338362012-05-30 David S. Miller <davem@davemloft.net>
33837
33838 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33839 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33841 (FP_TRAPPING_EXCEPTIONS): Define.
33842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33843 (FP_TRAPPING_EXCEPTIONS): Define.
33844 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33845 subnormals only when inexact has been signalled or underflow
33846 exceptions are enabled.
33847 (_FP_PACK_CANONICAL): Likewise.
33848
d5c90867
L
338492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33850
33851 [BZ #14183]
33852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33853 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33854
63f1549e
RH
338552012-05-30 Richard Henderson <rth@twiddle.net>
33856
8d8f2279
RH
33857 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33858 with #ifndef NOT_IN_libc.
33859
63f1549e
RH
33860 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33861 marked to avoid plt entry.
33862
0ab0291b
L
338632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33864
33865 [BZ #14112]
33866 * Makeconfig (default-abi): New macro.
33867 (abi-includes): Likewise.
33868 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33869 $(abi-$(default-abi)-lib-soname) for soname if defined.
33870 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33871 abi-variants.
33872 * Makefile (installed-stubs): Likewise.
33873 * include/stubs-biarch.h: Removed.
33874 * scripts/lib-names.awk: Only handle one library at a time.
33875 * scripts/soversions.awk: Remove WORDSIZE support.
33876 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33877 entries.
33878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33879 Removed.
33880 (syscall-list-default-condition): Likewise.
33881 (syscall-list-default-condition): Likewise.
33882 (syscall-list-includes): Likewise.
33883 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33884 syscall-list-* with abi-*. Handle undefined abi-variants.
33885 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33886 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33887 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33888 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33889 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33890 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33891 Removed.
33892 (syscall-list-32-options): Likewise.
33893 (syscall-list-32-condition): Likewise.
33894 (syscall-list-64-options): Likewise.
33895 (syscall-list-64-condition): Likewise.
33896 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33897 macro.
33898 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33899 Renamed to ...
33900 (abi-*): This.
33901 (abi-64-ld-soname): New macro.
33902 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33903 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33904 Renamed to ...
33905 (abi-*): This.
33906 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33907 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33908
4da0431d
JM
339092012-05-30 Joseph Myers <joseph@codesourcery.com>
33910
3a85279c
JM
33911 * sysdeps/unix/sysv/linux/kernel-features.h
33912 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33913 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33914 include <kernel-features.h>.
33915 [!__NR_ftruncate64]: Remove conditional code.
33916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33917 [__NR_ftruncate64]: Make code unconditional.
33918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33919 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33920 include <kernel-features.h>.
33921 [!__NR_ftruncate64]: Remove conditional code.
33922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33923 [__NR_ftruncate64]: Make code unconditional.
33924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33926 include <kernel-features.h>.
33927 [!__NR_ftruncate64]: Remove conditional code.
33928 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33929 [__NR_ftruncate64]: Make code unconditional.
33930 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33932 include <kernel-features.h>.
33933 [!__NR_ftruncate64]: Remove conditional code.
33934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33935 [__NR_ftruncate64]: Make code unconditional.
33936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33937
4da0431d
JM
33938 * configure.in (libc_cv_fpie): Weaken to a compile test using
33939 LIBC_TRY_CC_OPTION.
33940 * configure: Regenerated.
33941
11ef492c
AK
339422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33943
33944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33948 Refreshed.
33949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33955 Refreshed.
33956
d66ef399
DM
339572012-05-27 David S. Miller <davem@davemloft.net>
33958
33959 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33960 (___Q_zero): New.
33961 (__Q_simulate_exceptions): Return void. Change to simulate
33962 exceptions by writing into the %fsr.
33963 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33964 (__Qp_handle_exceptions): Likewise.
33965 (numbers): Delete.
33966 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33967 __Qp_handle_exceptions.
33968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33969 __Qp_handle_exceptions.
33970 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33971 as unused and give dummy FP_RND_NEAREST initializer.
33972 (FP_INHIBIT_RESULTS): Define.
33973 (___Q_simulate_exceptions): Update declaration.
33974 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33975 formatting.
33976 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33977 as unused and give dummy FP_RND_NEAREST initializer.
33978 (__Qp_handle_exceptions): Update declaration.
33979 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33980 formatting.
33981
04fb54b5
TS
339822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33983
33984 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33985 the temporary FPU control word.
33986 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33987 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33988 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33989 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33990 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33991 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33992 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33993 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33994 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33995 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33996 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33997
3f99608f
KK
339982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33999
34000 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34001 fields.
34002
65a4de4e
CLT
340032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34004
34005 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34006 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34007 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34008 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34009 Likewise.
34010 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34011 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34012 Likewise.
34013
15749d40
UD
340142012-05-27 Ulrich Drepper <drepper@gmail.com>
34015
34016 * po/h.po: Update from translation team.
34017
25dbcb27
AS
340182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34019
3d3f8e55
AS
34020 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34021
25dbcb27
AS
34022 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34023 handling of denormals.
34024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34025 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34026 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34027 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34031 Likewise.
34032
7ad47a80 340332012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34034
34035 [BZ #14152]
34036 * math/libm-test.inc (fma_test): Don't always expect underflow
34037 exception.
34038
9c6ea9fa
SP
340392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34040
34041 [BZ #12416]
34042 * elf/tst-execstack.c: Include stackinfo.h.
34043 (do_test): Adjust test case to ensure that pthread_getattr_np
34044 behaviour remains the same after marking stack executable.
34045
a8239222
JM
340462012-05-25 Joseph Myers <joseph@codesourcery.com>
34047
34048 * sysdeps/unix/sysv/linux/kernel-features.h
34049 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34050 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34051 kernel-features.h.
34052 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34053 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34054 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34055 kernel-features.h.
34056 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34057 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34058
918b5606
L
340592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34060
34061 * configure.in: Define the default includes to being none.
34062 * configure: Regenerated.
34063
3a097cc7
RM
340642012-05-25 Roland McGrath <roland@hack.frob.com>
34065
8422c9a5
RM
34066 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34067 * sysdeps/x86_64/setjmp.S: Likewise.
34068 * sysdeps/i386/bsd-setjmp.S: Likewise.
34069 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34070 * sysdeps/i386/setjmp.S: Likewise.
34071 * sysdeps/i386/__longjmp.S: Likewise.
34072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34073 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34074
3a097cc7
RM
34075 * include/stap-probe.h: New file.
34076 * configure.in: Handle --enable-systemtap.
34077 * configure: Regenerated.
34078 * config.h.in (USE_STAP_PROBE): New #undef.
34079 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34080 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34081 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34082
21708942
JM
340832012-05-25 Joseph Myers <joseph@codesourcery.com>
34084
34085 [BZ #13717]
34086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34087 to 2.4.0 where earlier.
34088 * sysdeps/unix/sysv/linux/configure: Regenerated.
34089 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34090 <kernel-features.h>.
34091 [__ASSUME_32BITUIDS]: Make code unconditional.
34092 [!__ASSUME_32BITUIDS]: Remove conditional code.
34093 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34094 <kernel-features.h>.
34095 [__ASSUME_32BITUIDS]: Make code unconditional.
34096 [!__ASSUME_32BITUIDS]: Remove conditional code.
34097 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34098 [__ASSUME_32BITUIDS]: Make code unconditional.
34099 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34100 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34101 <kernel-features.h>.
34102 [__ASSUME_32BITUIDS]: Make code unconditional.
34103 [!__ASSUME_32BITUIDS]: Remove conditional code.
34104 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34105 <kernel-features.h>.
34106 [__ASSUME_32BITUIDS]: Make code unconditional.
34107 [!__ASSUME_32BITUIDS]: Remove conditional code.
34108 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34109 <kernel-features.h>.
34110 [__ASSUME_32BITUIDS]: Make code unconditional.
34111 [!__ASSUME_32BITUIDS]: Remove conditional code.
34112 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34113 <kernel-features.h>.
34114 [__ASSUME_32BITUIDS]: Make code unconditional.
34115 [!__ASSUME_32BITUIDS]: Remove conditional code.
34116 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34117 <kernel-features.h>.
34118 [__ASSUME_32BITUIDS]: Make code unconditional.
34119 [!__ASSUME_32BITUIDS]: Remove conditional code.
34120 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34121 <kernel-features.h>.
34122 [__ASSUME_32BITUIDS]: Make code unconditional.
34123 [!__ASSUME_32BITUIDS]: Remove conditional code.
34124 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34125 <kernel-features.h>.
34126 [__ASSUME_32BITUIDS]: Make code unconditional.
34127 [!__ASSUME_32BITUIDS]: Remove conditional code.
34128 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34129 <kernel-features.h>.
34130 [__ASSUME_32BITUIDS]: Make code unconditional.
34131 [!__ASSUME_32BITUIDS]: Remove conditional code.
34132 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34133 <kernel-features.h>.
34134 [__ASSUME_32BITUIDS]: Make code unconditional.
34135 [!__ASSUME_32BITUIDS]: Remove conditional code.
34136 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
34141 <kernel-features.h>.
34142 [__NR_setresgid] (__setresgid): Do not declare.
34143 [__ASSUME_32BITUIDS]: Make code unconditional.
34144 [!__ASSUME_32BITUIDS]: Remove conditional code.
34145 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34146 <kernel-features.h>.
34147 [__NR_setresuid] (__setresuid): Do not declare.
34148 [__ASSUME_32BITUIDS]: Make code unconditional.
34149 [!__ASSUME_32BITUIDS]: Remove conditional code.
34150 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34151 <kernel-features.h>.
34152 [__ASSUME_32BITUIDS]: Make code unconditional.
34153 [!__ASSUME_32BITUIDS]: Remove conditional code.
34154 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34155 <kernel-features.h>.
34156 [__ASSUME_32BITUIDS]: Make code unconditional.
34157 [!__ASSUME_32BITUIDS]: Remove conditional code.
34158 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34159 <kernel-features.h>.
34160 [__ASSUME_32BITUIDS]: Make code unconditional.
34161 [!__ASSUME_32BITUIDS]: Remove conditional code.
34162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34163 <kernel-features.h>.
34164 [__ASSUME_32BITUIDS]: Make code unconditional.
34165 [!__ASSUME_32BITUIDS]: Remove conditional code.
34166 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34167 <kernel-features.h>.
34168 [__ASSUME_32BITUIDS]: Make code unconditional.
34169 [!__ASSUME_32BITUIDS]: Remove conditional code.
34170 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34171 <kernel-features.h>.
34172 [__ASSUME_32BITUIDS]: Make code unconditional.
34173 [!__ASSUME_32BITUIDS]: Remove conditional code.
34174 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34175 <kernel-features.h>.
34176 [__ASSUME_32BITUIDS]: Make code unconditional.
34177 [!__ASSUME_32BITUIDS]: Remove conditional code.
34178 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34179 <kernel-features.h>.
34180 [__ASSUME_32BITUIDS]: Make code unconditional.
34181 [!__ASSUME_32BITUIDS]: Remove conditional code.
34182 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34183 <kernel-features.h>.
34184 [__ASSUME_32BITUIDS]: Make code unconditional.
34185 [!__ASSUME_32BITUIDS]: Remove conditional code.
34186 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34187 <kernel-features.h>.
34188 [__ASSUME_32BITUIDS]: Make code unconditional.
34189 [!__ASSUME_32BITUIDS]: Remove conditional code.
34190 * sysdeps/unix/sysv/linux/kernel-features.h
34191 (__ASSUME_SETRESUID_SYSCALL): Remove.
34192 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34193 (__ASSUME_32BITUIDS): Likewise.
34194 (__ASSUME_LDT_WORKS): Likewise.
34195 (__ASSUME_O_DIRECTORY): Likewise.
34196 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34197 architecture but not kernel version.
34198 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34199 (__ASSUME_MMAP2_SYSCALL): Likewise.
34200 (__ASSUME_STAT64_SYSCALL): Likewise.
34201 (__ASSUME_IPC64): Likewise.
34202 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34203 <kernel-features.h>.
34204 [__ASSUME_32BITUIDS]: Make code unconditional.
34205 [!__ASSUME_32BITUIDS]: Remove conditional code.
34206 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34207 <kernel-features.h>.
34208 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34209 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34210 132096]: Remove conditional code.
34211 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34212 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34213 <kernel-features.h>.
34214 [__ASSUME_32BITUIDS]: Make code unconditional.
34215 [!__ASSUME_32BITUIDS]: Remove conditional code.
34216 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34217 <kernel-features.h>.
34218 [__ASSUME_32BITUIDS]: Make code unconditional.
34219 [!__ASSUME_32BITUIDS]: Remove conditional code.
34220 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34221 <kernel-features.h>.
34222 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34223 unconditional.
34224 (__setresgid): Do not declare.
34225 [__ASSUME_32BITUIDS]: Make code unconditional.
34226 [!__ASSUME_32BITUIDS]: Remove conditional code.
34227 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34228 <kernel-features.h>.
34229 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34230 unconditional.
34231 (__setresuid): Do not declare.
34232 [__ASSUME_32BITUIDS]: Make code unconditional.
34233 [!__ASSUME_32BITUIDS]: Remove conditional code.
34234 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34235 <kernel-features.h>.
34236 [__ASSUME_32BITUIDS]: Make code unconditional.
34237 [!__ASSUME_32BITUIDS]: Remove conditional code.
34238 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34239 <kernel-features.h>.
34240 [__ASSUME_32BITUIDS]: Make code unconditional.
34241 [!__ASSUME_32BITUIDS]: Remove conditional code.
34242
a386f1cc
RH
342432012-05-25 Richard Henderson <rth@twiddle.net>
34244
34245 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34246 dl_hwcap to ifunc resolver.
34247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34248 elf_ifunc_invoke.
34249 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34250 dl_hwcap to ifunc resolver.
34251 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34252
b6550497
JM
342532012-05-24 Joseph Myers <joseph@codesourcery.com>
34254
34255 [BZ #14153]
34256 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34257 for |x| <= 2**-26, not 2**-57.
34258 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34259 exception.
34260
b0bc23a1
JL
342612012-05-24 Jeff Law <law@redhat.com>
34262
34263 * stdio-common/Makefile (tests): Add bug25.
34264 * stdio-common/bug25.c: New test.
34265
347c92e9
L
342662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34267
34268 [BZ #13576]
34269 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34270 multiple of MALLOC_ALIGNMENT in size.
34271 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34272
6bcc8b3f
JM
342732012-05-24 Joseph Myers <joseph@codesourcery.com>
34274
34275 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34276 Require >= 256.
34277 (FILENAME_MAX): Use macro-int-constant.
34278 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34279 (_IOFBF): Use macro-int-constant.
34280 (_IOLBF): Likewise.
34281 (_IONBF): Likewise.
34282 (SEEK_CUR): Likewise.
34283 (SEEK_END): Likewise.
34284 (SEEK_SET): Likewise.
34285 (TMP_MAX): Likewise.
34286 (EOF): Use macro-int-constant. Require < 0.
34287 (NULL): Use macro-constant. Require == 0.
34288 (stdin): Require type to be FILE *.
34289 (stdout): Likewise.
34290 (stderr): Likewise.
34291 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34292 macro-int-constant.
34293 (EXIT_SUCCESS): Likewise.
34294 (NULL): Use macro-constant. Require == 0.
34295 (RAND_MAX): Use macro-int-constant.
34296 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34297 [C99-based standards] (strtof): Require function.
34298 [C99-based standards] (strtold): Likewise.
34299 [C99-based standards] (strtoll): Likewise.
34300 [C99-based standards] (strtoull): Likewise.
34301 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34302 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34303 [ISO || ISO99 || ISO11] (math.h): Likewise.
34304 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34305 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34307
d18ea0c5
AS
343082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34309
34310 [BZ #14132]
56d25bb8
AS
34311 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34312 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34313 * intl/dgettext.c (DCGETTEXT): Likewise.
34314 * intl/gettext.c (DCGETTEXT): Likewise.
34315 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34316 * posix/regex_internal.h (gettext): Likewise.
34317 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34318 Remove declaration.
34319 * include/argz.h (__argz_count_internal)
34320 (__argz_stringify_internal): Remove declaration.
34321 (__argz_count, __argz_stringify): Declare hidden proto.
34322 * intl/dcgettext.c: Remove use of INTDEF.
34323 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34324 * string/argz-stringify.c: Likewise.
34325 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34326 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34327 Declare hidden proto.
d18ea0c5
AS
34328 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34329 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34330 Declare hidden proto.
34331 * include/stdio.h (__asprintf_internal): Don't declare.
34332 (__asprintf): Don't define as macro. Declare hidden proto.
34333 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34334 (__fsetlocking): Declare hidden proto.
34335 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34336 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34337 hidden proto.
34338 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34339 (_IO_setlinebuf): Remove use of INTUSE.
34340 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34341 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34342 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34343 Remove declaration.
34344 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34345 (_IO_do_flush): Remove use of INTUSE.
34346 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34347 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34348 (_IO_adjust_column, _IO_least_wmarker)
34349 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34350 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34351 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34352 (_IO_default_doallocate, _IO_wdefault_doallocate)
34353 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34354 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34355 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34356 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34357 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34358 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34359 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34360 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34361 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34362 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34363 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34364 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34365 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34366 proto.
34367 (_IO_flush_all_internal, _IO_adjust_column_internal)
34368 (_IO_default_uflow_internal, _IO_default_finish_internal)
34369 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34370 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34371 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34372 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34373 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34374 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34375 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34376 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34377 (_IO_file_close_internal, _IO_file_close_it_internal)
34378 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34379 (_IO_file_init_internal, _IO_file_attach_internal)
34380 (_IO_file_fopen_internal, _IO_file_read_internal)
34381 (_IO_file_sync_internal, _IO_file_seek_internal)
34382 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34383 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34384 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34385 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34386 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34387 (_IO_list_all_internal, _IO_link_in_internal)
34388 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34389 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34390 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34391 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34392 (_IO_do_write_internal, _IO_padn_internal)
34393 (_IO_getline_info_internal, _IO_getline_internal)
34394 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34395 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34396 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34397 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34398 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34399 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34400 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34401 with libc_hidden_ver, remove use of INTUSE.
34402 * libio/genops.c: Likewise.
34403 * libio/freopen.c: Likewise.
34404 * libio/freopen64.c: Likewise.
34405 * libio/iofclose.c: Likewise.
34406 * libio/iofdopen.c: Likewise.
34407 * libio/iofflush.c: Likewise.
34408 * libio/iofflush_u.c: Likewise.
34409 * libio/iofgets.c: Likewise.
34410 * libio/iofgets_u.c: Likewise.
34411 * libio/iofopen.c: Likewise.
34412 * libio/iofopncook.c: Likewise.
34413 * libio/iofread.c: Likewise.
34414 * libio/iofread_u.c: Likewise.
34415 * libio/ioftell.c: Likewise.
34416 * libio/iofwrite.c: Likewise.
34417 * libio/iogetline.c: Likewise.
34418 * libio/iogets.c: Likewise.
34419 * libio/iogetwline.c: Likewise.
34420 * libio/iopadn.c: Likewise.
34421 * libio/iopopen.c: Likewise.
34422 * libio/ioseekoff.c: Likewise.
34423 * libio/ioseekpos.c: Likewise.
34424 * libio/iosetbuffer.c: Likewise.
34425 * libio/iosetvbuf.c: Likewise.
34426 * libio/ioungetc.c: Likewise.
34427 * libio/ioungetwc.c: Likewise.
34428 * libio/iovdprintf.c: Likewise.
34429 * libio/iovsprintf.c: Likewise.
34430 * libio/iovsscanf.c: Likewise.
34431 * libio/memstream.c: Likewise.
34432 * libio/obprintf.c: Likewise.
34433 * libio/oldfileops.c: Likewise.
34434 * libio/oldiofclose.c: Likewise.
34435 * libio/oldiofdopen.c: Likewise.
34436 * libio/oldiofopen.c: Likewise.
34437 * libio/oldiopopen.c: Likewise.
34438 * libio/oldstdfiles.c: Likewise.
34439 * libio/putc.c: Likewise.
34440 * libio/setbuf.c: Likewise.
34441 * libio/setlinebuf.c: Likewise.
34442 * libio/stdfiles.c: Likewise.
34443 * libio/strops.c: Likewise.
34444 * libio/vasprintf.c: Likewise.
34445 * libio/vscanf.c: Likewise.
34446 * libio/vsnprintf.c: Likewise.
34447 * libio/vswprintf.c: Likewise.
34448 * libio/wfiledoalloc.c: Likewise.
34449 * libio/wfileops.c: Likewise.
34450 * libio/wgenops.c: Likewise.
34451 * libio/wmemstream.c: Likewise.
34452 * libio/wstrops.c: Likewise.
34453 * libio/__fpurge.c: Likewise.
34454 * libio/__fsetlocking.c: Likewise.
34455 * assert/assert.c: Likewise.
34456 * debug/fgets_chk.c: Likewise.
34457 * debug/fgets_u_chk.c: Likewise.
34458 * debug/fread_chk.c: Likewise.
34459 * debug/fread_u_chk.c: Likewise.
34460 * debug/gets_chk.c: Likewise.
34461 * debug/obprintf_chk.c: Likewise.
34462 * debug/vasprintf_chk.c: Likewise.
34463 * debug/vdprintf_chk.c: Likewise.
34464 * debug/vsnprintf_chk.c: Likewise.
34465 * debug/vsprintf_chk.c: Likewise.
34466 * malloc/mtrace.c: Likewise.
34467 * misc/error.c: Likewise.
34468 * misc/syslog.c: Likewise.
34469 * stdio-common/asprintf.c: Likewise.
34470 * stdio-common/fxprintf.c: Likewise.
34471 * stdio-common/getw.c: Likewise.
34472 * stdio-common/isoc99_fscanf.c: Likewise.
34473 * stdio-common/isoc99_scanf.c: Likewise.
34474 * stdio-common/isoc99_vfscanf.c: Likewise.
34475 * stdio-common/isoc99_vscanf.c: Likewise.
34476 * stdio-common/isoc99_vsscanf.c: Likewise.
34477 * stdio-common/printf-prs.c: Likewise.
34478 * stdio-common/printf_fp.c: Likewise.
34479 * stdio-common/printf_fphex.c: Likewise.
34480 * stdio-common/printf_size.c: Likewise.
34481 * stdio-common/putw.c: Likewise.
34482 * stdio-common/scanf.c: Likewise.
34483 * stdio-common/sprintf.c: Likewise.
34484 * stdio-common/tmpfile.c: Likewise.
34485 * stdio-common/vfprintf.c: Likewise.
34486 * stdio-common/vfscanf.c: Likewise.
34487 * stdlib/strfmon_l.c: Likewise.
34488 * sunrpc/openchild.c: Likewise.
34489 * sunrpc/xdr_stdio.c: Likewise.
34490 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34491 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34492
d6c33fda
RM
344932012-05-24 Roland McGrath <roland@hack.frob.com>
34494
c1487492
RM
34495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34496
34497 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34498 in the third column, to generate for the shared library an IFUNC
34499 that uses _dl_vdso_vsym.
34500 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34501 * Makeconfig (object-suffixes-noshared): New variable.
34502
34503 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34504 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34505 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34506 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34507
d6c33fda
RM
34508 [BZ #14132]
34509 * include/sys/time.h (__gettimeofday): Remove macro.
34510 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34511 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34512 Remove INTDEF.
34513 (__gettimeofday): Add libc_hidden_def.
34514 (gettimeofday): Add libc_hidden_weak.
34515 * sysdeps/mach/gettimeofday.c: Likewise.
34516 * sysdeps/posix/gettimeofday.c: Likewise.
34517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34520 (__gettimeofday_internal): Remove strong_alias.
34521 (__gettimeofday): Add libc_hidden_def.
34522 (gettimeofday): Add libc_hidden_weak.
34523 * sysdeps/unix/syscalls.list (gettimeofday):
34524 Remove __gettimeofday_internal alias.
34525
b5a2bbe6
L
345262012-05-24 Daniel Jacobowitz <drow@false.org>
34527 H.J. Lu <hongjiu.lu@intel.com>
34528
34529 [BZ #12495]
34530 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34531 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34532 (largebin_index_32_big): New.
34533 (largebin_index): Use it for 16-byte alignment.
34534 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34535 correction with front_misalign.
34536
cfba4fda
L
345372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34538
7f907421
L
34539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34541 Likewise.
34542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34543 Likewise.
34544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34545 Likewise.
34546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34547 Likewise.
34548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34549 Likewise.
34550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34551 Likewise.
34552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34553 Likewise.
34554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34555 Likewise.
34556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34557 Likewise.
34558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34559 Likewise.
34560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34561 Likewise.
34562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34563 Likewise.
34564
cfba4fda
L
34565 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34566 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34567
80bad0cc
JM
345682012-05-24 Joseph Myers <joseph@codesourcery.com>
34569
7a25eb06
JM
34570 [BZ #10846]
34571 [BZ #14036]
34572 * math/libm-test.inc (exp_test): Add test from bug 14036.
34573 (pow_test): Add test from bug 10846.
34574
795405f9
JM
34575 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34576 and other flags.
34577 (special_function): Do not include flags in test name.
34578 (parse_args): Likewise.
34579 * sysdeps/i386/fpu/libm-test-ulps: Update.
34580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34581 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34582 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34584
80bad0cc
JM
34585 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34586 exceptions.
34587 * math/libm-test.inc ("Philosophy"): Update comment about
34588 exception testing.
34589 (UNDERFLOW_EXCEPTION): New macro.
34590 (UNDERFLOW_EXCEPTION_OK): Likewise.
34591 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34592 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34593 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34594 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34595 (INVALID_EXCEPTION_OK): Update value.
34596 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34597 (OVERFLOW_EXCEPTION_OK): Likewise.
34598 (IGNORE_ZERO_INF_SIGN): Likewise.
34599 (test_exceptions): Handle underflow exceptions.
34600 (acos_test): Update for underflow exception expectations.
34601 (cexp_test): Likewise.
34602 (clog_test): Likewise.
34603 (clog10_test): Likewise.
34604 (csqrt_test): Likewise.
34605 (ctan_test): Likewise.
34606 (ctanh_test): Likewise.
34607 (exp_test): Likewise.
34608 (exp10_test): Likewise.
34609 (exp2_test): Likewise.
34610 (expm1_test): Likewise.
34611 (fma_test): Likewise.
34612 (j0_test): Likewise.
34613 (jn_test): Likewise.
34614 (nexttoward_test): Likewise.
34615 (pow_test): Likewise.
34616 (scalbn_test): Likewise.
34617 (scalbln_test): Likewise.
34618 (tan_test): Likewise.
34619 (y1_test): Likewise.
34620 * sysdeps/i386/fpu/libm-test-ulps: Update.
34621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34622
9e0e3d0b
DM
346232012-05-23 David S. Miller <davem@davemloft.net>
34624
34625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34626 (__libc_sigaction): Remove unused local variables.
34627
ccd0a08f
L
346282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34629
34630 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34631
62bdf9a6
PE
346322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34633
f8591f80
PE
34634 mktime: avoid signed integer overflow
34635 * time/mktime.c (__mktime_internal): Do not mishandle the case
34636 where diff == INT_MIN.
34637
94c7d826
PE
34638 mktime: simplify computation of average
34639 * time/mktime.c (ranged_convert): Use new time_t_avg function
34640 instead of rolling our own (probably-slower) code.
34641
ce73d683
PE
34642 mktime: do not assume signed right shift propagates sign bit
34643 * time/mktime.c (isdst_differ): New static function.
34644 (__mktime_internal): No need to normalize tm_isdst now.
34645 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34646 tm_isdst values.
34647
72a22e59
PE
34648 mktime: merge another wrapv change from gnulib
34649 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34650 from some compilers.
34651
68605433
PE
34652 mktime: remove incorrect attempt at unusual arithmetics
34653 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34654 The code didn't really work on such machines anyway.
34655 (TYPE_MINIMUM): Assume two's complement.
34656 (twos_complement_arithmetic): Verify that long_int and time_t
34657 are two's complement (or unsigned, in the latter case).
34658
03cf7fe3
PE
34659 mktime: check signed shifts on long_int and time_t, too
34660 * time/mktime.c (SHR): Check that shifts work as desired
34661 on the types long_int and time_t too, as SHR is used on
34662 such types.
34663
f04dfbc2
PE
34664 mktime: do not assume 'long' is wide enough
34665 * time/mktime.c (verify): Move decl up.
34666 (long_int): New type.
34667 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34668 to remove assumption in the code that 'long' is wide enough to
34669 store year values. This assumption is not true on x32 and on
34670 some non-glibc platforms.
34671
62bdf9a6
PE
34672 mktime: merge wrapv change from gnulib
34673 * time/mktime.c (WRAPV): New macro.
34674 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34675 (guess_time_tm, __mktime_internal): Do not assume that signed
34676 integer overflow wraps around; modern compilers generate code
34677 where this assumption is no longer valid.
34678
5e292e4f
L
346792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34680
34681 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34682 Replace "jmp L(pseudo_end)" with "ret".
34683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34684 Likewise.
34685
8caf8c87
AJ
346862012-05-23 Andreas Jaeger <aj@suse.de>
34687
34688 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34689 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34690
1a09dc56
AJ
346912012-05-23 Andreas Jaeger <aj@suse.de>
34692 Maximilian Attems <max@stro.at>
34693
34694 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34695 New macros.
34696
1c87aba0
L
346972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34698
34699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34700 code so that pseudo_end is just ret and the stack pointer is
34701 correct also for static library in error case.
34702
40e45bd5
JM
347032012-05-23 Joseph Myers <joseph@codesourcery.com>
34704
c2670533
JM
34705 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34706 move to syscalls.list.
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34711
40e45bd5
JM
34712 * manual/install.texi (Running make install): Do not mention Linux
34713 kernel version for which pt_chown is not needed.
34714 (Linux): Do not mention problems with nscd with 2.0 kernels.
34715 * INSTALL: Regenerated.
34716
be08eda5
AJ
347172012-05-23 Andreas Jaeger <aj@suse.de>
34718
34719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34720 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34721 macro.
34722 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34724 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34726 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34727 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34729 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34731 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34732 * sysdeps/unix/sysv/linux/bits/in.h
34733 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34734
a6a056bb
RM
347352012-05-22 Roland McGrath <roland@hack.frob.com>
34736
34737 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34738 (PREPARE_VERSION): Just use assert instead, it will be elided
34739 under [NDEBUG] anyway.
34740
c9009328
L
347412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34742
34743 * sysdeps/unix/sysv/linux/Makefile: Include
34744 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34745 (sysdep_routines): Remove sysctl.
c9009328
L
34746 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34747 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34748 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34749 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34750 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34751
73338355
AJ
347522012-05-22 Andreas Jaeger <aj@suse.de>
34753
34754 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34755 that pseudo_end is just ret and the stack pointer is correct also
34756 for static library in error case.
34757
d44638b0
PP
347582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34759
34760 [BZ #14122]
34761 * nss/nsswitch.c (defconfig_entries): New variable.
34762 (__nss_database_lookup): Don't leak defconfig entries.
34763 (nss_parse_service_list): Don't leak on error paths.
34764 (free_database_entries): New function.
34765 (free_defconfig): New function.
34766 (free_mem): Move common code to free_database_entries.
34767
31a39bd8
L
347682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34769
da0331a8
L
34770 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34771 Add arch_prctl.
34772 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34773
31a39bd8
L
34774 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34775 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34777 New macro.
34778 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34779 (INTERNAL_SYSCALL_TYPES): Likewise.
34780 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34781 (LOAD_REGS_TYPES_[1-6]): Likewise.
34782 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34783 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34784
45470df3
AZ
347852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34786
34787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34788 copysignl for GLIBC_2_0.
34789 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34790 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34792 logbl for GLIBC_2_0.
34793 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34794 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34795
98a61bcb
L
347962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34797
a4f6e481
L
34798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34800
f63d5db6
L
34801 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34802 Use "neg %eax".
34803
98a61bcb
L
34804 * time/mktime.c: Update copyright years.
34805
95770f14
PE
348062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34807
6226efbd
PE
34808 mktime: merge comment-quoting-style change from gnulib
34809 * time/mktime.c: Quote 'like this' in comments.
34810 The GNU coding standards suggest that we no longer quote `like this',
34811 as "`" and "'" are typically rendered asymmetrically nowadays.
34812 The typical gnulib style is to quote 'like this' when quoting
34813 code, and "like this" when quoting English.
34814
b99e4f78
PE
34815 * time/mktime.c (compile-command): Add "-I.".
34816
643e01e6
PE
34817 mktime: merge mktime-internal.h change from gnulib
34818 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34819
2554247d
PE
34820 mktime: merge time_r change from gnulib
34821 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34822
826dd0ab
PE
34823 mktime: merge DEBUG change from gnulib
34824 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34825 case system <time.h> has a #define.
34826
bd83aabe
PE
34827 mktime: merge <sys/types.h> change from gnulib
34828 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34829 since <time.t> is now guaranteed to define time_t.
34830
95770f14
PE
34831 mktime: merge HAVE_CONFIG_H change from gnulib
34832 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34833
5e1a27a9
L
348342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34835
0e44a77e
L
34836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34837 Use "neg %eax".
34838
5e1a27a9
L
34839 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34840 __rlim_t cast.
34841 (struct rusage): Use anonymous union to pad each field to
34842 __syscall_slong_t.
34843
46259bec
DM
348442012-05-21 David S. Miller <davem@davemloft.net>
34845
34846 * Makefules (o-iterator): Remove .s cases.
34847 (compile-command.s): Delete.
34848 (COMPILE.s): Delete.
34849 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34850
59f0c22e
JM
348512012-05-21 Joseph Myers <joseph@codesourcery.com>
34852
34853 * configure.in (libc_cv_predef_stack_protector): Only consider
34854 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34855 * configure: Regenerated.
34856
20c07380
L
348572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34858
bbb3154b
L
34859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34860 New macro. Use R*LP on int and pointer.
34861 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34862 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34863 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34864 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34865
20c07380
L
34866 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34867 [__WORDSIZE_TIME64_COMPAT32] instead of
34868 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34869 (struct utmp): Likewise.
34870 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34871 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34872 Renamed to ...
34873 (__WORDSIZE_TIME64_COMPAT32): This.
34874 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34875 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34876 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34877 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34878 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34879 (__WORDSIZE_TIME64_COMPAT32): New macro.
34880
d8d1017e
AJ
348812012-05-21 Andreas Jaeger <aj@suse.de>
34882
34883 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34884 only if [SHARED]. Add prototype for __wcschr_ia32.
34885
6c7fb145
RM
348862012-05-21 Roland McGrath <roland@hack.frob.com>
34887
34888 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34889 of %rbp unmolested in the jmp_buf while mangling the low bits.
34890 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34891 unmolested high bits of %rbp while demangling the low bits.
34892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34893
66274218
AJ
348942012-05-21 Andreas Jaeger <aj@suse.de>
34895
07c58f8f
AJ
34896 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34897 * sunrpc/svc_simple.c: Use it for registerrpc.
34898 * sunrpc/xcrypt.c: Use it for passwd2des.
34899
66274218
AJ
34900 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34901
61f65140
L
349022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34903
34904 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34905 Don't define if [__SYSCALL_WORDSIZE != 32].
34906 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34907 New macro.
34908
5fefb436
AJ
349092012-05-21 Bruno Haible <bruno@clisp.org>
34910 Andreas Jaeger <aj@suse.de>
34911
34912 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34913 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34914 inptr and inend for must_buffer_ch.
34915 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34916 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34917 * stdio-common/Makefile (tests): Remove bug15.
34918 (bug15-ENV): Remove macro.
34919 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34920 anymore.
34921
d8e272ab
AJ
349222012-05-19 Andreas Jaeger <aj@suse.de>
34923 Roland McGrath <roland@hack.frob.com>
34924
34925 * manual/contrib.texi: Completely rewritten. It contains now an
34926 alphabetical list of contributors and their contributions.
34927
4a56a162
RH
349282012-05-21 Richard Henderson <rth@twiddle.net>
34929
34930 * misc/getauxval.c (__getauxval): Use unsigned long int.
34931 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34932 (getauxval): Use unsigned long int.
34933
d024d23c
L
349342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34935
34936 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34937
cbc00a03
RM
349382012-05-21 Roland McGrath <roland@hack.frob.com>
34939
34940 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34941 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34942 __alignof__ (long double).
34943
478143fa
AZ
349442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34945
34946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34947
c7683a6d
RH
349482012-05-20 Richard Henderson <rth@twiddle.net>
34949
34950 * misc/getauxval.c: New file.
34951 * misc/sys/auxv.h: New file.
34952 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34953 (routines): Add getauxval.
34954 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34956 * elf/dl-sysdep.c (_dl_auxv): Remove.
34957 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34958 * elf/dl-support.c (_dl_auxv): New variable.
34959 (_dl_aux_init): Initialize it.
34960 * manual/startup.texi (Auxiliary Vector): New node.
34961 * sysdeps/generic/bits/hwcap.h: New file.
34962 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34963 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34964 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34965 * sysdeps/sparc/sysdep.h: ... here. Include it.
34966 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34969 Update.
c7683a6d
RH
34970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34973 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34978
a6f1845d
AZ
349792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34980
34981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34982
cbcbe830
DM
349832012-05-19 David S. Miller <davem@davemloft.net>
34984
34985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34986
e0b16cc2
JM
349872012-05-19 Joseph Myers <joseph@codesourcery.com>
34988
34989 [BZ #14123]
34990 * math/s_ccosh.c: Include <float.h>
34991 (__ccosh): Avoid internal overflow calculating sinh and cosh
34992 values before multiplying by sin and cos values.
34993 * math/s_ccoshf.c: Likewise.
34994 * math/s_ccoshl.c: Likewise.
34995 * math/s_csin.c: Likewise.
34996 * math/s_csinf.c: Likewise.
34997 * math/s_csinl.c: Likewise.
34998 * math/s_csinh.c: Likewise.
34999 * math/s_csinhf.c: Likewise.
35000 * math/s_csinhl.c: Likewise.
35001 * math/libm-test.inc (ccos_test): Add more tests.
35002 (ccosh_test): Likewise.
35003 (csin_test): Likewise.
35004 (csinh_test): Likewise.
35005 * sysdeps/i386/fpu/libm-test-ulps: Update.
35006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35007
6ad13e08
L
350082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35009
f66f0ce8
L
35010 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35011 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35012
6ad13e08
L
35013 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35014
b1d072a7
JM
350152012-05-19 Joseph Myers <joseph@codesourcery.com>
35016
35017 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35018 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35019 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35020 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35021 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35022 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35023 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35024 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35025 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35026 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35027 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35028 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35029 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35030 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35031 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35032 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35033 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35034 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35035 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35036 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35037 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35038 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35039 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35040 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35041 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35042 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35043 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35044 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35045 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35046 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35047 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35048
9eae47cb
AJ
350492012-05-18 Andreas Jaeger <aj@suse.de>
35050
35051 * csu/.gitignore: Delete.
35052
bb07f69f
L
350532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35056 (timex): Use __syscall_slong_t.
35057
e6bdb741
AJ
350582012-05-18 Andreas Jaeger <aj@suse.de>
35059 Carlos O'Donell <carlos_odonell@mentor.com>
35060
35061 * manual/install.texi (Configuring and compiling): Update
35062 description about files modified in the source directory.
d6c33fda 35063 * INSTALL: Regenerated.
e6bdb741 35064
1b74487e
L
350652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35066
35067 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35068 value. Use "or" to set return value to -1.
35069 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35070 negate return value.
35071
a88b64b9
TMQMF
350722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35073
57f41c40
AS
35074 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35075 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35076 failure if the compiler has Graphite support disabled.
35077 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35078 Likewise.
57f41c40
AS
35079 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35080 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35082 Likewise.
35083
3707636e
L
350842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35085
610b8622
L
35086 * sysdeps/x86_64/x32/_itoa.h: New file.
35087
7cd195df
L
35088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35089 getdents system call only if kernel and user dirents have the
35090 same d_ino and d_off.
35091
94b07d20
L
35092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35093 LLONG_MAX != LONG_MAX.
35094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35095 (_fitoa_word): Likewise.
35096
18298070
L
35097 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35098 years.
35099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35102
553c7ea4
L
35103 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35104 include <bits/wordsize.h>. Check __x86_64__ instead of
35105 __WORDSIZE.
35106 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35107 if __x86_64__ is defined. Use anonymous union on fpstate.
35108
3707636e
L
35109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35110 anonymous union.
35111
b53ef01a
AS
351122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35113
37fb1dc0
AS
35114 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35115 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35117 Refer to _rtld_local_ro instead of _rtld_global_ro.
35118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35119 Likewise.
35120 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35121 Likewise.
35122 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35123 Likewise.
35124 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35125 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35126 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35127
b53ef01a
AS
35128 * sysdeps/powerpc/powerpc32/dl-machine.c
35129 (__elf_machine_runtime_setup) [PROF]: Don't reference
35130 _dl_prof_resolve.
35131
7a185db2
AJ
351322012-05-18 Andreas Jaeger <aj@suse.de>
35133
35134 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35135 function only available for GCCs before 3.4 since GCC 3.4
35136 introduced a builtin.
35137 (lrint): Likewise.
35138 (llrintf): Likewise.
35139 (llrint): Likewise.
35140 (fmaxf): Likewise.
35141 (fmax): Likewise.
35142 (fminf): Likewise.
35143 (fmin): Likewise.
35144 (rint): Likewise.
35145 (rintf): Likewise.
35146 (nearbyint): Likewise.
35147 (nearbyintf): Likewise.
35148 (ceil): Likewise.
35149 (ceilf): Likewise.
35150 (floor): Likewise.
35151 (floorf): Likewise.
35152
3e5aef87
L
351532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35154
428bd707
L
35155 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35156 on both fields and cast pointer to __syscall_ulong_t.
35157
3e5aef87
L
35158 * bits/types.h (__fsword_t): New type.
35159 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35160 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35162 (__FSWORD_T_TYPE): Likewise.
35163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35164 (__FSWORD_T_TYPE): Likewise.
35165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35166 (__FSWORD_T_TYPE): Likewise.
35167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35168 (__FSWORD_T_TYPE): Likewise.
35169 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35170 __SWORD_TYPE with __fsword_t.
35171 (statfs64): Likewise.
35172
1ba7c3dc
DM
351732012-05-17 David S. Miller <davem@davemloft.net>
35174
35175 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35176
59910343
AJ
351772012-05-17 Andreas Jaeger <aj@suse.de>
35178
35179 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35180 warning.
35181
2e4c1e9e
L
351822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35183
35184 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35185
de7f5ce7
AJ
351862012-05-17 Andreas Jaeger <aj@suse.de>
35187
35188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35189 when it is used.
35190
286abc3d
CM
351912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35192
35193 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35194
477cc68e
L
351952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35196
35197 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35198 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35199
1a0994f5
CD
352002012-05-17 Andreas Jaeger <aj@suse.de>
35201 Carlos O'Donell <carlos_odonell@mentor.com>
35202
35203 [BZ #14059]
35204 * sysdeps/x86_64/multiarch/init-arch.h
35205 (bit_YMM_Usable): Rename to...
35206 (bit_AVX_Usable): ... this.
35207 (bit_FMA4_Usable): New macro.
35208 (bit_XMM_state): New macro.
35209 (bit_YMM_state): New macro.
35210 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35211 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35212 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35213 (CPUID_OSXSAVE): New macro.
35214 (CPUID_AVX): New macro.
35215 (CPUID_FMA4): New macro.
35216 (index_YMM_Usable): Rename to...
35217 (index_AVX_Usable): ... this.
35218 (HAS_AVX): Use HAS_ARCH_FEATURE.
35219 (HAS_FMA4): Likewise.
35220 (HAS_YMM_USABLE): Remove.
35221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35222 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35223 are present.
35224 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35225 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35226 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35227 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35228 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35229
0af797de
CM
352302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35231
35232 * math/libm-test.c: Support platforms without multiple rounding modes.
35233 * math/bug-nextafter.c: Support platforms without FP exceptions.
35234 * math/bug-nexttoward.c: Likewise.
35235 * math/test-fenv.c: Likewise.
35236 * math/test-misc.c: Likewise.
35237 * stdlib/bug-getcontext.c: Likewise.
35238
e39745ff
AJ
352392012-05-17 Andreas Jaeger <aj@suse.de>
35240
35241 * manual/examples/search.c (critter_cmp): Change signature to
35242 avoid warnings.
35243 * manual/string.texi (Collation Functions): Likewise.
35244
48970aba
L
352452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35246
35247 * bits/types.h: Fold copyright years.
35248 * bits/typesizes.h: Likewise.
35249 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35253 * time/time.h: Likewise.
35254
bedee953
PP
352552012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35256
35257 [BZ #208]
35258 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35259 in instead of returning them. Return void.
35260 (__libc_mallinfo): Accumulate over all arenas.
35261 (__malloc_stats): Adjust for change in int_mallinfo interface.
35262
61653dfb
RM
352632012-05-16 Roland McGrath <roland@hack.frob.com>
35264
30b99d79
RM
35265 [BZ #10375]
35266 * configure.in (NM): Add AC_CHECK_TOOL for it.
35267 (libc_extra_cflags): New substituted variable.
35268 Check for -fstack-protector being used implicitly.
35269 * configure: Regenerated.
35270 * config.make.in (config-extra-cflags): New variable,
35271 gets @libc_extra_cflags@.
35272 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35273
61653dfb
RM
35274 [BZ #10375]
35275 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35276 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35277 * configure: Regenerated.
35278 * config.make.in (CPPUNDEFS): New substituted variable.
35279 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35280 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35281 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35282
661768bb
L
352832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35284
35285 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35286 (mq_attr): Use __syscall_slong_t.
35287
d4261567
L
352882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35289
35290 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35291 Check __x86_64__ instead of __WORDSIZE.
35292 (_STAT_VER_LINUX): Likewise.
35293 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35294 __syscall_ulong_t and __syscall_slong_t.
35295 (stat64): Likewise.
35296
cf3ff365
L
352972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35298
35299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35300
76cf3e4d
L
353012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35302
35303 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35304
a637753a
L
353052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35308 __syscall_ulong_t.
35309
d5e05119
L
35310 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35311 include <bits/wordsize.h>. Check __x86_64__ instead of
35312 __WORDSIZE.
35313 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35314 defined.
35315 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35316
f62ee380
L
35317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35318 include <bits/wordsize.h>. Check __x86_64__ instead of
35319 __WORDSIZE.
35320 (user_regs_struct): Use "__extension__ unsigned long long"
35321 instead of "unsigned long" if __x86_64__ is defined.
35322 (user): Likewise. Pad after pointer field if __ILP32__ is
35323 defined.
35324
4e124ced
JM
353252012-05-16 Joseph Myers <joseph@codesourcery.com>
35326
6a3951a0
JM
35327 * configure.in (makeinfo): Require version 4.5 or later. Allow
35328 versions 5 to 9.
35329 * configure: Regenerated.
35330 * manual/install.texi (texinfo): Increase version requirement to
35331 4.5 or later.
35332 * INSTALL: Regenerated.
35333
4e124ced
JM
35334 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35335
953ca31a
L
353362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35337
35338 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35339
617aca05
L
35340 * sysdeps/x86_64/x32/ffs.c: New file.
35341
5762f7ae
L
35342 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35343 __syscall_ulong_t.
35344 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35345 defined. Use __syscall_ulong_t.
35346 (shminfo): Use __syscall_ulong_t.
35347 (shm_info): Likewise.
35348
a26b6856
L
35349 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35350 __syscall_ulong_t.
35351
cb2b9ef7
L
35352 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35353 <bits/wordsize.h>.
35354 (msgqnum_t): Use __syscall_ulong_t.
35355 (msglen_t): Likewise.
35356 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35357 __syscall_ulong_t.
35358
34683bb0
L
35359 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35361
84a68786
L
35362 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35363
48baa5f1
L
35364 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35365 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35366
180be88b
L
35367 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35368 __syscall_slong_t.
35369
5e90c8ad
L
35370 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35371 include <bits/wordsize.h>. Check __x86_64__ instead of
35372 __WORDSIZE.
35373
23dfb58b
L
35374 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35375 "unsigned long long int" if __x86_64__ is defined.
35376 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35377
ce5d54b0
L
35378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35379 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35380 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35381
13dc9eac
L
35382 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35383 <stdint.h>.
35384 (GET_PC): Cast to uintptr_t first.
35385 (GET_FRAME): Likewise.
35386 (GET_STACK): Likewise.
35387
a7895d15
L
35388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35389 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35391 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35393 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35394 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35395 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35396 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35397 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35398 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35400 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35401 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35402 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35403 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35404 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35410 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35412 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35414 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35415 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35416 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35417
656416c9
AS
354182012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35419
5bd66283
AS
35420 * Makerules (+depfiles): Also collect depfiles from .oS in
35421 $(extra-objs).
35422 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35423 .oS, $(libnldbl-routines)).
35424
656416c9
AS
35425 * Makerules (native-compile-mkdep-flags): Define.
35426 * sunrpc/Makefile (extra-objs): Add $(addprefix
35427 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35428 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35429 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35430 calling $(make-target-directory).
35431
a46f2169
L
354322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35433
35434 * bits/types.h (__snseconds_t): Removed.
35435 * time/time.h (struct timespec): Replace __snseconds_t with
35436 __syscall_slong_t.
35437 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35438 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35439 Likewise.
35440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35441 (__SNSECONDS_T_TYPE): Likewise.
35442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35443 (__SNSECONDS_T_TYPE): Likewise.
35444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35445 (__SNSECONDS_T_TYPE): Likewise.
35446
6af6528b
L
354472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35448
35449 * sysdeps/mach/hurd/bits/typesizes.h
35450 (__SYSCALL_SLONG_TYPE): New macro.
35451 (__SYSCALL_ULONG_TYPE): Likewise.
35452
de986b56
L
354532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35454
35455 * bits/types.h (__syscall_slong_t): New type.
35456 (__syscall_ulong_t): Likewise.
35457
35458 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35459 (__SYSCALL_ULONG_TYPE): Likewise.
35460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35461 (__SYSCALL_SLONG_TYPE): Likewise.
35462 (__SYSCALL_ULONG_TYPE): Likewise.
35463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35464 (__SYSCALL_SLONG_TYPE): Likewise.
35465 (__SYSCALL_ULONG_TYPE): Likewise.
35466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35467 (__SYSCALL_SLONG_TYPE): Likewise.
35468 (__SYSCALL_ULONG_TYPE): Likewise.
35469
85736dc7
L
354702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35471
35472 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35473 Add sigaltstack-offsets.sym.
35474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35475 <sigaltstack-offsets.h>.
35476 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35477 longjmp_msg pointer.
35478 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35479 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35480 signal stack.
35481 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35482
cc03b296
JM
354832012-05-15 Joseph Myers <joseph@codesourcery.com>
35484
a9538892
JM
35485 * elf/stackguard-macros.h: Remove file.
35486 * sysdeps/generic/stackguard-macros.h: New file.
35487 * sysdeps/i386/stackguard-macros.h: Likewise.
35488 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35489 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35490 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35491 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35492 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35493 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35494 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35495 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35496 <elf/stackguard-macros.h>.
35497
cc03b296
JM
35498 [BZ #14109]
35499 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35500 __aligned__ in attribute.
35501 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35502 (gregset_t): Likewise.
35503
93171016
L
355042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35505
35506 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35507 * sysdeps/x86_64/64/Implies-after: Here. New file.
35508 * sysdeps/x86_64/x32/Implies-after: New file.
35509
d86813a0
L
355102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35511
35512 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35513 and access return value for _dl_profile_fixup. Use R10_LP to
35514 load frame size.
35515
2953ec75
L
355162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35517
35518 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35519
3b550e9e
L
355202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35521
35522 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35523 * sysdeps/x86_64/x32/sysdep.h: New file.
35524
eda41706
L
355252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35526
35527 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35528 * sysdeps/x86_64/setjmp.S: Likewise.
35529
9ea01d93
AZ
355302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35531
35532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35533 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35534 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35536 remove unused global constant.
35537
02a91938
CM
355382012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35539
35540 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35541 include of <not-cancel.h>.
35542
6540185f
RM
355432012-05-15 Roland McGrath <roland@hack.frob.com>
35544
35545 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35546
509072a0
AJ
355472012-05-15 Jeff Law <law@redhat.com>
35548 Andreas Jaeger <aj@suse.de>
35549
35550 [BZ #13594]
35551 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35552 out from...
35553 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35554 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35555 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35556 code changing __hst_map_handle.map.
35557
ba75122d
RM
355582012-05-15 Roland McGrath <roland@hack.frob.com>
35559
35560 * configure.in (sysnames): Look for Implies-before and Implies-after
35561 files.
35562 * configure: Regenerated.
35563
890d8bd8
L
355642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35565
35566 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35567 8-byte data alignment with LP_SIZE alignment.
35568
f6ee6623
L
355692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35570
35571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35572 into R10_LP.
35573
ea2626f6
L
355742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35575
35576 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35577
085f715e
L
355782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35579
35580 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35581 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35583 Likewise.
35584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35585
be8498fc
L
355862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35587
35588 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35589 (stackinfo_sub_sp): Likewise.
35590
70bc83b9
L
355912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35592
35593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35594 RAX_LP.
35595
9bc0b730
L
355962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35597
35598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35599 into R*_LP.
35600
6d2850e7
L
356012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35602
35603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35604 sizes into R*_LP.
35605
3cb84561
L
356062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35607
35608 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35609
54e2ed81
L
356102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35611
35612 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35613 into R11_LP and load __x86_64_shared_cache_size_half into
35614 R8_LP.
35615
8a17f349
L
356162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35617
35618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35619 R8_LP.
35620
777b1eea
AZ
356212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35622
35623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35624 logb for POWER7.
35625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35626 logbf for POWER7.
35627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35628 logbl for POWER7.
35629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35630 powerpc32/power7/fpu/s_logb.c via #include.
35631 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35632 powerpc32/power7/fpu/s_logbf.c via #include.
35633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35634 powerpc32/power7/fpu/s_logbl.c via #include.
35635
d20d4ac2
JM
356362012-05-15 Joseph Myers <joseph@codesourcery.com>
35637
35638 * README.libm: Remove file.
35639
6cdef1ab
L
356402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35641
35642 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35643 count for x32. Use R*_LP and omit operand-size suffix.
35644
0b254d8f
L
356452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35646
35647 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35648 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35649 * sysdeps/x86_64/x32/shlib-versions: New file.
35650
ceb809dc
RM
356512012-05-14 Roland McGrath <roland@hack.frob.com>
35652
35653 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35654 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35655 Use _dl_fatal_printf instead.
35656
37f1abd4
JM
356572012-05-14 Joseph Myers <joseph@codesourcery.com>
35658
35659 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35660 set if not set by the user. Do not allow for being unset.
35661 * sysdeps/unix/sysv/linux/configure: Regenerated.
35662
11de3a33
L
356632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35664
35665 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35666 the `q' suffix from lea and replace .quad with ASM_ADDR.
35667
e02f153a
L
356682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35669
35670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35671 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35672 instead of $17.
35673 (PTR_DEMANGLE): Likewise.
35674
520ae0fd
L
356752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35676
35677 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35678 (LP_OP): Likewise.
35679 (ASM_ADDR): Likewise.
35680 (RAX_LP): Likewise.
35681 (RBP_LP): Likewise.
35682 (RBX_LP): Likewise.
35683 (RCX_LP): Likewise.
35684 (RDI_LP): Likewise.
35685 (RSI_LP): Likewise.
35686 (RSP_LP): Likewise.
35687 (R8_LP): Likewise.
35688 (R9_LP): Likewise.
35689 (R10_LP): Likewise.
35690 (R10_LP): Likewise.
35691 (R11_LP): Likewise.
35692 (R12_LP): Likewise.
35693 (R13_LP): Likewise.
35694 (R14_LP): Likewise.
35695 (R15_LP): Likewise.
35696
b985be81
L
356972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35698
35699 * sysdeps/x86_64/x32/dl-machine.h: New file.
35700
6a4888ff
AJ
357012012-05-14 Andreas Jaeger <aj@suse.de>
35702
35703 * manual/Makefile (subdir): Remove export of subdir.
35704 (all): Remove target.
35705 (.PHONY): Remove all from list.
35706 (mkinstalldirs): Remove.
35707 (.PHONY): Remove installdirs from list.
35708 ($(inst_infodir)/libc.info): Use make-target-directory.
35709 (installdirs): Remove.
35710 (subdir_%): Remove.
35711 (glibc-targets): Remove.
35712 (lib): Remove.
35713 (stubs): Remove.
35714 ($(objpfx)stubs ../po/manual.pot): Remove.
35715 ($(objpfx)stamp%): Remove.
35716 (make-target-directory): Remove.
35717 (subdir_install): Remove.
35718 (routines): Remove.
35719 (aux): Remove.
35720 (sources): Remove.
35721 (objects): Remove.
35722 (headers): Remove.
35723
35724 [BZ #13750]
35725 * manual/.gitignore: Remove, it's not needed anymore.
35726 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35727 all files in it.
35728 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35729 directory.
35730 (texis): Renamed to $(objpfx)texis.
35731 (texis-path): New, contains path to generated files.
35732 (chapters.%): Use texis-path for complete path, add extra argument
35733 libc-texinfo.sh.
35734 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35735 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35736 (summary,texi, stamp-summary): Use complete path of
35737 files. Generate files in build dir.
35738 (dir-add.texi): Build in build dir.
35739 (libm-err.texi,stamp-libm-err): Likewise.
35740 (version.texi, stamp-version): Likewise.
35741 (.%c.texi): Likewise.
35742 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35743 (mostlyclean): Remove target.
35744 (realclean): Remove target.
35745 (generated): Add new variable with contents from mostlyclean and
35746 realclean, remove entries duplicated in common-mostlyclean, add
35747 stamp-libm-err and stamp-version.
35748 (generated-dirs): Add libc directory.
35749 ($(inst_infodir)/libc.info): Install files from build dir.
35750
35751 * manual/install.texi (Configuring and compiling): Adjust since
35752 the info files are not part of the tar ball anymore.
35753
7ac77294
AJ
357542012-05-14 Andreas Jaeger <aj@suse.de>
35755
35756 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35757 variable.
35758
ffb7875d
JM
357592012-05-14 Joseph Myers <joseph@codesourcery.com>
35760
35761 [BZ #13717]
35762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35763 to 2.2.0 where earlier.
35764 * sysdeps/unix/sysv/linux/configure: Regenerated.
35765 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35766 Remove conditional code.
35767 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35768 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35769 Remove conditional code.
35770 [!__NR_lchown]: Likewise.
35771 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35772 [__NR_lchown]: Likewise.
35773 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35774 comment referencing __ASSUME_LCHOWN_SYSCALL.
35775 * sysdeps/unix/sysv/linux/i386/sigaction.c
35776 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35777 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35778 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35779 Remove conditional code.
35780 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35781 (__protocol_available): Remove #if 0 code.
35782 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35783 conditional code.
35784 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35785 * sysdeps/unix/sysv/linux/kernel-features.h
35786 (__ASSUME_GETCWD_SYSCALL): Don't define.
35787 (__ASSUME_REALTIME_SIGNALS): Likewise.
35788 (__ASSUME_PREAD_SYSCALL): Likewise.
35789 (__ASSUME_PWRITE_SYSCALL): Likewise.
35790 (__ASSUME_POLL_SYSCALL): Likewise.
35791 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35792 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35793 non-SPARC.
35794 (__ASSUME_SIOCGIFNAME): Don't define.
35795 (__ASSUME_MSG_NOSIGNAL): Likewise.
35796 (__ASSUME_SENDFILE): Define unconditionally.
35797 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35798 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35799 conditional code.
35800 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35801 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35802 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35803 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35804 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35805 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35806 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35808 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35811 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35814 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35823 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35829 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35831 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35832 Remove conditional code.
35833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35834 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35835 Remove conditional code.
35836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35837 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35838 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35839 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35840 Remove conditional code.
35841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35842 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35843 Remove conditional code.
35844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35845 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35846 Remove conditional code.
35847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35848 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35849 Remove conditional code.
35850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35851 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35852 Remove conditional code.
35853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35854 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35857 * sysdeps/unix/sysv/linux/sigaction.c
35858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35860 * sysdeps/unix/sysv/linux/sigpending.c
35861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35863 * sysdeps/unix/sysv/linux/sigprocmask.c
35864 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35865 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35866 * sysdeps/unix/sysv/linux/sigsuspend.c
35867 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35868 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35870 (__libc_missing_rt_sigs): Remove.
35871 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35872 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35873 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35874 Remove conditional code.
35875 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35876 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35877 return 1.
35878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35879 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35880 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35881 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35882
1bfb7291
AJ
358832012-05-14 Andreas Jaeger <aj@suse.de>
35884
caae5a81
AJ
35885 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35886 it's not used in glibc.
35887 (__coshm1): Likewise.
35888 (__acosh1p): Likewise.
35889 (__sgn): Likewise.
35890
1bfb7291
AJ
35891 * manual/string.texi (Copying and Concatenation): Add missing
35892 variable in concat example.
35893 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35894
c044d724
L
358952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35896
144c5467 35897 [BZ #14103]
c044d724
L
35898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35899 __builtin_clzl with __builtin_clzll.
35900
2523c62b
L
359012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35902
35903 [BZ #14104]
35904 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35905 libc_freeres_ptr.
35906
d7bb4c42
LD
359072012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35908
35909 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35910 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35911 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35912 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35913
9dc4e1fb
MF
359142012-05-14 Mike Frysinger <vapier@gentoo.org>
35915
35916 * NEWS: Update ia64 info.
35917
c7df0112
AS
359182012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35919
35920 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35921 used as bcopy.
35922
dc70356c
TS
359232012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35924
35925 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35926 * sysdeps/unix/syscalls.list (dup3): Likewise.
35927 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35928 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35929
9fb1a21f
L
359302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35931
35932 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35933 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35934
4822a2a5
L
359352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35936
35937 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35938 thread pointer.
35939 (TLS_IE): Use mov/add instead of movq/addq to load thread
35940 pointer.
35941 (TLS_GD_PREFIX): New.
35942 (TLS_GD): Use it.
35943
842b81d6
DM
359442012-05-11 David S. Miller <davem@davemloft.net>
35945
35946 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35947 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35948 (_FPU_SETCW): Likewise.
35949
1cf463cd
L
359502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35951
35952 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35953 is 32-byte aligned.
35954
60cc4a18
AS
359552012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35956
35957 [BZ #11837]
35958 * iconvdata/gb18030.c: Update tables.
35959 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35960 characters specially.
35961 (BODY for TO_LOOP): Add encoding of missing ranges.
35962
febb44a4
TS
359632012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35964
35965 [BZ #13673]
35966 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35967 * sysdeps/mach/hurd/dup3.c: Likewise.
35968 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35969 * sysdeps/powerpc/memmove.c:: Likewise.
35970
0a10fb9e
L
359712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35972
35973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35974 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35975
df8a552f
L
359762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35977
35978 * elf/elf.h (R_X86_64_RELATIVE64): New.
35979 (R_X86_64_NUM): Updated.
35980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35981 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35982 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35983 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35984 tst-quad1pie tst-quad2pie
35985 (modules-names): Add tst-quadmod1 tst-quadmod2.
35986 ($(objpfx)tst-quad1): New dependency.
35987 ($(objpfx)tst-quad2): Likewise.
35988 ($(objpfx)tst-quad1pie): Likewise.
35989 ($(objpfx)tst-quad2pie): Likewise.
35990 * sysdeps/x86_64/tst-quad1.c: New file.
35991 * sysdeps/x86_64/tst-quad1pie.c: New file.
35992 * sysdeps/x86_64/tst-quad2.c: Likewise.
35993 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35994 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35995 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35996 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35997 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35998
f34d6f84
ST
359992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36000
f42d41d1
ST
36001 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36002 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36003 * streams/stropts.h (t_scalar_t): Define type.
36004
3c3571fc
ST
36005 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36006 (_PATH_PRESERVE): Set to "/var/lib".
36007 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36008
61f06bd3
ST
36009 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36010 instead of int.
36011
918d4d71
ST
36012 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36013 if __dir_mkfile succeeded.
36014
f34d6f84
ST
36015 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36016 checking for _hurd_dtablesize. Unlock it right after having
36017 finished _hurd_dtable allocation.
36018
10589b4a
TS
360192012-05-10 Thomas Schwinge <thomas@schwinge.name>
36020
674cdbc7
TS
36021 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36022 * sysdeps/mach/hurd/configure: Regenerated.
36023 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36024 special-casing to...
36025 * sysdeps/gnu/configure.in: ... this new file.
36026 * sysdeps/unix/sysv/linux/configure: Regenerated.
36027 * sysdeps/gnu/configure: New generated file.
36028
8e41b99f
TS
36029 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36030 for Linux: use nsec instead of usec, as well as:
36031 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36032 members of type struct timespec.
36033 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36034 New macros.
36035 (struct stat64): Likewise.
36036 (_STATBUF_ST_NSEC): New macro.
36037 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36038
10589b4a
TS
36039 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36040 __strtoul_internal rather than strtoul.
36041
63643c85
PT
360422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36043
36044 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36045 and reject them.
36046
3faebe6a
ST
360472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36048
36049 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36050 which preserves existing values.
36051 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36052
c6474b07
PT
360532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36054
36055 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36056 TIMEOUT values. Return EINVAL for NFDS values either negative or
36057 greater than FD_SETSIZE.
36058
1043890b
ST
360592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36060
36061 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36062 allocated, call __vm_protect to finish enabling the existing space, and
36063 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36064 allocate the remainder.
36065
37ed8b9b
PT
360662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36067
36068 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36069 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36070
db653660
ST
360712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36072
37ed8b9b
PT
36073 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36074 sysdeps/mach/hurd/readlink.c.
b29d4053 36075
db653660
ST
36076 * posix/tst-sysconf.c (posix_options): Only use
36077 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36078 _POSIX_SYNCHRONIZED_IO when they are defined
36079 * sysdeps/mach/hurd/bits/posix_opt.h:
36080 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36081 (_XOPEN_REALTIME): Undefine macro.
36082 (_XOPEN_REALTIME_THREADS): Undefine macro.
36083 (_XOPEN_SHM): Undefine macro.
36084 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36085 macro to -1.
36086 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36087 macro to -1.
36088 (_POSIX_ASYNC_IO): Undefine macro.
36089 (_POSIX_PRIORITIZED_IO): Undefine macro.
36090 (_POSIX_SPIN_LOCKS): Define macro to -1.
36091
ee16e894
ST
36092 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36093 SA_NODEFER, SA_RESETHAND.
36094 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36095 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36096 F_DUPFD_CLOEXEC.
36097
6103ae3b
TS
360982012-05-10 Thomas Schwinge <thomas@schwinge.name>
36099
36100 * elf/Makefile (pldd-modules): Define unconditionally.
36101
80b4e5f3
TS
361022012-05-10 Thomas Schwinge <thomas@schwinge.name>
36103
36104 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36105
edadcbd6
ST
361062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36107
36108 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36109 Return ENOENT when name is empty.
36110 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36111
80694780
TS
361122012-05-10 Thomas Schwinge <thomas@schwinge.name>
36113
1792c087
TS
36114 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36115
80694780
TS
36116 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36117
6b645f0d
ST
361182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36119
80694780
TS
36120 Fix mlock in all cases except non-readable pages.
36121 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36122 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36123
6b645f0d
ST
36124 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36125 (__mkdir): When path is `/', just fail with EEXIST.
36126 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36127
e468f8a3
TS
361282012-05-10 Thomas Schwinge <thomas@schwinge.name>
36129
36130 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36131 <sys/uio.h> (for writev).
36132 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36133 and <sys/param.h> (for MIN).
36134
a4186cff
PT
361352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36136
36137 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36138 REQUESTED_TIME. Properly set the remaining time and return EINTR
36139 if interrupted.
36140
510bbf14
TS
361412012-05-10 Thomas Schwinge <thomas@schwinge.name>
36142
36143 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36144 Depend on against $(link-rpcuserlibs).
36145
5d5722e8
ST
361462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36147
a4186cff
PT
36148 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36149 (__libc_stack_end): Do not use attribute_relro.
36150 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36151 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36152 to libthread-provided value.
a4186cff
PT
36153 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36154 attribute_relro.
5d5722e8 36155
37233df9
TS
361562012-05-10 Thomas Schwinge <thomas@schwinge.name>
36157
be971a2b
TS
36158 [BZ #3748]
36159 * bits/libc-lock.h (__libc_once_get): New macro.
36160 * sysdeps/mach/bits/libc-lock.h: Likewise.
36161 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36163 instead of using implementation details.
36164
37233df9
TS
36165 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36166 * libio/freopen.c: Likewise.
36167 * libio/freopen64.c: Likewise.
36168 * misc/syslog.c: Likewise.
36169 * nscd/connections.c: Likewise.
36170 * nscd/netgroupcache.c: Likewise.
36171 * sysdeps/posix/getcwd.c: Likewise.
36172
38de94a5
RM
361732012-05-10 Roland McGrath <roland@hack.frob.com>
36174
36175 * math/w_ilogbf.c: Add #include <limits.h>.
36176
67530489
ST
361772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36178
a4186cff 36179 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36180 path instead of returning without unlocking.
36181
67530489
ST
36182 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36183 immediate-write ioctls.
36184 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36185
5aa3a74a
TS
361862012-05-10 Thomas Schwinge <thomas@schwinge.name>
36187
18bad2ae
TS
36188 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36189 __builtin_frame_address instead of making assumptions about the
36190 location of the return address relative to DATA. Force early load of
36191 the return address.
36192 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36193 __builtin_frame_address.
36194
5aa3a74a
TS
36195 dup3 for GNU Hurd.
36196 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36197 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36198 implement dup3 and do some further code clean-ups.
36199 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36201
ecd0de9a
ST
362022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36203
cd9fa985
ST
36204 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36205
a4186cff
PT
36206 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36207 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36208 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36209 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36210 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36211 d->port.lock.
802ca5a5 36212
a4186cff
PT
36213 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36214 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36215 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36216
bcf55240
TS
362172012-05-10 Thomas Schwinge <thomas@schwinge.name>
36218
6960eb42
TS
36219 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36220 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36221 definitions.
36222
eb43375f
TS
36223 accept4 for GNU Hurd.
36224 * include/sys/socket.h (__libc_accept4): New prototype.
36225 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36226 to implement __libc_accept4.
36227 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36228 __libc_accept4.
36229 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36230
bcf55240
TS
36231 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36232 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36233 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36234 signal-defines.sym.
36235
6178c55b
ST
362362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36237
a4186cff 36238 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36239
6f080c2f
TS
362402012-05-10 Thomas Schwinge <thomas@schwinge.name>
36241
36242 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36243 assertion on O_CLOEXEC flag.
36244 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36245 * hurd/intern-fd.c: Likewise.
36246 * hurd/port2fd.c: Likewise.
36247
bcfe3a54
ST
362482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36249
36250 [BZ #3906]
36251 * bits/in.h (IPV6_PKTINFO): Define new macro.
36252 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36253
89c9aa49
AZ
362542012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36255
36256 [BZ #13954]
36257 [BZ #13955]
36258 [BZ #13956]
36259 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36261 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36262 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36264 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36265 * math/libm-test.inc (logb_test) : Additional logb tests.
36266
021db4be
AJ
362672012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36268 Andreas Jaeger <aj@suse.de>
36269
36270 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36271 * configure: Regenerated.
36272 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36273 * config.make.in (link-obsolete-rpc): New substituted variable.
36274 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36275 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36276 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36277 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36278 so that libc.a contains the symbols.
36279 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36280 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36281 * sunrpc/auth_none.c: Likewise.
36282 * sunrpc/auth_unix.c: Likewise.
36283 * sunrpc/authdes_prot.c: Likewise.
36284 * sunrpc/authuxprot.c: Likewise.
36285 * sunrpc/clnt_gen.c: Likewise.
36286 * sunrpc/clnt_perr.c: Likewise.
36287 * sunrpc/clnt_raw.c: Likewise.
36288 * sunrpc/clnt_simp.c: Likewise.
36289 * sunrpc/clnt_tcp.c: Likewise.
36290 * sunrpc/clnt_udp.c: Likewise.
36291 * sunrpc/clnt_unix.c: Likewise.
36292 * sunrpc/des_crypt.c: Likewise.
36293 * sunrpc/des_soft.c: Likewise.
36294 * sunrpc/get_myaddr.c: Likewise.
36295 * sunrpc/key_call.c: Likewise.
36296 * sunrpc/key_prot.c: Likewise.
36297 * sunrpc/netname.c: Likewise.
36298 * sunrpc/pm_getmaps.c: Likewise.
36299 * sunrpc/pm_getport.c: Likewise.
36300 * sunrpc/pmap_clnt.c: Likewise.
36301 * sunrpc/pmap_prot.c: Likewise.
36302 * sunrpc/pmap_prot2.c: Likewise.
36303 * sunrpc/pmap_rmt.c: Likewise.
36304 * sunrpc/publickey.c: Likewise.
36305 * sunrpc/rpc_cmsg.c: Likewise.
36306 * sunrpc/rpc_common.c: Likewise.
36307 * sunrpc/rpc_dtable.c: Likewise.
36308 * sunrpc/rpc_prot.c: Likewise.
36309 * sunrpc/rpc_thread.c: Likewise.
36310 * sunrpc/rtime.c: Likewise.
36311 * sunrpc/svc.c: Likewise.
36312 * sunrpc/svc_auth.c: Likewise.
36313 * sunrpc/svc_raw.c: Likewise.
36314 * sunrpc/svc_run.c: Likewise.
36315 * sunrpc/svc_tcp.c: Likewise.
36316 * sunrpc/svc_udp.c: Likewise.
36317 * sunrpc/svc_unix.c: Likewise.
36318 * sunrpc/svcauth_des.c: Likewise.
36319 * sunrpc/xcrypt.c: Likewise.
36320 * sunrpc/xdr.c: Likewise.
36321 * sunrpc/xdr_array.c: Likewise.
36322 * sunrpc/xdr_float.c: Likewise.
36323 * sunrpc/xdr_intXX_t.c: Likewise.
36324 * sunrpc/xdr_mem.c: Likewise.
36325 * sunrpc/xdr_rec.c: Likewise.
36326 * sunrpc/xdr_ref.c: Likewise.
36327 * sunrpc/xdr_sizeof.c: Likewise.
36328 * sunrpc/xdr_stdio.c: Likewise.
36329
b5c086a2
RM
363302012-05-10 Roland McGrath <roland@hack.frob.com>
36331
36332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36333 change. Update copyright years.
36334
6d74dd09
JM
363352012-05-10 Joseph Myers <joseph@codesourcery.com>
36336
36337 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36338
28e72501
MK
363392012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36340 Joseph Myers <joseph@codesourcery.com>
36341 Paul Pluzhnikov <ppluzhnikov@google.com>
36342
36343 [BZ #14012]
36344 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36345 requiring rpcgen.
36346 [cross-compiling] (extra-libs): Likewise.
36347 [cross-compiling] (extra-libs-others): Likewise.
36348 [cross-compiling] (librpcsvc-routines): Likewise.
36349 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36350 [cross-compiling] (omit-deps): Likewise.
36351 (sunrpc-CPPFLAGS): New variable.
36352 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36353 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36354 (cross-rpcgen-objs): New variable.
36355 (extra-objs): Append $(cross-rpcgen-objs).
36356 ($(cross-rpcgen-objs)): New rule.
36357 ($(objpfx)cross-rpcgen): Likewise.
36358 (rpcgen-cmd): Define to use $(built-program-file). Expand
36359 comment.
36360 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36361 ($(objpfx)x%.stmp): Likewise.
36362 * sunrpc/proto.h [IS_IN_build] (_): Define.
36363 [IS_IN_build] (_libc_intl_domainname): Likewise.
36364
c8c59454
L
363652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36366
36367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36368 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36369 and R_X86_64_TPOFF64.
36370
6f27cd16
JM
363712012-05-10 Joseph Myers <joseph@codesourcery.com>
36372
36373 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36374 sysdeps/unix/sysv/syscalls.list.
36375 (stime): Likewise.
36376 (utime): Likewise.
36377 * sysdeps/unix/sysv/syscalls.list: Remove file.
36378
02467e1c
PE
363792012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36380
36381 [BZ #3440]
36382 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36383 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36384 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36385 (__LC_IDENTIFICATION): Make these macros useful in #if
36386 expressions, as required by C99.
36387
da392631
AS
363882012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36389
36390 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36391 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36392 after this.
36393
8115f29b
L
363942012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36395
36396 * stdlib/longlong.h: Updated from GCC.
36397
bdd74070
AJ
363982012-05-09 Andreas Jaeger <aj@suse.de>
36399
edfe0dbe
AJ
36400 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36401 default is first entry.
36402 (run_mode): Set type.
36403 (main): Remove informal message about syslog.
36404 (options): Fix typo.
36405
bcfe3a54
ST
36406 [BZ #14053]
36407 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36408 to asm.
bcfe3a54
ST
36409 (lrint): Likewise.
36410 (llrintf): Likewise.
36411 (llrint): Likewise.
36412 (rint): Likewise.
36413 (rintf): Likewise.
36414 (nearbyint): Likewise.
36415 (nearbyintf): Likewise.
bdd74070 36416
91d8d69e
AJ
364172012-05-09 Andreas Jaeger <aj@suse.de>
36418 Pedro Alves <palves@redhat.com>
36419
36420 * nscd/nscd.c (run_mode): Use enum.
36421 (main): Cleanup coding style issue.
36422
bb90b80b
AJ
364232012-05-09 Alexandre Oliva <aoliva@redhat.com>
36424 Andreas Jaeger <aj@suse.de>
36425
bcfe3a54
ST
36426 * nscd/nscd.c (go_background): Replaced with...
36427 (run_mode): ... this.
bb90b80b 36428 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36429 (options): Add -F --foreground.
36430 (main): Implement it.
36431 (parse_opt): Parse it.
bb90b80b 36432
1a4b75a1
AJ
364332012-05-09 Andreas Jaeger <aj@suse.de>
36434
36435 [BZ #14083]
36436 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36437 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36438 -Wconversion warning.
36439 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36440 Likewise.
36441
b1cc2472
JM
364422012-05-09 Joseph Myers <joseph@codesourcery.com>
36443
36444 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36445 == 0.
36446 (LC_ALL): Use macro-int-constant.
36447 (LC_COLLATE): Likewise.
36448 (LC_CTYPE): Likewise.
36449 (LC_MESSAGES): Likewise.
36450 (LC_MONETARY): Likewise.
36451 (LC_NUMERIC): Likewise.
36452 (LC_TIME): Likewise.
36453 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36454 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36456 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36457 Specify type.
36458 [C99-based standards] (float_t): Expect type.
36459 [C99-based standards] (double_t): Expect type.
36460 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36461 type.
36462 [C99-based standards] (HUGE_VALL): Likewise.
36463 [C99-based standards] (INFINITY): Likewise.
36464 [C99-based standards] (NAN): Likewise.
36465 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36466 [C99-based standards] (FP_NAN): Likewise.
36467 [C99-based standards] (FP_NORMAL): Likewise.
36468 [C99-based standards] (FP_SUBNORMAL): Likewise.
36469 [C99-based standards] (FP_ZERO): Likewise.
36470 [C99-based standards] (FP_FAST_FMA): Use
36471 optional-macro-int-constant. Specify type. Require == 1.
36472 [C99-based standards] (FP_FAST_FMAF): Likewise.
36473 [C99-based standards] (FP_FAST_FMAL): Likewise.
36474 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36475 [C99-based standards] (FP_ILOGBNAN): Likewise.
36476 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36477 Specify type.
36478 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36479 [C99-based standards] (math_errhandling): Specify type.
36480 [ISO99 || ISO11] (signgam): Do not allow.
36481 [non-C99-based standards] (copysignf): Do not allow.
36482 [non-C99-based standards] (exp2f): Likewise.
36483 [non-C99-based standards] (log2f): Likewise.
36484 [non-C99-based standards] (modff): Allow.
36485 [non-C99-based standards] (erff): Do not allow.
36486 [non-C99-based standards] (erfcf): Likewise.
36487 [non-C99-based standards] (gammaf): Likewise.
36488 [non-C99-based standards] (hypotf): Likewise.
36489 [non-C99-based standards] (j0f): Likewise.
36490 [non-C99-based standards] (j1f): Likewise.
36491 [non-C99-based standards] (jnf): Likewise.
36492 [non-C99-based standards] (lgammaf): Likewise.
36493 [non-C99-based standards] (tgammaf): Likewise.
36494 [non-C99-based standards] (y0f): Likewise.
36495 [non-C99-based standards] (y1f): Likewise.
36496 [non-C99-based standards] (ynf): Likewise.
36497 [non-C99-based standards] (isnanf): Likewise.
36498 [non-C99-based standards] (acoshf): Likewise.
36499 [non-C99-based standards] (asinhf): Likewise.
36500 [non-C99-based standards] (atanhf): Likewise.
36501 [non-C99-based standards] (cbrtf): Likewise.
36502 [non-C99-based standards] (expm1f): Likewise.
36503 [non-C99-based standards] (ilogbf): Likewise.
36504 [non-C99-based standards] (log1pf): Likewise.
36505 [non-C99-based standards] (logbf): Likewise.
36506 [non-C99-based standards] (nextafterf): Likewise.
36507 [non-C99-based standards] (remainderf): Likewise.
36508 [non-C99-based standards] (rintf): Likewise.
36509 [non-C99-based standards] (scalbf): Likewise.
36510 [non-C99-based standards] (copysignl): Likewise.
36511 [non-C99-based standards] (exp2l): Likewise.
36512 [non-C99-based standards] (log2l): Likewise.
36513 [non-C99-based standards] (modfl): Allow.
36514 [non-C99-based standards] (erfl): Do not allow.
36515 [non-C99-based standards] (erfcl): Likewise.
36516 [non-C99-based standards] (gammal): Likewise.
36517 [non-C99-based standards] (hypotl): Likewise.
36518 [non-C99-based standards] (j0l): Likewise.
36519 [non-C99-based standards] (j1l): Likewise.
36520 [non-C99-based standards] (jnl): Likewise.
36521 [non-C99-based standards] (lgammal): Likewise.
36522 [non-C99-based standards] (tgammal): Likewise.
36523 [non-C99-based standards] (y0l): Likewise.
36524 [non-C99-based standards] (y1l): Likewise.
36525 [non-C99-based standards] (ynl): Likewise.
36526 [non-C99-based standards] (isnanl): Likewise.
36527 [non-C99-based standards] (acoshl): Likewise.
36528 [non-C99-based standards] (asinhl): Likewise.
36529 [non-C99-based standards] (atanhl): Likewise.
36530 [non-C99-based standards] (cbrtl): Likewise.
36531 [non-C99-based standards] (expm1l): Likewise.
36532 [non-C99-based standards] (ilogbl): Likewise.
36533 [non-C99-based standards] (log1pl): Likewise.
36534 [non-C99-based standards] (logbl): Likewise.
36535 [non-C99-based standards] (nextafterl): Likewise.
36536 [non-C99-based standards] (remainderl): Likewise.
36537 [non-C99-based standards] (rintl): Likewise.
36538 [non-C99-based standards] (scalbl): Likewise.
36539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36540 [non-C99-based standards] (FP_*): Do not allow.
36541 [C99-based standards] (FP_*): Change to
36542 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36543 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36544 allow.
36545 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36546 (SIG_ERR): Likewise.
36547 [X/Open-based standards] (SIG_HOLD): Likewise.
36548 (SIG_IGN): Likewise.
36549 (SIGABRT): Use macro-int-constant. Specify type. Require
36550 positive value.
36551 (SIGFPE): Likewise.
36552 (SIGILL): Likewise.
36553 (SIGINT): Likewise.
36554 (SIGSEGV): Likewise.
36555 (SIGTER): Likewise.
36556 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36557 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36558 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36559 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36560 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36561 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36562 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36563 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36564 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36565 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36566 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36567 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36568 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36569 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36570 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36571 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36572 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36573 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36574 [X/Open-based standards] (SIGTRAP): Likewise.
36575 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36576 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36577 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36578 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36579 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36580 allow.
36581
b9f1922d
IW
365822012-05-08 Ian Wienand <ianw@vmware.com>
36583
36584 [BZ #14080]
36585 * time/tzset.c (__tzset_parse_tz): Update default rules for
36586 daylight time changes in the Energy Policy Act of 2005.
36587
1db86e88
AJ
365882012-05-09 Andreas Jaeger <aj@suse.de>
36589
36590 [BZ #13983]
36591 * elf/ldconfig.c (parse_conf): Change string to make clear that
36592 ldconfig only issued a warning if ld.so.conf does not exist.
36593
dee4a4e3
DM
365942012-05-08 David S. Miller <davem@davemloft.net>
36595
ee0db190
DM
36596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36597 movxtod instead of popping the value on the stack.
36598
dee4a4e3
DM
36599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36600
6a43ec98
CD
366012012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36602
36603 * config.h.in: Add HAVE_ARM_PCS_VFP.
36604
05c2c961
RMG
366052012-05-08 Roland Mc Grath <roland@hack.frob.com>
36606
bcfe3a54
ST
36607 [BZ #13979]
36608 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36609 checking but the checks are disabled for any reason.
05c2c961 36610
4b30f61a
L
366112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36612
36613 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36614 and ELF64_R_TYPE with ELFW(R_TYPE).
36615
eee2bc67
JM
366162012-05-08 Joseph Myers <joseph@codesourcery.com>
36617
7ea5391a
JM
36618 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36619 (ulimit): Likewise.
36620
eee2bc67
JM
36621 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36622 (settimeofday): Likewise.
36623
abb66a67
MF
366242012-05-08 Mike Frysinger <vapier@gentoo.org>
36625
36626 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36627 a struct th_u2 inside the union, and move tu_block/tu_code into
36628 a new th_u3 union of tu_block/tu_code inside of that. Move
36629 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36630 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36631 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36632 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36633 (th_stuff): Change to th_u1.tu_stuff.
36634 (th_data): Define.
36635 (th_msg): Change to th_u1.th_u2.tu_data.
36636
7f18b530
DM
366372012-05-07 David S. Miller <davem@davemloft.net>
36638
05760585
DM
36639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36640
7f18b530
DM
36641 [BZ #14074]
36642 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36643 (SETUP_PIC_REG): Use it.
36644 (SETUP_PIC_REG_LEAF): Use it.
36645
495fd99f
JM
366462012-05-07 Joseph Myers <joseph@codesourcery.com>
36647
36648 [BZ #13885]
36649 [BZ #13923]
36650 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36651 USE_AS_EXPM1L.
36652 (EXPL_FINITE): Likewise.
36653 (FLDLOG): Likewise.
36654 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36655 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36656 e_expl.S.
36657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36658 USE_AS_EXPM1L.
36659 (EXPL_FINITE): Likewise.
36660 (FLDLOG): Likewise.
36661 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36662 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36663 e_expl.S.
36664 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36665 test of -max_value argument for long double.
36666 * sysdeps/i386/fpu/libm-test-ulps: Update.
36667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36668
6693d694
DM
366692012-05-06 David S. Miller <davem@davemloft.net>
36670
36671 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36672 quad soft-float symbols whose references which are compiler
36673 generated.
36674 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36675
6c23e11c
JM
366762012-05-06 Joseph Myers <joseph@codesourcery.com>
36677
d8b82cad
JM
36678 [BZ #13884]
36679 [BZ #13914]
36680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36681 USE_AS_EXP10L.
36682 (EXPL_FINITE): Likewise.
36683 (FLDLOG): Likewise.
36684 (c0): Likewise.
36685 (c1): Likewise.
36686 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36687 Adjust comments for base varying.
36688 (__expl_finite): Change alias to EXPL_FINITE.
36689 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36690 e_expl.S.
36691 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36692 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36694 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36696 USE_AS_EXP10L.
36697 (EXPL_FINITE): Likewise.
36698 (FLDLOG): Likewise.
36699 (c0): Likewise.
36700 (c1): Likewise.
36701 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36702 Adjust comments for base varying.
36703 (__expl_finite): Change alias to EXPL_FINITE.
36704 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36705 tests for bugs.
36706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36707
6c23e11c
JM
36708 [BZ #14064]
36709 * math/libm-test.inc (check_float_internal): Correct ulp
36710 calculation for subnormal expected results.
36711
29ba805c
AJ
367122012-05-06 Andreas Jaeger <aj@suse.de>
36713
36714 * Makeconfig (+math-flags): New, set to -frounding-math.
36715 (+cflags): Add +math-flags so that all of glibc gets compiled with
36716 it.
36717
36718 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36719
7b17aeda
JM
367202012-05-05 Joseph Myers <joseph@codesourcery.com>
36721
5779f134
JM
36722 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36723 Disable one test.
36724
41498f4d
JM
36725 [BZ #13787]
36726 [BZ #13922]
36727 [BZ #14036]
36728 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36729 (__ieee754_expl): Allow for and saturate large arguments.
36730 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36731 (u_threshold): Likewise.
36732 (__exp): Call __ieee754_exp before checking for overflow and
36733 underflow.
36734 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36735 (u_threshold): Likewise.
36736 (__expf): Call __ieee754_expf before checking for overflow and
36737 underflow.
36738 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36739 (u_threshold): Likewise.
36740 (__expl): Call __ieee754_expl before checking for overflow and
36741 underflow.
36742 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36743 (__ieee754_expl): Allow for and saturate large arguments.
36744 * math/libm-test.inc (exp_test): Add another test. Do not allow
36745 missing overflow exception on overflow.
36746 (expm1_test): Do not allow missing overflow exception on overflow.
36747
6698b8bf
JM
36748 * sysdeps/i386/fpu/e_expl.c: Move to ...
36749 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36750 rather than using inline asm.
36751 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36752 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36753 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36754
7b17aeda
JM
36755 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36756 (nice): Likewise.
36757 (poll): Likewise.
36758 (signal): Likewise.
36759 (time): Likewise.
36760 (times): Likewise.
36761
f7c85819
JM
367622012-05-04 Joseph Myers <joseph@codesourcery.com>
36763
36764 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36765 sysdeps/unix/common/syscalls.list.
36766 (fchmod): Likewise.
36767 (fchown): Likewise.
36768 (ftruncate): Likewise.
36769 (getrusage): Likewise.
36770 (gettimeofday): Likewise.
36771 (setpgid): Likewise.
36772 (setregid): Likewise.
36773 (setreuid): Likewise.
36774 (sigaction): Likewise.
36775 (truncate): Likewise.
36776 (vhangup): Likewise.
36777 * sysdeps/unix/common/syscalls.list: Remove file.
36778 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36779 * sysdeps/unix/sysv/linux/Implies: Likewise.
36780
336270d0
L
367812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36782
36783 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36785 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36786 Moved to ...
36787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36788 Here.
36789 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36790 to ...
36791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36792 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36793 to ...
36794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36795 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36796 to ...
36797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36798 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36799 to ...
36800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36801 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36802 to ...
36803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36804 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36805 to ...
36806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36807 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36808 to ...
36809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36810 Here.
36811 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36812 to ...
36813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36814 Here.
36815 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36816 to ...
36817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36818 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36819 Moved to ...
36820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36821 Here.
36822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36823 to ...
36824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36825
d128e450
JM
368262012-05-04 Joseph Myers <joseph@codesourcery.com>
36827
fa8ee516
JM
36828 * sysdeps/unix/common/bits/dirent.h: Remove file.
36829 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36830
d128e450
JM
36831 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36832 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36833 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36834 * sysdeps/unix/bsd/isatty.c: Likewise.
36835 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36836 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36837 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36838
ff8faaf0 368392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36840
62881be4 36841 [BZ #13563]
31dc8730
AZ
36842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36843 long double comparison inaccuracies.
36844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36846
6fef930c
AS
368472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36848
36849 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36851
8f203e6c
JM
368522012-05-04 Joseph Myers <joseph@codesourcery.com>
36853
36854 [BZ #14049]
36855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36856 nonzero digits before rounding a hex value.
36857 * stdlib/tst-strtod.c (tests): Add another test.
36858
5197d9c2
AK
368592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36860
36861 * sysdeps/s390/fpu/libm-test-ulps: Update.
36862
f0c1dedf
AJ
368632012-05-03 Andreas Jaeger <aj@suse.de>
36864
36865 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36866 does not get optimized out.
36867 (malloc_opt_barrier): New.
36868
a65ef2ae 368692012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36870 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36871
2b942cb7 36872 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36873 intermediate file deletion.
2b942cb7 36874 (generated): Add .symlist files.
a65ef2ae 36875
54b71e02
JM
368762012-05-03 Joseph Myers <joseph@codesourcery.com>
36877
36878 [BZ #13775]
36879 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36880 Redirect under this condition.
36881 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36882 [__USE_GNU] (__dprintf_chk): Not under this condition.
36883 [__USE_GNU] (__vdprintf_chk): Likewise.
36884 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36885 under this condition.
36886 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36887 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36888 [__USE_XOPEN2K8] (vdprintf): Likewise.
36889 [__USE_GNU] (__dprintf_chk): Not under this condition.
36890 [__USE_GNU] (__vdprintf_chk): Likewise.
36891 [__USE_GNU] (dprintf): Likewise.
36892 [__USE_GNU] (vdprintf): Likewise.
36893
d3dfcc41
RM
368942012-05-03 Roland McGrath <roland@hack.frob.com>
36895
36896 * elf/Makefile (common-generated): Set this instead of generated for
36897 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36898 $(all-built-dso)-derived lists.
36899
7ac30cc5
AJ
369002012-05-03 Andreas Jaeger <aj@suse.de>
36901
0c51e550
AJ
36902 * sysdeps/i386/fpu/libm-test-ulps: Update.
36903
7ac30cc5
AJ
36904 * FAQ: Removed.
36905 * FAQ.in: Likewise.
36906 * scripts/gen-FAQ.pl: Likewise.
36907 * manual/install.texi (Installation): Point to online location of
36908 FAQ.
36909 * Makefile (files-for-dist): Remove FAQ.
36910 (FAQ): Remove.
36911
d4c2917f
AM
369122012-05-02 Allan McRae <allan@archlinux.org>
36913
36914 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36915 (LDFLAGS-reldepmod5.so): Likewise.
36916 (LDFLAGS-reldep6mod1.so): Likewise.
36917 (LDFLAGS-reldep6mod4.so): Likewise.
36918 (LDFLAGS-reldep8mod3.so): Likewise.
36919 (LDFLAGS-unload4mod1.so): Likewise.
36920 (LDFLAGS-unload4mod2.so): Likewise.
36921 (LDFLAGS-tst-initorder): Likewise.
36922 (LDFLAGS-tst-initordera2.so): Likewise.
36923 (LDFLAGS-tst-initordera3.so): Likewise.
36924 (LDFLAGS-tst-initordera4.so): Likewise.
36925 (LDFLAGS-tst-initorderb2.so): Likewise.
36926 (LDFLAGS-noload): Likewise.
36927 (LDFLAGS-next): Likewise.
36928 (LDFLAGS-order2mod1.so): Likewise.
36929 (LDFLAGS-order2mod2.so): Likewise.
36930 (LDFLAGS-tst-initorder2): Likewise.
36931 (LDFLAGS-tst-initorder2a.so): Likewise.
36932 (LDFLAGS-tst-initorder2b.so): Likewise.
36933 (LDFLAGS-tst-initorder2c.so): Likewise.
36934 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36935
d77f993f
DM
369362012-05-02 David S. Miller <davem@davemloft.net>
36937
36938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36939
171a70b4
PP
369402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36941
36942 [BZ #14055]
36943 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36944
0be196ad
AJ
369452012-05-02 Andreas Jaeger <aj@suse.de>
36946
36947 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36948 since we manipulate rounding mode.
36949 (CPPFLAGS-test-idouble.c): Likewise.
36950 (CPPFLAGS-test-ifloat.c): Likewise.
36951 (CFLAGS-test-ldouble.c): Likewise.
36952 (CFLAGS-test-double.c): Likewise.
36953 (CFLAGS-test-float.c): Likewise.
36954 (CFLAGS-test-misc.c): Likewise.
36955 (CFLAGS-test-test-fenv.c): Likewise.
36956
4f9d04aa
AZ
369572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36958
2b942cb7
RM
36959 [BZ #2550]
36960 [BZ #2570]
36961 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36962 comparisons to determine direction to adjust input.
4f9d04aa 36963
82a79e7d
RM
369642012-05-01 Roland McGrath <roland@hack.frob.com>
36965
f5a01ca9
RM
36966 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36967 output to the target.
36968
90fe4186
RM
36969 * scripts/localplt.awk: New file.
36970 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36971 (check-localplt-CFLAGS): Variable removed.
36972 ($(all-built-dso:=.jmprel)): New static pattern rule.
36973 (generated): Add those targets.
36974 (localplt-built-dso): New variable.
36975 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36976
36977 * elf/check-localplt.c: File removed.
36978
82397ed6
RM
36979 * scripts/check-execstack.awk: New file.
36980 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36981 (check-execstack-CFLAGS): Variable removed.
36982 ($(objpfx)check-execstack.h): Target removed.
36983 ($(objpfx)execstack-default): New target.
36984 (generated): Add that instead of check-execstack.h.
36985 ($(all-built-dso:=.phdr)): New static pattern rule.
36986 (generated): Add those targets.
36987 * elf/check-execstack.c: File removed.
36988
82a79e7d
RM
36989 * scripts/check-textrel.awk: New file.
36990 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36991 (check-textrel-CFLAGS): Variable removed.
36992 (all-built-dso): Use := to define.o
36993 ($(all-built-dso:=.dyn)): New static pattern rule.
36994 (generated): Add those targets.
36995 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36996 * config.make.in (READELF): New substituted variable.
36997 * elf/check-textrel.c: File removed.
36998
62fde54f 369992012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 37000
615605c9
JM
37001 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37002 allow.
37003 * conform/data/ctype.h-data [C99-based standards] (isblank):
37004 Expect function.
37005 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37006 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37008 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37009 Specify type. Require positive value.
37010 (EILSEQ): Likewise.
37011 (ERANGE): Likewise.
37012 [ISO || POSIX] (EILSEQ): Do not expect.
37013 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37014 Specify type. Require positive value.
37015 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37018 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37019 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37020 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37021 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37022 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37023 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37024 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37025 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37026 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37027 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37028 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37029 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37030 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37031 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37032 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37033 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37034 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37035 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37036 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37037 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37038 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37039 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37040 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37041 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37042 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37043 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37044 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37045 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37046 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37047 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37048 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37049 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37050 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37051 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37052 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37053 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37054 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37055 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37056 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37057 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37058 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37059 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37060 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37061 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37062 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37063 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37064 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37065 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37066 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37067 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37068 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37069 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37070 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37071 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37072 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37073 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37074 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37075 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37076 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37077 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37078 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37079 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37080 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37081 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37082 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37083 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37084 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37085 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37086 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37087 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37088 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37089 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37090 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37091 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37092 Require >= 2.
37093 (FLT_ROUNDS): Expect as macro, not constant.
37094 (FLT_MANT_DIG): Use macro-int-constant.
37095 (DBL_MANT_DIG): Likewise.
37096 (LDBL_MANT_DIG): Likewise.
37097 (FLT_DIG): Likewise.
37098 (DBL_DIG): Likewise.
37099 (LDBL_DIG): Likewise.
37100 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37101 (DBL_MIN_EXP): Likewise.
37102 (LDBL_MIN_EXP): Likewise.
37103 (FLT_MAX_EXP): Use macro-int-constant.
37104 (DBL_MAX_EXP): Likewise.
37105 (LDBL_MAX_EXP): Likewise.
37106 (FLT_MAX_10_EXP): Likewise.
37107 (DBL_MAX_10_EXP): Likewise.
37108 (LDBL_MAX_10_EXP): Likewise.
37109 (FLT_MAX): Use macro-constant.
37110 (DBL_MAX): Likewise.
37111 (LDBL_MAX): Likewise.
37112 (FLT_EPSILON): Use macro-constant. Give upper bound.
37113 (DBL_EPSILON): Likewise.
37114 (LDBL_EPSILON): Likewise.
37115 (FLT_MIN): Likewise.
37116 (DBL_MIN): Likewise.
37117 (LDBL_MIN): Likewise.
37118 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37119 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37120 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37121 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37122 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37123 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37124 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37125 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37126 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37127 [ISO11] (FLT_TRUE_MIN): Likewise.
37128 [ISO11] (LDBL_TRUE_MIN): Likewise.
37129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37130 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37131 (SCHAR_MIN): Use macro-int-constant. Specify type.
37132 (SCHAR_MAX): Likewise.
37133 (UCHAR_MAX): Likewise.
37134 (CHAR_MIN): Likewise.
37135 (CHAR_MAX): Likewise.
37136 (MB_LEN_MAX): Use macro-int-constant.
37137 (SHRT_MIN): Use macro-int-constant. Specify type.
37138 (SHRT_MAX): Likewise.
37139 (USHRT_MAX): Likewise.
37140 (INT_MAX): Likewise.
37141 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37142 bound negative.
37143 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37144 bound with "U".
37145 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37146 bound with "L".
37147 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37148 bound negative. Suffix upper bound with "L".
37149 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37150 bound with "UL".
37151 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37152 Specify type.
37153 [C99-based standards] (LLONG_MAX): Likewise.
37154 [C99-based standards] (ULLONG_MAX): Likewise.
37155 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37156 == 0.
37157 [ISO11] (max_align_t): Require type.
37158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37159
c9140a62
JM
37160 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37161 from $CFLAGS, without defining away __attribute__ calls.
37162 (checknamespace): Use $CFLAGS_namespace.
37163
9af0bf29
JM
37164 * conform/conformtest.pl (@keywords): Only include C99 keywords
37165 for standards based on C99 or C11.
37166
343222a2
JM
37167 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37168 Disable tests.
37169 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37170 UNIX98]: Likewise.
37171
661f8cf0
JM
37172 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37173 usability of symbols in #if.
37174
ee74b9cb
JM
37175 * conform/conformtest.pl: If macro or constant types start
37176 "promoted:", expect the symbol to be of the following type
37177 promoted by the integer promotions.
62fde54f 37178
aafc49b3
JM
37179 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37180 in one place. Also handle "macro-constant".
37181
fefdf574
JM
37182 * conform/conformtest.pl: Only accept expected macro values with
37183 "==". Parse all "macro" lines in one place.
37184 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37185
f2d922fe
JM
37186 * conform/conformtest.pl: Handle braced types on "constant" lines
37187 instead of handling "typed-constant".
37188 * conform/data/signal.h-data: Use "constant" instead of
37189 "typed-constant".
37190
d22956c9
JM
37191 * conform/conformtest.pl: Handle "optional-" at start of lines in
37192 one place rather than duplicating several cases. Handle each
37193 format of "macro" line with initial "optional-".
37194
028e2e38
JM
37195 * conform/conformtest.pl: Only accept expected constant or
37196 optional-constant values with "==". Parse all "constant" lines in
37197 one place. Parse all "optional-constant" lines in one place.
37198 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37199 * conform/data/fmtmsg.h-data: Likewise.
37200 * conform/data/netinet/in.h-data: Likewise.
37201 * conform/data/tar.h-data: Likewise.
37202 * conform/data/limits.h-data: Use "==" form on "constant" and
37203 "optional-constant" lines.
37204
1b8f2850
JM
37205 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37206 Use -std=c99 for XOPEN2K.
37207 (@knownproblems): Remove.
37208 (newtoken): Don't check %isknown.
37209
a05a144b
JM
37210 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37211 Do not expect macro.
37212 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37224 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37225 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37240 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37242 [XPG3] (acosh): Likewise.
37243 [XPG3] (asinh): Likewise.
37244 [XPG3] (atanh): Likewise.
37245 [XPG3] (cbrt): Likewise.
37246 [XPG3] (expm1): Likewise.
37247 [XPG3] (ilogb): Likewise.
37248 [XPG3] (log1p): Likewise.
37249 [XPG3] (logb): Likewise.
37250 [XPG3] (nextafter): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37253 [XPG3] (remainder): Likewise.
37254 [XPG3] (rint): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37262 [UNIX98 || XOPEN2K] (scalb): Expect.
37263 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37264 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37323 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37324 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37334 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37378 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37379 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37380 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37381 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37382 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37383 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37384 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37385 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37386 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37387 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37388 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37389 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37390 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37391 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37392 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37393 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37394 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37395 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37396 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37397 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37398 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37399 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37400
73c5ebe3
JM
37401 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37402 _XOPEN_SOURCE_EXTENDED for XPG4.
37403
39c33b6c
JM
37404 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37405
62fde54f
JM
37406 * Makeconfig (localtime): Remove variable.
37407 (inst_localtime-file): Likewise.
37408
0741d64c
AS
374092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37410
37411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37412 Update.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37414 Update.
37415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37416 Update.
37417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37418 Update.
37419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37420 Update.
37421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37422 Update.
37423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37424 Update.
37425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37426 Update.
37427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37428 Update.
37429
7cb029ee
JM
374302012-05-01 Joseph Myers <joseph@codesourcery.com>
37431
37432 [BZ #2550]
37433 [BZ #2570]
37434 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37435 comparisons to determine direction to adjust input.
37436 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37437 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37438 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37439 Likewise.
37440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37441 Likewise.
37442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37443 Likewise.
37444 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37445 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37446 Likewise.
37447 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37448 Likewise.
37449 * math/libm-test.inc (nexttoward_test): Add more tests.
37450
412bd966
AS
374512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37452
37453 [BZ #14040]
37454 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37455 in version GLIBC_2.1, not GLIBC_2.0.
37456 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37457 Likewise.
37458
9568c0c2
JM
374592012-04-30 Joseph Myers <joseph@codesourcery.com>
37460
adfbc8ac
JM
37461 [BZ #13942]
37462 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37463 (1 - x) * (1 + x).
37464 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37465 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37466 * math/libm-test.inc (acos_test): Add more tests.
37467 (asin_test): Likewise.
37468 * sysdeps/i386/fpu/libm-test-ulps: Update.
37469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37470
5ba3cc69
JM
37471 [BZ #14034]
37472 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37473 of square root.
37474 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37475 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37476 * math/libm-test.inc (acos_test_tonearest): New function.
37477 (acos_test_towardzero): Likewise.
37478 (acos_test_downward): Likewise.
37479 (acos_test_upward): Likewise.
37480 (asin_test_tonearest): Likewise.
37481 (asin_test_towardzero): Likewise.
37482 (asin_test_downward): Likewise.
37483 (asin_test_upward): Likewise.
37484 (main): Call the new functions.
37485 * sysdeps/i386/fpu/libm-test-ulps: Update.
37486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37487
9568c0c2
JM
37488 [BZ #13884]
37489 [BZ #13924]
37490 * math/e_exp10.c: Include <float.h>.
37491 (__ieee754_exp10): Handle underflow here rather than multiplying
37492 large negative argument by M_LN10.
37493 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37494 of __ieee754_expf.
37495 * math/e_exp10l.c: Include <float.h>.
37496 (__ieee754_exp10l): Handle underflow here rather than multiplying
37497 large negative argument by M_LN10l.
37498 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37499 spurious overflow exception on underflow.
37500
5ac3ea17
MP
375012012-04-29 Marek Polacek <polacek@redhat.com>
37502
37503 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37504 (__fortify_function): New macro.
37505 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37506 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37507 __extern_always_inline.
37508 * libio/bits/stdio2.h: Likewise.
37509 * libio/bits/stdio.h: Likewise.
37510 * string/string.h: Likewise.
37511 * string/bits/string3.h: Likewise.
37512 * include/stdio.h: Likewise.
37513 * stdlib/bits/stdlib.h: Likewise.
37514 * stdlib/stdlib.h: Likewise.
37515 * rt/bits/mqueue2.h: Likewise.
37516 * rt/mqueue.h: Likewise.
37517 * posix/bits/unistd.h: Likewise.
37518 * posix/unistd.h: Likewise.
37519 * io/bits/poll2.h: Likewise.
37520 * io/bits/fcntl2.h: Likewise.
37521 * io/fcntl.h: Likewise.
37522 * io/sys/poll.h: Likewise.
37523 * misc/bits/syslog.h: Likewise.
37524 * misc/bits/syslog-ldbl.h: Likewise.
37525 * misc/sys/syslog.h: Likewise.
37526 * socket/bits/socket2.h: Likewise.
37527 * socket/sys/socket.h: Likewise.
37528 * debug/tst-chk1.c: Likewise.
37529 * wcsmbs/bits/wchar2.h: Likewise.
37530 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37531 * wcsmbs/wchar.h: Likewise.
37532
ecf0ebfb
AJ
375332012-04-29 Andreas Jaeger <aj@suse.de>
37534
37535 * Makerules (tests): Remove enable-check-abi protection.
37536 (check-abi-warn): Remove.
37537 (check-abi-%): Remove check-abi-warn usage.
37538
37539 * configure.in: Remove check-abi configure option.
37540 * configure: Regenerated.
37541 * config.make.in (enable-check-abi): Remove.
37542
6d5c57fa
AS
375432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37544
24c5d07e 37545 [BZ #14033]
ded5180a
AS
37546 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37547 double functions to double *_finite functions.
37548
7e0d315d
AS
37549 [BZ #13941]
37550 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37551 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37552 LDBL_MIN_EXP.
37553 * stdio-common/Makefile (tests): Add tst-sprintf3.
37554 * stdio-common/tst-sprintf3.c: New file.
37555
6d5c57fa
AS
37556 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37557 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37558
0749ff8b
JM
375592012-04-28 Joseph Myers <joseph@codesourcery.com>
37560
37561 * conform/conformtest.pl: Remove duplicate typed-constant
37562 handling.
37563
8dbd5d7b
DM
375642012-04-28 David S. Miller <davem@davemloft.net>
37565
37566 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37567 (check-abi-%): Remove AWK script prerequisite and explicit
37568 abilist directory.
37569 (check-abi): Rewrite to just diff the symlist with the abilist.
37570 (config-tls, config-abi-config): Delete, no longer used.
37571 (update-abi-%): Remove AWK script and explicit abilist directory.
37572 (update-abi): Rewrite to simply compare and conditionally copy the
37573 symlist and the sysdep abilist file. Remove update-abi-config
37574 checks.
37575 * abilist/ld.abilist: Remove.
37576 * abilist/libBrokenLocale.abilist: Remove.
37577 * abilist/libanl.abilist: Remove.
37578 * abilist/libcrypt.abilist: Remove.
37579 * abilist/libdl.abilist: Remove.
37580 * abilist/librt.abilist: Remove.
37581 * abilist/libthread_db.abilist: Remove.
37582 * abilist/libutil.abilist: Remove.
37583 * scripts/extract-abilist.awk: Remove.
37584 * scripts/merge-abilist.awk: Remove.
37585 * sysdeps/generic/libcidn.abilist: New file.
37586 * sysdeps/generic/libnss_compat.abilist: New file.
37587 * sysdeps/generic/libnss_db.abilist: New file.
37588 * sysdeps/generic/libnss_dns.abilist: New file.
37589 * sysdeps/generic/libnss_files.abilist: New file.
37590 * sysdeps/generic/libnss_hesiod.abilist: New file.
37591 * sysdeps/generic/libnss_nis.abilist: New file.
37592 * sysdeps/generic/libnss_nisplus.abilist: New file.
37593 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37594 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37595 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37596 file.
37597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37598 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37599 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37600 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37601 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37603 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37604 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37605 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37606 file.
37607 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37608 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37609 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37610 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37611 file.
37612 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37613 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37614 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37615 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37617 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37618 file.
37619 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37620 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37621 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37622 file.
37623 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37625 New file.
37626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37627 New file.
37628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37629 New file.
37630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37631 New file.
37632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37633 New file.
37634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37635 New file.
37636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37637 New file.
37638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37639 New file.
37640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37641 New file.
37642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37643 New file.
37644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37645 New file.
37646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37647 New file.
37648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37649 New file.
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37651 file.
37652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37653 New file.
37654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37655 New file.
37656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37657 file.
37658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37659 New file.
37660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37661 New file.
37662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37663 file.
37664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37665 New file.
37666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37667 New file.
37668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37669 New file.
37670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37671 New file.
37672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37673 New file.
37674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37675 New file.
37676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37678 file.
37679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37680 New file.
37681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37682 file.
37683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37684 file.
37685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37686 file.
37687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37688 file.
37689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37690 file.
37691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37692 New file.
37693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37694 file.
37695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37696 file.
37697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37698 New file.
37699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37700 file.
37701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37703 file.
37704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37705 New file.
37706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37707 file.
37708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37709 file.
37710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37711 file.
37712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37713 file.
37714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37715 file.
37716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37717 New file.
37718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37719 file.
37720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37721 file.
37722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37723 New file.
37724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37725 file.
37726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37727 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37728 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37729 file.
37730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37731 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37732 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37733 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37734 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37735 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37736 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37737 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37738 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37739 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37742 file.
37743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37744 New file.
37745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37746 file.
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37748 file.
37749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37750 file.
37751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37752 file.
37753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37754 file.
37755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37756 New file.
37757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37758 New file.
37759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37760 file.
37761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37762 New file.
37763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37764 file.
37765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37767 file.
37768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37769 New file.
37770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37771 file.
37772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37773 file.
37774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37775 file.
37776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37777 file.
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37779 file.
37780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37781 New file.
37782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37783 New file.
37784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37785 file.
37786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37787 New file.
37788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37789 file.
37790
41d73a1b
JM
377912012-04-28 Joseph Myers <joseph@codesourcery.com>
37792
37793 * conform/conformtest.pl: Fix typo in handling typed-constant from
37794 allow-header.
37795
28aeeda4
JM
377962012-04-27 Joseph Myers <joseph@codesourcery.com>
37797
adae8f5e
JM
37798 * README: Cut down references to pre-2.6 Linux kernels and
37799 Linuxthreads. Update lists of configurations in libc and ports
37800 and sort alphabetically. Say "or newer" with Linux kernel version
37801 requirements.
37802
28aeeda4
JM
37803 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37804
a462cb63
RA
378052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37806
37807 [BZ #887]
37808 * math/libm-test.inc (logb_test_downward): New test to expose
37809 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37810 rounding mode.
37811
6ad3493e
JM
378122012-04-27 Joseph Myers <joseph@codesourcery.com>
37813
37814 [BZ #14027]
37815 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37816 to be done.
37817 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37818 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37819
2ce4f015
JM
378202012-04-26 Joseph Myers <joseph@codesourcery.com>
37821
5aeb141a
JM
37822 * sysdeps/unix/i386/brk.S: Remove file.
37823 * sysdeps/unix/i386/dl-brk.S: Likewise.
37824 * sysdeps/unix/i386/pipe.S: Likewise.
37825 * sysdeps/unix/i386/sigreturn.S: Likewise.
37826 * sysdeps/unix/i386/syscall.S: Likewise.
37827 * sysdeps/unix/i386/vfork.S: Likewise.
37828 * sysdeps/unix/i386/wait.S: Likewise.
37829
7143acae
JM
37830 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37831 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37832
2ce4f015
JM
37833 * configure.in (arm*-none*): Do not allow without
37834 --enable-hacker-mode.
37835 (netbsd*): Remove case setting base_os.
37836 (386bsd*): Likewise.
37837 (freebsd*): Likewise.
37838 (bsdi*): Likewise.
37839 (osf*): Likewise.
37840 (sunos*): Likewise.
37841 (ultrix*): Likewise.
37842 (newsos*): Likewise.
37843 (dynix*): Likewise.
37844 (*bsd*): Likewise.
37845 (sysv*): Likewise.
37846 (isc*): Likewise.
37847 (esix*): Likewise.
37848 (sco*): Likewise.
37849 (minix*): Likewise.
37850 (irix4*): Likewise.
37851 (irix6*): Likewise.
37852 (solaris[2-9]*): Likewise.
37853 (none): Likewise.
37854 * configure: Regenerated.
37855
0ac229c8
AZ
378562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37857
37858 [BZ #11521]
37859 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37860 overflow or cancellation in calculating denominator.
37861 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37863 down expression to avoid unexpected rounding in newer GCCs.
37864 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37865
33f244f4
DM
378662012-04-26 David S. Miller <davem@davemloft.net>
37867
37868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37869 long-double compat symbols.
37870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37883
cfa1f3e8
DM
378842012-04-25 David S. Miller <davem@davemloft.net>
37885
37886 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37887 HWCAP_* values only after the memory barriers have been defined.
37888 (atomic_full_barrier): Define.
37889 (atomic_read_barrier): Define.
37890 (atomic_write_barrier): Define.
37891
6e236b92
SP
378922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37893
37894 * shlib-versions: Add libgcc_s version information.
37895 * sysdeps/generic/libgcc_s.h: Remove.
37896 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37897 libgcc_s.h.
37898 * sysdeps/gnu/unwind-resume.c: Likewise.
37899 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37900
aab39a09
DM
379012012-04-25 David S. Miller <davem@davemloft.net>
37902
37903 * sysdeps/unix/sparc/brk.S: Delete.
37904 * sysdeps/unix/sparc/dl-brk.S: Delete.
37905 * sysdeps/unix/sparc/pipe.S: Delete.
37906 * sysdeps/unix/sparc/sysdep.S: Delete.
37907 * sysdeps/unix/sparc/sysdep.h: Delete.
37908 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37909 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37910 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37912 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37913 (JUMPTARGET): Remove.
37914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37915 sysdeps/unix/sparc/sysdep.h
37916 (ENTRY, END): Remove.
37917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37918
a3cc4f48
JM
379192012-04-25 Joseph Myers <joseph@codesourcery.com>
37920
2ed8cda2
JM
37921 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37922 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37923 -DIS_IN_build.
37924
35d76d59
JM
37925 * timezone/README: Update upstream location and email address for
37926 tzcode and tzdata.
37927 * timezone/zdump.c: Update from tzcode 2012b.
37928 * timezone/zic.c: Likewise.
37929
a3cc4f48
JM
37930 * configure.in (libc_cv_as_needed): Remove test.
37931 * configure: Regenerated.
37932 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37933 conditional definition.
37934 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37935 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37936 * config.make.in (have-as-needed): Remove variable.
37937
ceab42c3
SP
379382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37939 Paul Pluzhnikov <ppluzhnikov@google.com>
37940
37941 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37942 strings correctly.
37943
3ce2865f
CLT
379442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37945
37946 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37947 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37948 * sysdeps/sh/strlen.S: Likewise.
37949
f37e0d68
JM
379502012-04-24 Joseph Myers <joseph@codesourcery.com>
37951
ae186e9a
JM
37952 * sysdeps/unix/fork.S: Remove file.
37953 * sysdeps/unix/i386/fork.S: Likewise.
37954 * sysdeps/unix/sparc/fork.S: Likewise.
37955
b96914af
JM
37956 * sysdeps/unix/system.c: Remove file.
37957 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37958
f37e0d68
JM
37959 * sysdeps/unix/getegid.S: Remove file.
37960 * sysdeps/unix/geteuid.S: Likewise.
37961
87ef29ca
RM
379622012-04-24 Roland McGrath <roland@hack.frob.com>
37963
83bcd236
RM
37964 * scripts/check-localplt.awk: New file.
37965 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37966 of diff.
37967 * scripts/data/localplt-generic.data: Add a comment.
37968
87ef29ca
RM
37969 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37970 NODE when __dir_mkfile failed.
37971 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37972 Reported by Ludovic Courtès <ludo@gnu.org>.
37973
e5a6e567
AJ
379742012-04-24 Andreas Jaeger <aj@suse.de>
37975
37976 * Makerules (common-clean): Also remove gen-as-const-headers
37977 files.
37978
c1820385
JM
379792012-04-24 Joseph Myers <joseph@codesourcery.com>
37980
37981 * Makerules (native-compile): Do not change working directory for
37982 build. Use $(OUTPUT_OPTION) in command.
37983 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37984
94e02fc4
AZ
379852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37986
37987 [BZ #13886]
37988 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37989 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37990 * math/libm-test.inc (floor_test): Add more tests.
37991 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37992
3a533ca3
JM
379932012-04-24 Joseph Myers <joseph@codesourcery.com>
37994
940ab4b3
JM
37995 * sysdeps/unix/getdents.c: Remove file.
37996 * sysdeps/unix/sysv/getdents.c: Likewise.
37997 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37998
90e037bd
JM
37999 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38000 sysdeps/unix/mman/syscalls.list.
38001 (mmap): Likewise.
38002 (mprotect): Likewise.
38003 (msync): Likewise.
38004 (munmap): Likewise.
38005 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38006 * sysdeps/unix/mman/syscalls.list: Remove.
38007 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38008
3a533ca3
JM
38009 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38010 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38011 * configure: Regenerated.
38012 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38013 $(libgcc_s_suffix).
38014 * config.make.in (libgcc_s_suffix): Remove variable.
38015
1ad743de
JM
380162012-04-23 Joseph Myers <joseph@codesourcery.com>
38017
4ad451e2
JM
38018 * sysdeps/unix/sysv/gethostname.c: Move to ...
38019 * sysdeps/posix/gethostname.c: ... here.
38020
5e37ce39
JM
38021 * sysdeps/unix/execve.S: Remove file.
38022
1ad743de
JM
38023 * sysdeps/unix/_exit.S: Remove file.
38024
4e681b5b
AJ
380252012-04-23 Andreas Jaeger <aj@suse.de>
38026
38027 [BZ #13739]
38028 * manual/Makefile: Remove make dist support, there's no
38029 need for a stand-alone documentation tar ball.
38030 (TEXI2DVI): Define always, it's not in Makeconfig.
38031 (dist): Removed.
38032 (tar-it): Removed.
38033 (edition): Removed.
38034 (glibc-doc-$(edition).tar): Removed
38035 (%.Z): Removed.
38036 (%.gz): Removed.
38037 (%.uu): Removed.
38038 (ETAGS): Remove, it's in Makeconfig.
38039 (move-if-change): Remove, it's in Makeconfig.
38040
38686a03 380412012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38042
38043 [BZ #13970]
38044 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38045 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38046 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38047 (strtod_l, strtof_l, strtold_l): Remove __wur.
38048 It is not necessarily an error to ignore strtol's return value.
38049 One can reliably look at the stored endptr to decide whether
38050 the number had valid syntax.
38051
7c0616fa
AJ
380522012-04-21 Andreas Jaeger <aj@suse.de>
38053
803cb6b7 38054 [BZ #13739]
7c0616fa
AJ
38055 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38056
b0fe253f
JM
380572012-04-21 Joseph Myers <joseph@codesourcery.com>
38058
38059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38060 * sysdeps/unix/sysv/Versions: Remove file.
38061
8280f22d
MT
380622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38063
38064 [BZ #13927]
38065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38066
75ce411f 380672012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38068
38069 [BZ #7064]
38070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38071 version from __vm86.
38072
097d59fa
JM
380732012-04-20 Joseph Myers <joseph@codesourcery.com>
38074
a90f3bcb
JM
38075 * sysdeps/unix/common/lxstat.c: Remove file.
38076 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38077
edc7ea78
JM
38078 * sysdeps/unix/sysv/Makefile: Remove file.
38079
cb78c221
JM
38080 * sysdeps/unix/sysv/direct.h: Remove file.
38081
efa6a45f
JM
38082 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38083 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38084 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38085 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38086 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38087 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38088 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38089
9c9f2d0c
JM
38090 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38091
4541c83b
JM
38092 * sysdeps/unix/xmknod.c: Remove file.
38093 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38094
f5d153a0
JM
38095 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38096
aa746595
JM
38097 * sysdeps/unix/sysv/i386/time.S: Remove file.
38098
cce5905e
JM
38099 * sysdeps/unix/fxstat.c: Remove file.
38100 * sysdeps/unix/xstat.c: Likewise.
38101 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38102
37fa3841
JM
38103 * sysdeps/unix/sysv/sigaction.c: Remove file.
38104
ff1962a3
JM
38105 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38106 (sysdep_headers): Remove variable.
38107 [termio.h not in sysdep_headers] (generated): Likewise.
38108 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38109 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38110 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38111 * sysdeps/unix/sysv/tcflow.c: Likewise.
38112 * sysdeps/unix/sysv/tcflush.c: Likewise.
38113 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38114 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38115 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38116 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38117 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38118
e7740d31
JM
38119 * sysdeps/unix/siglist.c: Remove file.
38120
ee06f18b
JM
38121 * sysdeps/unix/getppid.S: Remove file.
38122
097d59fa
JM
38123 * sysdeps/unix/mkdir.c: Remove file.
38124 * sysdeps/unix/rmdir.c: Likewise.
38125
ff3d51ec
AS
381262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38127
38128 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38129 ERR_MAX value.
38130 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38131 errlist-compat value.
38132
50f81fd7
DM
381332012-04-18 David S. Miller <davem@davemloft.net>
38134
38135 * sysdeps/generic/memcopy.h (reg_char): Delete.
38136 * debug/strcat_chk.c: Use char, not reg_char.
38137 * debug/strcpy_chk.c: Likewise.
38138 * debug/strncat_chk.c: Likewise.
38139 * debug/strncpy_chk.c: Likewise.
38140 * string/memchr.c: Likewise.
38141 * string/memrchr.c: Likewise.
38142 * string/rawmemchr.c: Likewise.
38143 * string/strcat.c: Likewise.
38144 * string/strchr.c: Likewise.
38145 * string/strchrnul.c: Likewise.
38146 * string/strcmp.c: Likewise.
38147 * string/strcpy.c: Likewise.
38148 * string/strncat.c: Likewise.
38149 * string/strncmp.c: Likewise.
38150 * string/strncpy.c: Likewise.
38151
8ff41c46
WS
381522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38153
38154 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38155 __builtin_memcopy is called when src and dest ranges are known to not
38156 overlap.
38157
6b652f46
WS
381582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38159
38160 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38161 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38162 fwd_align_merge macro call.
38163 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38164 bwd_align_merge macro call.
38165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38166
b282631e
WS
381672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38168
38169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38170 bwd_align_merge macros.
38171 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38172 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38173 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38174
95aa737c
DM
381752012-04-18 David S. Miller <davem@davemloft.net>
38176
38177 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38178
7a99a614
AJ
381792012-04-18 Andreas Jaeger <aj@suse.de>
38180
38181 [BZ# 6794]
38182 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38183 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38184 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38185
38186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38187 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38188 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38189
38190 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38191 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38192 Adjust for changed ldbl-128 files.
38193
38194 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38195 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38196 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38197
e5270c23
DM
381982012-04-17 David S. Miller <davem@davemloft.net>
38199
38200 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38201
fb5e92c9
AS
382022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38203
38204 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38205 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38206 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38207 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38208 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38209 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38210
76da7265
AZ
382112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38212
38213 [BZ #6794]
38214 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38215 * math/libm-test.inc: Add ilogb errno and exception tests.
38216 * math/w_ilogb.c: New file: ilogb wrapper.
38217 * math/w_ilogbf.c: New file: ilogbf wrapper.
38218 * math/w_ilogbl.c: New file: ilogbl wrapper.
38219 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38220 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38221 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38222 exception being thrown with 0.0 as argument.
38223 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38224 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38225 exception being thrown with 0.0 as argument.
38226 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38227 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38228 exception being thrown with 0.0 as argument.
38229 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38230 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38231 exception being thrown with 0.0 as argument.
38232 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38233 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38234 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38235 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38237 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38238 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38239 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38240 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38241
0396e69d
PB
382422012-04-17 Petr Baudis <pasky@ucw.cz>
38243
38244 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38245 with altivec.
38246
750b5926
MP
382472012-04-16 Marek Polacek <polacek@redhat.com>
38248
38249 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38250
751728a1
MP
382512012-04-16 Marek Polacek <polacek@redhat.com>
38252
38253 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38254 operands of fdivp instruction.
38255
34a27407
L
382562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38257
38258 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38259 * elf/tst-auditmod3b.c: Likewise.
38260 * elf/tst-auditmod4b.c: Likewise.
38261 * elf/tst-auditmod5b.c: Likewise.
38262 * elf/tst-auditmod6b.c: Likewise.
38263 * elf/tst-auditmod6c.c: Likewise.
38264 * elf/tst-auditmod7b.c: Likewise.
38265 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38266 * sysdeps/x86_64/preconfigure.in: Likewise.
38267 * sysdeps/x86_64/preconfigure: Regenerated.
38268
7e73e17d
L
382692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38270
38271 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38272 __ILP32__.
38273
c7a6ab72
AB
382742012-04-13 Antoine Balestrat <merkil33@gmail.com>
38275
38276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38277 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38278
a9e8e0e0
CL
382792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38280
38281 [BZ #13973]
38282 * locale/iso-639.def: Fix gl language name. Spotted by
38283 Yaron Shahrabani.
38284
ec98af7d
RM
382852012-04-12 Roland McGrath <roland@hack.frob.com>
38286
38287 [BZ #2074]
38288 * libio/libio.h (__io_write_fn): Update comment.
38289
247c3ede
PB
382902012-04-12 Petr Baudis <pasky@ucw.cz>
38291
38292 [BZ #2074]
38293 * stdio.texi (Hook Functions): The user provided writer function
38294 is not allowed to return -1.
38295
55939d6d
DM
382962012-04-11 David S. Miller <davem@davemloft.net>
38297
38298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38299
90020f5a
MF
383002012-04-11 Mike Frysinger <vapier@gentoo.org>
38301
38302 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38303 Add a leading slash to rtkaio.
38304
288f9098
JM
383052012-04-11 Jim Meyering <meyering@redhat.com>
38306
90020f5a
MF
38307 [BZ #11959]
38308 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38309 It is not necessarily an error to ignore fwrite's return
38310 value. One can reliably use ferror to test for errors after
38311 the fact.
288f9098 38312
4be2b570
L
383132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38314
38315 * bits/types.h (__snseconds_t): New type.
38316 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38317
38318 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38320 (__SNSECONDS_T_TYPE): Likewise.
38321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38322 (__SNSECONDS_T_TYPE): Likewise.
38323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38324 (__SNSECONDS_T_TYPE): Likewise.
38325
288f9098 383262012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38327
38328 [BZ #2636]
38329 * manual/time.texi (Processor Time): Return type of times is
38330 elapsed real time since an arbitrary point in the past.
38331 (CPU Time): Move CLK_TCK from here...
38332 (Processor Time): ...to here. Correct description.
38333 * manual/conf.texi (Constants for Sysconf): Correct description of
38334 _SC_CLK_TCK.
38335
d7dd4413
DM
383362012-04-10 David S. Miller <davem@davemloft.net>
38337
38338 [BZ #13967]
38339 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38340 where the is a gap between DT_REL(A) and DT_JMPREL.
38341
b46068fc
L
383422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38343
38344 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38345 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38346 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38347
73d65cc3
SP
383482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38349
38350 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38351 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38352 (dl_main): Handle --inhibit-cache.
38353 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38354 _dl_inhibit_cache.
38355 * elf/dl-load.c (_dl_map_object): Use it.
38356 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38357
bcc8d661
JM
383582012-04-09 Joseph Myers <joseph@codesourcery.com>
38359
8f9a2fae
JM
38360 [BZ #13872]
38361 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38362 (__ieee754_powl): Saturate large exponents rather than testing for
38363 overflow of y*log2(x).
38364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38365 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38366 exceptions.
38367
bcc8d661
JM
38368 [BZ #11521]
38369 * math/s_ctan.c: Include <float.h>.
38370 (__ctan): Avoid internal overflow or cancellation in calculating
38371 denominator.
38372 * math/s_ctanf.c: Likewise.
38373 * math/s_ctanl.c: Likewise.
38374 * math/s_ctanh.c: Likewise.
38375 * math/s_ctanhf.c: Likewise.
38376 * math/s_ctanhl.c: Likewise.
38377 * math/libm-test.inc (ctan_test): Add more tests.
38378 (ctanh_test): Likewise.
38379 * sysdeps/i386/fpu/libm-test-ulps: Update.
38380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38381
823fbbb4
AJ
383822012-04-09 Andreas Jaeger <aj@suse.de>
38383
03879793
AJ
38384 [BZ #6894]
38385 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38386 is an optional BSD extension.
38387
823fbbb4
AJ
38388 [BZ #10254]
38389 * manual/stdio.texi (Opening Streams): Document additional fopen
38390 parameters.
38391
8de131cb
RM
383922012-04-09 Roland McGrath <roland@hack.frob.com>
38393
38394 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38395 %eax without telling the compiler.
38396
c0ed9d7d
CD
383972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38398
38399 [BZ # 13963]
38400 * manual/install.texi: Use sourceware.org.
38401
c483f6b4
JM
384022012-04-09 Joseph Myers <joseph@codesourcery.com>
38403
d7dd9453
JM
38404 [BZ #13873]
38405 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38406 (__ieee754_pow): Generate overflow and underflow using huge*huge
38407 and tiny*tiny rather than just returning constant infinity or zero
38408 for large exponents.
38409 * math/libm-test.inc (pow_test): Require overflow exceptions for
38410 applicable cases of large exponents.
38411
c483f6b4
JM
38412 [BZ #706]
38413 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38414 (__ieee754_pow): Use iterative multiplication algorithm only for
38415 integer exponents with absolute value below 1024. Check for odd
38416 integer exponents when using algorithm for real exponents.
38417 * math/libm-test.inc (pow_test): Add more tests.
38418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38419
d2de7579
JM
384202012-04-08 Joseph Myers <joseph@codesourcery.com>
38421
38422 [BZ #13705]
38423 * math/libm-test.inc (exp_test): Do not allow overflow exception
38424 on underflow test.
38425
f77f1232
AJ
384262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38427
38428 [BZ #13705]
38429 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38430 instead of __kernel_standard_f.
38431
3884932b
MF
384322012-04-08 Mike Frysinger <vapier@gentoo.org>
38433
38434 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38435 * sysdeps/x86_64/memset_chk.S: Likewise.
38436
54472e9c
AJ
384372012-04-08 Andreas Jaeger <aj@suse.de>
38438
6ab0fbfc
AJ
38439 [BZ #10153]
38440 * manual/startup.texi (Environment Access): Describe return value
38441 for putenv and setenv.
38442
61efba8c
AJ
38443 [BZ #6895]
38444 * manual/filesys.texi (Directory Entries): Add description for
38445 DT_LNK.
38446
95c3f29a
AJ
38447 [BZ #6890]
38448 * manual/filesys.texi (Directory Entries): Clarify that it's file
38449 system not operating system in the description of DT_UNKNOWN.
38450
54472e9c
AJ
38451 [BZ #6578]
38452 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38453
624254b1
SC
384542012-04-08 Stephen Compall <s11@member.fsf.org>
38455
38456 [BZ #6649]
38457 * manual/llio.texi (Opening and Closing Files): Add cross
38458 reference to explain mode argument.
38459
1e4920e0
MF
384602012-04-07 Mike Frysinger <vapier@gentoo.org>
38461
38462 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38463 * sysdeps/x86_64/memset_chk.S: Likewise.
38464
5ed848f3
DM
384652012-04-07 David S. Miller <davem@davemloft.net>
38466
38467 * elf/elf.h (R_SPARC_WDISP10): Define.
38468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38469 R_SPARC_SIZE32.
38470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38471 R_SPARC_SIZE64 and R_SPARC_H34.
38472
96154cd8
CD
384732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38474
38475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38476 conditions and remove no longer applicable assertion.
38477
9904dc47
L
384782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38479
38480 * bits/byteswap.h: Include <features.h>.
38481 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38482 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38483
f8887d0a
L
384842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38485
38486 * bits/byteswap.h (__bswap_16): Removed.
38487 Include <bits/byteswap-16.h> to get __bswap_16.
38488 * sysdeps/i386/bits/byteswap.h: Likewise.
38489 * sysdeps/s390/bits/byteswap.h: Likewise.
38490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38491 * bits/byteswap-16.h: New file.
38492 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38493 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38494 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38495 * string/Makefile (headers): Add bits/byteswap-16.h.
38496
62470f60
PP
384972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38498
38499 [BZ #13895]
38500 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38501 extra indirection.
38502 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38503 * nss/tst-nss-static.c: New.
38504
4dad7bab
RM
385052012-04-06 Robert Millan <rmh@gnu.org>
38506
38507 [BZ #6486]
38508 * manual/llio.texi (File Position Primitive): lseek
38509 refers to WHENCE when it really means OFFSET.
38510
e9142a17
AJ
385112012-04-06 Andreas Jaeger <aj@suse.de>
38512
2c040eff
AJ
38513 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38514 strncmp declarations.
38515
e9142a17
AJ
38516 * abilist/libc.abilist: Add __poll and __ppoll.
38517
ff9f1c5f
DM
385182012-04-05 David S. Miller <davem@davemloft.net>
38519
dcd2ae90
DM
38520 * scripts/check-local-headers.sh: Accept a host triplet in the
38521 path matched by the exclude regexp.
38522
993eb054
DM
38523 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38524 definition.
38525 * sysdeps/powerpc/powerpc32/dl-machine.h
38526 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38527 * sysdeps/s390/s390-32/dl-machine.h
38528 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38529 * sysdeps/sparc/sparc32/dl-machine.h
38530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38531 * sysdeps/sparc/sparc64/dl-machine.h
38532 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38533
ff9f1c5f
DM
38534 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38535 lazy binding.
48e2e132 38536 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38537 undefined symbol errors.
38538
48e2e132 38539 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38540 DT_NEEDED entries.
38541
e80d6f94
MM
385422012-04-05 Michael Matz <matz@suse.de>
38543
38544 [BZ #13592]
38545 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38546
349fa79f
AJ
385472012-04-05 Andreas Jaeger <aj@suse.de>
38548
38549 [BZ #13908]
38550 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38551 comment.
38552
f402708f
KK
385532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38554
38555 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38556 which ROUND is no valid rounding mode.
38557
2ecccfc9
KK
385582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38559
38560 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38561 read again.
38562 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38563
8a53f50f
KK
385642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38565
38566 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38567 an exception using FPU order intentionally.
38568
385692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38570
38571 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38572 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38573 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38574 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38575
d653abb7
SJ
385762012-04-05 Simon Josefsson <simon@josefsson.org>
38577
38578 [BZ #12340]
38579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38580 EINVAL when BUFLEN is too smal.
38581
c3b1bf7d
TS
385822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38583
38584 [BZ #13553]
38585 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38586 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38587
b1aa60f3
AJ
385882012-04-03 Andreas Jaeger <aj@suse.de>
38589
c3b1bf7d 38590 [BZ #13938]
67f60a26
AJ
38591 * manual/setjmp.texi (System V contexts): Fix sentence.
38592
b1aa60f3
AJ
38593 [BZ #13926]
38594 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38595 New macro for this case.
38596 [!__GNUC__] (__bswap_64): New inline function for this case.
38597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38598 * bits/byteswap.h: Likewise.
38599 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38600 ull, guard with __GLIBC_HAVE_LONG_LONG.
38601
38602 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38603 __GLIBC_HAVE_LONG_LONG.
38604
38605 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38606 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38607
39c59c35
TMQMF
386082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38609
38610 [BZ #13691]
38611 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38612 inptr and inend, rather than using last_ch.
38613
135ffda8
DM
386142012-04-02 David S. Miller <davem@davemloft.net>
38615
38616 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38617 * stdio-common/printf-parse.h (read_int): Change return type to
38618 'int', return -1 on INT_MAX overflow.
38619 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38620 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38621 overflows INT_MAX. Check for overflow of in-format-string precision
38622 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38623 SIZE_MAX not INT_MAX for integer overflow test.
38624 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38625 skip the construct in the format string but do not record anything.
38626 * stdio-common/bug22.c: Adjust to test both width/prevision
38627 INT_MAX overflow as well as total length INT_MAX overflow. Check
38628 explicitly for proper errno values.
38629
228c019e
TS
386302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38631
302cadd3
TS
38632 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38633 CHAR_MAX.
38634 * string/test-strcmp.c [! WIDE]: Likewise.
38635 * time/tst-mktime2.c: Likewise for INT_MAX.
38636 * string/test-string.h: #include <sys/param.h> for MIN.
38637
228c019e
TS
38638 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38639 * sysdeps/i386/init-first.c (init): Likewise.
38640 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38641 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38642 * sysdeps/sh/init-first.c (init): Likewise.
38643
cfa633f5
UD
386442012-04-01 Ulrich Drepper <drepper@gmail.com>
38645
38646 * po/ru.po: Update from translation team.
d1635ef8 38647 * po/vi.po: Likewise.
cfa633f5 38648
6cd0a5ea
SP
386492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38650
38651 * resolv/nss_dns/dns-host.c: Merge copyright years.
38652
4b43400f
LD
386532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38654
38655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38656 Optimize memcpy with prefetch if
38657 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38658 src, dst pointers have unequal 16 byte alignments.
38659
48c41d04
SP
386602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38661
38662 [BZ #13928]
38663 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38664 from a CNAME entry and return the minimum ttl for the query.
38665 (gaih_getanswer_slice): Likewise.
38666
b8dc394d
JL
386672012-03-30 Jeff Law <law@redhat.com>
38668
38669 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38670 due to long keys.
38671 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38672 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38673
2f5a5ed0
JL
38674 * resolv/nss_dns/dns-host.c: Update copyright year.
38675
1d39e359
UD
386762012-03-30 Ulrich Drepper <drepper@gmail.com>
38677
c030f70c 38678 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38679 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38680
1d39e359
UD
38681 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38682 comments for sendmmsg.
38683
386842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38685
38686 [BZ #13691]
38687 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38688 with only 1 character between 0x0041 and 0x01b0.
38689 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38690 * wcsmbs/tst-mbsnrtowcs.c: New file.
38691
20fde227
DM
386922012-03-29 David S. Miller <davem@davemloft.net>
38693
38694 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38695 small copies by hand.
38696
984a4237
JL
386972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38698
38699 [BZ #13761]
57f41c40
AS
38700 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38701 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38702 group memberships.
984a4237 38703
18c9d62b
DM
387042012-03-28 David S. Miller <davem@davemloft.net>
38705
88d85d4f
DM
38706 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38707 that branches into memcpy.
38708 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38711 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38713 bits.
38714 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38715 implementation too.
38716 * sysdeps/sparc/mempcpy.S: New file.
38717
e5aa83e1
DM
38718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38719 the IFUNC routine in the libc case.
38720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38721
88570753
DM
38722 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38723 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38724 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38725 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38726 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38727 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38728 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38729 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38730
249d7567
DM
38731 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38732 loop to 256 bytes instead of 64 bytes and fix test signedness.
38733
18c9d62b
DM
38734 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38735 * sysdeps/sparc/sparc32/Makefile: rather than here...
38736 * sysdeps/sparc/sparc64/Makefile: and here.
38737
05f3d1f6
UD
387382012-03-28 Ulrich Drepper <drepper@gmail.com>
38739
38740 * malloc/mallocbug.c: Avoid warnings about unused variables.
38741
86ae07a8
JL
387422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38743
38744 [BZ #13760]
38745 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38746 in the right place. Discard and retry query if response is
38747 larger than input buffer size.
38748
41bf21a1
JM
387492012-03-28 Joseph Myers <joseph@codesourcery.com>
38750
d6270972
JM
38751 [BZ #369]
38752 [BZ #2678]
38753 [BZ #3866]
38754 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38755 x for large integer exponent.
38756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38757 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38758 sign of result as needed afterwards.
38759 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38760 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38761 result for underflowing pow the same as for overflow.
38762 (__kernel_standard_l): Handle powl overflow and underflow here
38763 rather than calling __kernel_standard.
38764 * math/libm-test.inc (pow_test): Add more tests.
38765
414fca03 38766 [BZ #3868]
41bf21a1
JM
38767 [BZ #13879]
38768 [BZ #13910]
38769 [BZ #13911]
38770 [BZ #13912]
38771 [BZ #13913]
38772 [BZ #13915]
38773 [BZ #13916]
38774 [BZ #13917]
38775 [BZ #13918]
38776 [BZ #13919]
38777 [BZ #13920]
38778 [BZ #13921]
38779 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38780 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38781 (__kernel_standard_l): New function.
38782 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38783 __kernel_standard.
38784 * math/w_acosl.c (__acosl): Likewise.
38785 * math/w_asinl.c (__asinl): Likewise.
38786 * math/w_atan2l.c (__atan2l): Likewise.
38787 * math/w_atanhl.c (__atanhl): Likewise.
38788 * math/w_coshl.c (__coshl): Likewise.
38789 * math/w_exp10l.c (__exp10l): Likewise.
38790 * math/w_exp2l.c (__exp2l): Likewise.
38791 * math/w_fmodl.c (__fmodl): Likewise.
38792 * math/w_hypotl.c (__hypotl): Likewise.
38793 * math/w_j0l.c (__j0l, __y0l): Likewise.
38794 * math/w_j1l.c (__j1l, __y1l): Likewise.
38795 * math/w_jnl.c (__jnl, __ynl): Likewise.
38796 * math/w_lgammal.c (__lgammal): Likewise.
38797 * math/w_log10l.c (__log10l): Likewise.
38798 * math/w_log2l.c (__log2l): Likewise.
38799 * math/w_logl.c (__logl): Likewise.
38800 * math/w_powl.c (__powl): Likewise.
38801 * math/w_remainderl.c (__remainderl): Likewise.
38802 * math/w_scalbl.c (sysv_scalbl): Likewise.
38803 * math/w_sinhl.c (__sinhl): Likewise.
38804 * math/w_sqrtl.c (__sqrtl): Likewise.
38805 * math/w_tgammal.c (__tgammal): Likewise.
38806 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38807 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38808 * math/libm-test.inc (acos_test): Add more tests.
38809 (acosh_test): Likewise.
38810 (asin_test): Likewise.
38811 (atanh_test): Likewise.
38812 (exp_test): Likewise.
38813 (exp10_test): Likewise.
38814 (exp2_test): Likewise.
38815 (expm1_test): Likewise.
38816 (lgamma_test): Likewise.
38817 (log_test): Likewise.
38818 (log10_test): Likewise.
38819 (log1p_test): Likewise.
38820 (log2_test): Likewise.
38821 (pow_test): Do not allow some spurious overflow exceptions.
38822 (sqrt_test): Add more tests.
38823 (tgamma_test): Likewise.
38824 (y0_test): Likewise.
38825 (y1_test): Likewise.
38826 (yn_test): Likewise.
38827
dd62fda6
AB
388282012-03-27 Anton Blanchard <anton@samba.org>
38829
38830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38831 MAP_HUGETLB.
38832 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38833 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38834 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38835
1e3cdfda
AJ
388362012-03-27 David S. Miller <davem@davemloft.net>
38837
b855ab85
DM
38838 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38839
1e3cdfda
AJ
38840 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38841 have-as-vis3 check.
38842
388432012-03-27 Andreas Jaeger <aj@suse.de>
38844
38845 * sysdeps/x86_64/elf/configure.in: Moved to ...
38846 * sysdeps/x86_64/configure.in: ... here.
38847 * sysdeps/x86_64/elf/start.S: Moved to ...
38848 * sysdeps/x86_64/start.S: ... here.
38849 * sysdeps/x86_64/elf/configure: Delete.
38850
38851 * sysdeps/x86_64/configure.in: Merge contents from
38852 sysdeps/i386/configure.in (without i686 check).
38853
38854 * sysdeps/i386/elf/Versions: Merge into ...
38855 * sysdeps/i386/Versions: ... this.
38856 * sysdeps/i386/elf/Versions: Delete file.
38857 * sysdeps/i386/elf/start.S: Moved to ...
38858 * sysdeps/i386/start.S: ...here.
38859 * sysdeps/i386/elf/configure.in: Merge into...
38860 * sysdeps/i386/configure.in: ...here.
38861 * sysdeps/i386/elf/configure.in: Delete file.
38862 * sysdeps/i386/elf/configure: Delete file.
38863
38864 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38865 * debug/backtracesyms.c: ... here.
38866 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38867 * debug/backtracesymsfd.c: ... here.
38868 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38869 * sysdeps/generic/ifunc-sel.h: ... here.
38870
38871 * sysdeps/unix/i386/start.c: Delete file.
38872 * sysdeps/unix/sparc/start.c: Delete file.
38873 * sysdeps/unix/start.c: Delete file.
38874
38875 * sysdeps/sh/elf/configure.in: Moved to ...
38876 * sysdeps/sh/configure.in: ... here.
38877 * sysdeps/sh/elf/start.S: Moved to ...
38878 * sysdeps/sh/start.S: ... here.
38879 * sysdeps/sh/elf/configure: Delete file.
38880
38881 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38882 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38883 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38884 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38885 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38886 * sysdeps/powerpc/powerpc64/start.S: here.
38887 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38888 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38889 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38890 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38891 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38892
38893 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38894 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38895 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38896 * sysdeps/powerpc/powerpc32/start.S: ... here.
38897 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38898 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38899 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38900
38901 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38902 * sysdeps/powerpc/ifunc-sel.h: ... here.
38903 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38904 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38905
38906 * sysdeps/sparc/elf/configure.in: Moved to ...
38907 * sysdeps/sparc/configure.in: ... here.
38908 * sysdeps/sparc/elf/configure: Delete file.
38909 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38910 * sysdeps/sparc/sparc32/start.S: ... here.
38911 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38912 * sysdeps/sparc/sparc64/start.S: ... here.
38913 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38914 * sysdeps/sparc/sparc32/Makefile: ... this.
38915 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38916 * sysdeps/sparc/sparc64/Makefile: ... this.
38917
38918 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38919 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38920 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38921 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38922 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38923 * sysdeps/s390/s390-32/setjmp.S: ... here.
38924 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38925 * sysdeps/s390/s390-32/configure.in: ... here.
38926 * sysdeps/s390/s390-32/elf/configure: Delete file.
38927 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38928 * sysdeps/s390/s390-32/start.S: ... here.
38929
38930 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38931 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38932 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38933 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38934 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38935 * sysdeps/s390/s390-64/setjmp.S: ... here.
38936 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38937 * sysdeps/s390/s390-64/configure.in: ... here
38938 * sysdeps/s390/s390-64/elf/configure: Delete file.
38939 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38940 * sysdeps/s390/s390-64/start.S: ... here.
38941 * sysdeps/s390/s390-64/elf/configure: Delete.
38942
38943 * configure.in: Remove support for elf directories in sysdeps.
38944
38945 * configure: Regenerated.
38946 * sysdeps/i386/configure: Regenerated.
38947 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38948 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38949 * sysdeps/s390/s390-32/configure: Regenerated.
38950 * sysdeps/s390/s390-64/configure: Regenerated.
38951 * sysdeps/sh/configure: Regenerated.
38952 * sysdeps/sparc/configure: Regenerated.
38953 * sysdeps/x86_64/configure: Regenerated.
38954
a3f61311
AS
389552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38956
c876e002
AS
38957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38958
a3f61311
AS
38959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38960 denormal result into account.
38961
ac4c54f0
RM
389622012-03-25 Roland McGrath <roland@hack.frob.com>
38963
38964 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38965 Reported by Allan McRae <allan@archlinux.org>.
38966
6a9b9c02
JL
389672012-03-23 Jeff Law <law@redhat.com>
38968
38969 * nss/getnssent.c (__nss_getent): Fix typo.
38970
4c42a0c1
DM
389712012-03-23 David S. Miller <davem@davemloft.net>
38972
38973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38974
1532c7ac
L
389752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38976
38977 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38978 to pad to uint64_t for each field.
38979 (dl_tls_index): Replace unsigned long with uint64_t.
38980
3ff42526
PP
389812012-03-23 Daniel Jacobowitz <dmj@google.com>
38982 Paul Pluzhnikov <ppluzhnikov@google.com>
38983
38984 [BZ #6528]
38985 * grp/Makefile (otherlibs): Don't set it.
38986 * inet/Makefile (otherlibs): Likewise.
38987 * login/Makefile (otherlibs): Likewise.
38988 * nscd/Makefile (otherlibs): Likewise.
38989 * posix/Makefile (otherlibs): Likewise.
38990 * pwd/Makefile (otherlibs): Likewise.
38991 * rt/Makefile (otherlibs): Likewise.
38992 * sunrpc/Makefile (otherlibs): Likewise.
38993 * nss/Makefile (otherlibs): Likewise.
38994 Add libnss_files to routines and static-only-routines.
38995 ($(objpfx)getent): Remove rule.
38996 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38997 static-only-routines.
38998
7c69cd14
JM
389992012-03-22 Joseph Myers <joseph@codesourcery.com>
39000
39001 [BZ #13892]
39002 * math/s_cexp.c: Include <float.h>.
39003 (__cexp): Handle exp result overflowing not necessarily
39004 overflowing both real and imaginary parts of result.
39005 * math/s_cexpf.c: Likewise.
39006 * math/s_cexpl.c: Likewise.
39007 * math/libm-test.inc (cexp_test): Add more tests.
39008 * sysdeps/i386/fpu/libm-test-ulps: Update.
39009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39010
81b035fe
L
390112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39012
39013 * include/link.h (ELFW): New macro.
39014 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39015 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39016
1da7940c
L
390172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39018
39019 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39020 with uint64_t.
39021
b749dbb9
L
390222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39023
39024 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39025 declaration.
39026 (struct La_x32_retval): Likewise.
39027
2ff87f3f
L
390282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39029
39030 * sysdeps/x86_64/preconfigure.in: New file.
39031 * sysdeps/x86_64/preconfigure: New generated file.
39032
c0df8e69
JM
390332012-03-22 Joseph Myers <joseph@codesourcery.com>
39034
48e44791
JM
39035 [BZ #13824]
39036 * math/e_exp2l.c: Include <float.h>.
39037 (__ieee754_exp2l): Handle overflow and underflow cases
39038 separately. Only pass fractional part of argument to
39039 __ieee754_expl.
39040 * math/libm-test.inc (exp2_test): Add more tests.
39041
c0df8e69
JM
39042 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39043 negating x to take absolute value.
39044 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39045 Likewise.
39046 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39047 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39048 Likewise.
39049 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39050 computing low part if x was negated.
39051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39052
c8e43ba7
L
390532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39054
39055 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39056 la_x32_gnu_pltexit.
39057 (pltexit): Cast int_retval to ptrdiff_t.
39058 * elf/tst-auditmod3b.c: Likewise.
39059 * elf/tst-auditmod4b.c: Likewise.
39060 * elf/tst-auditmod5b.c: Likewise.
39061 * elf/tst-auditmod6b.c: Likewise.
39062 * elf/tst-auditmod6c.c: Likewise.
39063 * elf/tst-auditmod7b.c: Likewise.
39064
39065 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39066 and x32_gnu_pltexit.
39067
39068 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39069 __ELF_NATIVE_CLASS.
39070 (La_x32_regs): New macro.
39071 (La_x32_retval): Likewise.
39072 (la_x32_gnu_pltenter): New function prototype.
39073 (la_x32_gnu_pltexit): Likewise.
39074
7998fa78
AS
390752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39076
dcb33988
AS
39077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39078 exponent.
39079
233fc563
AS
39080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39081
7998fa78
AS
39082 * configure.in (libc_cv_cc_nofma): Check for option to disable
39083 generation of FMA instructions.
39084 * configure: Regenerate.
39085 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39086 * sysdeps/ieee754/dbl-64/Makefile: New file.
39087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39088 Remove brandred-fma4.
39089 (CFLAGS-brandred-fma4.c): Remove.
39090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39091 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39092 define.
39093 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39094 define.
39095
8e95c99a
L
390962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39097
39098 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39099 LLONG_MAX != LONG_MAX.
39100 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39101 (_fitoa_word): Likewise.
39102 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39103 LLONG_MAX != LONG_MAX.
39104 * stdio-common/_itowa.h: Include <_itoa.h>.
39105 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39106 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39107 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39108 only if not defined.
39109 (_ITOA_WORD_TYPE): Likewise.
39110 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39111 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39112
6f4db457
DM
391132012-03-21 David S. Miller <davem@davemloft.net>
39114
39115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39116
7785fe5a
L
391172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39118
39119 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39120 of x86_64 when setting libc_cv_slibdir, libdir and
39121 libc_cv_localedir.
39122 * sysdeps/unix/sysv/linux/configure: Regenerated.
39123
4535cd55
JM
391242012-03-21 Joseph Myers <joseph@codesourcery.com>
39125
39126 * manual/lang.texi (Old Varargs): Remove section.
39127 (How Variadic): Update menu.
39128 (va_start): Do not mention varargs.h.
39129
17228132
TS
391302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39131 Joseph Myers <joseph@codesourcery.com>
39132
39133 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39134 link test.
39135 * configure: Regenerated.
39136
8149f976
TS
391372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39138
05f3d1f6
UD
39139 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39140 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39141 conformtest.pl
8149f976 39142
1a4ac776
JM
391432012-03-21 Joseph Myers <joseph@codesourcery.com>
39144
be22ce65
JM
39145 * NOTES: Remove.
39146 * Makefile (files-for-dist): Remove NOTES.
39147 (NOTES): Remove rule.
39148 * README: Don't refer to NOTES.
39149 * manual/creature.texi: Don't include macros.texi.
39150 * manual/intro.texi (creature.texi): Remove comment referring to
39151 NOTES.
39152
40b601fb
JM
39153 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39154 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39155 * configure: Regenerated.
39156 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39157 LIBC_TRY_CC_OPTION.
39158 (libc_cv_as_i686): Likewise.
39159 (libc_cv_cc_avx): Likewise.
39160 (libc_cv_cc_sse2avx): Likewise.
39161 (libc_cv_cc_fma4): Likewise.
39162 (libc_cv_cc_novzeroupper): Likewise.
39163 * sysdeps/i386/configure: Regenerated.
39164
1a4ac776
JM
39165 [BZ #13883]
39166 * sysdeps/i386/fpu/s_cexp.S: Remove.
39167 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39168 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39169 * math/libm-test.inc (cexp_test): Add more tests.
39170 * sysdeps/i386/fpu/libm-test-ulps: Update.
39171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39172
a458e7fe
AM
391732012-03-21 Allan McRae <allan@archlinux.org>
39174
39175 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39176
0cb7efc5
JM
391772012-03-21 Joseph Myers <joseph@codesourcery.com>
39178
39179 [BZ #13871]
39180 * math/w_exp2.c: Do not include <float.h>.
39181 (o_threshold, u_threshold): Remove.
39182 (__exp2): Calculate result before checking finiteness and calling
39183 __kernel_standard.
39184 * math/w_exp2f.c: Likewise.
39185 * math/w_exp2l.c: Likewise.
39186 * math/libm-test.inc (exp2_test): Require overflow exception for
39187 1e6 input.
2460d3aa
JM
39188
39189 [BZ #3866]
39190 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39191 range of signed 64-bit integers before using fistpll. Remove
39192 checks for whether integers fit in mantissa bits.
39193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39194 the range of signed 32-bit integers before using fistpl. Remove
39195 checks for whether integers fit in mantissa bits.
39196 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39197 (__ieee754_powl): Test for y outside the range of signed 64-bit
39198 integers before using fistpll. Reduce 64-bit values to 63-bit
39199 ones as needed.
39200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39201 divide-by-zero is raised for zero to large negative powers.
39202 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39203 (__ieee754_powl): Test for y outside the range of signed 64-bit
39204 integers before using fistpll. Reduce 64-bit values to 63-bit
39205 ones as needed.
39206 * math/libm-test.inc (pow_test): Add more tests.
39207
eb96ffb0
L
392082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39209
39210 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39211 <stdio-common/_itoa.h>.
39212 * debug/segfault.c: Likewise.
39213 * elf/dl-cache.c: Likewise.
39214 * elf/dl-minimal.c: Likewise.
39215 * elf/dl-misc.c: Likewise.
39216 * elf/dl-sysdep.c: Likewise.
39217 * elf/dl-version.c: Likewise.
39218 * elf/rtld.c: Likewise.
39219 * hurd/hurdsock.c: Likewise.
39220 * hurd/lookup-retry.c: Likewise.
39221 * malloc/malloc.c: Likewise.
39222 * malloc/mtrace.c: Likewise.
39223 * nscd/nscd_getgr_r.c: Likewise.
39224 * nscd/nscd_getpw_r.c: Likewise.
39225 * nscd/nscd_getserv_r.c: Likewise.
39226 * posix/getopt_init.c: Likewise.
39227 * posix/wordexp.c: Likewise.
39228 * stdio-common/_itoa.c: Likewise.
39229 * stdio-common/printf_fphex.c: Likewise.
39230 * stdio-common/vfprintf.c: Likewise.
39231 * string/_strerror.c: Likewise.
39232 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39233 * sysdeps/i386/i686/hp-timing.h: Likewise.
39234 * sysdeps/mach/_strerror.c: Likewise.
39235 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39236 * sysdeps/mach/hurd/sethostid.c: Likewise.
39237 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39238 * sysdeps/mach/xpg-strerror.c: Likewise.
39239 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39240 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39241 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39242 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39243 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39244 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39246 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39247 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39248 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39249 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39250 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39251 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39252 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39253 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39254 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39255 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39256 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39257 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39258 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39259 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39260
39261 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39262
39263 * stdio-common/_itoa.h: Moved to ...
39264 * sysdeps/generic/_itoa.h: Here.
39265
39266 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39267
39268 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39269 instead of "_itoa.h" and "_itowa.h".
39270 * stdio-common/vfprintf.: Likewise.
39271
d1af992d
L
392722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39273
39274 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39275 <bits/wordsize.h>.
39276 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39277 (__signbit): Likwise.
39278 (llrintf): Likwise.
39279 (llrint): Likwise.
39280
114883e0
L
392812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39282
39283 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39284 __WORDSIZE != 64.
39285
c135cc1b
JM
392862012-03-20 Joseph Myers <joseph@codesourcery.com>
39287
39288 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39289 OVERFLOW_EXCEPTION_OK.
39290 * math/libm-test.inc ("Philosophy"): Update comment about
39291 exception testing.
39292 (OVERFLOW_EXCEPTION): Define.
39293 (OVERFLOW_EXCEPTION_OK): Likewise.
39294 (INVALID_EXCEPTION_OK): Renumber.
39295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39296 (IGNORE_ZERO_INF_SIGN): Likewise.
39297 (test_exceptions): Handle FE_OVERFLOW.
39298 (exp10_test): Expect overflow exceptions.
39299 (exp2_test): Likewise.
39300 (expm1_test): Likewise.
39301 (nextafter_test): Likewise.
39302 (pow_test): Likewise.
39303 (scalbn_test): Likewise.
39304 (scalbln_test): Likewise.
39305
95443d88
L
393062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39307
39308 * sysdeps/x86_64/bits/atomic.h
39309 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39310 64bit integer.
39311 (atomic_exchange_acq): Likewise.
39312 (__arch_exchange_and_add_body): Likewise.
39313 (__arch_add_body): Likewise.
39314 (atomic_add_negative): Likewise.
39315 (atomic_add_zero): Likewise.
39316
490df6c4
L
393172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39318
c2722551 39319 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39320 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39321
5e52b189
L
393222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39323
39324 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39325 Check __x86_64__ instead of __WORDSIZE.
39326
a9879d4c
L
393272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39328
39329 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39330
5df98260
DM
393312012-03-19 David S. Miller <davem@davemloft.net>
39332
e1497744
DM
39333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39334
5df98260
DM
39335 * sysdeps/sparc/fpu/fenv_private.h: New file.
39336 * sysdeps/sparc/fpu/math_private.h: Use it.
39337 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39338 Remove.
57f41c40 39339 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39340 (libc_feholdexcept_setroundl): Remove.
39341 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39342 Remove.
39343 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39344 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39345
b4c35121
L
393462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39347
39348 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39349 int64_t instead of long int.
39350 (INSERT_WORDS64): Likwise.
39351
56965fd7
L
393522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39353
39354 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39355 _Unwind_GetCFA return to _Unwind_Ptr first.
39356
83d1aec8
JM
393572012-03-19 Joseph Myers <joseph@codesourcery.com>
39358
1897ad44
JM
39359 [BZ #13629]
39360 * math/s_clog.c: Include <float.h>.
39361 (__clog): Scale large or subnormal inputs.
39362 * math/s_clogf.c: Likewise.
39363 * math/s_clogl.c: Likewise.
39364 * math/s_clog10.c: Include <float.h>.
39365 (M_LOG10_2): Define.
39366 (__clog10): Scale large or subnormal inputs.
39367 * math/s_clog10f.c: Likewise.
39368 * math/s_clog10l.c: Likewise.
39369 * math/libm-test.inc (clog_test): Add more tests.
39370 (clog10_test): Likewise.
39371 * sysdeps/i386/fpu/libm-test-ulps: Update.
39372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39373
7726d6a9
JM
39374 [BZ #11451]
39375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39376 x and y.
39377 * math/libm-test.inc (atan2_test): Add another test.
39378
83d1aec8
JM
39379 * Makerules (common-objdir-compile): Remove.
39380 * sysdeps/unix/Makefile (config-generated): Do not add
39381 $(unix-generated) to variable.
39382 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39383 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39384 Remove rule.
39385 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39386 Likewise.
39387 [generic bits/local_lim.h] (before-compile): Do not append to
39388 variable.
39389 [generic bits/local_lim.h] (common-generated): Likewise.
39390 [generic sys/param.h] (before-compile): Do not append to variable.
39391 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39392 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39393 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39394 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39395 include.
39396 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39397 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39398 [generic sys/param.h] ($(addprefix
39399 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39400 [generic sys/param.h] (common-generated): Do not append to
39401 variable.
39402 [generic sys/param.h] (sysdep_headers): Likewise.
39403 [generic bits/errno.h] (before-compile): Do not append to
39404 variable.
39405 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39406 rule.
39407 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39408 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39409 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39410 [generic bits/errno.h] (common-generated): Do not append to
39411 variable.
39412 [generic bits/ioctls.h] (before-compile): Do not append to
39413 variable.
39414 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39415 rule.
39416 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39417 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39418 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39419 rule.
39420 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39421 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39422 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39423 [generic bits/ioctls.h] (common-generated): Do not append to
39424 variable.
39425 [generic sys/syscall.h] (syscall.h): Remove variable.
39426 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39427 rule.
39428 [generic sys/syscall.h] (before-compile): Do not append to
39429 variable.
39430 [generic sys/syscall.h] (common-generated): Likewise.
39431 * sysdeps/unix/errnos-tmpl.c: Remove file.
39432 * sysdeps/unix/errnos.awk: Likewise.
39433 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39434 * sysdeps/unix/ioctls.awk: Likewise.
39435 * sysdeps/unix/mk-local_lim.c: Likewise.
39436 * sysdeps/unix/snarf-ioctls: Likewise.
39437
4851a949
RH
394382012-03-19 Richard Henderson <rth@twiddle.net>
39439
bd37f2ee
RH
39440 * sysdeps/i386/fpu/fenv_private.h: New file.
39441 * sysdeps/i386/fpu/math_private.h: Use it.
39442 (math_opt_barrier, math_force_eval): Remove.
39443 (libc_feholdexcept_setround_53bit): Remove.
39444 (libc_feupdateenv_53bit): Remove.
39445 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39446 (math_opt_barrier, math_force_eval): Remove.
39447 (libc_feholdexcept): Remove.
39448 (libc_feholdexcept_setround): Remove.
39449 (libc_fetestexcept, libc_fesetenv): Remove.
39450 (libc_feupdateenv_test): Remove.
39451 (libc_feupdateenv, libc_feholdsetround): Remove.
39452 (libc_feresetround): Remove.
39453
d0adc922
RH
39454 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39455 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39456
0fe0f1f8
RH
39457 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39458 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39459 (libc_feupdateenv_testl): New.
39460 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39461 (libc_feupdateenv_testf): New.
39462 (libc_feupdateenv): Use libc_feupdateenv_test.
39463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39464 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39465
eb92c487
RH
39466 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39467 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39468 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39469 (libc_feresetround_noex): New.
39470 (libc_feresetround_noexf): New.
39471 (libc_feresetround_noexl): New.
39472 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39473 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39474 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39475 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39476 SET_RESTORE_ROUND.
39477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39479 (__cos): Likewise.
39480 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39481 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39482 SET_RESTORE_ROUND_NOEX.
39483 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39484 SET_RESTORE_ROUND_NOEXF.
39485 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39486 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39487 (libc_feholdsetroundf): New.
39488 (libc_feresetround, libc_feresetroundf): New.
39489
7d2e8012
RH
39490 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39491 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39492 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39493
b4dabbb4
RH
39494 * sysdeps/generic/math_private.h: Include <fenv.h>.
39495 (default_libc_feholdexcept): New.
39496 (default_libc_feholdexcept_setround): New.
39497 (default_libc_fesetenv, default_libc_feupdateenv): New.
39498 (libc_feholdexcept): Only define if undefined.
39499 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39500 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39501 (libc_feholdexcept_setroundl): Likewise.
39502 (libc_feholdexcept_setround_53bit): Likewise.
39503 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39504 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39505 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39506 (libc_feupdateenv_53bit): Likewise.
39507 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39508 (libc_feholdexcept): Convert from macro to inline function.
39509 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39510 (libc_fesetenv, libc_feupdateenv): Likewise.
39511
4851a949
RH
39512 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39513 not previously defined.
39514 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39515 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39516 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39517 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39518 * sysdeps/ieee754/flt-32/math_private.h: New file.
39519 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39520 math_private.h below SET_FLOAT_WORD.
39521 (__isnan, __isinf_ns, __finite): Remove.
39522 (__isnanf, __isinf_nsf, __finitef): Remove.
39523
e79d442e
AS
395242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39525
39526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39527
90b80344
DM
395282012-03-17 David S. Miller <davem@davemloft.net>
39529
39530 [BZ #6471]
39531 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39532 for 2.16.
39533
edc21804
DM
395342012-03-16 David S. Miller <davem@davemloft.net>
39535
77e927af
DM
39536 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39537 warnings.
39538
374976dd
DM
39539 [BZ #6471]
39540 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39541 properly.
39542 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39543 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39544 sysdep_routines when subdir is sysvipc.
39545 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39546 __getshmlba helper.
39547
edc21804
DM
39548 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39549
473c3ef3
L
395502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39551
39552 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39553 [__LP64__].
39554
eb0f39b6
L
395552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39556
39557 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39558 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39559 (__lround): Renamed to ...
39560 (__llround): This. Replace long int with long long int.
39561 Define lround functions as aliases of llround functions.
39562 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39563
6b6cd74b
L
395642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39565
39566 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39567 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39568 adresses to uintptr_t. Replace "long int" and "unsigned long
39569 int" with "greg_t" on va_arg.
39570
f1a77b01
L
395712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39572
39573 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39574 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39575
39576 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39577 Move e_machine check before EI_CLASS check. Handle x32
39578 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39579 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39580 SKIP_EM_IA_64 and include
39581 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39582
39583 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39584 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39585 (add_system_dir): New macro.
39586
39587 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39588 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39589
11b90b9f
JM
395902012-03-16 Joseph Myers <joseph@codesourcery.com>
39591
c36e1d23
JM
39592 [BZ #2551]
39593 [BZ #2552]
39594 [BZ #2553]
39595 [BZ #2554]
39596 [BZ #2562]
39597 [BZ #2563]
39598 [BZ #2565]
39599 [BZ #2566]
39600 [BZ #2576]
39601 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39602 (y0): Likewise.
39603 * math/w_j0f.c (j0f): Likewise.
39604 (y0f): Likewise.
39605 * math/w_j0l.c (__j0l): Likewise.
39606 (__y0l): Likewise.
39607 * math/w_j1.c (j1): Likewise.
39608 (y1): Likewise.
39609 * math/w_j1f.c (j1f): Likewise.
39610 (y1f): Likewise.
39611 * math/w_j1l.c (__j1l): Likewise.
39612 (__y1l): Likewise.
39613 * math/w_jn.c (jn): Likewise.
39614 (yn): Likewise.
39615 * math/w_jnf.c (jnf): Likewise.
39616 (ynf): Likewise.
39617 * math/w_jnl.c (__jnl): Likewise.
39618 (__ynl): Likewise.
39619 * math/libm-test.inc (j0_test): Add more tests.
39620 (j1_test): Likewise.
39621 (jn_test): Likewise. Add trailing semicolon to existing test.
39622 (y0_test): Likewise.
39623 (y1_test): Likewise.
39624 * sysdeps/i386/fpu/libm-test-ulps: Update.
39625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39626
11b90b9f
JM
39627 [BZ #13851]
39628 [BZ #13854]
39629 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39630 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39631 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39632 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39633 (__tanl): Set errno for infinite argument.
39634 * sysdeps/i386/fpu/mptan.c: Remove.
39635 * sysdeps/i386/fpu/s_tan.S: Likewise.
39636 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39637 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39638 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39639 * math/libm-test.inc (tan_test): Add more tests and enable more
39640 tests for double and long double.
39641 * sysdeps/i386/fpu/libm-test-ulps: Update.
39642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39643
6a1bd2a1
JK
396442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39645
39646 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39647 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39648
10a803e0
RM
396492012-03-16 Roland McGrath <roland@hack.frob.com>
39650
39651 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39652 * configure.in: Use it for both main tree and add-ons.
39653 * configure: Regenerated.
39654
f196c7f7
L
396552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39656
39657 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39658
8848d99d
JM
396592012-03-16 Joseph Myers <joseph@codesourcery.com>
39660
96cbe7f4
JM
39661 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39662 in comment.
39663
8848d99d
JM
39664 [BZ #13851]
39665 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39666 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39667 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39670 infinite argument.
39671 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39673 != 0 for prec == 2.
39674 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39675 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39676 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39677 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39678 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39679 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39680 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39681 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39682 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39683 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39684 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39685 * math/libm-test.inc (cos_test): Add more tests and enable more
39686 tests for long double.
39687 (sin_test): Likewise.
39688 (sincos_test): Likewise.
39689 * sysdeps/i386/fpu/libm-test-ulps: Update.
39690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39691
dd7f4703
DM
396922012-03-16 David S. Miller <davem@davemloft.net>
39693
39694 * sysdeps/sparc/fpu/math_private.h: New file.
39695
006f1daa
DM
396962012-03-15 David S. Miller <davem@davemloft.net>
39697
c0c83bc8
DM
39698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39699 file.
e6a62e18 39700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39702 file.
e6a62e18
DM
39703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39709 sysdep routines.
39710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39711
88cb87d9
DM
39712 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39713 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39714
006f1daa 39715 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39717 sparc-ifunc.h
006f1daa 39718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39720 Likewise.
39721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39722 Likewise.
006f1daa
DM
39723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39727 Likewise.
006f1daa
DM
39728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39733 Likewise.
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39735 Likewise.
006f1daa
DM
39736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39760
11e0098e
AS
397612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39762
39763 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39764 scaling.
39765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39766
e85b09d0
AJ
397672012-03-15 Andreas Jaeger <aj@suse.de>
39768
39769 [BZ #13852]
39770 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39771 ieee754/flt-32 implementation for sin, cos and sincos.
39772 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39773 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39774 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39775 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39776 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39777 ieee754/flt-32 implementation for tan.
39778
39779 * math/libm-test.inc (cos_test): Enable some large input tests for
39780 float as well
39781 (sin_test): Likewise.
39782 (sincos_test): Likewise.
39783 (tan_test): Add tests for large input.
39784
39785 * sysdeps/i386/fpu/libm-test-ulps: Update.
39786
81c64153
AJ
397872012-03-15 Andreas Jaeger <aj@suse.de>
39788
39789 [BZ #13658]
39790 * math/libm-test.inc (cos_test): Add more test cases.
39791 (sin_test): Likewise.
39792 (sincos_test): Likewise.
39793
7bbfa5c6
AJ
397942012-03-15 Andreas Jaeger <aj@suse.de>
39795
39796 [BZ #13837]
39797 * math/libm-test.inc (cos_test): Add a test case for large input
39798 value.
39799 (sin_test): Likewise.
39800 (sincos_test): Likewise.
39801
57f41c40
AS
398022012-03-15 Andreas Jaeger <aj@suse.de>
39803 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39804
39805 [BZ #13658]
0671f479 39806 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39807 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39808 * sysdeps/i386/fpu/branred.c: Likewise.
39809 * sysdeps/i386/fpu/dosincos.c: Likewise.
39810 * sysdeps/i386/fpu/mpa.c: Likewise.
39811 * sysdeps/i386/fpu/s_cos.S: Likewise.
39812 * sysdeps/i386/fpu/s_sin.S: Likewise.
39813 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39814 * sysdeps/i386/fpu/sincos32.c: Likewise.
39815
39816 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39817 Define.
39818 (libc_feupdateenv_53bit): Define.
39819 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39820 Define.
39821 (libc_feupdateenv_53bit): Define.
39822
39823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39824 53 bit (without extend i386 double precision).
39825
39826 * math/libm-test.inc (sincos_test): Add tests for large input.
39827 (sin): Likewise.
39828 (cos): Likewise.
39829
39830 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39831
9cad04ea
AS
398322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39833
39834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39835
f7062b9a
DM
398362012-03-15 David S. Miller <davem@davemloft.net>
39837
39838 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39839 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39840 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39841 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39854 file.
f7062b9a 39855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39857 file.
f7062b9a 39858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39860 file.
f7062b9a 39861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39863 file.
f7062b9a
DM
39864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39866 fmin/fmax sysdep routines.
39867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39868
7bd951ff
DM
398692012-03-14 David S. Miller <davem@davemloft.net>
39870
559398ab
DM
39871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39878 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39894 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39900 routines.
39901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39902 file.
559398ab 39903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39905 file.
559398ab 39906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39908 file.
559398ab 39909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39911 file.
559398ab 39912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39914 file.
559398ab 39915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39917 file.
39918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39919 file.
39920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39921 file.
39922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39923 file.
39924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39925 New file.
39926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39927 file.
39928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39929 file.
559398ab 39930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39932 file.
559398ab 39933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39935 file.
559398ab 39936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39938 file.
559398ab 39939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39941 VIS3 routines.
559398ab
DM
39942
39943 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39944 New file.
39945
5a1c1e32
DM
39946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39947
eae47a36
DM
39948 * sysdeps/sparc/configure.in: New file.
39949 * sysdeps/sparc/configure: Generate.
39950 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39951 * configure: Regenerate.
39952 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39953 * config.make.in (have-as-vis3): New.
39954 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39955 available use -Av9d instead of -Av9a.
39956 * sysdeps/sparc/sparc64/Makefile: Likewise.
39957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39959 New file.
39960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39961 file.
39962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39963 New file.
39964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39965 file.
eae47a36
DM
39966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39971
c0c83bc8
DM
39972 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39973 fzeros/fnegs to load 0x80000000 into a float register instead of
39974 using the stack.
7bd951ff
DM
39975 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39976
bd951ccb
JM
399772012-03-14 Joseph Myers <joseph@codesourcery.com>
39978
39979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39980 bits/syscall.h.
39981 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39982 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39983 ($(inst_includedir)/bits/syscall.h): Remove rule.
39984 ($(objpfx)bits/syscall.d): Include instead of
39985 $(objpfx)syscall-list.d.
39986 (generated): Change syscall-list.h and syscall-list.d to
39987 bits/syscall.h and bits/syscall.d.
39988
bb4e6db2
RM
399892012-03-14 Roland McGrath <roland@hack.frob.com>
39990
39991 [BZ #13846]
39992 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39993
aa4a2ae1
JM
399942012-03-14 Joseph Myers <joseph@codesourcery.com>
39995
e456826d
JM
39996 [BZ #13841]
39997 * math/s_csqrt.c: Include <float.h>.
39998 (__csqrt): Scale large or subnormal inputs.
39999 * math/s_csqrtf.c: Likewise.
40000 * math/s_csqrtl.c: Likewise.
40001 * math/libm-test.inc (csqrt_test): Add more tests.
40002 * sysdeps/i386/fpu/libm-test-ulps: Update.
40003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40004
aa4a2ae1
JM
40005 [BZ #13840]
40006 * math/libm-test.inc (hypot_test): Add more tests.
40007
7c10fd35
DM
400082012-03-13 David S. Miller <davem@davemloft.net>
40009
40010 [BZ #13840]
40011 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40012 double-precision for the calculation instead of scaling.
40013
f453b98b
JM
400142012-03-13 Joseph Myers <joseph@codesourcery.com>
40015
40016 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40017 manipulate bits before adding and subtracting TWO52[sx].
40018 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40019 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40020 Likewise.
40021 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40022
09a3453f
DM
400232012-03-13 David S. Miller <davem@davemloft.net>
40024
8e59da90
DM
40025 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40026 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40028 rtld-global-offsets.h
40029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40030
2a8ab7f2
DM
40031 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40032 large parameters.
40033
10f62770
DM
40034 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40035
5f0bdb18
DM
40036 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40037 'err' in the ifdef scope in which it is actually used.
40038
09a3453f
DM
40039 * nss/nss_db/db-init.c: Include string.h
40040
b4b2eb5e
DM
400412012-03-12 David S. Miller <davem@davemloft.net>
40042
98bb2f1c
DM
40043 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40044 masking out of the most significant byte of random value used.
40045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40046 Fix coding style in previous change.
40047
b4b2eb5e
DM
40048 * sysdeps/unix/sysv/linux/kernel-features.h
40049 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40050 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40051 expression.
40052 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40053 later.
40054
6e226b09
DM
400552012-03-11 David S. Miller <davem@davemloft.net>
40056
a1bcbd40
DM
40057 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40058 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40060 for 'resultvar' otherwise things get truncated on 64-bit.
40061
cb9d6174
DM
40062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40063 Fix masking out of the most significant byte of random value used.
40064
6e226b09
DM
40065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40066
058c132d
AS
400672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40068
40069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40070
2d2cd515
DM
400712012-03-09 David S. Miller <davem@davemloft.net>
40072
40073 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40074 variables with appropriate CPP guards.
57f41c40
AS
40075 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40076 from the frame pointer, not the stack pointer. Correct layout
40077 comments. Fix test on resulting framesize and the management of
40078 the outregs buffer for pltexit. Preserve floating point return
40079 values across _dl_call_pltexit call.
2d2cd515
DM
40080 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40081 framesize and the management of the outregs buffer for pltexit.
40082 Preserve floating point return values across _dl_call_pltexit
40083 call.
57f41c40
AS
40084 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40085 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40086 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40087 (print_exit): Fix format string for return register value.
40088
9a07f9d0
JM
400892012-03-10 Joseph Myers <joseph@codesourcery.com>
40090
40091 * sunrpc/Makefile (others): Add rpcgen.
40092 ($(objpfx)rpcgen): Remove special build rule and dependency on
40093 libc.
40094 * sunrpc/rpcgen.c: New file.
40095
547b5e30
PE
400962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40097
c524201a
PE
40098 [BZ #13673]
40099 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40100 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40101 * sysdeps/i386/crti.S: Likewise.
40102 * sysdeps/i386/crtn.S: Likewise.
40103 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40104 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40105 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40106 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40107 * sysdeps/sh/crti.S: Likewise.
40108 * sysdeps/sh/crtn.S: Likewise.
40109 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40110
7b6235f2
PE
40111 [BZ #13673]
40112 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40113 with URL.
40114 * locale/programs/locfile-kw.gperf: Likewise.
40115 * locale/programs/charmap-kw.h: Regenerated.
40116 * locale/programs/locfile-kw.h: Likewise.
40117
547b5e30
PE
40118 [BZ #13673]
40119 * intl/plural.y: Replace FSF snail mail address with URL.
40120 * intl/plural.c: Regenerated.
40121
5f0a5dae
RH
401222012-03-09 Richard Henderson <rth@twiddle.net>
40123
40124 * include/math_private.h: Remove file.
40125 * math/math_private.h: Move file ...
40126 * sysdeps/generic/math_private.h: ... here.
40127
b8c03620
RH
40128 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40129 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40130 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40131
4e234f5d 40132 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40133 and <math_private.h>.
40134 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40135 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40136 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40137 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40138 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40139 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40140 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40142 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40143 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40145 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40146 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40147 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40148 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40149 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40203 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40207 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40212 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40215 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40217 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40221 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40222 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40223 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40224 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40225 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40226 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40227 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40228 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40229 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40230 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40233 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40234 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40235 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40236 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40237 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40238 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40239 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40240 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40241 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40246 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40247 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40248 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40249 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40250 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40251 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40252 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40253 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40254 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40255 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40256 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40257 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40258 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40259 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40261 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40262 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40263 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40264 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40265 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40266 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40267 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40268 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40269 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40270 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40271 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40272 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40273 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40275 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40276 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40277 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40278 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40279 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40280 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40281 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40282 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40283 * sysdeps/ieee754/k_standard.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40288 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40293 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40294 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40296 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40297 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40298 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40299 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40301 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40311 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40312 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40375 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40377 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40382 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40385 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40388 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40392 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40394 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40397 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40399 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40403 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40404 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40405 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40406 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40411 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40416 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40417 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40418 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40419 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40420 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40423 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40424 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40425 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40427 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40433 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40434 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40435 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40436 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40438 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40439 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40440 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40443 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40444 * sysdeps/ieee754/s_lib_version.c: Likewise.
40445 * sysdeps/ieee754/s_matherr.c: Likewise.
40446 * sysdeps/ieee754/s_signgam.c: Likewise.
40447 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40448 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40449 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40450 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40451 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40452 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40453 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40454 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40455 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40456 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40457 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40458 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40459 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40460 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40461 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40462 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40463 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40464 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40465 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40468
1991fa03
JM
404692012-03-09 Joseph Myers <joseph@codesourcery.com>
40470
40471 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40472 * sunrpc/rpc_main.c: Likewise.
40473 * sunrpc/rpc_svcout.c: Likewise.
40474
60d6f5a6
DM
404752012-03-09 David S. Miller <davem@davemloft.net>
40476
40477 * include/math_private.h: New file.
40478
4962050e
JM
404792012-03-09 Joseph Myers <joseph@codesourcery.com>
40480
02a6f887
JM
40481 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40482 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40483 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40484 from <bits/socket_type.h>.
40485 (enum __socket_type): Don't define here.
40486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40488 bits/socket_type.h.
40489
c6e013c1
JM
40490 [BZ #13566]
40491 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40492 checking __USE_GNU.
40493
4962050e
JM
40494 * Makerules ($(inst_includedir)/%.h): New rule.
40495 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40496 (install-others): Remove variable setting.
40497 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40498
38842f45
RH
404992012-03-08 Richard Henderson <rth@twiddle.net>
40500
67bb6da6
RH
40501 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40502 from macro to inline function; merge with the
40503 !__LIBC_INTERNAL_MATH_INLINES version.
40504 (__ieee754_sqrtf): Likewise.
40505
15194b4b
RH
40506 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40507 to inline function.
40508 (__rintf, __floor, __floorf): Likewise.
40509
64e21ede
RH
40510 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40511 macro to inline function.
40512 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40513
38842f45
RH
40514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40515 not <math/math_private.h>.
40516
c64bf5fe
DM
405172012-03-08 David S. Miller <davem@davemloft.net>
40518
40519 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40520 copyright year.
40521 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40522
82d86f28
TS
405232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40524
40525 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40526 normalization.
40527 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40528 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40529
aea5d727
UD
405302012-03-08 Ulrich Drepper <drepper@gmail.com>
40531
40532 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40533 be defined individually, they must be defined as a block. Define
40534 S for printing a string instead of hidint the different by using a
40535 macro for adding the 'l'.
40536 * stdio-common/tst-fphex-wide.c: Adjust.
40537
70bca0a3
MP
405382012-03-07 Marek Polacek <polacek@redhat.com>
40539
40540 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40541
65b81130
MP
405422012-03-08 Marek Polacek <polacek@redhat.com>
40543
40544 [BZ #13806]
40545 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40546 * stdio-common/tst-fphex.c: Define a few macros to make the
40547 test reusable. Use them.
40548 * stdio-common/tst-fphex-wide.c: New file.
40549
07037eeb
JM
405502012-03-08 Joseph Myers <joseph@codesourcery.com>
40551
a7a93d50
JM
40552 [BZ #6911]
40553 * manual/macros.texi (gnusystems): New macro.
40554 (nongnusystems): Likewise.
40555 (gnulinuxhurdsystems): Likewise.
40556 (gnuhurdsystems): Likewise..
40557 (gnulinuxsystems): Likewise.
40558 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40559 variants of the GNU system, not "GNU system".
40560 * manual/conf.texi: Likewise.
40561 * manual/errno.texi: Likewise. Update example of errno macro
40562 expansion.
40563 * manual/filesys.texi: Likewise.
40564 (getumask): Document as specific to GNU/Hurd.
40565 * manual/install.texi: Likewise. Reword some references to
40566 GNU/Linux.
40567 * manual/intro.texi: Likewise.
40568 * manual/io.texi: Likewise.
40569 (File Name Portability): Detail which constraints are inapplicable
40570 to all GNU systems and which are only inapplicable to GNU/Hurd.
40571 * manual/job.texi: Likewise.
40572 * manual/llio.texi: Likewise.
40573 (O_NOCTTY): Document as present on GNU/Linux.
40574 * manual/maint.texi: Likewise.
40575 * manual/memory.texi: Likewise.
40576 * manual/pattern.texi: Likewise.
40577 * manual/pipe.texi: Likewise.
40578 * manual/process.texi: Likewise.
40579 * manual/resource.texi: Likewise.
40580 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40581 child on GNU/Hurd.
40582 * manual/setjmp.texi: Likewise.
40583 * manual/signal.texi: Likewise.
40584 * manual/startup.texi: Likewise.
40585 * manual/stdio.texi: Likewise.
40586 * manual/terminal.texi: Likewise.
40587 (ONLCR): Document as POSIX.
40588 (OXTABS): Document availability on GNU/Linux as XTABS.
40589 (ONOEOT): Document availability separately from other bits.
40590 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40591 * manual/time.texi: Likewise.
40592 * manual/users.texi: Likewise.
40593 * INSTALL: Regenerated.
40594 * sysdeps/gnu/errlist.c: Regenerated.
40595
07037eeb
JM
40596 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40597 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40598 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40599 puts.
40600 * configure: Regenerated.
40601
d1d3431a
JM
406022012-03-07 Joseph Myers <joseph@codesourcery.com>
40603
af6a1e37
JM
40604 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40605 default includes instead of AC_HEADER_CHECK.
40606 * sysdeps/i386/configure: Regenerated.
40607
d1d3431a
JM
40608 [BZ #10716]
40609 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40610 * math/s_cacoshf.c (__cacoshf): Likewise.
40611 * math/s_cacoshl.c (__cacoshl): Likewise.
40612 * math/s_casinh.c (__casinh): Set signs of result from argument.
40613 * math/s_casinhf.c (__casinhf): Likewise.
40614 * math/s_casinhl.c (__casinhl): Likewise.
40615 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40616 (casinh_test): Add more tests.
40617 * sysdeps/i386/fpu/libm-test-ulps: Update.
40618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40619
482ff4da
UD
406202012-03-07 Ulrich Drepper <drepper@gmail.com>
40621
872fda05
UD
40622 * po/zh_TW.po: Update from translation team.
40623
a4300c7a
UD
40624 * login/Makefile (distribute): Remove variable.
40625 * catgets/Makefile: Likewise.
40626 * mach/Makefile: Likewise.
40627 * malloc/Makefile: Likewise.
40628 * misc/Makefile: Likewise.
40629 * iconv/Makefile: Likewise.
40630 * nscd/Makefile: Likewise.
40631 * hurd/Makefile: Likewise.
40632 * manual/Makefile: Likewise.
40633 * locale/Makefile: Likewise.
40634 * intl/Makefile: Likewise.
40635 * conform/Makefile: Likewise.
40636 * nss/Makefile: Likewise.
40637 * time/Makefile: Likewise.
40638 * soft-fp/Makefile: Likewise.
40639 * dirent/Makefile: Likewise.
40640 * gmon/Makefile: Likewise.
40641 * po/Makefile: Likewise.
40642 * rt/Makefile: Likewise.
40643 * socket/Makefile: Likewise.
40644 * math/Makefile: Likewise.
40645 * signal/Makefile: Likewise.
40646 * debug/Makefile: Likewise.
40647 * elf/Makefile: Likewise.
40648 * timezone/Makefile: Likewise.
40649 * stdlib/Makefile: Likewise.
40650 * iconvdata/Makefile: Likewise.
40651 * sunrpc/Makefile: Likewise.
40652 * io/Makefile: Likewise.
40653 * argp/Makefile: Likewise.
40654 * inet/Makefile: Likewise.
40655 * hesiod/Makefile: Likewise.
40656 * grp/Makefile: Likewise.
40657 * csu/Makefile: Likewise.
40658 * wctype/Makefile: Likewise.
40659 * crypt/Makefile: Likewise.
40660 * libio/Makefile: Likewise.
40661 * string/Makefile: Likewise.
40662 * nis/Makefile: Likewise.
40663 * resolv/Makefile: Likewise.
40664 * stdio-common/Makefile: Likewise.
40665 * wcsmbs/Makefile: Likewise.
40666 * dlfcn/Makefile: Likewise.
40667 * posix/Makefile: Likewise.
40668
3b7c4e74 40669 [BZ #6959]
482ff4da
UD
40670 * timezone/Makefile: Don't install timezone files, just the programs
40671 and scripts.
40672
f72ed77d
UD
406732012-03-06 Ulrich Drepper <drepper@gmail.com>
40674
a000466f
UD
40675 * nss/databases.def: Add missing gshadow entry.
40676
f72ed77d
UD
40677 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40678
a53b7a4e
MP
406792012-03-06 Marek Polacek <polacek@redhat.com>
40680
40681 [BZ #13726]
40682 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40683 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40684 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40685 * stdio-common/tst-long-dbl-fphex.c: New file.
40686
e9258400
DM
406872012-03-06 David S. Miller <davem@davemloft.net>
40688
40689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40690 (set_obp_int): New function.
40691 (get_obp_int): New function.
40692 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40693 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40694 Avoid unused variable warnings on 'val' and use builtin_expect.
40695 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40696 __builtin_expect.
e9258400
DM
40697 (INLINE_CLONE_SYSCALL): Likewise.
40698
3bd2c723
DM
406992012-03-05 David S. Miller <davem@davemloft.net>
40700
40701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40702
bbb78d03
AS
407032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40704
884c5db4
AS
40705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40706
bbb78d03
AS
40707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40708 only for |x| >= 40.
40709 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40710
1c9f702a 407112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40712
40713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40714 Replace gettimeofday with __vdso_gettimeofday.
40715
7be16f82
RM
40716 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40717 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40718 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40719
40720 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40721 time with __vdso_time.
40722
ed58a00f
JM
407232012-03-05 Joseph Myers <joseph@codesourcery.com>
40724
40725 * manual/lang.texi (size_t): Note types to which size_t may be
40726 equivalent with the GNU C Library, but do not describe when
40727 differences between them are significant.
40728
30ee4ced
AJ
407292012-03-05 Andreas Jaeger <aj@suse.de>
40730
40731 * sysdeps/i386/fpu/libm-test-ulps: Update.
40732
b7cd39e8
JM
407332012-03-05 Joseph Myers <joseph@codesourcery.com>
40734
40735 [BZ #3976]
40736 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40737 (__ieee754_pow): Save and restore rounding mode and use
40738 round-to-nearest for main computations.
40739 * math/libm-test.inc (pow_test_tonearest): New function.
40740 (pow_test_towardzero): Likewise.
40741 (pow_test_downward): Likewise.
40742 (pow_test_upward): Likewise.
40743 (main): Call the new functions.
40744 * sysdeps/i386/fpu/libm-test-ulps: Update.
40745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40746
40747 [BZ #3976]
40748 * math/libm-test.inc (cosh_test_tonearest): New function.
40749 (cosh_test_towardzero): Likewise.
40750 (cosh_test_downward): Likewise.
40751 (cosh_test_upward): Likewise.
40752 (sinh_test_tonearest): Likewise.
40753 (sinh_test_towardzero): Likewise.
40754 (sinh_test_downward): Likewise.
40755 (sinh_test_upward): Likewise.
40756 (main): Call the new functions.
40757 * sysdeps/i386/fpu/libm-test-ulps: Update.
40758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40759
6c6a98c9
TV
407602012-03-05 Tom de Vries <tom@codesourcery.com>
40761
40762 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40763 default stack guard is set in last bytes.
40764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40765
21bb2d2e 407662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40767
21bb2d2e 40768 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40769
21bb2d2e
AJ
40770 [BZ #13656]
40771 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40772 possibly allocate from heap instead of stack.
40773 * stdio-common/bug-vfprintf-nargs.c: New file.
40774 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40775
c6922934
AS
407762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40777
40778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40779
bc957d53
MP
407802012-03-03 Marek Polacek <polacek@redhat.com>
40781
40782 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40783 * math/math_private.h: Likewise.
40784 * stdlib/tst-strtod.c: Likewise.
40785 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40786 * sysdeps/x86_64/bits/atomic.h: Likewise.
40787
6358490d
DM
407882012-03-02 David S. Miller <davem@davemloft.net>
40789
40790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40794 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40795 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40796 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40797 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40798
01ae168d
RM
407992012-03-02 Roland McGrath <roland@hack.frob.com>
40800
d9a17c07
RM
40801 [BZ #13792]
40802 * manual/examples/README: New file, says the example source files
40803 can be used under GPL>=2.
40804 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40805 line containing just "*/".
40806 * manual/examples/add.c: Add copyright header (GPL>=2).
40807 * manual/examples/argp-ex1.c: Likewise.
40808 * manual/examples/argp-ex2.c: Likewise.
40809 * manual/examples/argp-ex3.c: Likewise.
40810 * manual/examples/argp-ex4.c: Likewise.
40811 * manual/examples/atexit.c: Likewise.
40812 * manual/examples/db.c: Likewise.
40813 * manual/examples/dir.c: Likewise.
40814 * manual/examples/dir2.c: Likewise.
40815 * manual/examples/execinfo.c: Likewise.
40816 * manual/examples/filecli.c: Likewise.
40817 * manual/examples/filesrv.c: Likewise.
40818 * manual/examples/fmtmsgexpl.c: Likewise.
40819 * manual/examples/genpass.c: Likewise.
40820 * manual/examples/inetcli.c: Likewise.
40821 * manual/examples/inetsrv.c: Likewise.
40822 * manual/examples/isockad.c: Likewise.
40823 * manual/examples/longopt.c: Likewise.
40824 * manual/examples/memopen.c: Likewise.
40825 * manual/examples/memstrm.c: Likewise.
40826 * manual/examples/mkfsock.c: Likewise.
40827 * manual/examples/mkisock.c: Likewise.
40828 * manual/examples/mygetpass.c: Likewise.
40829 * manual/examples/pipe.c: Likewise.
40830 * manual/examples/popen.c: Likewise.
40831 * manual/examples/rprintf.c: Likewise.
40832 * manual/examples/search.c: Likewise.
40833 * manual/examples/select.c: Likewise.
40834 * manual/examples/setjmp.c: Likewise.
40835 * manual/examples/sigh1.c: Likewise.
40836 * manual/examples/sigusr.c: Likewise.
40837 * manual/examples/stpcpy.c: Likewise.
40838 * manual/examples/strdupa.c: Likewise.
40839 * manual/examples/strftim.c: Likewise.
40840 * manual/examples/strncat.c: Likewise.
40841 * manual/examples/subopt.c: Likewise.
40842 * manual/examples/swapcontext.c: Likewise.
40843 * manual/examples/termios.c: Likewise.
40844 * manual/examples/testopt.c: Likewise.
40845 * manual/examples/testpass.c: Likewise.
40846 * manual/examples/timeval_subtract.c: Likewise.
40847
01ae168d
RM
40848 [BZ #13792]
40849 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40850 function to ...
40851 * manual/timeval_subtract.c.texi: ... here, new file.
40852
49efa33d
DM
408532012-03-02 David S. Miller <davem@davemloft.net>
40854
40855 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40856
28afd92d
JM
408572012-03-02 Joseph Myers <joseph@codesourcery.com>
40858
804360ed
JM
40859 [BZ #3976]
40860 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40861 (__sin): Save and restore rounding mode and use round-to-nearest
40862 for all computations.
40863 (__cos): Save and restore rounding mode and use round-to-nearest
40864 for all computations.
40865 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40866 <fenv.h>.
40867 (tan): Save and restore rounding mode and use round-to-nearest for
40868 all computations.
40869 * math/libm-test.inc (cos_test_tonearest): New function.
40870 (cos_test_towardzero): Likewise.
40871 (cos_test_downward): Likewise.
40872 (cos_test_upward): Likewise.
40873 (sin_test_tonearest): Likewise.
40874 (sin_test_towardzero): Likewise.
40875 (sin_test_downward): Likewise.
40876 (sin_test_upward): Likewise.
40877 (tan_test_tonearest): Likewise.
40878 (tan_test_towardzero): Likewise.
40879 (tan_test_downward): Likewise.
40880 (tan_test_upward): Likewise.
40881 (main): Call the new functions.
40882 * sysdeps/i386/fpu/libm-test-ulps: Update.
40883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40884
a6d06d7b
JM
40885 [BZ #10135]
40886 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40887 small n, then large n, before computing and testing k+n.
40888 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40890 Likewise.
40891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40892 Likewise.
40893 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40894 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40897 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40901 * math/libm-test.inc (scalbn_test): Add more tests.
40902 (scalbln_test): Likewise.
40903
07e12bb3
JM
40904 * manual/filesys.texi (mode_t): Describe constraints on size and
40905 signedness, not exact equivalence to a particular type.
40906 (ino_t): Likewise.
40907 (ino64_t): Likewise.
40908 (dev_t): Likewise.
40909 (nlink_t): Likewise.
40910 (blkcnt_t): Likewise.
40911 (blkcnt64_t): Likewise.
40912 * manual/llio.texi (off_t): Likewise.
40913
28afd92d
JM
40914 [BZ #3976]
40915 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40916 (__ieee754_exp): Save and restore rounding mode and use
40917 round-to-nearest for all computations.
40918 * math/libm-test.inc (exp_test_tonearest): New function.
40919 (exp_test_towardzero): Likewise.
40920 (exp_test_downward): Likewise.
40921 (exp_test_upward): Likewise.
40922 (main): Call the new functions.
40923 * sysdeps/i386/fpu/libm-test-ulps: Update.
40924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40925
b1eeb65d
CD
409262012-03-01 Chris Demetriou <cgd@google.com>
40927
40928 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40929 have predictable order.
40930
53362a4b
DM
409312012-03-01 David S. Miller <davem@davemloft.net>
40932
3c969083
DM
40933 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40934
759707de
DM
40935 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40936 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40937 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40938 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40939
dfdb8ff2
DM
40940 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40941 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40942 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40944 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40945 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40946 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40947 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40948 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40949
ead89f96
DM
40950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40951
7f66bd07
DM
40952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40953 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40954 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40955
53362a4b
DM
40956 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40957 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40958 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40959 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40960 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40961 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40962 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40963 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40964 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40965 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40966 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40967 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40972 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40973 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40974 * sysdeps/sparc/elf/configure: Regenerated.
40975
7b1902cb
JM
409762012-03-01 Joseph Myers <joseph@codesourcery.com>
40977
bec039bc
JM
40978 * configure.in (AS, LD): Require binutils 2.20 or later.
40979 * configure: Regenerated.
40980 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40981 as required minimum version.
40982 * INSTALL: Regenerated.
40983
7b1902cb
JM
40984 [BZ #2541]
40985 [BZ #4108]
40986 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40987 before squaring exponent.
40988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40989 bottom long double and 27 bits of top long double before squaring
40990 exponent.
40991 * math/libm-test.inc (erfc_test): Add more tests.
40992 * sysdeps/i386/fpu/libm-test-ulps: Update.
40993 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40995
f775c276
KT
409962012-03-01 Kai Tietz <ktietz@redhat.com>
40997
40998 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40999 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41000 containing bit-fields.
41001 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41002 * soft-fp/single.h (_FP_UNION_S): Likewise.
41003 * soft-fp/double.h (_FP_UNION_D): Likewise.
41004
5b8a4d4a
JM
410052012-02-29 Joseph Myers <joseph@codesourcery.com>
41006
0bab47b6
JM
41007 [BZ #13786]
41008 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41009 not include ../strcmp.S.
41010 [USE_AS_STRNCASECMP_L]: Likewise.
41011 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41012 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41013 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41014 (__strncasecmp_l_ia32): Define as alias to
41015 __strncasecmp_l_nonascii.
41016
0fcad3e2
JM
41017 [BZ #5794]
41018 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41019 * sysdeps/i386/fpu/libm-test-ulps: Update.
41020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41021
5b8a4d4a
JM
41022 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41024
8fdceb2e
JL
410252012-02-29 Jeff Law <law@redhat.com>
41026
41027 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41028 out of bounds read.
41029
1f393a11
MP
410302012-02-29 Marek Polacek <polacek@redhat.com>
41031
41032 [BZ #13706]
41033 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41034 * elf/Makefile: Add rules to run tst-unused-dep.out.
41035
8847f037
DM
410362012-02-28 David S. Miller <davem@davemloft.net>
41037
41038 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41039 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41040 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41041 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41042 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41043 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41044
169d7f11
JM
410452012-02-29 Joseph Myers <joseph@codesourcery.com>
41046
41047 * math/libm-test.inc (llround_test): Move one test from
41048 lround_test. Use TEST_f_L in moved test.
41049 (lround_test): Move misplaced test to llround_test. Add testcase
41050 from bug 2561.
41051
39adf059
UD
410522012-02-28 Ulrich Drepper <drepper@gmail.com>
41053
41054 * sysdeps/x86_64/fpu/e_expf.S: New file.
41055 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41056
71b5d1c5
SB
410572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41058
41059 [BZ #13637]
41060 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41061 of remain_len that may cause incomplete multi-byte character and
41062 false match.
41063 * posix/bug-regex33.c: New file.
41064 * posix/Makefile (tests): Add bug-regex33.
41065
1f77f049
JM
410662012-02-28 Joseph Myers <joseph@codesourcery.com>
41067
41068 * manual/macros.texi: New file.
41069 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41070 * manual/libc.texinfo: Include macros.texi.
41071 * manual/creatute.texi: Likewise.
41072 * manual/install.texi: Likewise.
41073 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41074 @glibcadj{} in references to the GNU C Library.
41075 * manual/charset.texi: Likewise.
41076 * manual/conf.texi: Likewise.
41077 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41078 when not using those macros.
41079 * manual/creature.texi: Likewise.
41080 * manual/crypt.texi: Likewise.
41081 * manual/errno.texi: Likewise.
41082 * manual/filesys.texi: Likewise.
41083 * manual/header.texi: Likewise.
41084 * manual/install.texi: Likewise.
41085 * manual/intro.texi: Likewise.
41086 * manual/io.texi: Likewise.
41087 * manual/job.texi: Likewise.
41088 * manual/lang.texi: Likewise.
41089 * manual/libc.texiinfo: Likewise.
41090 * manual/llio.texi: Likewise.
41091 * manual/locale.texi: Likewise.
41092 * manual/maint.texi: Likewise.
41093 * manual/math.texi: Likewise.
41094 * manual/memory.texi: Likewise.
41095 * manual/message.texi: Likewise.
41096 * manual/nss.texi: Likewise.
41097 * manual/pattern.texi: Likewise.
41098 * manual/process.texi: Likewise.
41099 * manual/resource.texi: Likewise.
41100 * manual/search.texi: Likewise.
41101 * manual/setjmp.texi: Likewise.
41102 * manual/signal.texi: Likewise.
41103 * manual/socket.texi: Likewise.
41104 * manual/startup.texi: Likewise.
41105 * manual/stdio.texi: Likewise.
41106 * manual/string.texi: Likewise.
41107 * manual/sysinfo.texi: Likewise.
41108 * manual/syslog.texi: Likewise.
41109 * manual/terminal.texi: Likewise.
41110 * manual/time.texi: Likewise.
41111 * manual/users.texi: Likewise.
41112 * INSTALL: Regenerated.
41113 * NOTES: Regenerated.
d40c5d54 41114 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41115
450bf206
AS
411162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41117
41118 * include/dirent.h: Include <dirstream.h> before
41119 <dirent/dirent.h>.
41120
741a235b
DM
411212012-02-28 David S. Miller <davem@davemloft.net>
41122
41123 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41124 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41125 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41126 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41127
d6b5aa58
DM
411282012-02-27 David S. Miller <davem@davemloft.net>
41129
1aff59a3
DM
41130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41132 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41133 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41134
d6b5aa58
DM
41135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41136 frame pointer instead of stack pointer relative arg slot.
41137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41140
433f48bf
CD
411412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41142
41143 [BZ #3992]
41144 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41145
d674b76d
DM
411462012-02-27 David S. Miller <davem@davemloft.net>
41147
41148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41152 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41153 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41154 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41155 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41156
0e7727f7
JM
411572012-02-27 Joseph Myers <joseph@codesourcery.com>
41158
41159 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41160 later. Allow versions 5-9.
43be4ca2 41161 * configure: Regenerated.
0e7727f7
JM
41162 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41163 required minimum version and 4.6 as recommended version. Do not
41164 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41165 * INSTALL: Regenerated.
0e7727f7 41166
a78bc654
DM
411672012-02-27 David S. Miller <davem@davemloft.net>
41168
428d5830
DM
41169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41173 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41174 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41175 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41176 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41177
a78bc654
DM
41178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41179 manipulate bits before adding and subtracting TWO112[sx].
41180 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41181
4579f81c
RM
411822012-02-27 Roland McGrath <roland@hack.frob.com>
41183
36c8acb4
RM
41184 [BZ #13775]
41185 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41186 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41187 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41188 being in POSIX, because they are in 1003.1-2008.
41189
84ad622b
RM
41190 * rt/tst-aio.c: Include <fcntl.h>.
41191 * rt/tst-aio7.c: Likewise.
41192 * rt/tst-aio64.c: Likewise.
41193
4579f81c
RM
41194 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41195
abd923db
JM
411962012-02-27 Joseph Myers <joseph@codesourcery.com>
41197
41198 * manual/install.texi (--with-headers): Describe headers as
41199 interface headers, not private headers.
41200 (Specific advice for GNU/Linux systems): Describe use of headers
41201 from "make headers_install", not private headers from older
41202 kernels.
43be4ca2 41203 * INSTALL: Regenerated.
abd923db
JM
41204 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41205 Change to 2.6.19.
41206 * sysdeps/unix/sysv/linux/configure: Regenerated.
41207
6664049b
JM
41208 * manual/llio.texi (fclean): Remove documentation.
41209
bb8b6697
JM
41210 * manual/Makefile (libc-texi-generated): New variable. Include
41211 version.texi.
41212 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41213 $(libc-texi-generated), not duplicated list of files.
41214 (version.texi, stamp-version): New rules.
41215 (realclean): Remove $(libc-texi-generated), not individual files
41216 from that list. Do not remove dir-add.texinfo.
41217 * manual/libc.texinfo: Comment out uses of edition numbers and
41218 references to printed manual. Remove last-updated dates.
41219 (EDITION): Comment out.
41220 (ISBN): Likewise.
41221 (VERSION, UPDATED): Remove.
41222 (version.texi): Include.
41223
12e5c3b9
AS
412242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41225
41226 * sysdeps/posix/spawni.c: Include <signal.h>.
41227 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41228 * sysdeps/pthread/aio_fsync.c: Likewise.
41229
4efeffc1 412302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41231
ba63ba08
UD
41232 * conform/Makefile (tests): Run only when not cross-compiling and
41233 when fast-check is not defined.
41234
d94a4670
UD
41235 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41236 * conform/data/limits.h-data: Fixes for POSIX2008.
41237 * conform/run-conformtest.sh: Run all tests.
41238 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41239 headers.
41240 * include/bits/dlfcn.h: Likewise.
41241 * include/langinfo.h: Likewise.
41242 * include/monetary.h: Likewise.
41243 * include/sys/poll.h: Likewise.
41244
41245 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41246 for __USE_GNU.
41247 * posix/spawn.h: Define __need_sigset_t.
41248 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41249 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41250 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41251 to get sigevent_t only.
41252 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41253 only for __USE_GNU.
41254 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41255 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41256 process_vm_writev only for __USE_GNU.
41257 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41258
41259 * conform/Makefile: For now ignore errors from run-conformtest.
41260 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41261 POSIX to avoid namespace pollution. Don't prepend headers.
41262 * conform/data/aio.h-data: Fixes for POSIX testing.
41263 * conform/data/fcntl.h-data: Likewise.
41264 * conform/data/glob.h-data: Likewise.
41265 * conform/data/grp.h-data: Likewise.
41266 * conform/data/pthread.h-data: Likewise.
41267 * conform/data/pwd.h-data: Likewise.
41268 * conform/data/signal.h-data: Likewise.
41269 * conform/data/spawn.h-data: Likewise.
41270 * conform/data/stdio.h-data: Likewise.
41271 * conform/data/stdlib.h-data: Likewise.
41272 * conform/data/stropts.h-data: Likewise.
41273 * conform/data/sys/mman.h-data: Likewise.
41274 * conform/data/sys/stat.h-data: Likewise.
41275 * conform/data/sys/types.h-data: Likewise.
41276 * conform/data/sys/wait.h-data: Likewise.
41277 * conform/data/time.h-data: Likewise.
41278 * conform/data/unistd.h-data: Likewise.
41279 * conform/data/utime.h-data: Likewise.
41280
41281 * io/sys/stat.h: fchmod was always in POSIX.
41282 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41283 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41284 * rt/aio.h: Define __need_timespec before including <time.h>.
41285 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41286 struct. Add forward declaration of pthread_attr_t and use it in
41287 sigevent.
41288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41289 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41290 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41291 always remove CLK_TCK definition.
41292
c20105c3
AS
412932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41294
41295 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41296
7a270350
UD
412972012-02-25 Ulrich Drepper <drepper@gmail.com>
41298
31341567
UD
41299 * conform/run-conformtest.sh: New file.
41300 * conform/Makefile: Run run-conformtest for tests.
41301 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41302 support.
41303
41304 * conform/data/uchar.h-data: New file.
41305 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41306 * conform/data/arpa/inet.h-data: Likewise.
41307 * conform/data/assert.h-data: Likewise.
41308 * conform/data/complex.h-data: Likewise.
41309 * conform/data/cpio.h-data: Likewise.
41310 * conform/data/ctype.h-data: Likewise.
41311 * conform/data/dirent.h-data: Likewise.
41312 * conform/data/dlfcn.h-data: Likewise.
41313 * conform/data/errno.h-data: Likewise.
41314 * conform/data/fcntl.h-data: Likewise.
41315 * conform/data/float.h-data: Likewise.
41316 * conform/data/fmtmsg.h-data: Likewise.
41317 * conform/data/fnmatch.h-data: Likewise.
41318 * conform/data/ftw.h-data: Likewise.
41319 * conform/data/glob.h-data: Likewise.
41320 * conform/data/grp.h-data: Likewise.
41321 * conform/data/iconv.h-data: Likewise.
41322 * conform/data/inttypes.h-data: Likewise.
41323 * conform/data/langinfo.h-data: Likewise.
41324 * conform/data/libgen.h-data: Likewise.
41325 * conform/data/limits.h-data: Likewise.
41326 * conform/data/locale.h-data: Likewise.
41327 * conform/data/math.h-data: Likewise.
41328 * conform/data/monetary.h-data: Likewise.
41329 * conform/data/mqueue.h-data: Likewise.
41330 * conform/data/ndbm.h-data: Likewise.
41331 * conform/data/net/if.h-data: Likewise.
41332 * conform/data/netdb.h-data: Likewise.
41333 * conform/data/netinet/in.h-data: Likewise.
41334 * conform/data/nl_types.h-data: Likewise.
41335 * conform/data/poll.h-data: Likewise.
41336 * conform/data/pthread.h-data: Likewise.
41337 * conform/data/pwd.h-data: Likewise.
41338 * conform/data/regex.h-data: Likewise.
41339 * conform/data/sched.h-data: Likewise.
41340 * conform/data/search.h-data: Likewise.
41341 * conform/data/semaphore.h-data: Likewise.
41342 * conform/data/setjmp.h-data: Likewise.
41343 * conform/data/signal.h-data: Likewise.
41344 * conform/data/spawn.h-data: Likewise.
41345 * conform/data/stdarg.h-data: Likewise.
41346 * conform/data/stdio.h-data: Likewise.
41347 * conform/data/stdlib.h-data: Likewise.
41348 * conform/data/string.h-data: Likewise.
41349 * conform/data/strings.h-data: Likewise.
41350 * conform/data/stropts.h-data: Likewise.
41351 * conform/data/sys/ipc.h-data: Likewise.
41352 * conform/data/sys/mman.h-data: Likewise.
41353 * conform/data/sys/msg.h-data: Likewise.
41354 * conform/data/sys/resource.h-data: Likewise.
41355 * conform/data/sys/select.h-data: Likewise.
41356 * conform/data/sys/sem.h-data: Likewise.
41357 * conform/data/sys/shm.h-data: Likewise.
41358 * conform/data/sys/socket.h-data: Likewise.
41359 * conform/data/sys/stat.h-data: Likewise.
41360 * conform/data/sys/statvfs.h-data: Likewise.
41361 * conform/data/sys/time.h-data: Likewise.
41362 * conform/data/sys/timeb.h-data: Likewise.
41363 * conform/data/sys/times.h-data: Likewise.
41364 * conform/data/sys/types.h-data: Likewise.
41365 * conform/data/sys/uio.h-data: Likewise.
41366 * conform/data/sys/un.h-data: Likewise.
41367 * conform/data/sys/utsname.h-data: Likewise.
41368 * conform/data/sys/wait.h-data: Likewise.
41369 * conform/data/syslog.h-data: Likewise.
41370 * conform/data/tar.h-data: Likewise.
41371 * conform/data/termios.h-data: Likewise.
41372 * conform/data/utime.h-data: Likewise.
41373 * conform/data/utmpx.h-data: Likewise.
41374 * conform/data/varargs.h-data: Likewise.
41375 * conform/data/wchar.h-data: Likewise.
41376 * conform/data/wctype.h-data: Likewise.
41377 * conform/data/wordexp.h-data: Likewise.
41378
41379 * include/stropts.h: New file.
41380 * include/uchar.h: New file.
41381 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41382 * include/assert.h: Likewise.
41383 * include/ctype.h: Likewise.
41384 * include/dirent.h: Likewise.
41385 * include/dlfcn.h: Likewise.
41386 * include/fcntl.h: Likewise.
41387 * include/fnmatch.h: Likewise.
41388 * include/glob.h: Likewise.
41389 * include/grp.h: Likewise.
41390 * include/libio.h: Likewise.
41391 * include/locale.h: Likewise.
41392 * include/math.h: Likewise.
41393 * include/net/if.h: Likewise.
41394 * include/netdb.h: Likewise.
41395 * include/netinet/in.h: Likewise.
41396 * include/pthread.h: Likewise.
41397 * include/pwd.h: Likewise.
41398 * include/regex.h: Likewise.
41399 * include/sched.h: Likewise.
41400 * include/search.h: Likewise.
41401 * include/setjmp.h: Likewise.
41402 * include/signal.h: Likewise.
41403 * include/stdio.h: Likewise.
41404 * include/stdlib.h: Likewise.
41405 * include/string.h: Likewise.
41406 * include/sys/cdefs.h: Likewise.
41407 * include/sys/mman.h: Likewise.
41408 * include/sys/msg.h: Likewise.
41409 * include/sys/resource.h: Likewise.
41410 * include/sys/select.h: Likewise.
41411 * include/sys/socket.h: Likewise.
41412 * include/sys/stat.h: Likewise.
41413 * include/sys/statvfs.h: Likewise.
41414 * include/sys/time.h: Likewise.
41415 * include/sys/times.h: Likewise.
41416 * include/sys/uio.h: Likewise.
41417 * include/sys/utsname.h: Likewise.
41418 * include/sys/wait.h: Likewise.
41419 * include/termios.h: Likewise.
41420 * include/time.h: Likewise.
41421 * include/ulimit.h: Likewise.
41422 * include/unistd.h: Likewise.
41423 * include/utime.h: Likewise.
41424 * include/wchar.h: Likewise.
41425 * include/wctype.h: Likewise.
41426 * include/wordexp.h: Likewise.
41427
41428 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41429
7a270350
UD
41430 * time/time.h: TIME_UTC must be a macro.
41431 Make timespec_get available for ISO C11 only as well.
41432
7724defc
UD
414332012-02-24 Ulrich Drepper <drepper@gmail.com>
41434
41435 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41436 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41437
6b1d1d46
JM
414382012-02-24 Joseph Myers <joseph@codesourcery.com>
41439
41440 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41441
0f8bbd69
JM
414422012-02-24 Joseph Myers <joseph@codesourcery.com>
41443
41444 * manual/texinfo.tex: Update to version 2012-01-19.16.
41445
66ab80bc
JM
414462012-02-24 Joseph Myers <joseph@codesourcery.com>
41447
41448 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41449
74981cc5
RM
414502012-02-24 Roland McGrath <roland@hack.frob.com>
41451
ee968201
RM
41452 [BZ #13738]
41453 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41454 * manual/fdl-1.3.texi: New file.
41455 * manual/fdl-1.1.texi: File removed.
41456
74981cc5
RM
41457 [BZ #13738]
41458 * manual/libc.texinfo (FDL_VERSION): New @set.
41459 Use it for mention of FDL in cover text.
41460 (Documentation License): Use it in @include file name.
41461
7bb764bc
JM
414622012-02-22 Joseph Myers <joseph@codesourcery.com>
41463 Roland McGrath <roland@hack.frob.com>
41464
41465 [BZ #5461]
57f41c40
AS
41466 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41467 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41468 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41469 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41470 name.
41471 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41472
6cbeae47
JM
414732012-02-22 Joseph Myers <joseph@codesourcery.com>
41474
41475 [BZ #2547]
41476 [BZ #11365]
41477 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41478 manipulate bits before adding and subtracting TWO23[sx].
41479 * math/libm-test.inc (nearbyint_test): Add more tests.
41480
fe45ce09
JM
414812012-02-22 Joseph Myers <joseph@codesourcery.com>
41482
41483 [BZ #2548]
41484 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41485 bits before adding and subtracting TWO23[sx].
41486 * math/libm-test.inc (rint_test): Add more tests.
41487 (rint_test_tonearest): Likewise.
41488 (rint_test_towardzero): Likewise.
41489 (rint_test_downward): Likewise.
41490 (rint_test_upward: Likewise.
41491
ff3b3d82
JM
414922012-02-22 Joseph Myers <joseph@codesourcery.com>
41493
41494 [BZ #10110]
41495 * include/stdc-predef.h: New file. Extracted from features.h.
41496 * include/features.h: Include stdc-predef.h.
41497 * Makefile (headers): Add stdc-predef.h.
41498 * CONFORMANCE (Compiler limitations): Update.
41499
ef0aab35
JM
415002012-02-22 Joseph Myers <joseph@codesourcery.com>
41501
41502 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41503
58639409
DM
415042012-02-21 David S. Miller <davem@davemloft.net>
41505
41506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41507 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41508
c0e70b25
DM
415092012-02-20 David S. Miller <davem@davemloft.net>
41510
41511 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41512 using a normal save/restore sequence, rather than allocating a
41513 dummy stack frame just to store a frame pointer and restore.
41514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41515
fb06851d
JM
415162012-02-21 Joseph Myers <joseph@codesourcery.com>
41517
41518 * manual/install.texi: Fix stray word in line-wrapped comment.
41519
7a8b71c3
DM
415202012-02-20 David S. Miller <davem@davemloft.net>
41521
d510c123
DM
41522 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41523 both binutils and gcc support GOTDATA.
41524
0722d7c2
DM
41525 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41526 "rd %pc" in the PIC register setup sequences.
41527
3d2b3019
DM
41528 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41529 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41530 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41531 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41532 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41534 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41535 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41537 (SYSCALL_ERROR_HANDLER): Likewise.
41538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41541 (SYSCALL_ERROR_HANDLER): Likewise.
41542
c80098a9
DM
41543 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41544 (HAVE_GCC_GOTDATA): New.
41545 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41546 relocation support in both binutils and gcc.
41547 * sysdeps/sparc/elf/configure: Regenerate.
41548
3a2545a0
DM
41549 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41550 * sysdeps/sparc/sparc32/elf/configure: Delete.
41551 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41552 * sysdeps/sparc/sparc64/elf/configure: Delete.
41553 * sysdeps/sparc/elf/configure.in: New file.
41554 * sysdeps/sparc/elf/configure: Generate.
41555
7a8b71c3
DM
41556 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41557 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41558 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41559 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41560 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41561
f1e86fca
JM
415622012-02-21 Joseph Myers <joseph@codesourcery.com>
41563
41564 * manual/install.texi: Do not mention specific glibc version
41565 numbers.
41566 * manual/libc.texinfo (VERSION, UPDATED): Update.
41567 (@copying): Use @copyright{} and range of years.
41568
0e7dfaef
JM
415692012-02-21 Joseph Myers <joseph@codesourcery.com>
41570
41571 [BZ #13695]
41572 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41573 [crti.S not in sysdirs] (generated): Do not append.
41574 [crti.S not in sysdirs] (omit-deps): Likewise.
41575 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41576 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41577 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41578 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41579 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41580 Likewise.
41581 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41582 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41583 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41584 * csu/defs.awk: Remove file.
41585 * sysdeps/generic/initfini.c: Likewise.
41586 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41587 variable.
41588 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41589 Likewise.
41590
599af3ca
JM
415912012-02-20 Joseph Myers <joseph@codesourcery.com>
41592
41593 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41594 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41595 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41598 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41599 <bits/epoll.h>.
41600 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41601 (__EPOLL_PACKED): Define to empty if not defined by
41602 <bits/epoll.h>.
41603 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41605 bits/epoll.h.
41606
0e499750
JM
416072012-02-20 Joseph Myers <joseph@codesourcery.com>
41608
41609 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41610 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41611 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41612 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41613 <bits/timerfd.h>.
41614 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41616 bits/timerfd.h.
41617
5ad91f6e
JM
416182012-02-20 Joseph Myers <joseph@codesourcery.com>
41619
41620 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41621 in C locale.
41622 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41623 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41626
06b99b02
AJ
416272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41628
41629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41630 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41631
7638c0fd
AS
416322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41633
41634 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41635 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41636 defined.
41637 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41638 Likewise.
41639 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41640 entry for 2.16.
41641
92221550
AJ
416422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41643
41644 * math/w_acos.c: Use non-signaling floating-point comparisons.
41645 * math/w_acosf.c: Likewise.
41646 * math/w_acosh.c: Likewise.
41647 * math/w_acoshf.c: Likewise.
41648 * math/w_acoshl.c: Likewise.
41649 * math/w_acosl.c: Likewise.
41650 * math/w_asin.c: Likewise.
41651 * math/w_asinf.c: Likewise.
41652 * math/w_asinl.c: Likewise.
41653 * math/w_atanh.c: Likewise.
41654 * math/w_atanhf.c: Likewise.
41655 * math/w_atanhl.c: Likewise.
41656 * math/w_exp2.c: Likewise.
41657 * math/w_exp2f.c: Likewise.
41658 * math/w_exp2l.c: Likewise.
41659 * math/w_j0.c: Likewise.
41660 * math/w_j0f.c: Likewise.
41661 * math/w_j0l.c: Likewise.
41662 * math/w_j1.c: Likewise.
41663 * math/w_j1f.c: Likewise.
41664 * math/w_j1l.c: Likewise.
41665 * math/w_jn.c: Likewise.
41666 * math/w_jnf.c: Likewise.
41667 * math/w_log.c: Likewise.
41668 * math/w_log10.c: Likewise.
41669 * math/w_log10f.c: Likewise.
41670 * math/w_log10l.c: Likewise.
41671 * math/w_log2.c: Likewise.
41672 * math/w_log2f.c: Likewise.
41673 * math/w_log2l.c: Likewise.
41674 * math/w_logf.c: Likewise.
41675 * math/w_logl.c: Likewise.
41676 * math/w_sqrt.c: Likewise.
41677 * math/w_sqrtf.c: Likewise.
41678 * math/w_sqrtl.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41681 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41682 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41683 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41684
ebaf36eb
JM
416852012-02-19 Joseph Myers <joseph@codesourcery.com>
41686
41687 [BZ #9739]
41688 * manual/string.texi (strnlen): Use correct parameter name in
41689 equivalent expression.
41690
71c254a6
JM
416912012-02-19 Joseph Myers <joseph@codesourcery.com>
41692
41693 [BZ #11174]
41694 * manual/users.texi (seteuid): Consistently use neweuid for
41695 argument name.
41696
16d2c631
JM
416972012-02-19 Joseph Myers <joseph@codesourcery.com>
41698
41699 [BZ #13704]
41700 * manual/nss.texi (Services in the NSS configuration): Correct
41701 list of services in example configuration file.
41702
cd837b09
NB
417032012-02-19 Nick Bowler <nbowler@draconx.ca>
41704
41705 [BZ #11322]
41706 * manual/arith.texi: Remove statements about negative zero
41707 behaving identically to zero.
41708
02c4bbad
JM
417092012-02-18 Joseph Myers <joseph@codesourcery.com>
41710
41711 [BZ #5993]
41712 * manual/install.texi: Do not document upgrading from libc5.
41713
366842e7
JM
417142012-02-18 Joseph Myers <joseph@codesourcery.com>
41715
41716 [BZ #4596]
41717 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41718
dd54084d
DM
417192012-02-18 David S. Miller <davem@davemloft.net>
41720
41721 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41722 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41723 %o7 across the call.
41724 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41725 instead.
41726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41727 SETUP_PIC_REG_LEAF.
41728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41729 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41730 * sysdeps/sparc/crtn.S: Likewise.
41731
2bcc53a3
UD
417322012-02-17 Ulrich Drepper <drepper@gmail.com>
41733
41734 * aout/Makefile: Remove.
41735
09c093b5
RK
417362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41737
41738 [BZ #13058]
41739 * manual/examples/argp-ex1.c (main): Format definition in GNU
41740 style.
41741 * manual/examples/argp-ex2.c (main): Likewise.
41742 * manual/examples/argp-ex3.c (main): Likewise.
41743 * manual/examples/argp-ex4.c (main): Likewise.
41744 * manual/examples/longopt.c (main): Use new-style prototype
41745 definition.
41746 * manual/examples/strncat.c (main): Specify return type and use
41747 (void) for arguments.
41748 * manual/examples/subopt.c (main): Use char **argv argument.
41749
2ee633a2
JM
417502012-02-17 Joseph Myers <joseph@codesourcery.com>
41751
41752 [BZ #5077]
41753 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41754 rounding modes.
41755
0520adde
FB
417562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41757
41758 [BZ #6907]
41759 * manual/string.texi (strchr): Change when strchrnul is
41760 recommended.
41761
3f4081cd
DGM
417622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41763
41764 [BZ #174]
41765 * manual/locale.texi (setlocale): Document LOCPATH.
41766
d1b10e78
JM
417672012-02-17 Joseph Myers <joseph@codesourcery.com>
41768
41769 [BZ #10210]
41770 * manual/process.texi (execle): Move @dots{} before last argument.
41771
79c6869c
PB
417722012-02-17 Paul Bolle <pebolle@tiscali.nl>
41773
41774 [BZ #12047]
41775 * manual/charset.texi (Generic Charset Conversion): Fix typo
41776 (LC_TYPE -> LC_CTYPE).
41777
cc6e48bc
NB
417782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41779
41780 [BZ #5805]
41781 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41782 (scalbnf): Likewise.
41783 (scalbnl): Likewise.
41784 (scalbln): Likewise.
41785 (scalblnf): Likewise.
41786 (scalblnl): Likewise.
41787 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41788 (vwarnx): Likewise.
41789 (verr): Likewise.
41790 (verrx): Likewise.
41791 * manual/filesys.texi (telldir): Use braces around return type.
41792 * manual/llio.texi (mmap): Add space after comma.
41793 (mmap64): Likewise.
41794 * manual/math.texi (jn): Use @var{} on parameter names.
41795 (jnf): Likewise.
41796 (jnl): Likewise.
41797 (yn): Likewise.
41798 (ynf): Likewise.
41799 (ynl): Likewise.
41800 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41801 line.
41802 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41803 "...".
41804 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41805 (sched_get_priority_max): Likewise.
41806 * manual/signal.texi (sigvec): Add space after comma.
41807 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41808 names.
41809 (if_indextoname): Likewise.
41810 (if_freenameindex): Likewise.
41811 (sendto): Use ',' instead of '.' in prototype.
41812 * manual/startup.texi (syscall): Use @dots{} instead of literal
41813 "...".
41814 * manual/stdio.texi (__fpending): Separate initial words of
41815 paragraph from @deftypefun line.
41816 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41817 "...".
41818 (vsyslog): Use @var{} on parameter names.
41819 * manual/terminal.texi (stty): Use @var{} on parameter names.
41820 * manual/users.texi (getutmp): Use @var{} on parameter names.
41821 (getutmpx): Likewise.
41822
5b23062f
JM
418232012-02-17 Joseph Myers <joseph@codesourcery.com>
41824
41825 [BZ #6884]
41826 * manual/stdio.texi (fopen): Fix typos in description of
41827 ",ccs=STRING".
41828
8dee4833
AJ
418292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41830
41831 [BZ #4026]
41832 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41833 get clock_id definition.
41834
9078ce93
TS
418352012-02-17 Thomas Schwinge <thomas@schwinge.name>
41836
41837 [BZ #4822]
41838 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41839 (madvise): Cast every argument to void on its own.
41840
3835c55f
JM
418412012-02-17 Joseph Myers <joseph@codesourcery.com>
41842
41843 [BZ #9902]
41844 * manual/startup.texi (Exit Status): Fix typo.
41845
35c47e37
JM
418462012-02-17 Joseph Myers <joseph@codesourcery.com>
41847
41848 [BZ #10140]
41849 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41850 * manual/examples/argp-ex2.c: Likewise.
41851 * manual/examples/argp-ex3.c: Likewise.
41852
e3b69ca7
RH
418532012-02-16 Richard Henderson <rth@redhat.com>
41854
41855 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41856 * sysdeps/s390/s390-32/initfini.c: Remove.
41857 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41858 * sysdeps/s390/s390-64/initfini.c: Remove.
41859
df83af67
KK
418602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41861
41862 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41863 compiler output for sysdeps/generic/initfini.c.
41864 * sysdeps/sh/elf/initfini.c: Remove file.
41865
f63f3380
DM
418662012-02-16 David S. Miller <davem@davemloft.net>
41867
fb59b3a4
DM
41868 [BZ #11494]
41869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41870
f63f3380
DM
41871 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41872 * sysdeps/sparc/crti.S: New file.
41873 * sysdeps/sparc/crtn.S: New file.
41874 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41875 * sysdeps/sparc/sparc64/Makefile: Likewise.
41876
df6a4a4a
MF
418772012-02-15 Mike Frysinger <vapier@gentoo.org>
41878
6dd8f3dc 41879 [BZ #3335]
df6a4a4a
MF
41880 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41881
1cac7236
RM
418822012-02-15 Roland McGrath <roland@hack.frob.com>
41883
d2c736f8
RM
41884 [BZ #4822]
41885 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41886
1cac7236
RM
41887 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41888 (write, read, close): Likewise.
41889 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41890
8e475601
JM
418912012-02-15 Joseph Myers <joseph@codesourcery.com>
41892
41893 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41894 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41895 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41896 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41897 <bits/signalfd.h>.
41898 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41900 bits/signalfd.h.
41901
ed656b40
MP
419022012-02-14 Marek Polacek <polacek@redhat.com>
41903
41904 * sysdeps/x86_64/crti.S: New file.
41905 * sysdeps/x86_64/crtn.S: New file.
41906 * sysdeps/x86_64/elf/initfini.c: Remove file.
41907
2a979d3a
JM
419082012-02-13 Joseph Myers <joseph@codesourcery.com>
41909
41910 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41911 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41912 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41913 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41914 <bits/inotify.h>.
41915 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41917 bits/inotify.h.
41918
2a418ac3
JM
419192012-02-13 Joseph Myers <joseph@codesourcery.com>
41920
41921 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41922 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41923 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41924 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41925 <bits/eventfd.h>.
41926 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41928 bits/eventfd.h.
41929
fb779be7
TS
419302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41931
e19e83c5
RM
41932 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41933 __feraiseexcept instead of feraiseexcept.
7c35ffed 41934
fb779be7
TS
41935 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41936 nanosleep invocations.
41937 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41938 strings, and add error checking for a nanosleep invocations.
41939
59ba27a6
PE
419402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41941
41942 Replace FSF snail mail address with URLs, as per GNU coding standards.
41943 Most of the snail mail addresses were wrong anyway, and omitting
41944 them makes the source code easier to maintain. Almost all of the
41945 changes are to license notices and to locale LC_IDENTIFICATION
41946 addresses, except for this one:
41947 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41948 not its snail mail address.
41949
57b957eb
RH
419502012-02-09 Richard Henderson <rth@twiddle.net>
41951
af850b1c
RH
41952 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41953 of kernel-features.h.
41954
57b957eb
RH
41955 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41956
6b73181a
MP
419572012-02-08 Marek Polacek <polacek@redhat.com>
41958
41959 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41960 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41961 * sysdeps/gnu/_G_config.h: Likewise.
41962 * sysdeps/generic/_G_config.h: Likewise.
41963
26ecc33a
AS
419642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41965
6c6dbc63
AS
41966 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41967 tests.
41968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41969
e216c012
AS
41970 * sysdeps/powerpc/powerpc32/crti.S: New file.
41971 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41972 * sysdeps/powerpc/powerpc64/crti.S: New file.
41973 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41974
26ecc33a
AS
41975 * Makeconfig (have-initfini): Don't set.
41976 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41977 * configure.in (nopic_initfini): Don't substitute.
41978 * config.h.in (HAVE_INITFINI): Don't #undef.
41979 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41980 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41981
3add8e13
JM
419822012-02-08 Joseph Myers <joseph@codesourcery.com>
41983
41984 Support crti.S and crtn.S provided directly by architectures.
41985 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41986 [crti.S in sysdirs] (omit-deps): Likewise.
41987 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41988 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41989 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41990 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41991 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41992 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41993 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41994 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41995 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41996 compiler output for sysdeps/generic/initfini.c.
41997 * sysdeps/i386/elf/Makefile: Remove file.
41998 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41999
a22f12b4
MP
420002012-02-07 Marek Polacek <polacek@redhat.com>
42001
42002 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42003 * sysdeps/gnu/_G_config.h: Likewise.
42004 * sysdeps/mach/hurd/_G_config.h: Likewise.
42005
148cf100
MP
420062012-02-07 Marek Polacek <polacek@redhat.com>
42007
42008 * math/Makefile (tests): Add tst-CMPLX2.
42009 * math/tst-CMPLX2.c: New file.
42010
cfdc0dd7
AS
420112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42012
84ba42c4
AS
42013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42014
cfdc0dd7
AS
42015 * math/libm-test.inc (jn_test): Add missing L suffix.
42016
622c86f4
MP
420172012-02-06 Marek Polacek <polacek@redhat.com>
42018
42019 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42020 * sysdeps/i386/fpu/e_powf.S: Likewise.
42021 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42022 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42024 * sysdeps/i386/fpu/e_pow.S: Likewise.
42025 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42026 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42027 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42028 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42029 * sysdeps/i386/fpu/e_log2.S: Likewise.
42030 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42031 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42032 * sysdeps/i386/fpu/e_powl.S: Likewise.
42033 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42034 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42035 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42036 * sysdeps/i386/fpu/e_logl.S: Likewise.
42037 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42038 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42039 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42040 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42042 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42043 * sysdeps/i386/fpu/e_log.S: Likewise.
42044 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42045 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42046 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42047 * sysdeps/i386/fpu/e_logf.S: Likewise.
42048 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42049 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42050 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42051 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42052 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42053 * sysdeps/i386/fpu/e_log10.S: Likewise.
42054 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42055 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42056 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42057 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42058 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42059 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42060 * sysdeps/i386/asm-syntax.h: Likewise.
42061 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42062 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42063 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42064 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42065 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42066 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42067 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42068 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42069 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42070 * sysdeps/powerpc/sysdep.h: Likewise.
42071 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42072 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42073
d4a54ac6
JM
420742012-02-06 Joseph Myers <joseph@codesourcery.com>
42075
42076 [BZ #411]
42077 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42078
314054ea
JM
420792012-02-06 Joseph Myers <joseph@codesourcery.com>
42080
42081 * sysdeps/i386/sysdep.h: Include <features.h>.
42082 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42083 version.
42084
d8e0ca50
JM
420852012-02-05 Joseph Myers <joseph@codesourcery.com>
42086
42087 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42088 Define.
42089 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42090 LOAD_PIC_REG_STR.
42091
b1da7dd9
JM
420922012-02-03 Joseph Myers <joseph@codesourcery.com>
42093
42094 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42095 (SETUP_PIC_REG): Use GET_PC_THUNK.
42096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42097 macro.
42098
9a1d9254
JM
420992012-02-03 Joseph Myers <joseph@codesourcery.com>
42100
42101 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42102 for non-PIC compilation.
42103 (SETUP_PIC_REG): Add .p2align directive.
42104 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42105 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42106 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42107 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42108 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42109 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42110 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42112 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42113 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42114 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42115 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42116 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42117 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42118 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42119 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42120 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42121 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42122 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42123 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42124 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42125 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42126 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42127 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42128 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42130 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42132 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42133 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42134 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42136 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42137 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42138 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42139 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42140 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42141 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42142 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42143 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42144 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42145
65dc3b75
JM
421462012-02-03 Joseph Myers <joseph@codesourcery.com>
42147
42148 * math/tst-CMPLX.c: Include <stdio.h>.
42149
d55bf177
JM
421502012-01-31 Joseph Myers <joseph@codesourcery.com>
42151
42152 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42153 float.
42154 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42155 * sysdeps/sparc/bits/mathdef.h: Likewise.
42156
69db4f8f
MP
421572012-01-31 Marek Polacek <polacek@redhat.com>
42158
42159 * libio/libio.h: Don't define _PARAMS.
42160 * locale/programs/config.h: Don't define PARAMS.
42161 * stdlib/strtol_l.c: Likewise.
42162 (__strtol_l): Remove PARAMS from the prototype.
42163
41b81892
UD
421642012-01-31 Ulrich Drepper <drepper@gmail.com>
42165
3b49edc0
UD
42166 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42167 names. Just use the correct names. Remove unnecessary wrapper
42168 functions.
42169 * malloc/arena.c: Likewise.
42170 * malloc/hooks.c: Likewise.
42171
41b81892
UD
42172 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42173 ARENA_TEST says not to. Simplify test for creation of a new arena.
42174 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42175
27a25b6e
UD
421762012-01-30 Ulrich Drepper <drepper@gmail.com>
42177
42178 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42179 into tail calls.
42180 (update_get_addr): New function.
42181 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42182 GET_ADDR_MODULE parameter.
42183
c8a89e7d
JM
421842012-01-30 Joseph Myers <joseph@codesourcery.com>
42185
42186 * crypt/cert.c: Remove __STDC__ conditionals.
42187 * crypt/crypt-entry.c: Likewise.
42188 * crypt/crypt_util.c: Likewise.
42189 * libio/filedoalloc.c: Likewise.
42190 * libio/fileops.c: Likewise.
42191 * libio/genops.c: Likewise.
42192 * libio/iofclose.c: Likewise.
42193 * libio/iofdopen.c: Likewise.
42194 * libio/iofopen.c: Likewise.
42195 * libio/iofopen64.c: Likewise.
42196 * libio/iogetdelim.c: Likewise.
42197 * libio/iopopen.c: Likewise.
42198 * libio/obprintf.c: Likewise.
42199 * libio/oldfileops.c: Likewise.
42200 * libio/oldiofclose.c: Likewise.
42201 * libio/oldiofdopen.c: Likewise.
42202 * libio/oldiofopen.c: Likewise.
42203 * libio/oldiopopen.c: Likewise.
42204 * libio/wfiledoalloc.c: Likewise.
42205 * libio/wgenops.c: Likewise.
42206 * locale/programs/xmalloc.c: Likewise.
42207 * misc/syslog.c: Likewise.
42208 * stdio-common/xbug.c: Likewise.
42209 * string/memchr.c: Likewise.
42210 * string/memcmp.c: Likewise.
42211 * string/memrchr.c: Likewise.
42212 * string/rawmemchr.c: Likewise.
42213 * sysdeps/posix/getcwd.c: Likewise.
42214 * time/strftime_l.c: Likewise.
42215
3b100462
JM
422162012-01-30 Joseph Myers <joseph@codesourcery.com>
42217
42218 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42219 * config.make.in (config-cflags-sse2avx): Define.
42220 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42221 Fix typo.
42222
607998af
CM
422232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42224
42225 * scripts/config.guess: Update from upstream config git repository.
42226 * scripts/config.sub: Likewise.
42227
3601428f
CM
422282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42229
3ac8b282
CM
42230 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42231 (EM_NUM): Update.
42232 (R_TILEPRO_*, R_TILEGX_*): New macros.
42233
e034841e
CM
42234 * scripts/firstversions.awk: Fix bug in version range handling.
42235
540d7568
CM
42236 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42237
3601428f
CM
42238 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42239
463de862
CM
42240 * include/sys/epoll.h: New file.
42241 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42242 libc_hidden_def.
42243
73139a76
UD
422442012-01-28 Ulrich Drepper <drepper@gmail.com>
42245
96bc5b45
UD
42246 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42247 Avoid unnecessary __WORDSIZE == 64 test.
42248 (fmaxf): Use VEX format if possible.
42249 (fmax): Likewise.
42250 (fminf): Likewise.
42251 (fmin): Likewise.
42252
56f6f6a2
UD
42253 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42254 * math/math_private.h: Remove libc_fegetround* and
42255 libc_fesetround*.
42256 * sysdeps/i386/configure.in: Check for -msse2avx.
42257 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42258 also if SSE2AVX is defined.
42259 Remove libc_fegetround* and libc_fesetround*.
42260 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42261 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42263 of HAS_YMM_USABLE.
42264 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42265 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42267 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42268 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42269
73139a76
UD
42270 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42271
d73f93a4
AZ
422722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42273
42274 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42275 size is not set.
42276 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42277
6ee65ed6
UD
422782012-01-27 Ulrich Drepper <drepper@gmail.com>
42279
42280 [BZ #13618]
42281 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42282 relocation.
42283 * Makeconfig (libm): Define.
42284 * elf/Makefile: Add rules to build and run tst-relsort1.
42285 * elf/tst-relsort1.c: New file.
42286 * elf/tst-relsort1mod1.c: New file.
42287 * elf/tst-relsort1mod2.c: New file.
42288
8db21882
JM
422892012-01-27 Joseph Myers <joseph@codesourcery.com>
42290
42291 * math/s_ldexp.c: Remove __STDC__ conditionals.
42292 * math/s_ldexpf.c: Likewise.
42293 * math/s_ldexpl.c: Likewise.
42294 * math/s_nextafter.c: Likewise.
42295 * math/s_nexttowardf.c: Likewise.
42296 * math/s_significand.c: Likewise.
42297 * math/s_significandf.c: Likewise.
42298 * math/s_significandl.c: Likewise.
42299 * math/w_jnl.c: Likewise.
42300 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42301 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42302 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42303 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42304 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42306 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42307 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42308 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42309 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42310 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42311 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42312 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42313 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42314 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42315 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42316 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42317 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42319 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42320 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42321 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42322 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42323 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42324 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42325 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42326 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42327 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42328 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42329 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42330 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42331 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42332 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42333 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42334 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42335 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42336 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42337 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42338 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42339 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42340 * sysdeps/ieee754/k_standard.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42402 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42403 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42404 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42407 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42413 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42415 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42416 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42420 * sysdeps/ieee754/s_matherr.c: Likewise.
42421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42423 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42424 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42425
965a54a4
JM
424262012-01-26 Joseph Myers <joseph@codesourcery.com>
42427
42428 * crypt/md5.h: Remove __STDC__ conditionals.
42429 * libio/libioP.h: Likewise.
42430 * locale/programs/config.h: Likewise.
42431 * sysdeps/generic/sysdep.h: Likewise.
42432 * sysdeps/i386/asm-syntax.h: Likewise.
42433 * sysdeps/s390/asm-syntax.h: Likewise.
42434 * sysdeps/unix/sysdep.h: Likewise.
42435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42437
7071ad79
JM
424382012-01-26 Joseph Myers <joseph@codesourcery.com>
42439
42440 * libio/libio.h: Remove __STDC__ conditionals.
42441 * malloc/obstack.h: Likewise.
42442 * math/complex.h: Likewise.
42443 * math/math.h: Likewise.
42444 * sysdeps/generic/_G_config.h: Likewise.
42445 * sysdeps/gnu/_G_config.h: Likewise.
42446 * sysdeps/mach/hurd/_G_config.h: Likewise.
42447 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42448 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42449 * sysdeps/sparc/bits/mathdef.h: Likewise.
42450
afc5ed09
UD
424512012-01-26 Ulrich Drepper <drepper@gmail.com>
42452
42453 [BZ #13583]
42454 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42455 Clean up HAS_* macros.
afc5ed09 42456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42457 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42458 possible.
42459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42460 HAS_AVX.
42461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42466
bdb6de1d
JM
424672012-01-25 Joseph Myers <joseph@codesourcery.com>
42468
42469 * elf/tst-unique3.cc (gets): Remove declaration.
42470 * elf/tst-unique3lib.cc (gets): Likewise.
42471 * elf/tst-unique3lib2.cc (gets): Likewise.
42472 * elf/tst-unique4.cc (gets): Likewise.
42473
b15549e6
UD
424742012-01-24 Ulrich Drepper <drepper@gmail.com>
42475
42476 * include/stdio.h: Add C++ protection. Add gets declarations and
42477 definitions.
42478 * debug/tst-chk1.c: Don't declare gets here.
42479 * stdio-common/tst-gets.c: Likewise.
42480
a037381f
JM
424812012-01-24 Joseph Myers <joseph@codesourcery.com>
42482
42483 * posix/glob: Remove directory.
42484
f1d4aa75
JM
424852012-01-24 Joseph Myers <joseph@codesourcery.com>
42486
42487 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42488
81c0c964
PT
424892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42490
42491 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42492 of the non-standard EPFNOSUPPORT.
42493
0ea698ae
ST
424942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42495
42496 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42497 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42498 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42499
d220b117
UD
425002012-01-21 Ulrich Drepper <drepper@gmail.com>
42501
42502 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42503
3e1aa84e
UD
425042012-01-20 Ulrich Drepper <drepper@gmail.com>
42505
42506 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42507 transient errors.
42508 * nscd/grpcache.c (cache_addgr): Likewise.
42509 * nscd/hstcache.c (cache_addhst): Likewise.
42510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42511 * nscd/pwdcache.c (cache_addpw): Likewise.
42512 * nscd/servicescache.c (cache_addserv): Likewise.
42513
400aa020
UD
425142012-01-16 Ulrich Drepper <drepper@gmail.com>
42515
d77e7869
UD
42516 * malloc/malloc.c: Various cleanups.
42517 * malloc/hooks.c: Likewise.
42518
400aa020
UD
42519 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42520 * stdlib/bug-fmtmsg1.c: New file.
42521
42522 * stdlib/fmtmsg.c (init): Add missing unlock.
42523 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42524
e0a309cf
MP
425252012-01-12 Marek Polacek <polacek@redhat.com>
42526
42527 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42528 and _GNU_SOURCE.
42529
929d11c7
WS
425302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42531
42532 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42533 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42534 macro to ensure uniqueness of label name.
42535 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42536 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42537
41d0e869
UD
425382012-01-11 Ulrich Drepper <drepper@gmail.com>
42539
0cc5ed3b
UD
42540 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42541
41d0e869
UD
42542 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42543 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42546
a47a831a
UD
425472012-01-10 Ulrich Drepper <drepper@gmail.com>
42548
daa891c0
UD
42549 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42550
42551 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42552 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42554
e58ef0f2
UD
42555 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42556
a47a831a 42557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42558 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42559 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42561
42562 * math/bits/math-finite.h: Add ldexp support.
42563
a0bfc9c7
MP
425642012-01-10 Marek Polacek <polacek@redhat.com>
42565
42566 * locale/programs/localedef.h (show_archive_content): Add noreturn
42567 attribute.
42568
d6e97a1d
UD
425692012-01-09 Ulrich Drepper <drepper@gmail.com>
42570
42571 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42572
d5835c26
UD
425732012-01-08 Ulrich Drepper <drepper@gmail.com>
42574
e5f484c6
UD
42575 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42576
d5835c26
UD
42577 * io/Makefile (headers): Add bits/poll2.h.
42578
d1f741e9
WS
425792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42580
42581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42582 typo #include statement.
42583
ec09c1c4
UD
425842012-01-08 Ulrich Drepper <drepper@gmail.com>
42585
42586 * include/sys/cdefs.h: Define __attribute_alloc_size.
42587 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42588 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42589 * elf/pldd.c: Likewise.
42590 * iconv/iconv_charmap.c: Likewise.
42591 * iconv/iconvconfig.c: Likewise.
42592 * iconv/strtab.c: Likewise.
42593 * locale/programs/locale.c: Likewise.
42594 * locale/programs/localedef.h: Likewise.
42595 * locale/programs/simple-hash.c: Likewise.
42596 * nscd/nscd.h: Likewise.
42597 * nss/makedb.c: Likewise.
42598 * sysdeps/generic/ldconfig.h: Likewise.
42599 * locale/programs/localedef.c: Remove xmalloc prototype.
42600 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42601
20b38e03
PP
426022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42603
42604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42605 appropriate.
42606
a0da5fe1
UD
426072012-01-08 Ulrich Drepper <drepper@gmail.com>
42608
1d5a644a 42609 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42610 * math/tst-CMPLX.c: New file.
1d5a644a 42611
8784a6db
UD
42612 * math/complex.h (CMPLXL): Fix typo.
42613
d9a216c0
UD
42614 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42615 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42616 GLIBC_2.16.
42617 * debug/tst-chk1.c: Add poll and ppoll tests.
42618 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42619 * include/sys/poll.h: Add hidden proto for ppoll.
42620 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42621 * sysdeps/mach/hurd/ppoll.c: Likewise.
42622 * io/ppoll.c: Likewise.
42623 * debug/poll_chk.c: New file.
42624 * debug/ppoll_chk.c: New file.
42625 * include/bits/poll2.h: New file.
42626 * io/bits/poll2.h: New file.
42627
ac097f5c
UD
42628 [BZ #1350]
42629 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42630
2119dcfa
UD
42631 * configure.in: static is always set to yes. Remove.
42632 * config.make.in: Don't set build-static.
42633 * Makeconfig: Remove use of build-static.
42634 * dlfcn/Makefile: Likewise.
42635 * elf/Makefile: Likewise.
42636 * math/Makefile: Likewise.
42637 * misc/Makefile: Likewise.
42638 * nptl/Makefile: Likewise.
42639 * sysdeps/mach/hurd/Makefile: Likewise.
42640
121766a9
UD
42641 * configure.in: PWD_P is not used anymore.
42642 * config.make.in: Remove PWD_P entry.
42643
51a1d39c 42644 * configure.in: Remove last remnants of RANLIB.
8720d066 42645 No need to check for signed size_t anymore.
215f4bdc
UD
42646 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42647 and IA-64.
3857022a 42648 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42649 * aclocal.m4: Likewise.
42650
d3ed7225
UD
42651 * wcsmbs/mbrtoc16.c: Implement using towc function.
42652 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42653 * wcsmbs/wcsmbsload.c: Likewise.
42654 * iconv/gconv_simple.c: Likewise.
42655 * iconv/gconv_int.h: Likewise.
42656 * iconv/gconv_builtin.h: Likewise.
42657 * iconv/iconv_prog.c: Remove CHAR16 handling.
42658
42659 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42660
42661 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42662
a0da5fe1
UD
42663 * configure.in: Remove --with-elf and --enable-bounded options.
42664 Dont set base_machine for ia64. More non-ELF conditions removed.
42665 Remove testing and setting of leading underscore information.
42666 * config.make.in (build-bounded): Set to no.
42667 * config.h.in: Remove NO_UNDERSCORES entry.
42668 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42669 them.
42670 * csu/start.c: Remove !NO_UNDERSCORE code.
42671 * locale/localeinfo.h: Likewise.
42672 * sysdeps/generic/machine-gmon.h: Likewise.
42673 * sysdeps/generic/sysdep.h: Likewise.
42674 * sysdeps/i386/sysdep.h: Likewise.
42675 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42676 * sysdeps/mach/sysdep.h: Likewise.
42677 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42678 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42679 * sysdeps/sh/sysdep.h: Likewise.
42680 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42681 * sysdeps/unix/i386/sysdep.S: Likewise.
42682 * sysdeps/unix/sparc/start.c: Likewise.
42683 * sysdeps/unix/sparc/sysdep.S: Likewise.
42684 * sysdeps/unix/sparc/sysdep.h: Likewise.
42685 * sysdeps/unix/start.c: Likewise.
42686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42687 * sysdeps/x86_64/sysdep.h: Likewise.
42688
df78418a
UD
426892012-01-07 Ulrich Drepper <drepper@gmail.com>
42690
a784e502
UD
42691 [BZ #13553]
42692 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42693 for non-gcc.
42694 * argp/argp-fmtstream.h: Use const instead __const.
42695 * argp/argp.h: Likewise.
42696 * assert/assert.h: Likewise.
42697 * bits/fenv.h: Likewise.
42698 * bits/sched.h: Likewise.
42699 * bits/sigset.h: Likewise.
42700 * bits/sigthread.h: Likewise.
42701 * catgets/nl_types.h: Likewise.
42702 * conform/data/pthread.h-data: Likewise.
42703 * crypt/crypt-private.h: Likewise.
42704 * crypt/crypt.h: Likewise.
42705 * crypt/crypt_util.c: Likewise.
42706 * ctype/ctype.h: Likewise.
42707 * debug/execinfo.h: Likewise.
42708 * debug/mbsnrtowcs_chk.c: Likewise.
42709 * debug/mbsrtowcs_chk.c: Likewise.
42710 * debug/wcsnrtombs_chk.c: Likewise.
42711 * debug/wcsrtombs_chk.c: Likewise.
42712 * debug/wcstombs_chk.c: Likewise.
42713 * dirent/dirent.h: Likewise.
42714 * dlfcn/dlfcn.h: Likewise.
42715 * elf/neededtest4.c: Likewise.
42716 * grp/grp.h: Likewise.
42717 * gshadow/gshadow.h: Likewise.
42718 * iconv/gconv.h: Likewise.
42719 * iconv/gconv_int.h: Likewise.
42720 * iconv/gconv_simple.c: Likewise.
42721 * iconv/iconv.h: Likewise.
42722 * iconv/loop.c: Likewise.
42723 * iconv/skeleton.c: Likewise.
42724 * include/aio.h: Likewise.
42725 * include/aliases.h: Likewise.
42726 * include/argz.h: Likewise.
42727 * include/arpa/inet.h: Likewise.
42728 * include/assert.h: Likewise.
42729 * include/dirent.h: Likewise.
42730 * include/dlfcn.h: Likewise.
42731 * include/execinfo.h: Likewise.
42732 * include/fcntl.h: Likewise.
42733 * include/fenv.h: Likewise.
42734 * include/glob.h: Likewise.
42735 * include/grp.h: Likewise.
42736 * include/libintl.h: Likewise.
42737 * include/mntent.h: Likewise.
42738 * include/netdb.h: Likewise.
42739 * include/pwd.h: Likewise.
42740 * include/rpc/netdb.h: Likewise.
42741 * include/sched.h: Likewise.
42742 * include/search.h: Likewise.
42743 * include/shadow.h: Likewise.
42744 * include/signal.h: Likewise.
42745 * include/stdio.h: Likewise.
42746 * include/stdlib.h: Likewise.
42747 * include/string.h: Likewise.
42748 * include/sys/socket.h: Likewise.
42749 * include/sys/stat.h: Likewise.
42750 * include/sys/statfs.h: Likewise.
42751 * include/sys/statvfs.h: Likewise.
42752 * include/sys/syslog.h: Likewise.
42753 * include/sys/time.h: Likewise.
42754 * include/sys/uio.h: Likewise.
42755 * include/time.h: Likewise.
42756 * include/unistd.h: Likewise.
42757 * include/utmp.h: Likewise.
42758 * include/wchar.h: Likewise.
42759 * include/wctype.h: Likewise.
42760 * inet/aliases.h: Likewise.
42761 * inet/arpa/inet.h: Likewise.
42762 * inet/netinet/ether.h: Likewise.
42763 * inet/netinet/in.h: Likewise.
42764 * intl/libintl.h: Likewise.
42765 * io/bits/fcntl2.h: Likewise.
42766 * io/fcntl.h: Likewise.
42767 * io/ftw.h: Likewise.
42768 * io/sys/poll.h: Likewise.
42769 * io/sys/stat.h: Likewise.
42770 * io/sys/statfs.h: Likewise.
42771 * io/sys/statvfs.h: Likewise.
42772 * io/utime.h: Likewise.
42773 * libio/bits/stdio.h: Likewise.
42774 * libio/bits/stdio2.h: Likewise.
42775 * libio/libio.h: Likewise.
42776 * libio/libioP.h: Likewise.
42777 * libio/stdio.h: Likewise.
42778 * locale/lc-ctype.c: Likewise.
42779 * locale/locale.h: Likewise.
42780 * login/utmp.h: Likewise.
42781 * malloc/arena.c: Likewise.
42782 * malloc/malloc.c: Likewise.
42783 * malloc/malloc.h: Likewise.
42784 * malloc/mcheck.c: Likewise.
42785 * malloc/mtrace.c: Likewise.
42786 * math/bits/mathcalls.h: Likewise.
42787 * math/fenv.h: Likewise.
42788 * math/math_private.h: Likewise.
42789 * misc/bits/error.h: Likewise.
42790 * misc/bits/syslog.h: Likewise.
42791 * misc/err.h: Likewise.
42792 * misc/error.h: Likewise.
42793 * misc/fstab.h: Likewise.
42794 * misc/mntent.h: Likewise.
42795 * misc/regexp.h: Likewise.
42796 * misc/search.h: Likewise.
42797 * misc/sgtty.h: Likewise.
42798 * misc/sys/mman.h: Likewise.
42799 * misc/sys/syslog.h: Likewise.
42800 * misc/sys/uio.h: Likewise.
42801 * misc/sys/xattr.h: Likewise.
42802 * misc/ttyent.h: Likewise.
42803 * nis/rpcsvc/ypclnt.h: Likewise.
42804 * nss/nss.h: Likewise.
42805 * posix/bits/unistd.h: Likewise.
42806 * posix/fnmatch.h: Likewise.
42807 * posix/glob.h: Likewise.
42808 * posix/sched.h: Likewise.
42809 * posix/spawn.h: Likewise.
42810 * posix/sys/wait.h: Likewise.
42811 * posix/unistd.h: Likewise.
42812 * posix/wordexp.h: Likewise.
42813 * pwd/pwd.h: Likewise.
42814 * resolv/netdb.h: Likewise.
42815 * resource/sys/resource.h: Likewise.
42816 * rt/aio.h: Likewise.
42817 * rt/bits/mqueue2.h: Likewise.
42818 * rt/mqueue.h: Likewise.
42819 * shadow/shadow.h: Likewise.
42820 * signal/signal.h: Likewise.
42821 * socket/send.c: Likewise.
42822 * socket/sendto.c: Likewise.
42823 * socket/sys/socket.h: Likewise.
42824 * stdio-common/printf.h: Likewise.
42825 * stdlib/bits/stdlib.h: Likewise.
42826 * stdlib/fmtmsg.h: Likewise.
42827 * stdlib/monetary.h: Likewise.
42828 * stdlib/stdlib.h: Likewise.
42829 * stdlib/ucontext.h: Likewise.
42830 * streams/stropts.h: Likewise.
42831 * string/argz.h: Likewise.
42832 * string/bits/string2.h: Likewise.
42833 * string/string.h: Likewise.
42834 * string/strings.h: Likewise.
42835 * sunrpc/rpc/auth.h: Likewise.
42836 * sunrpc/rpc/auth_des.h: Likewise.
42837 * sunrpc/rpc/clnt.h: Likewise.
42838 * sunrpc/rpc/netdb.h: Likewise.
42839 * sunrpc/rpc/pmap_clnt.h: Likewise.
42840 * sunrpc/rpc/xdr.h: Likewise.
42841 * sysdeps/generic/inttypes.h: Likewise.
42842 * sysdeps/generic/net/if.h: Likewise.
42843 * sysdeps/generic/sys/swap.h: Likewise.
42844 * sysdeps/gnu/net/if.h: Likewise.
42845 * sysdeps/gnu/utmpx.h: Likewise.
42846 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42847 * sysdeps/i386/i486/bits/string.h: Likewise.
42848 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42849 * sysdeps/s390/bits/string.h: Likewise.
42850 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42851 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42852 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42853 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42854 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42855 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42856 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42857 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42858 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42859 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42860 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42861 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42862 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42863 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42864 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42865 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42866 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42868 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42869 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42872 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42873 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42874 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42875 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42876 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42877 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42878 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42879 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42880 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42881 * sysvipc/sys/ipc.h: Likewise.
42882 * sysvipc/sys/msg.h: Likewise.
42883 * sysvipc/sys/sem.h: Likewise.
42884 * sysvipc/sys/shm.h: Likewise.
42885 * termios/termios.h: Likewise.
42886 * time/sys/time.h: Likewise.
42887 * time/time.h: Likewise.
42888 * wcsmbs/bits/wchar2.h: Likewise.
42889 * wcsmbs/uchar.h: Likewise.
42890 * wcsmbs/wchar.h: Likewise.
42891 * wctype/wctype.h: Likewise.
42892
0269750c
UD
42893 [BZ #13551]
42894 * Makeconfig: Remove all but ELF support including AIX support.
42895 * Makerules: Likewise.
42896 * config.h.in: Likewise.
42897 * config.make.in: Likewise.
42898 * configure: Likewise.
42899 * configure.in: Likewise.
42900 * csu/Makefile: Likewise.
42901 * csu/version.c: Likewise.
42902 * debug/Makefile: Likewise.
42903 * dlfcn/Makefile: Likewise.
42904 * elf/Makefile: Likewise.
42905 * extra-lib.mk: Likewise.
42906 * iconv/Makefile: Likewise.
42907 * include/libc-symbols.h: Likewise.
42908 * include/shlib-compat.h: Likewise.
42909 * resolv/Makefile: Likewise.
42910 * resolv/res_libc.c: Likewise.
42911 * rt/Makefile: Likewise.
42912 * sysdeps/i386/asm-syntax.h: Likewise.
42913 * sysdeps/i386/sysdep.h: Likewise.
42914 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42915 * sysdeps/mach/sysdep.h: Likewise.
42916 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42917 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42918 * sysdeps/s390/asm-syntax.h: Likewise.
42919 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42920 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42921 * sysdeps/sh/sysdep.h: Likewise.
42922 * sysdeps/unix/sparc/sysdep.h: Likewise.
42923 * sysdeps/wordsize-32/divdi3.c: Likewise.
42924 * sysdeps/x86_64/sysdep.h: Likewise.
42925
00bbd29b
UD
42926 * argp/Versions: Remove _argp_unlock_xxx.
42927
42928 [BZ #13559]
42929 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42930 * abilist/libBrokenLocale.abilist: Likewise.
42931 * abilist/libanl.abilist: Likewise.
42932 * abilist/libc.abilist: Likewise.
42933 * abilist/libcrypt.abilist: Likewise.
42934 * abilist/libdl.abilist: Likewise.
42935 * abilist/libm.abilist: Likewise.
42936 * abilist/libnsl.abilist: Likewise.
42937 * abilist/libpthread.abilist: Likewise.
42938 * abilist/libresolv.abilist: Likewise.
42939 * abilist/librt.abilist: Likewise.
42940 * abilist/libthread_db.abilist: Likewise.
42941 * abilist/libutil.abilist: Likewise.
42942 * abilist/libnss_db.abilist: New file.
42943
42944 * scripts/abilist.awk: Add support for indirect functions.
42945
a2693a0e
UD
42946 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42947
3f05895f
UD
42948 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42949
ecb6fb48
UD
42950 * shlib-versions: Remove entries for ports architectures.
42951
664f8cb9
UD
42952 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42953 files in ports.
42954 * elf/stackguard-macros.h: Remove support for IA-64.
42955 * elf/tst-auditmod1.c: Likewise.
42956 * sysdeps/generic/ldsodefs.h: Likewise.
42957
7ae81d88
UD
42958 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42959 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42960 configure files.
42961
bdeba135
UD
42962 [BZ #13552]
42963 * configure.in: Remove --enable-omitfp support.
42964 * FAQ.in: Adjust.
42965 * config.make.in: Likewise.
42966 * Makeconfig: Likewise.
42967 * manual/install.texi: Likewise.
42968
d75a0a62
UD
42969 In case anyone cares, the IA-64 architecture could move to ports.
42970 * sysdeps/ia64/*: Removed.
42971 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42972 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42973
dcc9756b
UD
42974 [BZ #13555]
42975 * configure.in: Remove entries for unsupported architectures.
42976
d3761ebc 42977 [BZ #13533]
9954432e
UD
42978 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42979 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42980 routines.
42981 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42982 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42983 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42984 fall back to using wcrtomb.
42985 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42986 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42987 renaming.
42988 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42989 * wcsmbs/tst-c16c32-1.c: New file.
42990
42991 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42992 local variable.
42993
c3a87236
UD
42994 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42995
28926a1b
UD
42996 * elf/tst-unique3.cc: Add explicit declaration of gets.
42997 * elf/tst-unique3lib.cc: Likewise.
42998 * elf/tst-unique3lib2.cc: Likewise.
42999 * elf/tst-unique4.cc: Likewise.
43000
df78418a
UD
43001 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43002
8ecd6b2a
JM
430032012-01-06 Joseph Myers <joseph@codesourcery.com>
43004
43005 [BZ #13566]
43006 * assert/assert.h (static_assert): Don't define for C++.
43007 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43008 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43009
9f115170
UD
430102012-01-03 Ulrich Drepper <drepper@gmail.com>
43011
5e0d0300
UD
43012 * iconv/loop.c (single loop): Fix assertion in storing of
43013 remaining bytes.
43014
9f115170
UD
43015 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43016
81fb02b0
UD
430172012-01-01 Ulrich Drepper <drepper@gmail.com>
43018
43019 * posix/getconf.c: Update copyright year.
43020 * nss/getent.c: Likewise.
a316c1f6 43021 * nss/makedb.c: Likewise.
81fb02b0
UD
43022 * iconv/iconvconfig.c: Likewise.
43023 * iconv/iconv_prog.c: Likewise.
43024 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43025 * elf/pldd.c: Likewise.
43026 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43027 * catgets/gencat.c: Likewise.
43028 * csu/version.c: Likewise.
43029 * elf/ldd.bash.in: Likewise.
43030 * elf/sprof.c (print_version): Likewise.
43031 * locale/programs/locale.c: Likewise.
43032 * locale/programs/localedef.c: Likewise.
a316c1f6 43033 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43034 * nscd/nscd.c (print_version): Likewise.
43035 * debug/xtrace.sh: Likewise.
43036 * malloc/memusage.sh: Likewise.
43037 * malloc/mtrace.pl: Likewise.
43038 * debug/catchsegv.sh: Likewise.
43039
2ba92745
JJ
430402011-12-30 Jakub Jelinek <jakub@redhat.com>
43041
43042 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43043 pure attribute.
43044
dadebdae
UD
430452011-12-24 Ulrich Drepper <drepper@gmail.com>
43046
d3761ebc 43047 [BZ #13533]
db6af3eb
UD
43048 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43049 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43050 transformations.
43051 * iconv/gconv_int.h: Likewise.
43052 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43053 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43054 from libc for GLIBC_2.16.
43055 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43056 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43057 * wcsmbs/uchar.h: Really define mbstate_t.
43058 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43059 * wcsmbs/c16rtomb.c: New file.
43060 * wcsmbs/mbrtoc16.c: New file.
43061 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43062 for C/POSIX locale.
43063 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43064 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43065
dadebdae
UD
43066 * wcsmbs/wchar.h: Add missing __restrict.
43067
67371b56
UD
430682011-12-23 Ulrich Drepper <drepper@gmail.com>
43069
74033a25
UD
43070 [BZ #13532]
43071 * time/Makefile (routines): Add timespec_get.
43072 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43073 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43074 timespec for ISO C11.
43075 * time/timespec_get.c: New file.
43076 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43077 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43078
380d7e87
UD
43079 [BZ #13531]
43080 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43081 * stdlib/stdlib.h: Declare aligned_alloc.
43082 * Versions.def: Add GLIBC_2.16 for libc.
43083 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43084
4e9e7a35
UD
43085 [BZ 13527]
43086 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43087 ISO C11.
43088
380d7e87 43089 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43090 code.
43091
03a71829
UD
43092 [BZ #13528]
43093 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43094
839e283e
UD
43095 [BZ #13529]
43096 * assert/assert.h (static_assert): Define.
43097
ce5294e2 43098 * version.h: Update for 2.16 development version.
90fa7312 43099
8d44e150 43100 [BZ #13526]
d7809905
UD
43101 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43102 _ISOC11_SOURCE.
43103
c0da14cd
UD
43104 * version.h (RELEASE): Bump for 2.15 release.
43105 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43106
530a3249
MP
43107 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43108 Patch by Marek Polacek <mpolacek@redhat.com>.
43109
67371b56
UD
43110 * bits/byteswap.h: Protect long long constants with __extension__.
43111 * sysdeps/i386/bits/byteswap.h: Likewise.
43112 * sysdeps/ia64/bits/byteswap.h: Likewise.
43113 * sysdeps/s390/bits/byteswap.h: Likewise.
43114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43115
15db4de1
LD
431162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43117
43118 [BZ #13540]
bbe315ea
LD
43119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43120 destination buffer.
15db4de1
LD
43121 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43122
2b2596b1
MP
431232011-12-23 Marek Polacek <polacek@redhat.com>
43124
43125 * elf/dl-addr.c (determine_info): Add inline keyword.
43126 * elf/tst-auditmod4b.c (check_avx): Likewise.
43127 * elf/tst-auditmod6b.c (check_avx): Likewise.
43128 * elf/tst-auditmod6c.c (check_avx): Likewise.
43129 * elf/tst-auditmod7b.c (check_avx): Likewise.
43130
70c6c246
UD
431312011-12-23 Ulrich Drepper <drepper@gmail.com>
43132
43133 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43134 !__SSE_MATH__.
43135
c044cf14
LD
431362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43137
15db4de1 43138 [BZ #13540]
c044cf14
LD
43139 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43140 processing for last bytes.
43141
6b13d9d9
BH
431422011-08-06 Bruno Haible <bruno@clisp.org>
43143
d455f537
BH
43144 [BZ #13061]
43145 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43146 U+0385, not to U+1FEE.
43147
6b13d9d9
BH
43148 [BZ #13062]
43149 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43150 entry for U+00A5 U+0301.
43151
db910efd
UD
431522011-12-22 Ulrich Drepper <drepper@gmail.com>
43153
27deeafc
UD
43154 [BZ #13166]
43155 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43156 buffer for the output is too small.
43157
aed9d171
UD
43158 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43159 optimization.
43160
db910efd
UD
43161 [BZ #13185]
43162 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43163 SSE flags if possible.
43164
2bd779ae
LD
431652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43166
e7f9dac3 43167 [BZ #13540]
2bd779ae
LD
43168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43169 processing for last bytes.
43170
154bfc16
JM
431712011-12-22 Joseph Myers <joseph@codesourcery.com>
43172
43173 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43174 (syscall-list-default-options, syscall-list-default-condition)
43175 (syscall-list-includes): Define.
43176 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43177 list of ABIs and options and #if conditions for each ABI. Do not
43178 handle common syscalls between ABIs specially.
43179 * sysdeps/unix/sysv/linux/powerpc/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 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43185 (syscall-list-variants, syscall-list-32bit-options)
43186 (syscall-list-32bit-condition, syscall-list-64bit-options)
43187 (syscall-list-64bit-condition): Define.
43188 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43189 Remove.
43190 (syscall-list-variants, syscall-list-32bit-options)
43191 (syscall-list-32bit-condition, syscall-list-64bit-options)
43192 (syscall-list-64bit-condition): Define.
43193 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43194 Remove.
43195 (syscall-list-variants, syscall-list-32bit-options)
43196 (syscall-list-32bit-condition, syscall-list-64bit-options)
43197 (syscall-list-64bit-condition): Define.
43198
21eaf3a5
UD
431992011-12-22 Ulrich Drepper <drepper@gmail.com>
43200
16c6f992
UD
43201 * locale/iso-639.def: Add brx entry.
43202
41043168
UD
43203 [BZ #13328]
43204 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43205 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43206
21eaf3a5
UD
43207 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43208 __feraiseexcept_renamed.
43209
e3a851a2
UD
432102011-12-21 Ulrich Drepper <drepper@gmail.com>
43211
4920765e
UD
43212 [BZ #13538]
43213 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43214 EPOLLET with unsigned values.
43215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43216 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43217
e3a851a2
UD
43218 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43219 to large cancellation.
43220 * math/s_cacoshf.c: Likewise.
43221 * math/s_cacoshl.c: Likewise.
43222
b27e24b8
RK
432232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43224
43225 [BZ #13305]
aebefeee 43226 [BZ #12786]
b27e24b8
RK
43227 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43228 * math/s_cacoshf.c: Likewise.
43229 * math/s_cacoshl.c: Likewise.
43230
ee190f67
UD
432312011-12-21 Ulrich Drepper <drepper@gmail.com>
43232
43233 [BZ #13439]
43234 * iconv/gconv.h: Define __GCONV_SWAP.
43235 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43236 * iconvdata/utf-16.c: Likewise.
43237 * iconvdata/utf-32.c: Likewise.
43238
707f25df
AS
432392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43240
43241 [BZ #13524]
43242 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43243 numerator after shifting it by one limb.
43244
d2daaa1e
RÁE
432452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43246
43247 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43248 under [__USE_EXTERN_INLINES].
43249
a4647e72
UD
432502011-12-17 Ulrich Drepper <drepper@gmail.com>
43251
43252 [BZ #13446]
43253 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43254
f0b264f1
AZ
432552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43256
43257 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43258 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43259 optimized code.
43260 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43261 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43262 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43263 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43264 for strncasecmp/strncasecmp_l compilation.
43265 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43266 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43267
8ef4f244
MP
432682011-12-08 Marek Polacek <mpolacek@redhat.com>
43269
43270 [BZ #13484]
43271 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43272 of __asm__.
43273
97ac2654
UD
432742011-12-17 Ulrich Drepper <drepper@gmail.com>
43275
43276 [BZ #13506]
43277 * time/tzfile.c (__tzfile_read): Check values from file header.
43278
91d2a845
WS
432792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43280
43281 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43282 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43283 * powerpc/powerpc32/dl-start.S: Likewise.
43284 * powerpc/powerpc32/elf/start.S: Likewise.
43285 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43286 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43287 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43288 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43289 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43290 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43291 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43292 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43293 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43294 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43295 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43296 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43297 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43298 * powerpc/powerpc32/memset.S: Likewise.
43299 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43300 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43301 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43302 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43303 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43304 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43305 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43306 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43307 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43308 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43309 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43310 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43311 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43312
a1267ba1
AZ
433132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43314
43315 * math/libm-test.inc: Added more nearbyint tests.
43316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43317 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43319 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43320
ad8ac1bd
RL
433212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43322
43323 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43324 FD_CLOEXEC.
43325
1d3e4b61
UD
433262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43327
43328 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43329 Add wcscpy-ssse3 wcscpy-c.
43330 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43331 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43332 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43333 * sysdeps/x86_64/wcschr.S: New file.
43334 * sysdeps/x86_64/wcsrchr.S: New file.
43335 * string/test-strcmp.c: Remove checking of wcscmp function for
43336 wrong alignments.
43337 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43338 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43339 wcsrchr-sse2 wcsrchr-c.
43340 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43341 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43342 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43343 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43344 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43345 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43346 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43347 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43348 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43349 * wcsmbc/wcschr.c (WCSCHR): New macro.
43350
5b330a2d
UD
433512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43352
43353 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43354 * wcsmbs/test-wcsrchr.c: New file.
43355 * string/test-strrchr.c: Add wcsrchr support.
43356 (WIDE): New macro.
43357 * wcsmbs/test-wcscpy.c: New file.
43358 * string/test-strcpy.c: Add wcscpy support.
43359 (WIDE): New macro.
26428b7c 43360
f039c043
UD
433612011-12-10 Ulrich Drepper <drepper@gmail.com>
43362
43363 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43364 the inner loop.
43365
850fb039
AS
433662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43367
43368 [BZ #13472]
43369 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43370
4efbd5cb
UD
433712011-12-04 Ulrich Drepper <drepper@gmail.com>
43372
52ff5dd0 43373 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43374 Minor optimizations.
52ff5dd0 43375
4efbd5cb
UD
43376 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43377 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43378 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43379
8a426e12
UD
433802011-12-03 Ulrich Drepper <drepper@gmail.com>
43381
aff2453d
UD
43382 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43383 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43384 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43385 for gcc to avoid warnings.
43386 * inet/Makefile (tests): Add tst-checks.
43387 * inet/tst-checks.c: New file.
43388
43389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43390 warning.
43391
43392 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43393 __wmemcmp_sse2.
43394
43395 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43396 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43397
8a426e12
UD
43398 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43399
9bea3473
UD
434002011-12-02 Ulrich Drepper <drepper@gmail.com>
43401
3a965496
UD
43402 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43403 problem.
43404
9bea3473
UD
43405 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43406
f101631b
UD
434072011-11-29 Joseph Myers <joseph@codesourcery.com>
43408
43409 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43410 conditional on GCC version.
43411 (__arch_compare_and_exchange_val_8_acq)
43412 (__arch_compare_and_exchange_val_16_acq)
43413 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43414 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43415 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43416
a98275aa
UD
434172011-12-02 Joseph Myers <joseph@codesourcery.com>
43418
43419 * sysdeps/sh/backtrace.c: New file.
43420
d4cc29a2
AS
434212011-12-02 Andreas Schwab <schwab@redhat.com>
43422
43423 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43424 parenthesis.
43425
6257af2d
AS
434262011-12-01 Andreas Schwab <schwab@redhat.com>
43427
43428 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43429 falling back to utime.
43430
b5f44c1a
AS
434312011-11-30 Andreas Schwab <schwab@redhat.com>
43432
43433 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43434 expectations for float.
43435
f3a6cc0a
AS
434362011-11-29 Andreas Schwab <schwab@redhat.com>
43437
43438 * locale/weight.h (findidx): Add parameter len.
43439 * locale/weightwc.h (findidx): Likewise.
43440 * posix/fnmatch_loop.c (FCT): Adjust caller.
43441 * posix/regcomp.c (build_equiv_class): Likewise.
43442 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43443 * posix/regexec.c (check_node_accept_bytes): Likewise.
43444 * string/strcoll_l.c (STRCOLL): Likewise.
43445 * string/strxfrm_l.c (STRXFRM): Likewise.
43446
9d65ea3a
UD
434472011-11-17 Ulrich Drepper <drepper@gmail.com>
43448
43449 * Makefile.in: Remove CVSOPT handling.
43450 * configure.in: Remove use of AC_REVISION.
43451 * iconvdata/Makefile (distribute): No need to filter out CVS.
43452 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43453 handling.
43454
5583a086
AS
434552011-11-16 Andreas Schwab <schwab@redhat.com>
43456
43457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43458 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43459 [USE_AS_STRNCASECMP_L]: Likewise.
43460 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43461 NO_TLS_DIRECT_SEG_REFS.
43462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43463 Fix argument offsets for non-PIC.
43464 [USE_AS_STRNCASECMP_L]: Likewise.
43465 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43466 NO_TLS_DIRECT_SEG_REFS.
43467
d62a8200
UD
434682011-11-15 Ulrich Drepper <drepper@gmail.com>
43469
9d65ea3a 43470 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43471 O_CLOEXEC.
43472 * locale/loadlocale.c (_nl_load_locale): Likewise.
43473
09f93bd3
AS
434742011-11-15 Andreas Schwab <schwab@redhat.com>
43475
446514f9
AS
43476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43477 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43478 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43479 (SYSCALL_GETTIME): Set errno on error.
43480
09f93bd3
AS
43481 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43482 count references to noai6ai_cached.
43483
312be3f9
UD
434842011-11-15 Ulrich Drepper <drepper@gmail.com>
43485
43486 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43487
43488 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43489 FD_CLOEXEC for /proc/self/maps.
43490
43491 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43492 FD_CLOEXEC for /proc/meminfo.
43493
43494 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43495 gai.conf.
43496
43497 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43498 FD_CLOEXEC for given file.
43499
43500 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43501
43502 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43503 FD_CLOEXEC for /etc/hosts.
43504 (_gethtent): Likewise.
43505
43506 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43507
43508 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43509 cancellation and set FD_CLOEXEC for /etc/netgroup.
43510
43511 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43512 reading /etc/publickey.
43513
43514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43515 allow cancellation when reading /etc/group.
43516
43517 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43518 cancellation.
43519 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43520
43521 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43522 when using data file.
43523
43524 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43525
43526 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43527 (write_nis_obj): Use "c" and "e" in fopen.
43528
43529 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43530
43531 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43532
43533 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43534
43535 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43536
43537 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43538 locale.alias.
43539
43540 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43541
43542 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43543
43544 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43545
43546 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43547 file parsing and set FD_CLOEXEC.
43548
82af0fa8
UD
435492011-11-14 Ulrich Drepper <drepper@gmail.com>
43550
43551 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43552
a5fb313c
AS
435532011-11-14 Andreas Schwab <schwab@redhat.com>
43554
43555 * malloc/arena.c (arena_get2): Don't call reused_arena when
43556 _int_new_arena failed.
43557
6abf3465
UD
435582011-11-14 Ulrich Drepper <drepper@gmail.com>
43559
43560 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43561 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43566 to compile strcasecmp and strncasecmp.
43567 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43568 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43569
43570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43571
76e3966e
UD
435722011-11-13 Ulrich Drepper <drepper@gmail.com>
43573
43574 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43575 locale-defines.sym to gen-as-const-headers.
43576 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43577 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43579 to compile strcasecmp and strncasecmp.
43580 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43581 strcasecmp_l and strncasecmp_l.
43582 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43583 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43584 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43585 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43586 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43587 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43588 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43589 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43590 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43591 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43592 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43593
ab26144e
UD
435942011-11-12 Ulrich Drepper <drepper@gmail.com>
43595
7edb22ef
UD
43596 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43597 result of SYSDEP_GETTIME_CPU to retval.
43598 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43599 parameter list to macro. Remove trailing semicolon. Adjust users.
43600
9694fc44
UD
43601 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43602 variable.
43603
8ad89ef8
UD
43604 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43605 mantissa words.
43606 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43607
0c822ef9
UD
43608 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43609 from unused variable.
43610
874e0564
UD
43611 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43612 DWARF definitions.
43613 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43614 for assembling.
43615
3a2edc79
UD
43616 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43617 over namespaces.
43618
f3c2577f
UD
43619 * sunrpc/rpc_prot.c (rejected): Fix case value.
43620
294ce126
UD
43621 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43622 unsigned long long int to avoid warnings in shift.
43623
5e2b63c6
UD
43624 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43625 of use of trans.
43626 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43627 variable tmp.
43628
e7f4b08e
UD
43629 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43630 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43631 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43632
ab26144e
UD
43633 * nis/nis_table.c (nis_list): Use variable of correct type for
43634 result of __follow_path call.
43635
8a6d5255
AZ
436362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43637
43638 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43639 of math functions ceil, trunc, floor, round, and sqrt, when
43640 avaliable on the platform.
43641 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43642 name clash.
43643 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43644 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43645 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43646
aaddc98c
MP
436472011-10-30 Marek Polacek <mpolacek@redhat.com>
43648
43649 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43650 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43651
95b7042b
RM
436522011-11-11 Roland McGrath <roland@hack.frob.com>
43653
43654 * include/unistd.h: Fix __readlink return type.
43655 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43656
57769839
UD
436572011-11-11 Ulrich Drepper <drepper@gmail.com>
43658
43659 * stdlib/ucontext.h: Undo last change for makecontext.
43660
edc5984d
AS
436612011-11-11 Andreas Schwab <schwab@redhat.com>
43662
98591e58
AS
43663 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43664
edc5984d
AS
43665 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43666 * setjmp/setjmp.h: Mark functions as non-leaf.
43667 * setjmp/bits/setjmp2.h: Likewise.
43668 * stdlib/ucontext.h: Likewise.
43669
77cdc054
AS
436702011-11-10 Andreas Schwab <schwab@redhat.com>
43671
43672 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43673 (reused_arena): Don't check arena limit.
43674 (arena_get2): Atomically check arena limit.
43675
fe72eebd
UD
436762011-11-08 Ulrich Drepper <drepper@gmail.com>
43677
5f078c32
UD
43678 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43679 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43680
fe72eebd
UD
43681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43682 instructions.
43683
ae1bc2fa
AS
436842011-11-07 Andreas Schwab <schwab@redhat.com>
43685
7583a88d
AS
43686 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43687 handler when locking.
43688
ae1bc2fa
AS
43689 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43690 Fix size of allocated buffer.
43691
10fb0bfa
AS
436922011-11-04 Andreas Schwab <schwab@redhat.com>
43693
998832a4
AS
43694 [BZ #10103]
43695 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43696 declarations for long double functions.
43697 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43698
10fb0bfa
AS
43699 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43700
3d7ba52b
AS
437012011-11-03 Andreas Schwab <schwab@redhat.com>
43702
a9ae54a1
AS
43703 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43704 installed.
43705
3d7ba52b
AS
43706 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43707 is disabled.
43708
bc8db248
ST
437092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43710
43711 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43712
45b96dd6
AS
437132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43714
647776f6
AS
43715 * include/alloca.h (stackinfo_alloca_round): Define.
43716 (extend_alloca): Use it.
43717 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43718 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43719 here.
43720
d91a8b93
AS
43721 * scripts/check-local-headers.sh: Ignore libaudit.h.
43722
45b96dd6
AS
43723 * nscd/Makefile (extra-objs): Make recursively expanded.
43724
432d41ce
UD
437252011-11-01 Ulrich Drepper <drepper@gmail.com>
43726
34372fc6
UD
43727 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43729
fadb59f8
UD
43730 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43731 * posix/tst-rfc3484-2.c: Likewise.
43732 * posix/tst-rfc3484-3.c: Likewise.
43733
78239589
UD
43734 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43735 process_vm_writev.
43736 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43737 process_vm_writev.
43738 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43739 process_vm_writev from libc using GLIBC_2.15 version.
43740
432d41ce
UD
43741 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43742
02f9c6cf
PP
437432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43744
43745 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43746 stack usage.
43747
3a2c0242
UD
437482011-10-31 Ulrich Drepper <drepper@gmail.com>
43749
f4ec4833
UD
43750 [BZ #13367]
43751 * nss/getent.c (initgroups_keys): Show error message in case no group
43752 names are given.
43753
3a2c0242
UD
43754 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43755 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43756 __bump_nl_timestamp.
43757 * nscd/connections (nscd_init): When host database is served open
43758 netlink socket and request notification about configuration changes.
43759 (main_loop_poll): Track netlink file descriptor and bump timestamp
43760 in case data becomes available.
43761 (main_loop_epoll): Likewise.
43762 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43763 (database_pers_head): Add extra_data fileds.
43764 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43765 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43766 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43767 Adjust caller.
43768 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43769 in6ai data, call __free_in6ai.
43770 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43771 Add -DHAVE_NETLINK.
43772 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43773 interface information. Reuse previous data if netlink timestamp
43774 is not changed.
43775 (__bump_nl_timestamp): New function.
43776 (__free_in6ai): New function.
43777
636064eb
UD
437782011-10-30 Ulrich Drepper <drepper@gmail.com>
43779
43780 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43781 close_not_cancel_no_status here.
43782 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43783
9beb2334
UD
437842011-10-29 Ulrich Drepper <drepper@gmail.com>
43785
6ef76f3b
UD
43786 [BZ #13276]
43787 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43788 return value.
43789
0ffc4f3e 43790 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43791 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43792 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43793
cb95113e
UD
437942011-07-03 Andreas Jaeger <aj@suse.de>
43795
43796 [BZ #10709]
43797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43798 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43799 * math/libm-test.inc (sin_test): Add test case.
43800
a1b560ff
UD
438012011-10-29 Ulrich Drepper <drepper@gmail.com>
43802
c9aaface
UD
43803 [BZ #13337]
43804 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43805 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43806
d272e7f1
UD
43807 * elf/chroot_canon.c (chroot_canon): Cleanups.
43808
1bc33071
UD
43809 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43810
1760874d
TJ
43811 [BZ #13335]
43812 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43813 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43814
51d91b18
UD
43815 * string/test-strchr.c: Make usable for strchrnul testing.
43816 * string/test-strchrnul.c: New file.
43817 * string/Makefile (strop-tests): Add strchrnul.
43818
a1b560ff 43819 * po/it.po: Update from translation team.
b611fb81 43820 * po/es.po: Likewise.
a1b560ff 43821
a5b81e1f
UD
438222011-10-28 Ulrich Drepper <drepper@gmail.com>
43823
fd52bc6d
UD
43824 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43825 the three constants needed as parameters. Drop the others.
43826 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43827 __m128i_strloadu_tolower.
52e4b9eb
UD
43828 Create and initialize variable zero and use it in all the places
43829 where _mm_setzero_si128 was used.
fd52bc6d 43830
a5b81e1f
UD
43831 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43832 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43833 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43834 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43835 anymore.
43836 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43837 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43838 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43839 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43840 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43841 __mpranred, __mptan.
43842 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43843 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43844 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43845 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43846 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43847 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43849 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43850 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43851
b4343346
AS
438522011-10-28 Andreas Schwab <schwab@redhat.com>
43853
0c92d8a8
AS
43854 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43855 redefine if SHARED.
43856 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43857
b4343346
AS
43858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43859 wide char related routines to wcsmbs subdir.
43860
3871f58f
AS
438612011-10-27 Andreas Schwab <schwab@redhat.com>
43862
43863 [BZ #13344]
43864 * misc/sys/cdefs.h (__THROWNL): Define.
43865 * posix/unistd.h: Use __THREADNL instead of __THREAD
43866 for memory synchronization functions.
43867
94d44d9f
RM
438682011-10-26 Roland McGrath <roland@hack.frob.com>
43869
21b64b15 43870 [BZ #13349]
94d44d9f
RM
43871 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43872 doesn't exist.
43873 * manual/stdio.texi (Obstack Streams): Node removed.
43874
f6ce9294
AS
438752011-10-26 Andreas Schwab <schwab@redhat.com>
43876
80479147
AS
43877 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43879 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43880
f6ce9294
AS
43881 * math/math_private.h (math_force_eval): Allow non-addressable
43882 arguments.
43883 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43884
618280a1
UD
438852011-10-25 Ulrich Drepper <drepper@gmail.com>
43886
e0016b11
UD
43887 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43888 file is not needed.
43889
43890 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43891 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43897 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43898 Add AVX variants.
43899 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43900 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43901 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43902 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43903 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43904 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43905 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43906 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43907 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43908 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43909 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43910 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43911 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43912 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43913 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43914 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43915 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43916 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43917 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43918
43919 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43920 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43921
618280a1
UD
43922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43923 place. Use VEX encoding when compiling for AVX.
43924
37822576
AS
439252011-10-25 Andreas Schwab <schwab@redhat.com>
43926
1f1e1947
AS
43927 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43928 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43929
37822576
AS
43930 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43931
31ea014d
UD
439322011-10-25 Ulrich Drepper <drepper@gmail.com>
43933
d7826aa1 43934 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43935 useless if() expression.
d7826aa1
UD
43936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43937 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43938 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43939 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43940 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43941 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43942 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43946 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43947 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43948 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43950 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43951 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43952 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43954 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43955
31ea014d
UD
43956 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43957
16437fec
AS
439582011-10-25 Andreas Schwab <schwab@redhat.com>
43959
43960 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43961 condition.
43962 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43963
31d3cc00
UD
439642011-10-25 Ulrich Drepper <drepper@gmail.com>
43965
43966 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43967 .text section. Avoid duplicate constants.
43968 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43976 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43978 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43980 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43983 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43988 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43989 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43990 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43991 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43992 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43993 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43994 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43995 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43996 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43997 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43998 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43999 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44000 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44001 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44002 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44003 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44004 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44005 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44006 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44007 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44009 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44010 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44011 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44012 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44013
58985aa9
UD
440142011-10-24 Ulrich Drepper <drepper@gmail.com>
44015
202c9deb
UD
44016 * sysdeps/x86_64/dla.h: Move to ...
44017 * sysdeps/x86_64/fpu/dla.h: ...here.
44018 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44019 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 44020
af968f62
UD
44021 * config.make.in: Add have-mfma4 entry.
44022 * configure.in: Substitute libc_cv_cc_fma4.
44023 * math/Makefile (dbl-only-routines): Add sincostab.
44024 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44025 Use __sincostab not sincos.
44026 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44027 name is a macro.
44028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44032 using __copysign.
44033 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44034 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44035 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44036 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44037 and __inv.
44038 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44039 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44040 __copysign.
44041 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44042 define aliases when function name is a macro.
44043 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44044 sysdeps/ieee754/dbl-64/sincos.tbl.
44045 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44046 fma4-enabled routines.
44047 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44048 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44049 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44050 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44052 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44054 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44056 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44057 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44058 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44059 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44060 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44061 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44062 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44063 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44064 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44065 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44067 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44068 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44069 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44070 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44072 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44073 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44074 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44075 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44076 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44077
58985aa9
UD
44078 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44079 rename.
44080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44081 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44087 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44088
a201fbcf
AS
440892011-10-24 Andreas Schwab <schwab@redhat.com>
44090
44091 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44092
fc2ee42a
LD
440932011-10-23 Ulrich Drepper <drepper@gmail.com>
44094
bb3129bd
UD
44095 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44096
0275fff8
UD
44097 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44098 prediction.
44099 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44100
2fa2ae85
UD
44101 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44102 Remove unused variable magic_bits.
44103 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44104
fc2ee42a
LD
44105 * string/strnlen.c: Define and use STRNLEN macro.
44106 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44107 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44109 * wcsmbs/wcslen.c: Define and use WCSLEN.
44110 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44111 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44112 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44113 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44114 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44115 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44116 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44117
ce7dd29f
LD
441182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44119
44120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44121 strnlen-sse2-no-bsf.
44122 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44124 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44125 Add strnlen support.
44126 (USE_AS_STRNLEN): New macro.
44127 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44128 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44129 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44130 * sysdeps/x86_64/wcslen.S: New file.
44131
979c70a3
MZ
441322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44133
44134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44135 XMM-moves are used for copying on small sizes.
44136
2d09f82f
LD
441372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44138
44139 * wcsmbs/Makefile (strop-tests): Add wcschr.
44140 * wcsmbs/test-wcschr.c: New file.
44141 * string/test-strchr.c: Update.
44142 Add wcschr support.
44143 (WIDE): New macro.
44144
619fccca
LD
441452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44146
2d09f82f 44147 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44148 * wcsmbs/test-wcslen.c: New file.
44149 * string/test-strlen.c: Update.
44150 Add wcslen support.
44151 (WIDE): New macro.
44152
09f699ea
UD
441532011-10-23 Ulrich Drepper <drepper@gmail.com>
44154
44155 * po/it.po: Update from translation team.
44156
95584d3b
LD
441572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44158
44159 * sysdeps/x86_64/wcscmp.S: Update.
44160 Fix wrong comparison semantics.
44161 wcscmp shall use signed comparison not unsigned.
44162 Don't use substraction to avoid overflow bug.
44163 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44164 * wcsmbc/wcscmp.c: Likewise.
44165 * string/test-strcmp.c: Likewise.
44166 Add new tests to check cases with negative values.
44167
c8b3296b
UD
441682011-10-23 Ulrich Drepper <drepper@gmail.com>
44169
44170 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44171 * sysdeps/x86_64/dla.h: ...here. New file.
44172 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44181
246ad57a
AS
441822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44183
44184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44185 __ynl_finite aliases.
44186
a1a87169
UD
441872011-10-22 Ulrich Drepper <drepper@gmail.com>
44188
0d355eb7
UD
44189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44190
a1a87169
UD
44191 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44192 define DLA_FMA.
44193 [DLA_FMA] (EMULV): Use DLA_FMA.
44194 [DLA_FMA] (MUL12): Use EMULV.
44195 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44196 that are not needed.
44197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44202 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44204
ee2aafe0
AS
442052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44206
44207 * math/s_nan.c: Undef __nan.
44208 * math/s_nanf.c: Undef __nanf.
44209 * math/s_nanl.c: Undef __nanl.
44210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44211 "math_private.h".
44212
bc62c2fb
UD
442132011-10-22 Ulrich Drepper <drepper@gmail.com>
44214
77425c63
UD
44215 * math/s_catan.c: Add branch predictions.
44216 * math/s_catanf.c: Likewise.
44217 * math/s_catanh.c: Likewise.
44218 * math/s_catanhf.c: Likewise.
44219 * math/s_catanhl.c: Likewise.
44220 * math/s_catanl.c: Likewise.
44221 * math/s_cexp.c: Likewise.
44222 * math/s_cexpf.c: Likewise.
44223 * math/s_cexpl.c: Likewise.
44224 * math/s_clog.c: Likewise.
44225 * math/s_clog10.c: Likewise.
44226 * math/s_clog10f.c: Likewise.
44227 * math/s_clog10l.c: Likewise.
44228 * math/s_clogf.c: Likewise.
44229 * math/s_clogl.c: Likewise.
44230 * math/s_csqrt.c: Likewise.
44231 * math/s_csqrtf.c: Likewise.
44232 * math/s_csqrtl.c: Likewise.
44233 * math/s_ctanf.c: Likewise.
44234 * math/s_ctanh.c: Likewise.
44235 * math/s_ctanhf.c: Likewise.
44236 * math/s_ctanhl.c: Likewise.
44237 * math/s_ctanl.c: Likewise.
44238
bc62c2fb
UD
44239 * math/math_private.h: Define __nan, __nanf, __nanl.
44240 * math/s_cacosh.c: Include <math_private.h>.
44241 * math/s_cacoshl.c: Likewise.
44242 * math/s_casinh.c: Likewise.
44243 * math/s_casinhf.c: Likewise.
44244 * math/s_casinhl.c: Likewise.
44245 * math/s_ccos.c: Rely entire on ccosh.
44246 * math/s_ccosf.c: Rely entire on ccoshf.
44247 * math/s_ccosl.c: Rely entirely on ccoshl.
44248 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44249 Remove tests for FE_INVALID.
44250 * math/s_ccoshf.c: Likewise.
44251 * math/s_ccoshl.c: Likewise.
44252 * math/s_csin.c: Likewise.
44253 * math/s_csinf.c: Likewise.
44254 * math/s_csinh.c Likewise.
44255 * math/s_csinhf.c: Likewise.
44256 * math/s_csinhl.c: Likewise.
44257 * math/s_csinl.c: Likewise.
44258 * math/s_ctan.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44260 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44262
8ec250a4
UD
442632011-10-21 Ulrich Drepper <drepper@gmail.com>
44264
c196fed8
UD
44265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44266 compilation problems.
44267
8ec250a4
UD
44268 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44269 __builtin_expect.
44270
8d4f46c6
UD
442712011-10-20 Ulrich Drepper <drepper@gmail.com>
44272
ed72b654
UD
44273 * sysdeps/i386/configure.in: Test for -mfma4 option.
44274 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44275 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44276 COMMON_CPUID_INDEX_80000001.
44277 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44278 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44279 use it if FMA3 is not supported.
44280 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44281
8d4f46c6
UD
44282 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44283 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44284
d45c60c2
AS
442852011-10-20 Andreas Schwab <schwab@redhat.com>
44286
44287 [BZ #12892]
44288 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44289 it would create a cycle with a link time dependency.
44290
d9a4d2ab
UD
442912011-10-19 Ulrich Drepper <drepper@gmail.com>
44292
855d1560
UD
44293 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44294 instruction.
44295 * string/Makefile (strop-tests): Add rawmemchr.
44296 * string/test-rawmemchr.c: New file.
44297
d9a4d2ab
UD
44298 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44299 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44300 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44301 when compiling str{,n}casecmp and when AVX is available. Hook up
44302 new optimized code in initializers.
44303
8f3b1ffe
AS
443042011-10-19 Andreas Schwab <schwab@redhat.com>
44305
44306 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44307 __feraiseexcept instead of feraiseexcept.
44308
d38f1dba
UD
443092011-10-18 Ulrich Drepper <drepper@gmail.com>
44310
d9a8d0ab
UD
44311 * math/math_private.h: Define defaults for libc_fetestexcept and
44312 libc_feupdateenv.
44313 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44314 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44315 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44316 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44317 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44318 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44319 libc_fetestexcept and libc_feupdateenv.
44320
4855e3dd
UD
44321 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44322 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44323 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44324 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44325 libc_feholdexcept_setround.
44326
581d30e3
UD
44327 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44328 Add s_nearbyint-c and s_nearbyintf-c.
44329 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44330 nearbyintf inlines.
44331 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44332 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44333 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44334 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44335
d38f1dba
UD
44336 * math/math_private.h: Define defaults for libc_fegetround,
44337 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44338 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44339 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44340 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44341 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44342 standard functions.
44343 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44344 Remove comments and hacks for old compiler versions.
44345 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44346 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44347 libc_feholdexceptl.
44348
caa6c9d8
AS
443492011-10-18 Andreas Schwab <schwab@redhat.com>
44350
44351 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44352 (__feraiseexcept_renamed): Add __NTH.
44353 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44354 namespace violations.
44355
97c066e6
UD
443562011-10-17 Ulrich Drepper <drepper@gmail.com>
44357
99ce7b04
UD
44358 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44359
1004d182
UD
44360 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44361
228a984d
UD
44362 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44363 recently added interfaces.
44364 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44365
c8553a6a
UD
44366 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44367 about macro parameter expansion.
44368
ed22dcf6
UD
44369 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44370 __NO_MATH_INLINES is defined. Cleanups.
44371
44372 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44373 and __floorf is target has SSE4.1.
44374 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44375 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44377 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44378
b171c137
UD
44379 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44380 name.
44381 (floorf): Likewise.
44382
97c066e6
UD
44383 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44384
629f62ef
AS
443852011-10-17 Andreas Schwab <schwab@redhat.com>
44386
49a43d80
AS
44387 * misc/sys/cdefs.h: Fix last change.
44388
629f62ef
AS
44389 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44390 database lookup.
44391
e453f6cd
UD
443922011-10-16 Ulrich Drepper <drepper@gmail.com>
44393
aa78043a
UD
44394 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44395
ad0f5cad
UD
44396 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44398 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44399 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44402 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44403 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44404 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44405 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44406 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44407 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44408 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44409 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44410 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44411 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44412 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44413 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44414 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44415 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44416 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44417 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44418
44419 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44420 ceil, ceilf, floor, floorf.
44421
44422 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44423 Perform IRELATIVE relocations last.
44424
e453f6cd
UD
44425 * elf/do-rel.h: Add another parameter nrelative, replacing the
44426 local variable with the same name. Change name of the function
44427 to end in Rel or Rela (uppercase).
44428 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44429 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44430 elf_dynamic_do_##reloc function.
44431
fd5bdc09
UD
444322011-10-15 Ulrich Drepper <drepper@gmail.com>
44433
79b195b5
UD
44434 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44435 is sufficient, at least on modern CPUs.
44436
d4a28569
UD
44437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44438
b61099b5
UD
44439 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44440 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44441
bcf01e6d
UD
44442 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44443 __expl_finite.
44444 * math/bits/math-finite.h: Add entries for exp.
44445 * math/e_expl.c: Add __*_finite alias.
44446 * sysdeps/i386/fpu/e_exp.S: Likewise.
44447 * sysdeps/i386/fpu/e_expf.S: Likewise.
44448 * sysdeps/i386/fpu/e_expl.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44450 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44454 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44455 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44456
ba1a0d59
UD
44457 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44458 is sufficient, at least on modern CPUs.
44459
fd5bdc09
UD
44460 * ctype/ctype-info.c (__ctype_init): Define.
44461 * include/ctype.h (__ctype_init): Declare.
44462 (__ctype_b_loc): The variable is always initialized.
44463 (__ctype_toupper_loc): Likewise.
44464 (__ctype_tolower_loc): Likewise.
44465 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44466 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44467
7872cfb0
AS
444682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44469
b468825a
AS
44470 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44471
7872cfb0
AS
44472 * configure.in: Also look in $cxxmachine/include for C++ system
44473 headers.
44474
be13f7bf
LD
444752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44476
44477 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44478 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44479 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44480 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44481 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44482 (USE_AS_WMEMCMP): New macro.
44483 Fixing indents.
44484 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44485 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44486 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44487 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44489 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44490 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44491 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44492 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44493 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44494 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44495 (USE_AS_WMEMCMP): New macro.
44496 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44497 * sysdeps/string/test-memcmp.c: Update.
44498 Fix simple_wmemcmp.
44499 Add new tests.
44500 * wcsmbs/wmemcmp.c: Update.
44501 (WMEMCMP): New macro.
44502 Fix overflow bug.
44503
556a2007
AJ
445042011-10-12 Andreas Jaeger <aj@suse.de>
44505
44506 [BZ #13268]
44507 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44508
538faaa7
UD
445092011-10-15 Ulrich Drepper <drepper@gmail.com>
44510
ab6737ff
UD
44511 * libio/iofwide.c (do_length): Avoid warning.
44512
538faaa7
UD
44513 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44514
396a21b1
UD
445152011-10-14 Ulrich Drepper <drepper@gmail.com>
44516
cdf2901f
UD
44517 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44518
38ad40ce
UD
44519 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44520 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44521 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44522 * sysdeps/i386/i686/fpu/e_log.S: New file.
44523 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44524 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44525
396a21b1
UD
44526 * ctype/ctype.h: Add support for inlined isXXX functions when
44527 compiling C++ code.
44528
6b1f68c9
AS
445292011-10-14 Andreas Schwab <schwab@redhat.com>
44530
349290c0
AS
44531 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44532
6b1f68c9
AS
44533 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44534
f2282d42
RM
445352011-10-13 Roland McGrath <roland@hack.frob.com>
44536
44537 [BZ #13291]
44538 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44539
5298ffa8
AS
445402011-10-13 Andreas Schwab <schwab@redhat.com>
44541
714fad23
AS
44542 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44543 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44544 feraiseexcept.
44545
81dcc7fb
AS
44546 * sysdeps/x86_64/memrchr.S: Check for zero size.
44547
5298ffa8
AS
44548 * string/stratcliff.c: Add memrchr tests.
44549
951fbcec
LD
445502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44551
44552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44553 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44554 rawmemchr-sse2 rawmemchr-sse2-bsf.
44555 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44556 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44557 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44558 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44559 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44560 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44561 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44562 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44563 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44564 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44565 * string/memrchr.c (MEMRCHR): New macro.
44566
0ac5ae23
UD
445672011-10-12 Ulrich Drepper <drepper@gmail.com>
44568
44569 Add integration with gcc's -ffinite-math-only and optimize wrapper
44570 functions in libm.
44571 * Versions.def: Define GLIBC_2.15 version for libm.
44572 * math/Makefile (headers): Add bits/math-finite.h.
44573 * math/bits/math-finite.h: New file.
44574 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44575 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44576 * math/e_acoshl.c: Add __*_finite alias.
44577 * math/e_acosl.c: Likewise.
44578 * math/e_asinl.c: Likewise.
44579 * math/e_atan2l.c: Likewise.
44580 * math/e_atanhl.c: Likewise.
44581 * math/e_coshl.c: Likewise.
44582 * math/e_exp10.c: Likewise.
44583 * math/e_exp10f.c: Likewise.
44584 * math/e_exp10l.c: Likewise.
44585 * math/e_exp2l.c: Likewise.
44586 * math/e_fmodl.c: Likewise.
44587 * math/e_gammal_r.c: Likewise.
44588 * math/e_hypotl.c: Likewise.
44589 * math/e_j0l.c: Likewise.
44590 * math/e_j1l.c: Likewise.
44591 * math/e_jnl.c: Likewise.
44592 * math/e_lgammal_r.c: Likewise.
44593 * math/e_log10l.c: Likewise.
44594 * math/e_log2l.c: Likewise.
44595 * math/e_logl.c: Likewise.
44596 * math/e_powl.c: Likewise.
44597 * math/e_sinhl.c: Likewise.
44598 * math/e_sqrtl.c: Likewise.
44599 * math/e_scalb.c: Completely rewritten and optimized.
44600 * math/e_scalbf.c: Likewise.
44601 * math/e_scalbl.c: Likewise.
44602 * math/w_acos.c: Likewise.
44603 * math/w_acosf.c: Likewise.
44604 * math/w_acosl.c: Likewise.
44605 * math/w_acosh.c: Likewise.
44606 * math/w_acoshf.c: Likewise.
44607 * math/w_acoshl.c: Likewise.
44608 * math/w_asin.c: Likewise.
44609 * math/w_asinf.c: Likewise.
44610 * math/w_asinl.c: Likewise.
44611 * math/w_atan2.c: Likewise.
44612 * math/w_atan2f.c: Likewise.
44613 * math/w_atan2l.c: Likewise.
44614 * math/w_atanh.c: Likewise.
44615 * math/w_atanhf.c: Likewise.
44616 * math/w_atanhl.c: Likewise.
44617 * math/w_exp10.c: Likewise.
44618 * math/w_exp10f.c: Likewise.
44619 * math/w_exp10l.c: Likewise.
44620 * math/w_fmod.c: Likewise.
44621 * math/w_fmodf.c: Likewise.
44622 * math/w_fmodl.c: Likewise.
44623 * math/w_j0.c: Likewise.
44624 * math/w_j0f.c: Likewise.
44625 * math/w_j0l.c: Likewise.
44626 * math/w_j1.c: Likewise.
44627 * math/w_j1f.c: Likewise.
44628 * math/w_j1l.c: Likewise.
44629 * math/w_jn.c: Likewise.
44630 * math/w_jnf.c: Likewise.
44631 * math/w_log.c: Likewise.
44632 * math/w_logf.c: Likewise.
44633 * math/w_logl.c: Likewise.
44634 * math/w_log10.c: Likewise.
44635 * math/w_log10f.c: Likewise.
44636 * math/w_log10l.c: Likewise.
44637 * math/w_log2.c: Likewise.
44638 * math/w_log2f.c: Likewise.
44639 * math/w_log2l.c: Likewise.
44640 * math/w_pow.c: Likewise.
44641 * math/w_powf.c: Likewise.
44642 * math/w_powl.c: Likewise.
44643 * math/w_remainder.c: Likewise.
44644 * math/w_remainderf.c: Likewise.
44645 * math/w_remainderl.c: Likewise.
44646 * math/w_scalb.c: Likewise.
44647 * math/w_scalbf.c: Likewise.
44648 * math/w_scalbl.c: Likewise.
44649 * math/w_sqrt.c: Likewise.
44650 * math/w_sqrtf.c: Likewise.
44651 * math/w_sqrtl.c: Likewise.
44652 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44653 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44654 used.
44655 * math/math_private.h: Declare __kernel_standard_f.
44656 * math/w_cosh.c: Remove cruft and optimize a bit.
44657 * math/w_coshf.c: Likewise.
44658 * math/w_coshl.c: Likewise.
44659 * math/w_exp2.c: Likewise.
44660 * math/w_exp2f.c: Likewise.
44661 * math/w_exp2l.c: Likewise.
44662 * math/w_hypot.c: Likewise.
44663 * math/w_hypotf.c: Likewise.
44664 * math/w_hypotl.c: Likewise.
44665 * math/w_lgamma.c: Likewise.
44666 * math/w_lgamma_r.c: Likewise.
44667 * math/w_lgammaf.c: Likewise.
44668 * math/w_lgammaf_r.c: Likewise.
44669 * math/w_lgammal.c: Likewise.
44670 * math/w_lgammal_r.c: Likewise.
44671 * math/w_sinh.c: Likewise.
44672 * math/w_sinhf.c: Likewise.
44673 * math/w_sinhl.c: Likewise.
44674 * math/w_tgamma.c: Likewise.
44675 * math/w_tgammaf.c: Likewise.
44676 * math/w_tgammal.c: Likewise.
44677 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44679 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44680 Minor optimizations. Pretty printing. Remove cruft.
44681 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44682 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44683 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44685 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44686 * sysdeps/i386/fpu/e_asin.S: Likewise.
44687 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44688 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44689 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44690 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44691 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44692 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44693 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44694 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44695 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44696 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44697 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44698 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44699 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44700 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44701 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44702 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44703 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44704 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44705 * sysdeps/i386/fpu/e_log.S: Likewise.
44706 * sysdeps/i386/fpu/e_log10.S: Likewise.
44707 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44709 * sysdeps/i386/fpu/e_log2.S: Likewise.
44710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44712 * sysdeps/i386/fpu/e_logf.S: Likewise.
44713 * sysdeps/i386/fpu/e_logl.S: Likewise.
44714 * sysdeps/i386/fpu/e_pow.S: Likewise.
44715 * sysdeps/i386/fpu/e_powf.S: Likewise.
44716 * sysdeps/i386/fpu/e_powl.S: Likewise.
44717 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44718 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44719 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44720 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44721 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44723 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44724 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44725 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44727 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44729 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44731 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44734 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44735 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44736 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44740 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44742 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44747 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44748 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44749 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44750 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44751 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44752 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44753 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44754 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44755 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44757 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44758 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44759 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44760 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44761 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44762 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44763 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44764 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44765 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44766 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44767 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44777 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44781 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44782 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44791 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44792 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44811 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44814 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44815 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44816 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44818 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44819 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44820 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44821 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44822 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44823 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44824 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44825 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44826 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44827 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44828 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44829 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44830 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44831 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44832 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44834 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44835 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44836 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44837 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44838 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44839 (__isnanf): Likewise.
44840 (__isinf_ns): Likewise.
44841 (__isinf_nsf): Likewise.
44842 (__finite): Likewise.
44843 (__finitef): Likewise.
44844 (__ieee754_sqrt): Define as macro.
44845 (__ieee754_sqrtf): Define as macro.
44846 (__ieee754_sqrtl): Define as macro.
44847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44848 inlined copy.
44849 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44850 __FINITE_MATH_ONLY__ consistent.
44851 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44852
12cc2fcd
AS
448532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44854
a843a204
AS
44855 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44856 of rawmemchr.
44857
12cc2fcd
AS
44858 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44859
c853acd5
UD
448602011-10-09 Ulrich Drepper <drepper@gmail.com>
44861
44862 * po/ja.po: Update from translation team.
44863
c658d255
RM
448642011-10-08 Roland McGrath <roland@hack.frob.com>
44865
110946e4
RM
44866 * locale/programs/locarchive.c (prepare_address_space): New function.
44867 (create_archive, enlarge_archive, open_archive): Use it.
44868
50604220
RM
44869 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44870 inside [SHARED], where it is used.
44871
c658d255
RM
44872 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44873
44874 * nss/getent.c (netgroup_keys): Remove unused variable.
44875 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44876
6a621eb7
UD
448772011-10-08 Ulrich Drepper <drepper@gmail.com>
44878
7edb55ce
UD
44879 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44880 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44883 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44884 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44885 * math/Makefile (libm-calls): Add s_isinf_ns.
44886 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44887 * math/multc3.c: Likewise.
44888 * math/s_casin.c: Likewise.
44889 * math/s_casinf.c: Likewise.
44890 * math/s_casinl.c: Likewise.
44891 * math/s_ccos.c: Likewise.
44892 * math/s_ccosf.c: Likewise.
44893 * math/s_ccosl.c: Likewise.
44894 * math/s_ctan.c: Likewise.
44895 * math/s_ctanf.c: Likewise.
44896 * math/s_ctanh.c: Likewise.
44897 * math/s_ctanhf.c: Likewise.
44898 * math/s_ctanhl.c: Likewise.
44899 * math/s_ctanl.c: Likewise.
44900 * math/w_fmod.c: Likewise.
44901 * math/w_fmodf.c: Likewise.
44902 * math/w_fmodl.c: Likewise.
44903 * math/w_remainder.c: Likewise.
44904 * math/w_remainderf.c: Likewise.
44905 * math/w_remainderl.c: Likewise.
44906 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44907 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44910 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44911 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44912 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44913 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44914
187da0ae
UD
44915 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44916 of the number.
44917 * stdio-common/printf_fphex.c: Likewise.
44918 * stdio-common/printf_size.c: Likewise.
44919
9277c064
UD
44920 * math/e_exp10.c: Include math_private.h using <...> not "...".
44921 * math/e_exp10f.c: Likewise.
44922 * math/e_exp10l.c: Likewise.
44923 * math/e_exp2l.c: Likewise.
44924 * math/e_j0l.c: Likewise.
44925 * math/e_j1l.c: Likewise.
44926 * math/e_jnl.c: Likewise.
44927 * math/e_lgammal_r.c: Likewise.
44928 * math/e_rem_pio2l.c: Likewise.
44929 * math/e_scalb.c: Likewise.
44930 * math/e_scalbf.c: Likewise.
44931 * math/e_scalbl.c: Likewise.
44932 * math/k_cosl.c: Likewise.
44933 * math/k_sinl.c: Likewise.
44934 * math/k_tanl.c: Likewise.
44935 * math/s_cacoshf.c: Likewise.
44936 * math/s_catan.c: Likewise.
44937 * math/s_catanf.c: Likewise.
44938 * math/s_catanh.c: Likewise.
44939 * math/s_catanhf.c: Likewise.
44940 * math/s_catanhl.c: Likewise.
44941 * math/s_catanl.c: Likewise.
44942 * math/s_ccosh.c: Likewise.
44943 * math/s_ccoshf.c: Likewise.
44944 * math/s_ccoshl.c: Likewise.
44945 * math/s_cexp.c: Likewise.
44946 * math/s_cexpf.c: Likewise.
44947 * math/s_cexpl.c: Likewise.
44948 * math/s_clog.c: Likewise.
44949 * math/s_clog10.c: Likewise.
44950 * math/s_clog10f.c: Likewise.
44951 * math/s_clog10l.c: Likewise.
44952 * math/s_clogf.c: Likewise.
44953 * math/s_clogl.c: Likewise.
44954 * math/s_csin.c: Likewise.
44955 * math/s_csinf.c: Likewise.
44956 * math/s_csinh.c: Likewise.
44957 * math/s_csinhf.c: Likewise.
44958 * math/s_csinhl.c: Likewise.
44959 * math/s_csinl.c: Likewise.
44960 * math/s_csqrt.c: Likewise.
44961 * math/s_csqrtf.c: Likewise.
44962 * math/s_csqrtl.c: Likewise.
44963 * math/s_ctan.c: Likewise.
44964 * math/s_ctanf.c: Likewise.
44965 * math/s_ctanh.c: Likewise.
44966 * math/s_ctanhf.c: Likewise.
44967 * math/s_ctanhl.c: Likewise.
44968 * math/s_ctanl.c: Likewise.
44969 * math/s_ldexp.c: Likewise.
44970 * math/s_ldexpf.c: Likewise.
44971 * math/s_ldexpl.c: Likewise.
44972 * math/s_significand.c: Likewise.
44973 * math/s_significandf.c: Likewise.
44974 * math/s_significandl.c: Likewise.
44975 * math/w_acos.c: Likewise.
44976 * math/w_acosf.c: Likewise.
44977 * math/w_acosh.c: Likewise.
44978 * math/w_acoshf.c: Likewise.
44979 * math/w_acoshl.c: Likewise.
44980 * math/w_acosl.c: Likewise.
44981 * math/w_asin.c: Likewise.
44982 * math/w_asinf.c: Likewise.
44983 * math/w_asinl.c: Likewise.
44984 * math/w_atan2.c: Likewise.
44985 * math/w_atan2f.c: Likewise.
44986 * math/w_atan2l.c: Likewise.
44987 * math/w_atanh.c: Likewise.
44988 * math/w_atanhf.c: Likewise.
44989 * math/w_atanhl.c: Likewise.
44990 * math/w_cosh.c: Likewise.
44991 * math/w_coshf.c: Likewise.
44992 * math/w_coshl.c: Likewise.
44993 * math/w_dremf.c: Likewise.
44994 * math/w_exp10.c: Likewise.
44995 * math/w_exp10f.c: Likewise.
44996 * math/w_exp10l.c: Likewise.
44997 * math/w_exp2.c: Likewise.
44998 * math/w_exp2f.c: Likewise.
44999 * math/w_fmod.c: Likewise.
45000 * math/w_fmodf.c: Likewise.
45001 * math/w_fmodl.c: Likewise.
45002 * math/w_hypot.c: Likewise.
45003 * math/w_hypotf.c: Likewise.
45004 * math/w_hypotl.c: Likewise.
45005 * math/w_j0.c: Likewise.
45006 * math/w_j0f.c: Likewise.
45007 * math/w_j0l.c: Likewise.
45008 * math/w_j1.c: Likewise.
45009 * math/w_j1f.c: Likewise.
45010 * math/w_j1l.c: Likewise.
45011 * math/w_jn.c: Likewise.
45012 * math/w_jnf.c: Likewise.
45013 * math/w_jnl.c: Likewise.
45014 * math/w_lgamma.c: Likewise.
45015 * math/w_lgamma_r.c: Likewise.
45016 * math/w_lgammaf.c: Likewise.
45017 * math/w_lgammaf_r.c: Likewise.
45018 * math/w_lgammal.c: Likewise.
45019 * math/w_lgammal_r.c: Likewise.
45020 * math/w_log.c: Likewise.
45021 * math/w_log10.c: Likewise.
45022 * math/w_log10f.c: Likewise.
45023 * math/w_log10l.c: Likewise.
45024 * math/w_log2.c: Likewise.
45025 * math/w_log2f.c: Likewise.
45026 * math/w_log2l.c: Likewise.
45027 * math/w_logf.c: Likewise.
45028 * math/w_logl.c: Likewise.
45029 * math/w_pow.c: Likewise.
45030 * math/w_powf.c: Likewise.
45031 * math/w_powl.c: Likewise.
45032 * math/w_remainder.c: Likewise.
45033 * math/w_remainderf.c: Likewise.
45034 * math/w_remainderl.c: Likewise.
45035 * math/w_scalb.c: Likewise.
45036 * math/w_scalbf.c: Likewise.
45037 * math/w_scalbl.c: Likewise.
45038 * math/w_sinh.c: Likewise.
45039 * math/w_sinhf.c: Likewise.
45040 * math/w_sinhl.c: Likewise.
45041 * math/w_sqrt.c: Likewise.
45042 * math/w_sqrtf.c: Likewise.
45043 * math/w_sqrtl.c: Likewise.
45044 * math/w_tgamma.c: Likewise.
45045 * math/w_tgammaf.c: Likewise.
45046 * math/w_tgammal.c: Likewise.
45047
6a621eb7
UD
45048 * po/ja.po: Update from translation team.
45049
bf582445
AJ
450502011-09-29 Andreas Jaeger <aj@suse.de>
45051
f9efbf3a
AJ
45052 [BZ #13179]
45053 * sunrpc/netname.c (netname2host): Fix logic.
45054
bf582445
AJ
45055 [BZ #6779]
45056 [BZ #6783]
45057 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45058 correctly.
45059 * math/w_remainder.c (__remainder): Likewise.
45060 * math/w_remainderf.c (__remainderf): Likewise.
45061 * math/libm-test.inc (remainder_test): Add test cases.
45062
48693bea
AK
450632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45064
45065 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45066 sdiv_qrnnd.
45067
42622229
LD
450682011-10-07 Ulrich Drepper <drepper@gmail.com>
45069
45070 * string/test-memcmp.c: Avoid unncessary #defines.
45071 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45072
093ecf92
LD
450732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45074
45075 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45076 Use new sse2 version for core i3 - i7 as it's faster
45077 than sse42 version.
45078 (bit_Prefer_PMINUB_for_stringop): New.
45079 * sysdeps/x86_64/rawmemchr.S: Update.
45080 Replace with faster SSE2 version.
45081 * sysdeps/x86_64/memrchr.S: New file.
45082 * sysdeps/x86_64/memchr.S: Update.
45083 Replace with faster SSE2 version.
45084
fde56e5c
MP
450852011-09-12 Marek Polacek <mpolacek@redhat.com>
45086
45087 * elf/dl-load.c (lose): Add cast to avoid warning.
45088
21fd49a9
UD
450892011-10-07 Ulrich Drepper <drepper@gmail.com>
45090
5a06e643
UD
45091 * po/ca.po: Update from translation team.
45092
684ae515
UD
45093 * inet/getnetgrent_r.c: Hook up nscd.
45094 * nscd/Makefile (routines): Add nscd_netgroup.
45095 (nscd-modules): Add netgroupcache.
45096 (CFLAGS-netgroupcache.c): Define.
45097 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45098 (cache_search): Add const to second parameter.
45099 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45100 INNETGR.
45101 (dbs): Add netgrdb entry.
45102 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45103 (verify_persistent_db): Handle netgrdb.
45104 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45105 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45106 GETFDNETGR.
45107 (netgroup_response_header): Define.
45108 (innetgroup_response_header): Define.
45109 (datahead): Add netgroup_response_header and innetgroup_response_header
45110 elements.
45111 * nscd/nscd.conf: Add entries for netgroup cache.
45112 * nscd/nscd.h (dbtype): Add netgrdb.
45113 (_PATH_NSCD_NETGROUP_DB): Define.
45114 (netgroup_iov_disabled): Declare.
45115 (xmalloc, xcalloc, xrealloc): Move declarations here.
45116 (cache_search): Adjust prototype.
45117 Add netgroup-related prototypes.
45118 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45119 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45120 (__nscd_innetgr): Declare.
45121 * nscd/selinux.c (perms): Use access_vector_t as element type and
45122 add netgroup-related initializers.
45123 * nscd/netgroupcache.c: New file.
45124 * nscd/nscd_netgroup.c: New file.
45125 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45126 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45127 For four parameters use innetgr.
45128 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45129 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45130 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45131 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45132
21fd49a9
UD
45133 * nscd/connections.c (register_traced_file): Don't register file
45134 for disabled databases.
45135
054c0457
UD
451362011-10-06 Ulrich Drepper <drepper@gmail.com>
45137
32b63198
UD
45138 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45139
054c0457
UD
45140 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45141 from tree and freeing node.
45142
64031225
JO
451432011-09-25 Jiri Olsa <jolsa@redhat.com>
45144
45145 * nss/nsswitch.c (__nss_database_lookup): Handle
45146 nss_parse_service_list out of memory case.
45147
0490345c
JO
451482011-09-15 Jiri Olsa <jolsa@redhat.com>
45149
45150 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45151 out of memory case.
45152
3a62d00d
AS
451532011-10-04 Andreas Schwab <schwab@redhat.com>
45154
45155 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45156 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45157 pass it down.
45158 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45159 elf_machine_rela, elf_machine_lazy_rel.
45160 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45161 (ELF_DYNAMIC_DO_REL): Likewise.
45162 (ELF_DYNAMIC_DO_RELA): Likewise.
45163 (ELF_DYNAMIC_RELOCATE): Likewise.
45164 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45165 to ELF_DYNAMIC_DO_REL.
45166 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45167 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45168 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45169 elf_machine_rela.
45170 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45171 skip_ifunc, don't call ifunc function if non-zero.
45172 (elf_machine_rela): Likewise.
45173 (elf_machine_lazy_rel): Likewise.
45174 (elf_machine_lazy_rela): Likewise.
45175 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45176 (elf_machine_lazy_rel): Likewise.
45177 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45178 Likewise.
45179 (elf_machine_lazy_rel): Likewise.
45180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45181 Likewise.
45182 (elf_machine_lazy_rel): Likewise.
45183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45184 (elf_machine_lazy_rel): Likewise.
45185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45186 (elf_machine_lazy_rel): Likewise.
45187 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45188 (elf_machine_lazy_rel): Likewise.
45189 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45190 (elf_machine_lazy_rel): Likewise.
45191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45192 (elf_machine_lazy_rel): Likewise.
45193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45194 (elf_machine_lazy_rel): Likewise.
45195
68577918
UD
451962011-09-28 Ulrich Drepper <drepper@gmail.com>
45197
45198 * nss/nss_files/files-init.c (_nss_files_init): Use static
45199 initialization for all the *_traced_file variables.
45200
68822d74
AS
452012011-09-28 Andreas Schwab <schwab@redhat.com>
45202
45203 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45204
2056100b
RM
452052011-09-27 Roland McGrath <roland@hack.frob.com>
45206
45207 [BZ #13226]
45208 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45209
32c76b63
AS
452102011-09-27 Andreas Schwab <schwab@redhat.com>
45211
45212 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45213 Reread the line before reparsing it.
45214
bf972c9d
AS
452152011-09-26 Andreas Schwab <schwab@redhat.com>
45216
45217 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45218
e057a1b5
JM
452192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45220 Maxim Kuvyrkov <maxim@codesourcery.com>
45221 Joseph Myers <joseph@codesourcery.com>
45222
45223 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45224 if needed for __stack_chk_guard.
45225
bc7e1c36
RM
452262011-09-19 Roland McGrath <roland@hack.frob.com>
45227
ecb1482f
RM
45228 * sysdeps/posix/spawni.c (script_execute): Always define it.
45229 It will be optimized away if unused.
45230 (maybe_script_execute): New function.
45231 (__spawni): Call it.
45232
bc7e1c36
RM
45233 * Makerules: Don't include tls.make.
45234 (config-tls): Always set to thread.
45235 * tls.make.c: File removed.
45236
1c3b002b
MF
452372011-09-19 Mike Frysinger <vapier@gentoo.org>
45238
45239 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45240 * config.make.in (CPPFLAGS-config): New substituted variable.
45241
2840865d
UD
452422011-09-15 Ulrich Drepper <drepper@gmail.com>
45243
88738eb6
UD
45244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45245
cbf645a6 45246 [BZ #13192]
2840865d
UD
45247 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45248 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45249
b402e91a
RM
452502011-09-15 Roland McGrath <roland@hack.frob.com>
45251
45252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45253 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45255 (CALL_FAIL): Likewise.
45256 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45257 (CALL_FAIL): Macro removed.
45258 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45259
4c1a1f71
UD
452602011-09-15 Ulrich Drepper <drepper@gmail.com>
45261
45262 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45263 for __FINITE_MATH_ONLY__ == 1.
45264
edc121be
AS
452652011-09-15 Andreas Schwab <schwab@redhat.com>
45266
45267 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45268 __ieee754_sqrt instead of sqrt.
45269 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45270 __ieee754_sqrtf instead of sqrtf.
45271 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45272 __floorf instead of floorf.
45273 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45274 __floorf, __truncf instead of floorf, truncf.
45275
cd205654
UD
452762011-09-14 Ulrich Drepper <drepper@gmail.com>
45277
ee4d0315
UD
45278 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45279
cd205654
UD
45280 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45281 __extern_always_inline.
45282 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45283 32-bit.
45284
48b67d71
AS
452852011-09-14 Andreas Schwab <schwab@redhat.com>
45286
45287 * elf/rtld.c (dl_main): Also relocate in dependency order when
45288 doing symbol dependency testing.
45289
1ae12c75
AS
452902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45291
45292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45293 Always define `refsym'.
45294
995a80df
AS
452952011-09-13 Andreas Schwab <schwab@redhat.com>
45296
e529793b
AS
45297 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45298 (__FD_ELT): Renamed from __FDELT.
45299 * misc/bits/select2.h (__FD_ELT): Likewise.
45300 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45301 __FD_MASK instead of __FDELT, __FDMASK.
45302 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45303 Likewise.
45304 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45305 Likewise.
45306
52d4fef8
AS
45307 * elf/Makefile (gen-ldd): Fix pattern.
45308
995a80df
AS
45309 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45310 (init_tls): Likewise.
45311
8682f8b0
UD
453122011-09-12 Ulrich Drepper <drepper@gmail.com>
45313
45314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45315
de82006d
AS
453162011-09-12 Andreas Schwab <schwab@redhat.com>
45317
a7c8e6a1
AS
45318 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45319 `struct cmsghdr *' instead of `void *'.
45320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45321 Likewise.
45322
0f31fe77
AS
453232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45324
45325 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45326 if non-absolute.
45327 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45328 ldd_rewrite_script.
0f31fe77 45329
32b4c839
UD
453302011-09-11 Ulrich Drepper <drepper@gmail.com>
45331
83cd1420
UD
45332 * configure.in: Remove --with-tls option.
45333 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45334 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45335 out in case it is missing.
45336 * sysdeps/ia64/elf/configure.in: Likewise.
45337 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45338 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45339 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45340 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45341 * sysdeps/sh/elf/configure.in: Likewise.
45342 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45343 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45344 * sysdeps/x86_64/elf/configure.in: Likewise.
45345 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45346 * sysdeps/mach/hurd/tls.h: Likewise.
45347
633f745d
UD
45348 [BZ #13067]
45349 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45350
f318beb8
UD
45351 [BZ #13090]
45352 * configure.in: Fix use of AC_INIT.
45353
32b4c839
UD
45354 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45355
3ce1f295
UD
453562011-09-10 Ulrich Drepper <drepper@gmail.com>
45357
bb016596
UD
45358 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45359 __set_errno.
8e58439c
UD
45360 * malloc/hooks.c: Likewise.
45361
aebae053 45362 [BZ #11929]
02d46fc4
UD
45363 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45364 variables statically.
45365 (narenas): Initialize.
45366 (list_lock): Initialize.
bb016596
UD
45367 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45368 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45369 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45370 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45371 Add initializers to main_arena and mp_.
45372 (malloc_state): Remove pagesize member. Change all users to use
45373 GLRO(dl_pagesize).
45374
45375 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45376 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45377 is always initialized.
45378
22a89187
UD
45379 * malloc/malloc.c: Removed unused configurations and dead code.
45380 * malloc/arena.c: Likewise.
45381 * malloc/hooks.c: Likewise.
02d46fc4 45382 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45383
d063d164
UD
45384 * include/tls.h: Removed. USE___THREAD must always be defined.
45385 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45386 * elf/dl-libc.c: Likewise.
45387 * elf/dl-tsd.c: Likewise.
45388 * include/errno.h: Likewise.
45389 * include/netdb.h: Likewise.
45390 * include/resolv.h: Likewise.
45391 * inet/herrno-loc.c: Likewise.
45392 * inet/herrno.c: Likewise.
45393 * malloc/arena.c: Likewise.
45394 * malloc/hooks.c: Likewise.
45395 * malloc/malloc.c: Likewise.
45396 * resolv/res-state.c: Likewise.
45397 * resolv/res_libc.c: Likewise.
45398 * sysdeps/i386/dl-machine.h: Likewise.
45399 * sysdeps/ia64/dl-machine.h: Likewise.
45400 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45401 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45402 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45403 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45404 * sysdeps/sh/dl-machine.h: Likewise.
45405 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45406 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45407 * sysdeps/unix/i386/sysdep.S: Likewise.
45408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45409 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45414 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45418 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45419 * sysdeps/x86_64/dl-machine.h: Likewise.
45420 * tls.make.c: Likewise.
45421
3ce1f295
UD
45422 * configure.in: Remove --with-__thread option. Make tests for
45423 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45424 tls_model attribute fail if no support is available. Remove
45425 USE_IN_LIBIO.
45426 * Makeconfig: Adjust for dropped configure option. All features are
45427 now mandatory.
45428 * Makerules: Likewise.
45429 * Versions.def: Likewise.
45430 * argp/argp-fmtstream.c: Likewise.
45431 * argp/argp-fmtstream.h: Likewise.
45432 * argp/argp-help.c: Likewise.
45433 * assert/assert.c: Likewise.
45434 * config.h.in: Likewise.
45435 * config.make.in: Likewise.
45436 * configure: Likewise.
45437 * configure.in: Likewise.
45438 * csu/Versions: Likewise.
45439 * csu/init.c: Likewise.
45440 * elf/tst-audit2.c: Likewise.
45441 * elf/tst-tls10.c: Likewise.
45442 * elf/tst-tls10.h: Likewise.
45443 * elf/tst-tls11.c: Likewise.
45444 * elf/tst-tls12.c: Likewise.
45445 * elf/tst-tls14.c: Likewise.
45446 * elf/tst-tlsmod11.c: Likewise.
45447 * elf/tst-tlsmod12.c: Likewise.
45448 * elf/tst-tlsmod13.c: Likewise.
45449 * elf/tst-tlsmod13a.c: Likewise.
45450 * elf/tst-tlsmod14a.c: Likewise.
45451 * elf/tst-tlsmod15b.c: Likewise.
45452 * elf/tst-tlsmod16a.c: Likewise.
45453 * elf/tst-tlsmod16b.c: Likewise.
45454 * elf/tst-tlsmod7.c: Likewise.
45455 * elf/tst-tlsmod8.c: Likewise.
45456 * elf/tst-tlsmod9.c: Likewise.
45457 * gmon/gmon.c: Likewise.
45458 * grp/fgetgrent_r.c: Likewise.
45459 * grp/putgrent.c: Likewise.
45460 * hurd/fopenport.c: Likewise.
45461 * include/libc-symbols.h: Likewise.
45462 * include/tls.h: Likewise.
45463 * intl/gettextP.h: Likewise.
45464 * intl/loadinfo.h: Likewise.
45465 * locale/global-locale.c: Likewise.
45466 * locale/localeinfo.h: Likewise.
45467 * mach/devstream.c: Likewise.
45468 * malloc/arena.c: Likewise.
45469 * malloc/set-freeres.c: Likewise.
45470 * misc/err.c: Likewise.
45471 * misc/getttyent.c: Likewise.
45472 * misc/mntent_r.c: Likewise.
45473 * posix/getopt.c: Likewise.
45474 * posix/wordexp.c: Likewise.
45475 * pwd/fgetpwent_r.c: Likewise.
45476 * resolv/Versions: Likewise.
45477 * resolv/res_hconf.c: Likewise.
45478 * shadow/fgetspent_r.c: Likewise.
45479 * shadow/putspent.c: Likewise.
45480 * stdio-common/printf_fphex.c: Likewise.
45481 * stdio-common/tmpfile.c: Likewise.
45482 * stdlib/abort.c: Likewise.
45483 * stdlib/fmtmsg.c: Likewise.
45484 * sunrpc/auth_unix.c: Likewise.
45485 * sunrpc/clnt_perr.c: Likewise.
45486 * sunrpc/clnt_tcp.c: Likewise.
45487 * sunrpc/clnt_udp.c: Likewise.
45488 * sunrpc/clnt_unix.c: Likewise.
45489 * sunrpc/openchild.c: Likewise.
45490 * sunrpc/svc_simple.c: Likewise.
45491 * sunrpc/svc_tcp.c: Likewise.
45492 * sunrpc/svc_udp.c: Likewise.
45493 * sunrpc/svc_unix.c: Likewise.
45494 * sunrpc/xdr.c: Likewise.
45495 * sunrpc/xdr_array.c: Likewise.
45496 * sunrpc/xdr_rec.c: Likewise.
45497 * sunrpc/xdr_ref.c: Likewise.
45498 * sunrpc/xdr_stdio.c: Likewise.
45499
1248c1c4
PB
455002011-09-09 Ulrich Drepper <drepper@gmail.com>
45501
45502 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45503
455042011-07-03 Andreas Jaeger <aj@suse.de>
45505
45506 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45507 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45508 regenerate with gen-libm-tests.pl.
45509
455102010-05-12 Petr Baudis <pasky@suse.cz>
45511
45512 [BZ #11589]
45513 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45514 around j0() zero points by switching to j1().
45515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45518 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45519
f22e1074
UD
455202011-09-09 Ulrich Drepper <drepper@gmail.com>
45521
f19009c1
UD
45522 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45523 instead of 0.
45524 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45525 instead of 0.
f19009c1
UD
45526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45527 Patch in part by Pavel Roskin <proski@gnu.org>.
45528
3f8cc204
UD
45529 [BZ #13138]
45530 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45531 realloc.
45532 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45533 Free memory block if necessary.
45534
f22e1074
UD
45535 [BZ #12847]
45536 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45537 be NULL. Don't lock in this case.
45538
0a2349f9
RM
455392011-09-09 Roland McGrath <roland@hack.frob.com>
45540
45541 * elf/elf.h (ELFOSABI_GNU): New macro.
45542 (ELFOSABI_LINUX): Define to that.
45543
f3cdd467
DZ
455442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45545
45546 * string/strncat.c (strncat): Undef the symbol in case it has been
45547 defined in bits/string.h.
45548
74718d13
UD
455492011-09-09 Ulrich Drepper <drepper@gmail.com>
45550
633e9e0f
UD
45551 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45552
0a2349f9 45553 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45554 link map.
45555
f9924780
AJ
455562011-08-17 Andreas Jaeger <aj@suse.de>
45557
45558 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45559
7f5517aa
PP
455602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45561 Ian Lance Taylor <iant@google.com>
45562
45563 * math/libm-test.inc (lround_test): New testcase.
45564 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45565
762011fe
UD
455662011-09-08 Ulrich Drepper <drepper@gmail.com>
45567
92963737
UD
45568 * Makefile: Remove support for automatic cvs check-ins.
45569 * Makerules: Likewise.
45570 * config.make.in: Likewise.
45571 * configure.in: Likewise.
45572 * intl/Makefile: Likewise.
45573 * locale/Makefile: Likewise.
45574 * po/Makefile: Likewise.
45575 * posix/Makefile: Likewise.
45576 * sysdeps/gnu/Makefile: Likewise.
45577 * sysdeps/mach/hurd/Makefile: Likewise.
45578 * sysdeps/sparc/sparc32/Makefile: Likewise.
45579
b0727fd8
JS
45580 [BZ #13118]
45581 * posix/Makefile (bug-regex32-ENV): Define.
45582 Patch by John Stanley <jpsinthemix@verizon.net>.
45583
a0f33f99
UD
45584 * misc/Makefile (headers): Add bits/select2.h.
45585 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45586 * misc/bits/select2.h: New file.
45587 * include/bits/select2.h: New file.
45588 * debug/Makefile (routines): Add fdelt_chk.
45589 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45590 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45591 FD_ISSET.
45592 * debug/fdelt_chk.c: New file.
45593
762011fe
UD
45594 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45595 * wcsmbs/test-wmemcmp.c: Likewise.
45596 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45597 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45598
455992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45600
45601 * string/Makefile (strop-tests): Add memcmp.
45602 * string/test-wmemcmp.c: New file.
45603 * string/test-memcmp.c: Add wmemcmp support.
45604
7f513ec8
RM
456052011-09-08 Roland McGrath <roland@hack.frob.com>
45606
0442afb4
RM
45607 [BZ #13153]
45608 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45609 2011-07-19 change.
45610
7f513ec8
RM
45611 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45612 garbage value in a __mach_port_mod_refs call in the cases of the
45613 task-self and thread-self ports.
45614
a12b2239
ST
456152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45616
45617 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45618
610f9ab4
AS
456192011-09-08 Andreas Schwab <schwab@redhat.com>
45620
7f513ec8 45621 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45622
48882a1a
LD
456232011-09-07 Ulrich Drepper <drepper@gmail.com>
45624
b49865be
UD
45625 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45626
fdc86bc9
UD
45627 * elf/dl-libc.c (dlerror_run): Pass back error code from
45628 dl_catch_error.
45629
c966526a
UD
45630 [BZ #13123]
45631 * elf/dl-load.c (lose): Free l_origin if it is valid.
45632
48882a1a
LD
45633 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45634 names.
45635 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45636 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45639 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45640 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45641
77a2a8b4
AZ
456422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45643
45644 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45645 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45647 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45648 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45649 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45650 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45651 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45652 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45653 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45654
24f579d8
AM
456552011-08-15 Alan Modra <amodra@gmail.com>
45656
45657 [BZ #13092]
45658 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45659 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45660 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45661 ppc_mcount to static-only-routines.
45662 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45663 __mcount_internal.
45664 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45665 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45666
3d4837df
UD
456672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45668
45669 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45670 for finite and infinity parameters.
45671
22700377
WS
456722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45673
45674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45675 and add nop instructions for throughput optimization.
45676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45677
5025581e
WS
456782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45679
45680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45681 aligned copy for power7 with vector-scalar instructions.
45682 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45683
08a300c9
L
456842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45685
45686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45687 AVX check.
45688
59178ef9
AS
456892011-09-07 Andreas Schwab <schwab@redhat.com>
45690
45691 [BZ #13144]
45692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45693 last change.
45694
e38ba7ab
UD
456952011-09-07 Ulrich Drepper <drepper@gmail.com>
45696
45697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45698 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45699 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45700 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45701 clock_gettime.
45702
d53a73ac
UD
457032011-09-06 Ulrich Drepper <drepper@gmail.com>
45704
fc8bffcc
UD
45705 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45706 Forgot to demangle the pointer.
45707
ceaa0c5d
UD
45708 * sysdeps/i386/sysdep.h: Define atom_text_section.
45709 * sysdeps/x86_64/sysdep.h: Likewise.
45710 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45711 section with atom_text_section.
45712 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45713 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45714 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45715 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45716 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45717
a77d3c17
UD
45718 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45719 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45720 already be defined. Change to take two parameters and don't assign
45721 result to variable. Adjust all users.
45722 Define INTERNAL_GETTIME if not already defined.
45723 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45724 call.
45725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45726 HAVE_CLOCK_GETTIME_VSYSCALL.
45727 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45728
d53a73ac
UD
45729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45730 gettimeofday vsyscall, just use time.
45731
a8f84144
AS
457322011-09-06 Andreas Schwab <schwab@redhat.com>
45733
45734 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45735 <errno.h>.
45736
ef606249
UD
457372011-09-06 Ulrich Drepper <drepper@gmail.com>
45738
45739 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45740 syscall on x86-64.
45741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45742 syscall.
45743 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45745 syscall if possible.
45746
6585cb60
UD
457472011-09-05 Ulrich Drepper <drepper@gmail.com>
45748
45749 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45750 e_ident. Don't pass to find_mapsXX.
45751 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45752
a5f524e4
LD
457532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45754
45755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45756 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45757 * sysdeps/x86_64/multiarch/strchr.S: Update.
45758 Check bit_slow_BSF bit.
45759 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45760 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45761 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45762
554881ef
UD
457632011-09-05 Ulrich Drepper <drepper@gmail.com>
45764
d96de963
UD
45765 [BZ #13134]
45766 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45767 before glibc 2.15.
45768 (tryshell): Define.
45769 (__spawni): Change last parameter to be flag. Test
45770 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45771 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45772 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45773 * posix/spawni.c: Likewise.
45774 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45775 * posix/spawnp.c: Likewise. Change normal version to use
45776 SPAWN_XFLAGS_USE_PATH.
45777 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45778 SPAWN_XFLAGS_TRY_SHELL.
45779
d48e5868
UD
45780 [BZ #13150]
45781 * posix/glob.h: Remove gcc 1.x support.
45782
554881ef
UD
45783 [BZ #13068]
45784 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45785
693fb948
LD
457862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45787
45788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45789 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45790 strrchr-sse2-bsf
45791 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45792 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45793 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45794 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45795 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45796 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45797
1b48c537
UD
457982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45799
49d42c37
UD
45800 * sysdeps/x86_64/wcscmp.S: New file.
45801
1b48c537
UD
45802 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45803 wcscmp-c wcscmp-sse2
45804 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45805 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45806 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45807 * wcsmbs/wcscmp.c: Allow renaming.
45808
15c95c5d
DM
458092011-09-05 David S. Miller <davem@davemloft.net>
45810
45811 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45812 stack slot, rather than the struct return pointer slot.
45813 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45814 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45816 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45817
2f0ad8f3
UD
458182011-09-05 Ulrich Drepper <drepper@gmail.com>
45819
d88ae418
UD
45820 * po/ja.po: Update from translation team.
45821
2f0ad8f3
UD
45822 [BZ #13144]
45823 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45824 kernel in 64-bit binaries.
45825
5f4318d1
DM
458262011-09-01 David S. Miller <davem@davemloft.net>
45827
45828 * elf/elf.h (HWCAP_SPARC_*): Move to..
45829 * sysdeps/sparc/sysdep.h: this new file and add new values.
45830 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45831 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45832 _DL_HWCAP_COUNT to 24.
45833 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45834 entries.
45835 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45836 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45837 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45839 instead of magic constants.
45840 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45841
3ba57516
DM
458422011-08-31 David S. Miller <davem@davemloft.net>
45843
45844 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45846 Reimplement to do errno handling inline.
45847 (SYSCALL_ERROR_HANDLER): New macro.
45848 (__SYSCALL_STRING): Do not do errno handling in asm.
45849 (__CLONE_SYSCALL_STRING): Delete.
45850 (__INTERNAL_SYSCALL_STRING): Delete.
45851 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45852 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45853 (PSEUDO): Reimplement to do errno handling inline.
45854 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45855 (SYSCALL_ERROR_HANDLER): New macro.
45856 (__SYSCALL_STRING): Do not do errno handling in asm.
45857 (__CLONE_SYSCALL_STRING): Delete.
45858 (__INTERNAL_SYSCALL_STRING): Delete.
45859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45860 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45861 i386.
45862 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45863 (inline_syscall*): Add 'err' argument.
45864 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45865 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45866 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45867 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45868
45869 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45870 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45871
2bc17433
AS
458722011-08-30 Andreas Schwab <schwab@redhat.com>
45873
45874 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45875
fbeb5f4d
JO
458762011-08-29 Jiri Olsa <jolsa@redhat.com>
45877
45878 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45879 directive.
45880
ad69cc26
DM
458812011-08-24 David S. Miller <davem@davemloft.net>
45882
45883 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45884
39dd69df
AS
458852011-08-24 Andreas Schwab <schwab@redhat.com>
45886
45887 * elf/Makefile: Add rules to build and run unload8 test.
45888 * elf/unload8.c: New file.
45889 * elf/unload8mod1.c: New file.
45890 * elf/unload8mod1x.c: New file.
45891 * elf/unload8mod2.c: New file.
45892 * elf/unload8mod3.c: New file.
45893
45894 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45895 it wasn't used.
45896
2c0b250a
DM
458972011-08-23 David S. Miller <davem@davemloft.net>
45898
45899 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45900 subtract stack bias.
45901 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45902 %sp not %fp in calculations.
45903 (_JMPBUF_UNWINDS_ADJ): Likewise.
45904
22044b48
DM
45905 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45906 (aio_suspend): Call it to force an exception region around the
45907 AIO_MISC_WAIT() invocation.
45908
2cae4995
AS
459092011-08-23 Andreas Schwab <schwab@redhat.com>
45910
45911 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45912 backslash.
45913
873a772e
AJ
459142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45915
45916 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45917 protection macro.
45918 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45919 and <dl-machine.h>.
45920 (Elf64_FuncDesc): Remove.
45921
25ad0df1
DM
459222011-08-22 David S. Miller <davem@davemloft.net>
45923
45924 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45925 sigaltstack check, add missing cfi directives.
45926 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45927 missing cfi directives, and sigaltstack handling.
45928
e888bcbe
AS
459292011-08-16 Andreas Schwab <schwab@redhat.com>
45930
45931 [BZ #11724]
45932 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45933 object is seen twice.
45934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45935
45936 * elf/Makefile (distribute): Add tst-initorder2.c.
45937 (tests): Add tst-initorder2.
45938 (modules-names): Add tst-initorder2a tst-initorder2b
45939 tst-initorder2c tst-initorder2d. Add rules to build them.
45940 ($(objpfx)tst-initorder2.out): New rule.
45941 * elf/tst-initorder2.c: New file.
45942 * elf/tst-initorder2.exp: New file.
45943
87162f46
AS
459442011-08-22 Andreas Schwab <schwab@redhat.com>
45945
70538b7f
AS
45946 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45947
f55ffe58
AS
45948 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45949 dependencies back to end of function.
45950
87162f46
AS
45951 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45952 $(elfobjdir)/ld.so.
45953
91b392a4
UD
459542011-08-21 Ulrich Drepper <drepper@gmail.com>
45955
45956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45957 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45959 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45960 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45961 of __vdso_gettimeofday.
45962 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45963 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45964 attribute_hidden.
45965 (_libc_vdso_platform_setup): Remove initialization of
45966 __vdso_gettimeofday and __vdso_time.
45967
5c43483f
UD
459682011-08-20 Ulrich Drepper <drepper@gmail.com>
45969
775a77e7
UD
45970 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45971 and fgetc_unlocked.
45972 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45973 getc_unlocked.
89f447ed 45974
49c74ba9
UD
45975 * elf/dl-open.c (add_to_global): Report additions to the global scope
45976 for LD_DEBUG=scopes.
45977 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45978 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45979
5c43483f
UD
45980 [BZ #13114]
45981 * stdio-common/Makefile (tests): Add bug24.
45982 * stdio-common/bug24.c: New file.
45983
a101b025
AJ
459842011-08-19 Andreas Jaeger <aj@suse.de>
45985
45986 [BZ #13114]
45987 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45988 non-existant file when using close-on-exec mode.
45989
c88f1766
UD
459902011-08-20 Ulrich Drepper <drepper@gmail.com>
45991
0276a718
UD
45992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45993 the very first instruction.
45994
c88f1766
UD
45995 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45996 the CFI state in the end.
45997 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45998 inclusion of dl-trampoline.h.
45999 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46000
51ccffa0
AS
460012011-08-19 Andreas Schwab <schwab@redhat.com>
46002
94d7165f
AS
46003 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46004 expectations for long double.
46005
51ccffa0
AS
46006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46007 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46008
fd708658 460092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
46010
46011 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46012 artificual limit depends upon the system page size.
46013
44f0a71e
UD
460142011-08-17 Ulrich Drepper <drepper@gmail.com>
46015
46016 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46017 * resolv/Makefile: Define CFLAGS-libresolv.
46018
8de79a24
AS
460192011-08-17 Andreas Schwab <schwab@redhat.com>
46020
46021 * nss/makedb.c (compute_tables): Make variables used in nested
46022 function static.
46023
27724598
UD
460242011-08-17 Ulrich Drepper <drepper@gmail.com>
46025
c5305d88
UD
46026 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46027 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46028 if buffer was too small.
46029
27724598
UD
46030 * elf/pldd.c (main): Attach to all threads in the process.
46031 Rewrite /proc handling to use *at functions.
46032
076fe015
UD
460332011-08-16 Ulrich Drepper <drepper@gmail.com>
46034
174baab3
UD
46035 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46036 specifies first scope to show.
46037 (dl_open_worker): Update callers. Move printing scope of new
46038 object to before the relocation.
44f0a71e 46039 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46040 * sysdeps/generic/ldsodefs.h: Update declaration.
46041
076fe015
UD
46042 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46043 string for the scope number.
46044
a60df2c3
UD
460452011-08-14 Ulrich Drepper <drepper@gmail.com>
46046
46047 * nscd/servicescache.c (cache_addserv): Make sure written is always
46048 initialized.
46049
5e4287d1
RM
460502011-08-14 Roland McGrath <roland@hack.frob.com>
46051
85ae0589
RM
46052 * sysdeps/i386/i486/bits/atomic.h
46053 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46054 statement expression, so as to suppress "set but not used" warning.
46055 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46056
69f63097
RM
46057 * string/strncat.c (STRNCAT): Use prototype definition.
46058
675456ef
RM
46059 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46060 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46061 -Iprograms here.
46062 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46063 (localedef-modules): Add localedef.
46064 (locale-modules): Add locale.
46065
5e4287d1
RM
46066 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46067 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46068 to avoid a warning.
46069
9c96ff23
DM
460702011-08-14 David S. Miller <davem@davemloft.net>
46071
46072 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46073 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46074
f9ddf089
UD
460752011-08-13 Ulrich Drepper <drepper@gmail.com>
46076
44f0a71e 46077 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46078 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46079 * elf/rtld.c (dl_main): Set l_name of vDSO.
46080 Call _dl_show_scope when DL_DEBUG_SCOPES.
46081 (process_dl_debug): Recognize scopes flag and also set it for all.
46082 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46083 Declare _dl_show_scope.
46084
1dc27704
UD
46085 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46086 (do_dlopen): Pass caller_dlopen to dl_open.
46087 (__libc_dlopen_mode): Initialize caller_dlopen.
46088
f9ddf089
UD
46089 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46090 of libc. Make tolower call locale-independent. Optimize a bit by
46091 using isdigit instead of isalnum.
46092 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46093
9ac533d3
UD
460942011-08-12 Ulrich Drepper <drepper@gmail.com>
46095
46096 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46097 was a dependency or dynamically loaded.
46098
89edf2e9
UD
460992011-08-11 Ulrich Drepper <drepper@gmail.com>
46100
8e999d29
UD
46101 * intl/l10nflist.c: Allow architecture-specific pop function.
46102 * sysdeps/x86_64/l10nflist.c: New file.
46103
89edf2e9
UD
46104 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46105 classification.
46106
14d96785
AS
461072011-08-10 Andreas Schwab <schwab@redhat.com>
46108
46109 * include/dirent.h: Add libc_hidden_proto for scandirat and
46110 scandirat64. Don't declare __scandirat64.
46111 * dirent/scandirat.c: Add libc_hidden_def.
46112 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46113 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46114
6761ac04
DM
461152011-08-10 David S. Miller <davem@davemloft.net>
46116
46117 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46118 enum.
46119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46120 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46121 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46122
c55fbd1e
UD
461232011-08-09 Ulrich Drepper <drepper@gmail.com>
46124
46125 * Versions.def [libc]: Add GLIBC_2.15.
46126 * dirent/Makefile (routines): Add scandirat and scandirat64.
46127 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46128 GLIBC_2.15.
46129 * dirent/dirent.h: Declare scandirat and scandirat64.
46130 * dirent/scandirat.c: New file.
46131 * dirent/scandirat64.c: New file.
46132 * sysdeps/wordsize-64/scandirat.c: New file.
46133 * sysdeps/wordsize-64/scandirat64.c: New file.
46134 * dirent/opendir.c: Define opendirat.
46135 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46136 using scandirat.
46137 * dirent/scandir64.c: Adjust for scandir.c change.
46138 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46139 __scandirat64, and __scandir_cancel_handler.
46140 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46141 additional parameter and use openat instead of open (outside of ld.so).
46142 Add new __opendir as wrapper around __opendirat.
46143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46144 here without requiring old scandirat implementation.
46145
879165f2
UD
461462011-08-08 Ulrich Drepper <drepper@gmail.com>
46147
46148 * dirent/scandir.c (cancel_handler): Renamed to
46149 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46150 defined. Adjust users.
46151 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46152 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46153
cb7e923b
UD
461542011-08-04 Ulrich Drepper <drepper@gmail.com>
46155
16292edd
UD
46156 * string/test-string.h (IMPL): Use __STRING to expand name and then
46157 stringify it.
46158
cb7e923b
UD
46159 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46160 of cleanups.
46161
cff82933
LD
461622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46163
46164 * string/Makefile: Update.
46165 (strop-tests): Append strncat.
46166 * string/test-wcscmp.c: New file.
46167 New comprehensive test for wcscmp.
46168 * string/test-strcmp.c: Update.
46169 (WIDE): New define.
46170
9be9bfcc
AS
461712011-07-22 Andreas Schwab <schwab@redhat.com>
46172
46173 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46174 line.
46175
2e96f1c7
AS
461762011-07-26 Andreas Schwab <schwab@redhat.com>
46177
46178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46179 encoding to ACE if AI_IDN.
46180
85188888
JJ
461812011-08-01 Jakub Jelinek <jakub@redhat.com>
46182
46183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46184 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46185
5fa16e9b
LD
461862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46187
46188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46189 Fix overflow bug in strncat.
46190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46191
46192 * string/test-strncat.c: Update.
46193 Add new tests for checking overflow bugs.
46194
461952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46196
46197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46198 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46199 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46200 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46201 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46202 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46203 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46204 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46205 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46206
46207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46208 (USE_AS_STRCAT): Define.
46209 Add strcat and strncat support.
46210 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46211
8c1a459f
AS
462122011-07-25 Andreas Schwab <schwab@redhat.com>
46213
46214 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46215 __n bigger than INT_MAX+1.
46216 (__strncmp_g): Likewise.
46217
bba33c28
UD
462182011-07-23 Ulrich Drepper <drepper@gmail.com>
46219
798be72d
UD
46220 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46221 * libio/stido.h: Likewise.
46222
8accd4dc
UD
46223 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46224 (AF_NFC): Define.
46225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46226 (AF_NFC): Define.
46227
cbff0d96
UD
46228 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46231 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46233
9191c04a
UD
46234 [BZ #13021]
46235 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46236 installed.
46237
bba33c28
UD
46238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46239 typo.
46240 (_dl_x86_64_save_sse): Likewise.
46241
90f139dd
UD
462422011-07-22 Ulrich Drepper <drepper@gmail.com>
46243
1aae088a
UD
46244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46245 OSXSAVE.
46246 (_dl_x86_64_save_sse): Likewise.
46247
8e2045f5
UD
46248 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46249
90f139dd
UD
46250 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46251
1d002f25
AS
462522011-07-21 Andreas Schwab <schwab@redhat.com>
46253
46254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46255 change.
46256 (_dl_x86_64_save_sse): Use correct AVX check.
46257
21137f89
UD
462582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46259
46260 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46261 bug in strncpy/strncat.
46262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46263
a65c0b7a
UD
462642011-07-21 Ulrich Drepper <drepper@gmail.com>
46265
46266 * string/tester.c (test_strcat): Add tests for different alignments
46267 of source and destination.
46268 (test_strncat): Likewise.
46269
6986b98a
UD
462702011-07-20 Ulrich Drepper <drepper@gmail.com>
46271
90bb2039
UD
46272 [BZ #12852]
46273 * posix/glob.c (glob): Check passed in values before using them in
46274 expressions to avoid some overflows.
46275 (glob_in_dir): Likewise.
46276
5644ef54
UD
46277 [BZ #13007]
46278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46279 check for AVX enablement so that we don't crash with old kernels and
46280 new hardware.
46281 * elf/tst-audit4.c: Add same checks here.
46282 * elf/tst-audit6.c: Likewise.
46283
46284 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46285
bfc9dc9b
AS
462862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46287
46288 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46289
702e64bb
UD
462902011-07-20 Ulrich Drepper <drepper@gmail.com>
46291
46292 * po/cs.po: Update from translation team.
46293 * po/bg.po: Likewise.
46294
295e904f
MP
462952011-07-12 Marek Polacek <mpolacek@redhat.com>
46296
46297 * misc/sys/cdefs.h: Add support for const attribute.
46298 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46299 to gnu_dev_{major,minor,makedev} functions.
46300
3ff94596
MP
463012011-07-20 Marek Polacek <mpolacek@redhat.com>
46302
46303 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46304
28b59fca
AS
463052011-07-20 Andreas Schwab <schwab@redhat.com>
46306
46307 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46308 strlen results.
46309
19df733e
AK
463102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46311
46312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46313 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46314 register in order to avoid conflicts with the soft frame pointer
46315 being held in r11 when necessary.
46316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46317 (INTERNAL_VSYSCALL_NCS): Likewise.
46318
c8835729
MP
463192011-07-14 Marek Polacek <mpolacek@redhat.com>
46320
46321 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46322 * elf/dl-fini.c (_dl_fini): Adjust caller.
46323 * elf/dl-close.c (_dl_close_worker): Likewise.
46324 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46325
b902330c
MP
463262011-07-15 Marek Polacek <mpolacek@redhat.com>
46327
8991e135
MP
46328 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46329 "aux_cache->nlibs < 0".
46330
b902330c
MP
46331 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46332 in the reload-count case.
46333
99710781
LD
463342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46335
46336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46337 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46338 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46339 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46340 * sysdeps/x86_64/multiarch/strcat.S: New file.
46341 * sysdeps/x86_64/multiarch/strncat.S: New file.
46342 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46343 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46344 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46345 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46346 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46347 (USE_AS_STRCAT): Define.
46348 Add strcat and strncat support.
46349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46350 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46351 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46352 * string/strncat.c: Update.
46353 (USE_AS_STRNCAT): Define.
46354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46355 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46356 and i7.
46357 * sysdeps/x86_64/multiarch/init-arch.h
46358 (bit_Prefer_PMINUB_for_stringop): New.
46359 (index_Prefer_PMINUB_for_stringop): Likewise.
46360 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46361 bit_Prefer_PMINUB_for_stringop.
46362
7dc6bd90
UD
463632011-07-19 Ulrich Drepper <drepper@gmail.com>
46364
46365 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46366 buffer64.
46367 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46368 of casting of buffer.
46369 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46370 buffer32 and buffer64.
46371 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46372 writes instead of casting of buffer.
46373 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46374 buffer32.
46375 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46376 casting of buffer.
46377
e0e72284
AS
463782011-07-19 Andreas Schwab <schwab@redhat.com>
46379
46380 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46381
feb1eb0b
UD
463822011-07-19 Ulrich Drepper <drepper@gmail.com>
46383
46384 * nscd/nscd.c (termination_handler): Don't do anything for a database
46385 if it has not yet been initialized.
46386
298711ff
UD
463872011-07-18 Ulrich Drepper <drepper@gmail.com>
46388
46389 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46390
463912011-07-15 Marek Polacek <mpolacek@redhat.com>
46392
46393 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46394
f9d68389
UD
463952011-07-18 Ulrich Drepper <drepper@gmail.com>
46396
46397 * po/nl.po: Update from translation team.
46398 * po/sv.po: Likewise.
46399
db290cf5
RM
464002011-07-16 Roland McGrath <roland@hack.frob.com>
46401
46402 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46403 now disallowed by GCC.
5c550700 46404
fd5e21c7
RM
46405 * configure.in (use-default-link): Default to yes if a test -shared
46406 link meets our qualifications.
46407 * configure: Regenerated.
46408
5c550700
RM
46409 * config.make.in (output-format): New variable.
46410 * configure.in: Check for ld --print-output-format support.
46411 * configure: Regenerated.
46412 * Makerules ($(common-objpfx)format.lds)
46413 [$(output-format) != unknown]: Just use $(output-format),
46414 instead of the linker-script munging.
46415
9fa2c032
RM
464162011-07-14 Roland McGrath <roland@hack.frob.com>
46417
a6928d51
RM
46418 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46419 of $(common-objpfx)shlib.lds.
46420 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46421
661607b3
RM
46422 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46423 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46424
9fa2c032
RM
46425 * configure.in (-z relro check): Adjust test code to add a large
46426 writable data section after it.
46427 * configure: Regenerated.
46428
defe9061
RM
464292011-07-11 Roland McGrath <roland@hack.frob.com>
46430
46431 * configure.in (-z relro check): Fix test code to make the variable
46432 truly const.
46433 * configure: Regenerated.
46434
319b9ad4
UD
464352011-07-11 Ulrich Drepper <drepper@gmail.com>
46436
46437 * nscd/nscd.h (struct traced_file): Define.
46438 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46439 elements. Add traced_files.
46440 (inotify_fd): Declare.
46441 (register_traced_file): Declare.
46442 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46443 (inotify_fd): Export.
46444 (resolv_conf_descr): Remove.
46445 (nscd_init): Move inotify descriptor creation to main.
46446 Don't register files for notification here.
46447 (register_traced_file): New function.
46448 (invalidate_cache): Don't use reset_res to determine whether to call
46449 res_init, go through the list of registered files.
46450 (main_loop_poll): The inotify descriptors are now stored in the
46451 structures for the traced files.
46452 (main_loop_epoll): Likewise
46453 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46454 to __nss_disable_nscd.
46455 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46456 for a database anymore. Check the records for all the registered
46457 files instead.
46458 * nss/Makefile (libnss_files-routines): Add files-init.
46459 (libnss_db-routines): Add db-init.
46460 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46461 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46462 * nss/nss_db/db-init.c: New file.
46463 * nss/nss_files/files-init.c: New file.
46464 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46465 __nss_lookup_function.
46466 (__nss_lookup_function): Call nss_load_library.
46467 (nss_load_all_libraries): New function.
46468 (__nss_disable_nscd): Take parameter with callback function for files
46469 to register. Set is_nscd. Load all the DSOs for the NSS modules
46470 used for the cached services.
46471 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46472 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46473 options for features to all the files in nscd.
46474
46475 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46476
23bee3e8
RM
464772011-07-10 Roland McGrath <roland@hack.frob.com>
46478
46479 * csu/elf-init.c (__libc_csu_init): Comment typo.
46480
46a5b7f0
UD
464812011-07-09 Ulrich Drepper <drepper@gmail.com>
46482
46483 * po/pl.po: Update from translation team.
46484 * po/ja.po: Likewise.
46485 * po/ru.po: Likewise.
46486 * po/ko.po: Likewise.
46487 * po/fr.po: Likewise.
46488
d30cf5bb
RM
464892011-07-09 Roland McGrath <roland@hack.frob.com>
46490
113ddea4
RM
46491 * configure.in (.ctors/.dtors header and trailer check):
46492 Use an empirical test on a built program.
46493 * configure: Regenerated.
46494
574920b4
RM
46495 * configure.in (-z relro check): Use an empirical test on a built DSO.
46496 Detect, but do not require, on ia64.
46497 * configure: Regenerated.
46498
d30cf5bb
RM
46499 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46500 Update tests that use readelf to use $READELF instead.
46501 * configure: Regenerated.
46502
8538fdb3
UD
465032011-07-08 Ulrich Drepper <drepper@gmail.com>
46504
46505 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46506 if the result is not used.
46507
04d08991
AJ
465082011-07-05 Andreas Jaeger <aj@suse.de>
46509
46510 [BZ#9696]
46511 * stdlib/tst-strtod.c: Add testcase.
46512
de283087
AD
465132011-07-07 Ulrich Drepper <drepper@gmail.com>
46514
4e5f31c8 46515 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46516 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46517 The latter has a higher limit. Take additional parameter to pass to
46518 the new function.
46519 (__pathconf): Pass file to __statfs_link_max.
46520 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46521 __statfs_link_max.
46522 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46523 __statfs_link_max.
46524
de283087
AD
46525 [BZ #12868]
46526 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46528 Handle Lustre.
46529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46530 (__statfs_filesize_max): Likewise.
46531 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46532
c75fa153
AJ
465332011-07-05 Andreas Jaeger <aj@suse.de>
46534
46535 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46536
1a544854
UD
465372011-07-06 Marek Polacek <mpolacek@redhat.com>
46538
46539 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46540 `status' variable.
46541 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46542 Likewise.
46543
6f0eec67
UD
465442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46545
46546 * Makefile (strop-tests): Add strncat.
46547 * string/test-strncat.c: New file.
46548
aae30307
UD
465492011-06-30 Marek Polacek <mpolacek@redhat.com>
46550
46551 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46552
c0cfb5eb
UD
465532011-06-21 Andreas Jaeger <aj@suse.de>
46554
46555 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46556 Copy rule from iconvdata/Makefile.
46557
01636b21
UD
465582011-07-06 Ulrich Drepper <drepper@gmail.com>
46559
46560 [BZ #12922]
46561 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46562 but no long options are defined, just return 'W'.
46563
9895c8bc
UD
465642011-06-22 Marek Polacek <mpolacek@redhat.com>
46565
46566 [BZ #9696]
46567 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46568
5d4cf042
UD
465692011-07-06 Ulrich Drepper <drepper@gmail.com>
46570
46571 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46572 netgroups to read.
960e5535 46573 (innetgr): Likewise.
5d4cf042 46574
751eb97e
RM
465752011-07-05 Roland McGrath <roland@hack.frob.com>
46576
46577 * config.make.in (install_root): Default to $(DESTDIR).
46578
f15f1e45
UD
465792011-07-05 Ulrich Drepper <drepper@gmail.com>
46580
46581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46582
4e34ac6a
RM
465832011-07-02 Roland McGrath <roland@hack.frob.com>
46584
5e9b6af4
RM
46585 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46586
84f9ea0f
RM
46587 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46588 containing directory rather than embedding absolute directory names.
46589
ea5ee9f7
RM
46590 * scripts/check-local-headers.sh: Rewritten using awk.
46591 Match by word, not by line. Print error messages for matches.
46592 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46593
1b74661a
RM
46594 * Makerules [shlib-lds-flags empty]:
46595 ($(common-objpfx)libc_pic.opts): New target.
46596 ($(common-objpfx)libc_pic.os.clean): New target.
46597 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46598
46599 * config.make.in (OBJCOPY): New variable.
46600 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46601 * configure: Regenerated.
46602
f781ef40
RM
46603 * config.make.in (use-default-link): New variable.
46604 * configure.in (use_default_link): Grok --with-default-link to set it.
46605 * configure: Regenerated.
46606 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46607 (shlib-lds, shlib-lds-flags): Define to empty.
46608
2d4fa81e
RM
46609 * Makerules (shlib-lds): New variable.
46610 (shlib-lds-flags): New variable.
46611 (build-shlib, build-moduile, build-module-asneeded): Use it.
46612 ($(common-objpfx)libc.so): Use $(shlib-lds).
46613 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46614 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46615
31fffa6b
RM
46616 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46617 DT_FLAGS/DT_FLAGS_1 with zero flags.
46618
4e34ac6a
RM
46619 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46620 linker script munging.
46621
fcfc776b
UD
466222011-07-02 Ulrich Drepper <drepper@gmail.com>
46623
46624 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46625 as 128-bit value.
46626 * crypt/sha512.c (sha512_process_block): Perform total addition using
46627 128-bit if possible.
46628 (__sha512_finish_ctx): Likewise.
46629 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46630 as 64-bit value.
46631 * crypt/sha256.c (SWAP64): Define.
46632 (sha256_process_block): Perform total addition using 64-bit if
46633 possible.
46634 (__sha256_finish_ctx): Likewise.
46635
99231d9a
UD
466362011-07-01 Ulrich Drepper <drepper@gmail.com>
46637
46638 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46639 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46640 * nscd/hstcache.c (cache_addhst): Likewise.
46641 * nscd/grpcache.c (cache_addgr): Likewise.
46642 * nscd/aicache.c (addhstaiX): Likewise
46643 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46644
445b4a53
TK
466452011-07-01 Thorsten Kukuk <kukuk@suse.de>
46646
46647 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46649 * nscd/hstcache.c (cache_addhst): Likewise.
46650 * nscd/grpcache.c (cache_addgr): Likewise.
46651 * nscd/aicache.c (addhstaiX): Likewise
46652
6d4d8e8e
AS
466532011-07-01 Andreas Schwab <schwab@redhat.com>
46654
46655 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46656 domain only when needed.
46657
89f654c5
AS
466582011-06-30 Andreas Schwab <schwab@redhat.com>
46659
46660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46661 is always restored.
46662
cf3b23ff
UD
466632011-06-29 Ulrich Drepper <drepper@gmail.com>
46664
46665 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46666 are re-adding the entry.
46667 * nscd/servicescache.c (cache_addserv): Likewise.
46668
751626f9
AJ
466692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46670
46671 * sysdeps/generic/dl-irel.h: fix protection against multiple
46672 inclusions.
46673 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46674
9113ea1f
UD
466752011-06-28 Ulrich Drepper <drepper@gmail.com>
46676
5c0b8d90
UD
46677 [BZ #12935]
46678 * malloc/memusage.sh: Fix quoting in message.
46679 * debug/xtrace.sh: Likewise.
46680
9113ea1f
UD
46681 * configure.in: Remove support for --experimental-malloc option, make
46682 it the default.
46683 * config.make.in: Likewise.
46684 * malloc/Makefile: Likewise.
46685
a4172181
AS
466862011-06-27 Andreas Schwab <schwab@redhat.com>
46687
46688 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46689 two-byte characters.
46690
78a7eee7
RM
466912011-06-27 Roland McGrath <roland@hack.frob.com>
46692
62bede13
RM
46693 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46694 AC_CACHE_CHECK invocation.
46695 * configure: Regenerated.
46696
78a7eee7
RM
46697 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46698
5ce33a62
UD
466992011-06-27 Ulrich Drepper <drepper@gmail.com>
46700
034807a9
UD
46701 [BZ #12350]
46702 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46703 bit from old_res_options.
46704
4902da17
UD
46705 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46706
5ce33a62
UD
46707 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46708 value type for setfct.
46709
c2344f56
L
467102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46711
46712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46713 __gettimeofday instead of gettimeofday.
46714
68468076
UD
467152011-06-26 Ulrich Drepper <drepper@gmail.com>
46716
46717 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46718
acb0d739
L
467192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46720
46721 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46722
46723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46724 info.
46725
8912479f
L
467262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46727
46728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46729 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46730 strcpy-sse2-unaligned strncpy-sse2-unaligned
46731 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46732 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46733 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46734 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46735 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46737 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46738 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46739 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46740 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46741 (STRCPY): Support SSE2 and SSSE3 versions.
46742
d5495a11
UD
467432011-06-24 Ulrich Drepper <drepper@gmail.com>
46744
46745 [BZ #12874]
46746 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46747 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46748 kernels which artificially limit size of requests.
46749
0b1cbaae
L
467502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46751
46752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46753 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46754 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46755 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46756 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46757 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46758 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46759 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46762 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46763 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46764 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46765 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46766 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46768 Enable unaligned load optimization for Intel Core i3, i5 and i7
46769 processors.
46770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46771 Define.
46772 (index_Fast_Unaligned_Load): Define.
46773 (HAS_FAST_UNALIGNED_LOAD): Define.
46774
07f494a0
MP
467752011-06-23 Marek Polacek <mpolacek@redhat.com>
46776
46777 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46778
fa3fc0fe
UD
467792011-06-22 Ulrich Drepper <drepper@gmail.com>
46780
46781 [BZ #12907]
46782 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46783 until it is clear that the information is realy needed.
46784 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46785
e12df166
AS
467862011-06-22 Andreas Schwab <schwab@redhat.com>
46787
46788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46789
852eb34d
UD
467902011-06-22 Ulrich Drepper <drepper@gmail.com>
46791
84e2a551
UD
46792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46793 /sys/devices/system/cpu/online if it is usable.
46794
852eb34d
UD
46795 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46796 reading the information from the /proc filesystem to once a second.
46797
6e502e19
UD
467982011-06-21 Andreas Jaeger <aj@suse.de>
46799
46800 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46801 NULL after inclusion of kernel headers.
46802
75d39ff2
UD
468032011-06-21 Ulrich Drepper <drepper@gmail.com>
46804
51f9aa6a
UD
46805 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46806 calls to internal_setent.
46807
c0244a9d
UD
46808 [BZ #12885]
46809 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46810 addresses using gethostbyname4_r ignore IPv4 addresses.
46811
c5e3c2ae
UD
46812 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46813 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46814
75d39ff2
UD
46815 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46816
42675c6f
DM
468172011-06-20 David S. Miller <davem@davemloft.net>
46818
46819 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46820 inclusions.
46821 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46822
46823 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46824 (elf_irel): Use it.
46825 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46826 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46827 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46828 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46829 * sysdeps/x86_64/dl-irel.h: Likewise.
46830
46831 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46832 * elf/dl-sym.c: Likewise.
46833
57912a71
UD
468342011-06-15 Ulrich Drepper <drepper@gmail.com>
46835
46836 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46837 need to dereference resplen2.
46838
ee22793d
AS
468392011-06-14 Andreas Schwab <schwab@redhat.com>
46840
46841 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46842
a9e836b0
UD
468432011-06-15 Ulrich Drepper <drepper@gmail.com>
46844
77fb9117
UD
46845 * Makeconfig: Define vardbdir and inst_vardbdir.
46846 * nss/Makefile: Add rules to install db-Makefile.
46847
40c1b22c
UD
46848 * nss/nss_db/db-XXX.c: Cleanup.
46849
9f2da732
UD
46850 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46851 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46852 GLIBC_PRIVATE.
46853 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46854 * nss/makedb.c: Implement -g option to specify that value strings
46855 are generated and should not be added to table iterated over for
46856 get*ent calls.
46857 * nss/nss_db/db-initgroups.c: New file.
46858
82e9a1f7
UD
46859 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46860 interface.
46861
c41af17e
UD
46862 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46863 (internal_getgrouplist): Adjust to name change.
46864 Update use_initgroups_entry if this is not the first call.
46865 * nss/databases.def: Add initgroups entry.
46866
a9e836b0
UD
46867 * nss/makedb.c (compute_tables): Check result of multiple hash table
46868 sizes to minimize maximum chain length.
46869
2666d441
UD
468702011-06-14 Ulrich Drepper <drepper@gmail.com>
46871
46872 * Versions.def: Add entry for libnss_db.
46873 * shlib-versions: Likewise.
46874 * nss/Makefile: Add rules to build libnss_db.
46875 * nss/Versions: Add libnss_db information. Organize libnss_files
46876 entries better.
46877 * nss/db-Makefile: Add gshadow support. Change rules for the new
46878 makedb progra. Some minor improvements to generate smaller files.
46879 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46880 here from...
46881 * nss/makedb.c: ...here.
46882 Improve database format to be smaller and require less memory at
46883 runtime.
46884 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46885 db anymore.
46886 * nss/nss_db/db-netgrp.c: Likewise.
46887 * nss/nss_db/db-open.c: Likewise.
46888 * nss/nss_files/flies-XXX.x: Adjust comments.
46889 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46890 * nss/nss_files/files-grp.c: Likewise.
46891 * nss/nss_files/files-hosts.c: Likewise.
46892 * nss/nss_files/files-network.c: Likewise.
46893 * nss/nss_files/files-proto.c: Likewise.
46894 * nss/nss_files/files-pwd.c: Likewise.
46895 * nss/nss_files/files-rpc.c: Likewise.
46896 * nss/nss_files/files-service.c: Likewise.
46897 * nss/nss_files/files-sgrp.c: Likewise.
46898 * nss/nss_files/files-spwd.c: Likewise.
46899 * nss/nss_db/db-alias.c: Removed.
46900 * nss/nss_db/dummy-db.h: Removed.
46901
9ee76b5a
UD
469022011-06-02 Ulrich Drepper <drepper@gmail.com>
46903
46904 * nss/makedb.c: Rewritten to not use database library.
46905 * nss/Makefile: Update to build new makedb program.
46906
c71ca1f8
AJ
469072011-06-14 Andreas Jaeger <aj@suse.de>
46908
46909 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46910 memset declaration.
46911
3154bfb8
UD
469122011-06-10 Andreas Schwab <schwab@redhat.com>
46913
46914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46915 tmpbuf.
46916
b350afab
RM
469172011-06-10 Roland McGrath <roland@hack.frob.com>
46918
decd4e50
RM
46919 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46920 * elf/Makefile ($(objpfx)ld.so): Likewise.
46921
5615eaf2
RM
46922 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46923 Don't list ld.so twice in dependencies.
46924
46925 * posix/bug-regex31.c: Include <stdlib.h>.
46926
46927 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46928
46929 * nis/nss_compat/compat-spwd.c
46930 (getspent_next_nss_netgr): Remove unused variable.
46931 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46932
46933 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46934 nonmembers" output to use the right array.
46935
46936 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46937
46938 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46939
46940 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46941 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46942 * catgets/gencat.c (read_input_file): Likewise.
46943 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46944
46945 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46946 variable definition inside #if's controlling its use.
46947
46948 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46949
46950 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46951
46952 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46953
46954 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46955 unreachable code.
46956
46957 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46958
b68e08db
RM
46959 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46960 * configure: Regenerated.
46961
b350afab
RM
46962 * Makerules: Revert last change.
46963 * elf/Makefile: Likewise.
46964
28368601
RM
469652011-06-09 Roland McGrath <roland@hack.frob.com>
46966
46967 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46968 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46969 (reloc-link): Likewise.
46970
11988f8f
UD
469712011-06-09 Ulrich Drepper <drepper@gmail.com>
46972
46973 * elf/Makefile: Add rules to build pldd.
46974 * elf/pldd.c: New file.
46975 * elf/pldd-xx.c: New file.
46976
e80fab37
UD
469772011-06-07 Ulrich Drepper <drepper@gmail.com>
46978
46979 * version.h: Update for 2.15 development version.
46980
9b849836
DM
469812011-06-07 David S. Miller <davem@davemloft.net>
46982
46983 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46984 ifuncs.
46985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46986 elf_machine_lazy_rel): Likewise.
46987 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46989 elf_machine_lazy_rel): Likewise.
46990 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46991 dl_hwcap via passed in argument.
46992 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46993 Likewise.
46994
5a31b283
AK
469952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46996
46997 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46998
069e52f8
RM
469992011-06-06 Roland McGrath <roland@hack.frob.com>
47000
47001 [BZ #12849]
47002 * manual/fdl-1.1.texi: New file, verbatim from:
47003 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47004 * manual/lgpl-2.1.texi: New file, verbatim from:
47005 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47006 * manual/Makefile (licenses): New variable, list those new file names.
47007 (texis): Use it.
47008 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47009
47010 * manual/fdl.texi: File removed.
47011 * manual/lesser.texi: File removed.
47012 * manual/libc.texinfo (Copying, Documentation License):
47013 Use new @include file names, put @appendix directive before @include.
47014
f16846a5
JJ
470152011-06-04 Jakub Jelinek <jakub@redhat.com>
47016
47017 [BZ #12841]
47018 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47019 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47020 (mq_open): Add __NTH.
47021
3d29045b
L
470222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47023
47024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47025 Assume Intel Core i3/i5/i7 processor if AVX is available.
47026
8c297311
UD
470272011-05-31 Ulrich Drepper <drepper@gmail.com>
47028
47029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47030 typo.
47031
c8fc0c91
UD
470322011-05-31 Andreas Schwab <schwab@redhat.com>
47033
47034 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47035 memory. Use alloca_account. Fix memory leak when retrying.
47036
5b27a807
UD
470372011-05-31 Ulrich Drepper <drepper@gmail.com>
47038
356f8bc6
UD
47039 * version.h (RELEASE): Bump for 2.14 release.
47040 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47041
5b27a807
UD
47042 * config.make.in (RANLIB): Remove entry.
47043
01f16ab0
UD
470442011-05-30 Ulrich Drepper <drepper@gmail.com>
47045
41fce8bd
UD
47046 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47047 (libc.pot): Work around missing support for .ksh extension in xgettext.
47048
4769ae77
UD
47049 [BZ #12684]
47050 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47051 if both request failed.
47052 (send_dg): In case of server errors clear resplen or *resplen2.
47053
6b1e7d19
UD
47054 [BZ #12454]
47055 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47056 when there are multiple maps.
47057 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47058 (_dl_fini): Remove test here.
47059
01f16ab0
UD
47060 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47061
b1ebd700
UD
470622011-05-29 Ulrich Drepper <drepper@gmail.com>
47063
7ae22829
UD
47064 [BZ #12350]
47065 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47066 bit from old_res_options.
47067 (gaih_inet): Likewise.
47068
553149f6 47069 [BZ #11099]
18a84741 47070 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47071 as signed.
47072
652ffab1
UD
47073 * resolv/res_init.c (res_setoptions): Make the code more compact.
47074
16985fd0
UD
47075 [BZ #11558]
47076 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47077 set RES_USEVC.
47078
0464f746
UD
47079 [BZ #11634]
47080 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47081
7d17596c
UD
47082 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47083
cf6bbbd7
UD
47084 [BZ #11781]
47085 * malloc/malloc.h: Declare malloc hook variables as volatile.
47086
13f1ab36
UD
47087 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47088 in last patch.
47089
b1ebd700
UD
47090 [BZ #11799]
47091 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47092 raise in the comment.
80e2212d
UD
47093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47094 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47095 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47096
ce67228d
UD
470972011-05-28 Ulrich Drepper <drepper@gmail.com>
47098
8887a920
UD
47099 [BZ #12811]
47100 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47101 grow the buffers more if it already has to be sufficient.
47102 (build_wcs_upper_buffer): Likewise.
47103 * posix/regexec.c (check_matching): Likewise.
47104 (clean_state_log_if_needed): Likewise.
47105 (extend_buffers): Don't enlarge buffers beyond size of the input
47106 buffer.
47107 Patches mostly by Emil Wojak <emil@wojak.eu>.
47108 * posix/bug-regex32.c: New file.
47109 * posix/Makefile (tests): Add bug-regex32.
47110
4f031072
UD
47111 * locale/findlocale.c (_nl_find_locale): Return right away if
47112 _nl_explode_name failed.
47113 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47114
d0478f0c
UD
47115 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47116
de81b246
UD
47117 * debug/xtrace.sh: Unify messages.
47118 * malloc/memusage.sh: Likewise.
47119
c738465a
UD
47120 [BZ #12813]
47121 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47122 time symbol from vDSO. Substitute with vsyscall if not available.
47123 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47124 __vdso_time.
47125
f1f929d7
UD
47126 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47127 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47128 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47129 Add sendmmsg and internal_sendmmsg.
47130 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47131 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47132 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47133
ce67228d
UD
47134 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47135 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47137
e57420c6
UD
471382011-05-27 Ulrich Drepper <drepper@gmail.com>
47139
a8509ca5
UD
47140 [BZ #12813]
47141 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47142 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47143 available.
47144 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47145 __vdso_getcpu.
47146
e57420c6
UD
47147 [BZ #12814]
47148 * iconvdata/Makefile (tests): Add bug-iconv9.
47149 * iconvdata/bug-iconv9.c: New file.
47150
4d07db15
AS
471512011-05-27 Andreas Schwab <schwab@redhat.com>
47152
47153 [BZ #12814]
47154 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47155
ea486f69
JJ
471562011-05-25 Jakub Jelinek <jakub@redhat.com>
47157
47158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47159 (struct user_regs_struct): Change intcs field back to cs.
47160
6f038433
UD
471612011-05-25 Ulrich Drepper <drepper@gmail.com>
47162
47163 * po/ja.po: Update from translation team.
47164
67f86a25
UD
471652011-05-23 Ulrich Drepper <drepper@gmail.com>
47166
47167 [BZ #12795]
47168 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47169 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47170
def7fbd6
AS
471712011-05-20 Andreas Schwab <schwab@redhat.com>
47172
47173 * stdlib/longlong.h: Update from GCC.
47174
f50ef8f1
AS
471752011-05-23 Andreas Schwab <schwab@redhat.com>
47176
47177 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47178 parameter name.
47179 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47180 Add parameter name.
47181 (__sysconf): Pass it down.
47182
de7ce8f1
UD
471832011-05-22 Ulrich Drepper <drepper@gmail.com>
47184
f2962a71
UD
47185 [BZ #12671]
47186 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47187 some situations.
47188 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47189 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47190 add in in __libc_use_alloca calls. Adjust callers.
47191 (glob): Use malloc in some situations.
47192
de7ce8f1
UD
47193 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47194 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47195 pltexit.
47196
aec84f53
UD
471972011-05-21 Ulrich Drepper <drepper@gmail.com>
47198
05bb4a68
UD
47199 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47200 and CLOCK_BOOTTIME_ALARM.
47201
7ea72f99
UD
47202 [BZ #12782]
47203 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47204 is returned.
47205
7e4afad5
UD
47206 * string/_strerror.c (__strerror_r): Print negative errors as signed
47207 numbers.
47208
8e211fec
UD
47209 [BZ #12777]
47210 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47211 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47212 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47213
f7d82dc9
UD
47214 * configure.in: Fix typo in redirection and correct removal of test
47215 files in two cases.
47216
cc9e536d
UD
47217 [BZ #12788]
47218 * locale/setlocale.c (new_composite_name): Fix test to check for
47219 identical name of all categories.
47220
aec84f53
UD
47221 [BZ #12792]
47222 * libio/filedoalloc.c (local_isatty): New function.
47223 (_IO_file_doallocate): Use local_isatty.
47224 * stdio-common/perror.c (perror): In case a new stream is used
47225 forward the stream error.
47226 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47227 error flag.
47228
78e64fdc
RT
472292011-05-20 Ulrich Drepper <drepper@gmail.com>
47230
34a9094f
UD
47231 [BZ #11869]
47232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47233 alloca.
47234 * include/alloca.h (extend_alloca_account): Define.
47235
78e64fdc
RT
47236 [BZ #11857]
47237 * posix/regex.h: Fix comments with documentation of user-accessible
47238 fields after compilation and describe correct free'ing of pattern
47239 after re_compile_pattern.
47240 Patch by Reuben Thomas <rrt@sc3d.org>.
47241
457bddfc
RA
472422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47243
47244 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47245 and -mno-altivec to prevent the compiler from using Altivec and/or
47246 VSX instructions when the corresponding registers are not available.
47247
a4527b51
AS
472482011-05-19 Andreas Schwab <schwab@redhat.com>
47249
47250 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47251
ed690b2f
UD
472522011-05-19 Ulrich Drepper <drepper@gmail.com>
47253
47254 * libio/freopen.c (freopen): Use __dup2, not dup2.
47255 * libio/freopen64.c (freopen64): Likewise.
47256
8db73634
L
472572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47258
47259 [BZ #12775]
47260 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47261 * math/Makefile (tests): Add test-powl.
47262 (CFLAGS-test-powl.c): Define.
47263 * math/test-powl.c: New file.
47264
0a197a9d
L
472652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47266
47267 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47268
ee30c380
UD
472692011-05-17 Ulrich Drepper <drepper@gmail.com>
47270
47271 [BZ #11837]
47272 * iconvdata/gb18030.c: Update to GB18020-2005.
47273
6ce75379
UD
472742011-05-16 Ulrich Drepper <drepper@gmail.com>
47275
a4b89fd8
AR
47276 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47277 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47278 Patch by Aharon Robbins <arnold@skeeve.com>.
47279
ea389b12
UD
47280 [BZ #11892]
47281 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47282 on the stack.
47283
68a3f91f
UD
47284 [BZ #11895]
47285 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47286 through underflows.
47287
15cc7dd1
UD
47288 [BZ #12766]
47289 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47290 point to strings before performing equality test for error_one_per_line
47291 mode.
47292
f3799213
UD
47293 [BZ #11697]
47294 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47295
d79a9c94
UD
47296 [BZ #11820]
47297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47298 (struct user_fpregs_struct): Avoid __uint*_t types.
47299
56e5eb46
UD
47300 [BZ #6420]
47301 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47302 symbol info. Use it instead of calling _dl_addr locally.
47303 (lock_and_info): New function.
47304 (tr_freehook): Call lock_and_info and pass symbol info as additional
47305 parameter to tr_where.
47306 (tr_mallochook): Likewise.
47307 (tr_reallochook): Likewise.
47308 (tr_memalignhook): Likewise.
47309
6ce75379
UD
47310 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47311 used and couldn't be at all thread-safe.
47312
f8a3b5bf
UD
473132011-05-15 Ulrich Drepper <drepper@gmail.com>
47314
94b7cc37
UD
47315 * libio/freopen.c (freopen): Don't close old file descriptor
47316 before the new one is opened. Instead dup the new file descriptor
47317 to the old one after the new stream is created.
47318 * libio/freopen64.c (freopen64): Likewise.
47319 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47320 * libio/fileops.c (_IO_new_file_close_it): Handle new
47321 _IO_FLAGS2_NOCLOSE flag.
47322 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47323 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47324 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47325 _IO_FLAGS2_NOCLOSE flag.
47326 * include/unistd.h: Add hidden_proto for dup3.
47327 Define __have_dup3.
47328 * io/dup3.c: Define hidden symbol.
47329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47330
bd25564e
UD
47331 [BZ #7101]
47332 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47333 when an incomplete long option is used.
47334 * posix/tst-getopt_long1.c: New file.
47335 * posix/Makefile (tests): Add tst-getopt_long1.
47336
c84cfef4
UD
47337 [BZ #10138]
47338 * scripts/config.guess: Update from autoconf-2.68.
47339 * scripts/config.sub: Likewise.
47340
3b85df27
UD
47341 [BZ #10157]
47342 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47343 tests into ...
47344 (has_cpuclock): ...this. New function.
47345 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47346 macro here based on has_cpuclock code.
47347
15a856b1
UD
47348 [BZ #10149]
47349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47350 First byte (not low byte) is now always NUL.
47351 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47352
05f399e6
UD
47353 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47354 Use non-cancelable interfaces.
47355
10a52685 47356 [BZ #9809]
94ecc67d
UD
47357 * locale/iso-639.def: Add entry for Sorani.
47358
f8a3b5bf
UD
47359 [BZ #11901]
47360 * include/stdlib.h: Move include protection to the right place.
47361 Define abort_msg_s. Declare __abort_msg with it.
47362 * stdlib/abort.c (__abort_msg): Adjust type.
47363 * assert/assert.c (__assert_fail_base): New function. Majority
47364 of code from __assert_fail. Allocate memory for __abort_msg with
47365 mmap.
47366 (__assert_fail): Now call __assert_fail_base.
47367 * assert/assert-perr.c: Remove bulk of implementation. Use
47368 __assert_fail_base.
47369 * include/assert.hL Declare __assert_fail_base.
47370 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47371 mmap.
47372 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47373
1af4e298
UD
473742011-05-14 Ulrich Drepper <drepper@gmail.com>
47375
f8a3b5bf 47376 [BZ #11952]
d26dfc60
MG
47377 [BZ #12453]
47378 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47379 until all modules are registered in the DTV.
47380 * elf/Makefile: Add rules to build and run tst-tls19.
47381 * elf/tst-tls19.c: New file.
47382 * elf/tst-tls19mod1.c: New file.
47383 * elf/tst-tls19mod2.c: New file.
47384 * elf/tst-tls19mod3.c: New file.
47385 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47386
2fc54d6f
UD
47387 [BZ #12083]
47388 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47389 correctly.
47390
98d76b46
UD
47391 [BZ #12601]
47392 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47393 two-byte sequence errors.
47394 * iconvdata/Makefile (tests): Add bug-iconv8.
47395 * iconvdata/bug-iconv8.c: New file.
47396
da3c19ef
UD
47397 [BZ #12626]
47398 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47399 buf2 definition.
47400
ca408c15
UD
47401 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47402
d6f67f7d
UD
47403 [BZ #12432]
47404 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47405 (dummy_getcfa): New function.
47406 (init): Get _Unwind_GetCFA address, use dummy if not found.
47407 (backtrace_helper): In recursion check, also check whether CFA changes.
47408 (__backtrace): Completely initialize arg.
47409
1af4e298 47410 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47411 storing incomplete byte sequence in state object. Avoid testing for
47412 guaranteed too small input if we know there is enough data available.
1af4e298 47413
da62f81b
AS
474142011-05-11 Andreas Schwab <schwab@redhat.com>
47415
47416 * Makeconfig (+link-pie): Indent.
47417 * Rules (binaries-pie): Define if $(have-fpie) and
47418 $(build-shared).
47419 (binaries-shared): Also filter out $(binaries-pie).
47420 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47421 * nscd/Makefile (others-pie): Add nscd.
47422 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47423 ($(objpfx)nscd): Remove command override.
47424 * login/Makefile (others-pie): Add pt_chown.
47425 ($(objpfx)pt_chown): Remove command override.
47426 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47427 remove command overrides.
47428
fcabc0f8
UD
474292011-05-13 Ulrich Drepper <drepper@gmail.com>
47430
20030ae6
UD
47431 * libio/tst_putwc.c: Fix error messages.
47432
fcabc0f8
UD
47433 [BZ #12724]
47434 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47435 currently writing and seek to current position when not.
47436 * libio/Makefile (tests): Add bug-fclose1.
47437 * libio/bug-fclose1.c: New file.
47438
320a5dc0
PB
474392011-05-12 Ulrich Drepper <drepper@gmail.com>
47440
47441 [BZ #12511]
47442 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47443 don't set DF_1_NODELETE here.
47444 (do_lookup_x): When entering new entry test for copy relocation
47445 and if necessary set DF_1_NODELETE flag.
47446 * elf/tst-unique4.cc: New file.
47447 * elf/tst-unique4.h: New file.
47448 * elf/tst-unique4lib.cc: New file.
47449 * elf/Makefile: Add rules to build and run tst-unique4.
47450 Patch by Piotr Bury <pbury@goahead.com>.
47451
22836f52
UD
474522011-05-11 Ulrich Drepper <drepper@gmail.com>
47453
f574184a
UD
47454 [BZ #12052]
47455 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47456
e1fb097f
UD
47457 [BZ #12625]
47458 * misc/mntent_r.c (addmntent): Flush the stream after the output
47459
22836f52
UD
47460 [BZ #12393]
47461 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47462 (is_trusted_path_normalize): Skip initial colon. Append slash
47463 to empty buffer. Duplicate is_trusted_path code but allow
47464 constructed patch to be prefix.
47465 (is_dst): Allow $ORIGIN followed by /.
47466 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47467 Correct testing of result of is_trusted_path_normalize
47468 (decompose_rpath): Fix warning.
47469
7b3b0b2a
UD
474702011-05-10 Ulrich Drepper <drepper@gmail.com>
47471
47472 [BZ #11257]
47473 * grp/initgroups.c (internal_getgrouplist): When we found the service
47474 list through the initgroups entry in nsswitch.conf do not always
47475 continue on a successful lookup. Don't always use the
eac80ce2 47476 __nss_group_database value if it is set.
7b3b0b2a
UD
47477 * nss/nsswitch.conf (initgroups): Change action for successful db
47478 lookup to continue for compatibility.
47479
2a81eaa5
UD
474802011-05-09 Ulrich Drepper <drepper@gmail.com>
47481
be97a69e
UD
47482 [BZ #11532]
47483 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47484 and CP774 modules.
47485 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47486 and CP774 modules.
47487 * iconvdata/tst-tables.sh: Likewise.
47488 * iconvdata/cp770.c: New file.
47489 * iconvdata/cp771.c: New file.
47490 * iconvdata/cp772.c: New file.
47491 * iconvdata/cp773.c: New file.
47492 * iconvdata/cp774.c: New file.
47493 * iconvdata/testdata/CP770: New file.
47494 * iconvdata/testdata/CP770..UTF8: New file.
47495 * iconvdata/testdata/CP771: New file.
47496 * iconvdata/testdata/CP771..UTF8: New file.
47497 * iconvdata/testdata/CP772: New file.
47498 * iconvdata/testdata/CP772..UTF8: New file.
47499 * iconvdata/testdata/CP773: New file.
47500 * iconvdata/testdata/CP773..UTF8: New file.
47501 * iconvdata/testdata/CP774: New file.
47502 * iconvdata/testdata/CP774..UTF8: New file.
47503
47504 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47505 END CHARMAP line.
47506 * iconvdata/gen-8bit-gap.sh: Likewise.
47507 * iconvdata/gen-8bit.sh: Likewise.
47508
c1e9e399
UD
47509 * locale/iso-639.def: Add ary entry.
47510
24c55fb3 47511 [BZ #11258]
96b4b1b0
UD
47512 * locale/C-translit.h.in: Add U20A1 transliteration.
47513
bdc2f971
KB
47514 [BZ #12178]
47515 * locale/iso-639.def: Add wae entry.
47516 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47517
2952b117
UD
47518 [BZ #12545]
47519 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47520 for n.
47521
2a81eaa5
UD
47522 [BZ #12711]
47523 * locale/C-translit.h.in: Add entry for U20B9.
47524 Patch by pravin.d.s@gmail.com.
47525
28377d1b
UD
475262011-05-08 Ulrich Drepper <drepper@gmail.com>
47527
7fb90fb8
UD
47528 [BZ #12713]
47529 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47530 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47531 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47532 in rtld. Use *stat64.
7fb90fb8 47533 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47534 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47535 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47536 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47537 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47538 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47539 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47540 __fstatat64 macros.
7fb90fb8
UD
47541 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47542 * dirent/rewinddir.c: Add libc_hidden_def.
47543 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47544 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47545
28377d1b
UD
47546 * include/dirent.h (__alloc_dir): Add flags parameter.
47547 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47548 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47549 __alloc_dir.
47550 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47551 from fdopendir if O_CLOEXEC is already set.
47552
66bdbaa4
AM
475532011-03-15 Alan Modra <amodra@gmail.com>
47554
47555 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47556 l_tls_firstbyte_offset non-zero. Save padding offset in
47557 l_tls_firstbyte_offset for later use.
47558 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47559 freeing static tls block.
47560
95721191
JN
475612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47562
47563 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47564 where #ifdef was intended. The intent is to prevent ARG_MAX from
47565 being defined by the kernel headers.
47566
f87dfb1f
UD
475672011-05-07 Ulrich Drepper <drepper@gmail.com>
47568
47569 [BZ #12734]
47570 * resolv/resolv.h: Define RES_NOTLDQUERY.
47571 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47572 no-tld-query and set RES_NOTLDQUERY.
47573 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47574 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47575 modern BIND to search name as TLD unless forbidden.
47576
47c3cd7a
UD
475772011-05-07 Petr Baudis <pasky@suse.cz>
47578 Ulrich Drepper <drepper@gmail.com>
47579
47580 [BZ #12393]
47581 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47582 (is_trusted_path): ...to here.
c1e9ea35 47583 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47584 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47585 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47586
8a35c912
PP
475872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47588
47589 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47590 __BEGIN/__END_DECLS.
47591
acd41f47
UD
475922011-05-06 Ulrich Drepper <drepper@gmail.com>
47593
47594 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47595 NSS_STATUS_NOTFOUND if no record was found.
47596
597df647
AS
475972011-05-05 Andreas Schwab <schwab@redhat.com>
47598
47599 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47600 (headers-not-in-tirpc): Remove rpc/netdb.h
47601 * resolv/netdb.h: Revert last change.
47602
b9af1301
PP
476032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47604
47605 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47606 circular dependency between libgcc.a and libc.a.
47607
4e34d5f5
AS
476082011-05-05 Andreas Schwab <schwab@redhat.com>
47609
47610 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47611 * nis/Makefile: Don't install rpcsvc/*.
47612 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47613 instead of <rpc/types.h>.
47614 (MAXHOSTNAMELEN): Define.
47615
00ee369c
AS
476162011-05-03 Andreas Schwab <schwab@redhat.com>
47617
47618 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47619
0b592a30
MB
476202011-04-28 Maciej Babinski <mbabinski@google.com>
47621
47622 [BZ #12714]
47623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47624 gethostbyname4_r when IPv6 results are possible.
47625
6e04cbbe
UD
476262011-05-02 Ulrich Drepper <drepper@gmail.com>
47627
47628 [BZ #12723]
47629 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47630 _PC_PIPE_BUF handling.
47631
e4ecafe0
BH
476322011-04-30 Bruno Haible <bruno@clisp.org>
47633
47634 [BZ #12717]
47635 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47636 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47637 to 'int'.
47638 * inet/getnameinfo.c (getnameinfo): Likewise.
47639
125ee683
UD
476402011-04-29 Ulrich Drepper <drepper@gmail.com>
47641
47642 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47643 to groups setting in database lookup.
47644 * nss/nsswitch.conf: Add initgroups entry.
47645
b722481a
EB
476462011-04-22 Ulrich Drepper <drepper@gmail.com>
47647
47648 [BZ #12685]
47649 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47650 mode string.
47651 Patch by Eric Blake <eblake@redhat.com>.
47652
4df46dbd
L
476532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47654
47655 * sunrpc/Makefile (need-export-routines): Add svc_run.
47656 (routines): Remove svc_run.
47657 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47658 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47659 * sunrpc/svc_run.c (svc_run): Likewise.
47660 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47661
e84142d2
UD
476622011-04-21 Ulrich Drepper <drepper@gmail.com>
47663
47664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47665 problem in reallocation in last patch.
47666
877175d8
UD
476672011-04-20 Ulrich Drepper <drepper@gmail.com>
47668
47669 * sunrpc/Makefile: Move inclusion of Rules.
47670
ab8eed78
UD
476712011-04-19 Ulrich Drepper <drepper@gmail.com>
47672
47673 * nss/nss_files/files-initgroups.c: New file.
47674 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47675 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47676 _nss_files_initgroups_dyn.
47677
e3d8f584
RS
476782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47679
47680 * elf/elf.h (R_ARM_IRELATIVE): Define.
47681
af190f45
UD
476822011-04-19 Ulrich Drepper <drepper@gmail.com>
47683
47684 * po/ru.po: Update from translation team.
47685
53cf59ef
UD
476862011-04-17 Ulrich Drepper <drepper@gmail.com>
47687
47688 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47689 dependencies.
47690
4c559bcd
MF
476912011-02-06 Mike Frysinger <vapier@gentoo.org>
47692
47693 [BZ #12653]
47694 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47695 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47696 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47698 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47699
4420675c
AS
477002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47701
47702 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47703 differing bytes.
47704 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47706 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47707
75ea32ab
UD
477082011-04-17 Ulrich Drepper <drepper@gmail.com>
47709
47710 [BZ #12420]
47711 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47712 storing it.
47713 * stdlib/bug-getcontext.c: New file.
47714 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47715
27390476
AK
477162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47717
47718 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47719 instructions into .machine "z9-109".
47720 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47721 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47722
10442705
AK
477232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47724
47725 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47726 between environment variables and auxiliary vector.
47727
7b57bfe5
UD
477282011-04-16 Ulrich Drepper <drepper@gmail.com>
47729
47730 * Makefile: Add rules to build linkobj/libc.so.
47731 * include/libc-symbols.h: Define libc_hidden_nolink.
47732 * include/rpc/auth.h: Mark functions which are to be hidden.
47733 * include/rpc/auth_des.h: Likewise.
47734 * include/rpc/auth_unix.h: Likewise.
47735 * include/rpc/clnt.h: Likewise.
47736 * include/rpc/des_crypt.h: Likewise.
47737 * include/rpc/key_prot.h: Likewise.
47738 * include/rpc/pmap_clnt.h: Likewise.
47739 * include/rpc/pmap_prot.h: Likewise.
47740 * include/rpc/pmap_rmt.h: Likewise.
47741 * include/rpc/rpc_msg.h: Likewise.
47742 * include/rpc/svc.h: Likewise.
47743 * include/rpc/svc_auth.h: Likewise.
47744 * include/rpc/xdr.h: Likewise.
47745 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47746 * nss/Makefile: Likewise.
47747 * sunrpc/Makefile: Don't install headers. Build library with normal
47748 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47749 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47750 for the compat linking library. Remove use of INTDEF/INTUSE.
47751 * sunrpc/auth_none.c: Likewise.
47752 * sunrpc/auth_unix.c: Likewise.
47753 * sunrpc/authdes_prot.c: Likewise.
47754 * sunrpc/authuxprot.c: Likewise.
47755 * sunrpc/clnt_gen.c: Likewise.
47756 * sunrpc/clnt_perr.c: Likewise.
47757 * sunrpc/clnt_raw.c: Likewise.
47758 * sunrpc/clnt_simp.c: Likewise.
47759 * sunrpc/clnt_tcp.c: Likewise.
47760 * sunrpc/clnt_udp.c: Likewise.
47761 * sunrpc/clnt_unix.c: Likewise.
47762 * sunrpc/des_crypt.c: Likewise.
47763 * sunrpc/des_soft.c: Likewise.
47764 * sunrpc/get_myaddr.c: Likewise.
47765 * sunrpc/key_call.c: Likewise.
47766 * sunrpc/key_prot.c: Likewise.
47767 * sunrpc/netname.c: Likewise.
47768 * sunrpc/pm_getmaps.c: Likewise.
47769 * sunrpc/pm_getport.c: Likewise.
47770 * sunrpc/pmap_clnt.c: Likewise.
47771 * sunrpc/pmap_prot.c: Likewise.
47772 * sunrpc/pmap_prot2.c: Likewise.
47773 * sunrpc/pmap_rmt.c: Likewise.
47774 * sunrpc/publickey.c: Likewise.
47775 * sunrpc/rpc_cmsg.c: Likewise.
47776 * sunrpc/rpc_common.c: Likewise.
47777 * sunrpc/rpc_dtable.c: Likewise.
47778 * sunrpc/rpc_prot.c: Likewise.
47779 * sunrpc/rpc_thread.c: Likewise.
47780 * sunrpc/rtime.c: Likewise.
47781 * sunrpc/svc.c: Likewise.
47782 * sunrpc/svc_auth.c: Likewise.
47783 * sunrpc/svc_authux.c: Likewise.
47784 * sunrpc/svc_raw.c: Likewise.
47785 * sunrpc/svc_run.c: Likewise.
47786 * sunrpc/svc_simple.c: Likewise.
47787 * sunrpc/svc_tcp.c: Likewise.
47788 * sunrpc/svc_udp.c: Likewise.
47789 * sunrpc/svc_unix.c: Likewise.
47790 * sunrpc/svcauth_des.c: Likewise.
47791 * sunrpc/xcrypt.c: Likewise.
47792 * sunrpc/xdr.c: Likewise.
47793 * sunrpc/xdr_array.c: Likewise.
47794 * sunrpc/xdr_float.c: Likewise.
47795 * sunrpc/xdr_intXX_t.c: Likewise.
47796 * sunrpc/xdr_mem.c: Likewise.
47797 * sunrpc/xdr_rec.c: Likewise.
47798 * sunrpc/xdr_ref.c: Likewise.
47799 * sunrpc/xdr_sizeof.c: Likewise.
47800 * sunrpc/xdr_stdio.c: Likewise.
47801
e6c61494
UD
478022011-04-10 Ulrich Drepper <drepper@gmail.com>
47803
47804 [BZ #12650]
47805 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47806 * sysdeps/ia64/dl-tls.h: Likewise.
47807 * sysdeps/powerpc/dl-tls.h: Likewise.
47808 * sysdeps/s390/dl-tls.h: Likewise.
47809 * sysdeps/sh/dl-tls.h: Likewise.
47810 * sysdeps/sparc/dl-tls.h: Likewise.
47811 * sysdeps/x86_64/dl-tls.h: Likewise.
47812 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47813
34fe483e
AS
478142011-03-14 Andreas Schwab <schwab@redhat.com>
47815
47816 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47817 rpath element also skip the following colon.
47818 (expand_dynamic_string_token): Add is_path parameter and pass
47819 down to DL_DST_REQUIRED and _dl_dst_substitute.
47820 (decompose_rpath): Call expand_dynamic_string_token with
47821 non-zero is_path. Ignore empty rpaths.
47822 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47823 with zero is_path.
47824
f12a32e6
AS
478252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47826
47827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47828 Make cancelable.
47829
38a7d692
UD
478302011-04-09 Ulrich Drepper <drepper@gmail.com>
47831
47832 [BZ #12655]
47833 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47834 Patch by Filipe David Manana <fdmanana@apache.org>.
47835
e451d22b
AS
478362011-04-07 Andreas Schwab <schwab@redhat.com>
47837
47838 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47839 Maintain aligned stack.
47840 (CHECK_RSP): Remove unused macro.
47841
dedc7c7b
UD
478422011-04-03 Ulrich Drepper <drepper@gmail.com>
47843
47844 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47846
94521213
UD
478472011-04-02 Ulrich Drepper <drepper@gmail.com>
47848
47849 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47850
8cb700c0 47851 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47852
0354e355
L
478532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47854
47855 [BZ #12518]
47856 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47857 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47858 * sysdeps/x86_64/memmove.c: New file.
47859 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47860 (memcpy): Renamed to ...
47861 (__new_memcpy): This.
47862 (memcpy): Provide GLIBC_2_14 memcpy.
47863 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47864 (memcpy): Provide GLIBC_2_2_5 memcpy.
47865
8593482f
UD
478662011-04-01 Ulrich Drepper <drepper@gmail.com>
47867
47868 [BZ #12631]
47869 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47870
81a5726b
AS
478712011-03-30 Andreas Schwab <schwab@redhat.com>
47872
47873 * misc/syncfs.c: New file.
47874 * misc/Makefile (routines): Add syncfs.
47875 * posix/unistd.h: Declare syncfs.
47876 * sysdeps/unix/syscalls.list: Add syncfs.
47877
00e5419f
AS
478782011-04-01 Andreas Schwab <schwab@redhat.com>
47879
47880 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47881 open_by_handle_at.
47882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47887 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47889
748876bf
UD
478902011-04-01 Ulrich Drepper <drepper@gmail.com>
47891
658e451d
UD
47892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47893 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47899
748876bf
UD
47900 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47901 sync_file_range.c with -fexceptions.
47902 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47903 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47904 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47905 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47906 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47907 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47909 sync_file_range as cancellation point
47910 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47911 now a wrapper around __call_sync_file_range with cancellation handling.
47912 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47913 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47914 function name to __call_sync_file_range.
47915 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47916 Add call_sync_file_range.
748876bf 47917
6e63d5e1
AS
479182011-04-01 Andreas Schwab <schwab@redhat.com>
47919
47920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47921 bits/timex.h.
6e63d5e1 47922
46998f74
UD
479232011-04-01 Ulrich Drepper <drepper@gmail.com>
47924
4c1423ed
UD
47925 * iconv/iconv.h: Fix typo in comment.
47926 * io/fcntl.h: Likewise.
47927 * libio/stdio.h: Likewise.
47928 * posix/spawn.h: Likewise.
47929 * posix/unistd.h: Likewise.
47930 * stdlib/stdlib.h: Likewise.
47931 * time/time.h: Likewise.
47932 * wcsmbs/wchar.h: Likewise.
47933
158648c0
UD
47934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47935 open_by_handle): Add.
47936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47937 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47938 Augment a few comments.
47939 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47944 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47945 open_by_handle.
47946
46998f74
UD
47947 * io/fcntl.h (AT_EMPTY_PATH): Define.
47948
83fe108b
UD
479492011-03-30 Ulrich Drepper <drepper@gmail.com>
47950
47951 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47952 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47953 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47954 to...
47955 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47956 * Versions.def: Add GLIBC_2.14.
47957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47958 Export.
83fe108b 47959
bb242059
UD
479602011-03-22 Ulrich Drepper <drepper@gmail.com>
47961
47962 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47963 round counter.
47964 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47965
c97a1282
L
479662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47967
47968 [BZ #12597]
47969 * string/test-strncmp.c (do_page_test): New function.
47970 (check2): Likewise.
47971 (test_main): Call check2.
47972 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47973
2a115601
UD
479742011-03-20 Ulrich Drepper <drepper@gmail.com>
47975
47976 [BZ #12587]
47977 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47978 Handle cache information in CPU leaf 4.
47979 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47980
8126d904
UD
479812011-03-18 Ulrich Drepper <drepper@gmail.com>
47982
042c49c6 47983 [BZ #12583]
8126d904
UD
47984 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47985 character representation.
47986 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47987
ccfe366e
RA
479882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47989
47990 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47991 END(__isnan) to END(__isnanf) to match function entry point/label
47992 EALIGN(__isnanf,...).
47993
c6e13027
JJ
479942011-03-10 Jakub Jelinek <jakub@redhat.com>
47995
47996 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47997
33f85a3f
UD
479982011-03-10 Ulrich Drepper <drepper@gmail.com>
47999
028478fa
UD
48000 [BZ #12510]
48001 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48002 copy from the symbol referenced in the relocation to initialize the
48003 used variable.
48004 Patch by Piotr Bury <pbury@goahead.com>.
48005 * elf/Makefile: Add rules to build and tst-unique3.
48006 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48007 * elf/tst-unique3.cc: New file.
48008 * elf/tst-unique3.h: New file.
48009 * elf/tst-unique3lib.cc: New file.
48010 * elf/tst-unique3lib2.cc: New file.
48011
33f85a3f
UD
48012 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48013
03592fc7
MF
480142011-03-10 Mike Frysinger <vapier@gentoo.org>
48015
48016 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48017 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48018 to _start.
03592fc7 48019
6a5ee102
UD
480202011-03-06 Ulrich Drepper <drepper@gmail.com>
48021
48022 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48023 to-be-loaded object along a path to loader is ld.so.
48024
7e4ba49c
HJ
480252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48026 Ulrich Drepper <drepper@gmail.com>
48027
48028 * sysdeps/x86_64/memset.S: After aligning destination, code
48029 branches to different locations depending on the value of
48030 misalignment, when multiarch is enabled. Fix this.
48031
480322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48033
48034 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48035 Set _x86_64_preferred_memory_instruction for AMD processsors.
48036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48037 Set bit_Prefer_SSE_for_memop for AMD processors.
48038
13a804de
UD
480392011-03-04 Ulrich Drepper <drepper@gmail.com>
48040
48041 * libio/fmemopen.c (fmemopen): Optimize a bit.
48042
9d25c392
AS
480432011-03-03 Andreas Schwab <schwab@redhat.com>
48044
48045 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48046
a5543c6a
RM
480472011-03-03 Roland McGrath <roland@redhat.com>
48048
48049 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48050
012d35f7
DM
480512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48052
7e4ba49c 48053 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48054 __bzero_ultra1 instead of __memset_ultra1.
48055
4bff6e01
AS
480562011-02-23 Andreas Schwab <schwab@redhat.com>
48057 Ulrich Drepper <drepper@gmail.com>
48058
48059 [BZ #12509]
48060 * include/link.h (struct link_map): Add l_orig_initfini.
48061 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48062 returning unsuccessfully.
48063 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48064 close of a file loaded at startup, restore the original l_initfini
48065 list.
48066 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48067 list, store the pointer.
48068 * elf/Makefile ($(objpfx)noload-mem): New rule.
48069 (noload-ENV): Define.
48070 (tests): Add $(objpfx)noload-mem.
48071 * elf/noload.c: Include <memcheck.h>.
48072 (main): Call mtrace. Close all opened handles.
48073
f2092faf
AS
480742011-02-17 Andreas Schwab <schwab@redhat.com>
48075
48076 [BZ #12454]
48077 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48078 dependencies are missing.
48079
6c8a2e88
ST
480802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48081
f2092faf 48082 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48083 Hurd needs munmap.
48084 * sysdeps/mach/hurd/ifreq.h: New file.
48085
84a42118
PB
480862011-01-27 Petr Baudis <pasky@suse.cz>
48087 Ulrich Drepper <drepper@gmail.com>
48088
071f805e 48089 [BZ 12445]#
84a42118
PB
48090 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48091 to extend_alloca().
48092 * stdio-common/bug23.c: New file.
48093 * stdio-common/Makefile (tests): Add bug23.
48094
e23fe25b
AS
480952010-09-28 Andreas Schwab <schwab@redhat.com>
48096 Ulrich Drepper <drepper@gmail.com>
48097
48098 [BZ #12489]
48099 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48100 before performing relro protection. At old place add assertion
48101 to make sure nothing changed.
48102
d3f02e10
NS
481032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48104 Glauber de Oliveira Costa <glommer@gmail.com>
48105
48106 * elf/elf.h: Add new ARM TLS relocs.
48107
d55fd7a5
RA
481082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48109
48110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48111 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48112 cast from r3.
48113 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48114 'tests' variable.
48115 * sysdeps/wordsize-64/tst-writev.c: New file.
48116
2206397e
RA
481172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48118
48119 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48120 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48121 insns in _dl_start to prevent a TOC reference before relocs are
48122 resolved.
48123
e9433893
UD
481242011-02-15 Ulrich Drepper <drepper@gmail.com>
48125
48126 [BZ #12469]
48127 * Makeconfig: Remove RANLIB definition.
48128 * Makerules: Don't use RANLIB.
48129 * aclocal.m4: Remove ranlib test.
48130 * configure.in: No need to check for ranlib.
48131 * elf/rtld-Rules: Don't use RANLIB.
48132
f75286c6
ST
481332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48134
8e31c82d
ST
48135 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48136 protection macro.
48137 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48138 inclusion protection macro.
48139
f75286c6
ST
48140 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48141 SIGRTMIN and SIGRTMAX and print information in that case only when
48142 SIGRTMIN is defined.
48143
c1d0e639
JJ
481442011-02-11 Jakub Jelinek <jakub@redhat.com>
48145
48146 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48147 arginfo fn returning -1.
48148
48149 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48150 and thousands string is zero terminated.
48151
edf9294e
AS
481522011-02-03 Andreas Schwab <schwab@redhat.com>
48153
48154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48155 sysdeps/unix/sysv/linux/bits/socket.h.
48156
2b7e92df
ST
481572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48158
edf9294e
AS
48159 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48160 (__CPU_COUNT): Remove old macros.
48161 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48162 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48163 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48164 (__sched_cpualloc, __sched_cpufree): Add declarations.
48165
a4c7ea7b
UD
481662011-02-05 Ulrich Drepper <drepper@gmail.com>
48167
48168 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48169 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48170 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48171 (readdhstai): Return value of addhstaiX call.
48172 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48173 (addgrbyX): Return value returned by cache_addgr.
48174 (readdgrbyname): Return value returned by addgrbyX.
48175 (readdgrbygid): Likewise.
48176 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48177 (addpwbyX): Return value returned by cache_addpw.
48178 (readdpwbyname): Return value returned by addhstbyX.
48179 (readdpwbyuid): Likewise.
48180 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48181 (addservbyX): Return value returned by cache_addserv.
48182 (readdservbyname): Return value returned by addservbyX:
48183 (readdservbyport): Likewise.
48184 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48185 (addhstbyX): Return value returned by cache_addhst.
48186 (readdhstbyname): Return value returned by addhstbyX.
48187 (readdhstbyaddr): Likewise.
48188 (readdhstbynamev6): Likewise.
48189 (readdhstbyaddrv6): Likewise.
48190 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48191 (readdinitgroups): Return value returned by addinitgroupsX.
48192 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48193 (prune_cache): Keep track of timeout value of re-added entries.
48194 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48195 * nscd/nscd.h: Adjust prototypes of readd* functions.
48196
a0bf67cc
RM
481972011-02-04 Roland McGrath <roland@redhat.com>
48198
48199 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48200 (nis_stats): Likewise.
48201 * nis/nis_modify.c (nis_modify): Likewise.
48202 * nis/nis_remove.c (nis_remove): Likewise.
48203 * nis/nis_add.c (nis_add): Likewise.
48204
48205 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48206
48207 * posix/fnmatch_loop.c: Add some consts.
48208
48209 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48210
435b95eb
L
482112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48212
48213 [BZ #12460]
48214 * config.make.in (config-cflags-novzeroupper): Define.
48215 * configure.in: Substitute libc_cv_cc_novzeroupper.
48216 * elf/Makefile (AVX-CFLAGS): Define.
48217 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48218 (CFLAGS-tst-auditmod4a.c): Likewise.
48219 (CFLAGS-tst-auditmod4b.c): Likewise.
48220 (CFLAGS-tst-auditmod6b.c): Likewise.
48221 (CFLAGS-tst-auditmod6c.c): Likewise.
48222 (CFLAGS-tst-auditmod7b.c): Likewise.
48223 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48224
8517b15e
UD
482252011-02-02 Ulrich Drepper <drepper@gmail.com>
48226
48227 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48228 function to the callback.
48229 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48230
10a656fe
AS
482312011-02-02 Andreas Schwab <schwab@redhat.com>
48232
48233 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48234 of errno.
48235
968dad0a
UD
482362011-01-19 Ulrich Drepper <drepper@gmail.com>
48237
9f94d2ea 48238 [BZ #11724]
968dad0a
UD
48239 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48240 of constructors.
48241 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48242 of destructors.
48243 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48244
48245 [BZ #11724]
48246 * elf/Makefile: Add rules to build and run new test.
48247 * elf/tst-initorder.c: New file.
48248 * elf/tst-initorder.exp: New file.
48249 * elf/tst-initordera1.c: New file.
48250 * elf/tst-initordera2.c: New file.
48251 * elf/tst-initordera3.c: New file.
48252 * elf/tst-initordera4.c: New file.
48253 * elf/tst-initorderb1.c: New file.
48254 * elf/tst-initorderb2.c: New file.
48255 * elf/tst-order-a1.c: New file.
48256 * elf/tst-order-a2.c: New file.
48257 * elf/tst-order-a3.c: New file.
48258 * elf/tst-order-a4.c: New file.
48259 * elf/tst-order-b1.c: New file.
48260 * elf/tst-order-b2.c: New file.
48261 * elf/tst-order-main.c: New file.
48262 New test case by George Gensure <werkt0@gmail.com>.
48263
86e92359
UD
482642010-10-01 Andreas Schwab <schwab@redhat.com>
48265
48266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48267 decoding ACE if AI_CANONIDN.
48268
5d5732b0
UD
482692011-01-18 Ulrich Drepper <drepper@gmail.com>
48270
48271 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48272
a77e8cbc
UD
482732011-01-17 Ulrich Drepper <drepper@gmail.com>
48274
6392473f
UD
48275 * version.h (RELEASE): Bump for 2.13 release.
48276 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48277
620a0529
UD
48278 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48279
18ba70a5
UD
48280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48281 MADV_NOHUGEPAGE.
32465c3e
UD
48282 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48284 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48285 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48286 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48287 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48288
c0dafcf1
UD
48289 * posix/getconf.c: Update copyright year.
48290 * catgets/gencat.c: Likewise.
48291 * csu/version.c: Likewise.
48292 * debug/catchsegv.sh: Likewise.
48293 * debug/xtrace.sh: Likewise.
48294 * elf/ldconfig.c: Likewise.
48295 * elf/ldd.bash.in: Likewise.
48296 * elf/sprof.c (print_version): Likewise.
48297 * iconv/iconv_prog.c: Likewise.
48298 * iconv/iconvconfig.c: Likewise.
48299 * locale/programs/locale.c: Likewise.
48300 * locale/programs/localedef.c: Likewise.
48301 * malloc/memusage.sh: Likewise.
48302 * malloc/mtrace.pl: Likewise.
48303 * nscd/nscd.c (print_version): Likewise.
48304 * nss/getent.c: Likewise.
48305
a77e8cbc
UD
48306 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48307 PF_CAIF, and PF_ALG.
48308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48309
77e8bddf
AS
483102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48311
1f20b93a
AS
48312 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48313 (modules-names): Use them.
48314 (ifunc-test-modules, ifunc-pie-tests): Define.
48315 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48316 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48317 (test-extras): Likewise.
48318 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48319 $(compile-command.c).
48320 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48321 (all-built-dso): Define.
48322 (check-textrel.out, check-execstack.out): Depend on it.
48323
77e8bddf
AS
48324 * configure.in: Don't override --enable-multi-arch.
48325
bc425b33
UD
483262011-01-15 Ulrich Drepper <drepper@gmail.com>
48327
48328 [BZ #6812]
48329 * nscd/hstcache.c (tryagain): Define.
48330 (cache_addhst): Return tryagain not notfound for temporary errors.
48331 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48332 failed.
48333
794c3ad3
UD
483342011-01-14 Ulrich Drepper <drepper@gmail.com>
48335
70181fdd
UD
48336 [BZ #10563]
48337 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48338 to make the syscall.
48339 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48340
794c3ad3
UD
48341 [BZ #12378]
48342 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48343 and fall back to matching as normal character if the string ends before
48344 the matching ']' is found. This is what POSIX requires.
48345 * posix/testfnm.c: Adjust test result.
48346 * posix/globtest.sh: Adjust test result. Add new test.
48347 * posix/tst-fnmatch.input: Likewise.
48348 * posix/tst-fnmatch2.c: Add new test.
48349
68dc9497
AS
483502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48351
48352 * elf/Makefile (check-execstack): Revert last change. Depend on
48353 check-execstack.h.
48354 (check-execstack.h): New target.
48355 (generated): Add check-execstack.h.
48356 * elf/check-execstack.c: Include "check-execstack.h".
48357 (main): Revert last change.
48358 (handle_file): Return zero if GNU_STACK is absent and
48359 DEFAULT_STACK_PERMS doesn't include PF_X.
48360
451f001b
UD
483612011-01-13 Ulrich Drepper <drepper@gmail.com>
48362
cfa28e56
UD
48363 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48364 in child fails because the descriptor is already closed.
8cf8ce17
UD
48365 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48366 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48367 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48368
1086d70d
UD
48369 [BZ #12397]
48370 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48371 syscall.
48372
451f001b
UD
48373 [BZ #10484]
48374 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48375 temporary buffer used to handle multi lookups locally.
a85b5cb4 48376 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48377
08769175
UD
483782011-01-12 Ulrich Drepper <drepper@gmail.com>
48379
48380 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48381 loader is ld.so.
48382
5e49c52e
UD
483832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48384
48385 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48386 alignment for SSE2.
48387
60522a5f
UD
483882011-01-12 Ulrich Drepper <drepper@gmail.com>
48389
48390 [BZ #12394]
48391 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48392 characters. When rounding increased number of integer digits recompute
48393 number of groups.
48394 * stdio-common/tst-grouping.c: New file.
48395 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48396
f257bbd7
UD
483972011-01-09 Ulrich Drepper <drepper@gmail.com>
48398
48399 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48400 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48401
48402 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48403 void.
48404 * bits/select.h: Likewise.
48405
fa9c15cb
UD
484062011-01-08 Ulrich Drepper <drepper@gmail.com>
48407
48408 * po/ja.po: Update from translation team.
48409
16c2895f
DM
484102011-01-04 David S. Miller <davem@sunset.davemloft.net>
48411
48412 [BZ #11155]
48413 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48414 implementation just like for lxstat, fxstatat, et al.
48415
2543fef2
JM
484162010-12-27 Jim Meyering <meyering@redhat.com>
48417
48418 [BZ #12348]
48419 * posix/regexec.c (build_trtable): Return failure indication upon
48420 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48421
98727dbe
UD
484222010-12-25 Ulrich Drepper <drepper@gmail.com>
48423
5bd6dc5c
UD
48424 [BZ #12201]
48425 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48426 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48427 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48428 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48429
97983464
UD
48430 [BZ #12207]
48431 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48432
98727dbe
UD
48433 [BZ #12204]
48434 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48435 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48436
4a531bb0
L
484372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48438
48439 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48440 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48441 script has SORT_BY_INIT_PRIORITY.
48442 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48443 NO_CTORS_DTORS_SECTIONS is defined.
48444 * elf/soinit.c: Likewise.
48445 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48446 NO_CTORS_DTORS_SECTIONS is defined.
48447 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48448 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48449 * sysdeps/sh/init-first.c: Likewise.
48450 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48451
07eb4b71
UD
484522010-12-24 Ulrich Drepper <drepper@gmail.com>
48453
48454 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48455 always use the slow path.
48456
30950a5f
RA
484572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48458
48459 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48460 similar rule which adds the sysdep directories to the header search in
48461 order to pick up the correct platform stackinfo.h.
48462 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48463 perform test if it is, otherwise return successfully without testing.
48464 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48465 DEFAULT_STACK_PERMS define in stackinfo.h.
48466 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48467 defined in stackinfo.h.
48468 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48469 DEFAULT_STACK_PERMS defined in stackinfo.h.
48470 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48471 * sysdeps/ia64/stackinfo.h: Likewise.
48472 * sysdeps/s390/stackinfo.h: Likewise.
48473 * sysdeps/sh/stackinfo.h: Likewise.
48474 * sysdeps/sparc/stackinfo.h: Likewise.
48475 * sysdeps/x86_64/stackinfo.h: Likewise.
48476 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48477 PF_X for powerpc64. Retain PF_X for powerpc32.
48478
db753e2c
UD
484792010-12-19 Ulrich Drepper <drepper@gmail.com>
48480
14b697f7
UD
48481 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48482 accurately.
db753e2c
UD
48483 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48484 GETDENTS_64BIT_ALIGNED.
48485
28300719
UD
484862010-12-14 Ulrich Drepper <dreper@gmail.com>
48487
14b697f7 48488 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48489
4f197237
AS
484902010-12-10 Andreas Schwab <schwab@redhat.com>
48491
dbb0472f
AS
48492 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48493 _GNU_SOURCE.
48494
4f197237
AS
48495 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48496 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48497 Remove __restrict.
48498 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48499 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48500
fb88ac72
UD
485012010-12-09 Ulrich Drepper <drepper@gmail.com>
48502
48503 [BZ #11655]
48504 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48505 are initialized.
48506
42acbb92
JJ
485072010-12-09 Jakub Jelinek <jakub@redhat.com>
48508
48509 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48510
c038d98d
UD
485112010-12-03 Ulrich Drepper <drepper@gmail.com>
48512
48513 * po/it.po: Update from translation team.
48514
3a4a2499
L
485152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48516
48517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48518 unused codes.
48519
1e24cf6e
UD
485202010-11-30 Ulrich Drepper <drepper@gmail.com>
48521
48522 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48523
a7690819
AS
485242010-11-24 Andreas Schwab <schwab@redhat.com>
48525
48526 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48527 specially.
48528 (gaih_getanswer_slice): Likewise.
48529
3bf8d1b1
JJ
485302010-10-20 Jakub Jelinek <jakub@redhat.com>
48531
48532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48533
6db52fbb
PB
485342010-05-31 Petr Baudis <pasky@suse.cz>
48535
48536 [BZ #11149]
48537 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48538 silently even in the chroot mode.
48539
eaca7569
UD
485402010-11-22 Ulrich Drepper <drepper@gmail.com>
48541
48542 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48543 last patch a bit. Pretty printing
48544
3056dcdb
UD
485452010-05-31 Petr Baudis <pasky@suse.cz>
48546
48547 [BZ #10085]
48548 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48549 initialization of skip_initgroups_dyn.
48550
cf7c9078
UD
485512010-11-19 Ulrich Drepper <drepper@gmail.com>
48552
48553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48555
a1fb5e3e
UD
485562010-11-16 Ulrich Drepper <drepper@gmail.com>
48557
48558 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48559
3540d66b
AS
485602010-11-11 Andreas Schwab <schwab@redhat.com>
48561
48562 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48563 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48564 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48565 ($(objpfx)tst-fnmatch-mem): New rule.
48566 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48567 * posix/tst-fnmatch.c (main): Call mtrace.
48568
13b69574
L
485692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48570
48571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48572 Support Intel processor model 6 and model 0x2c.
48573
da93d214
LM
485742010-11-10 Luis Machado <luisgpm@br.ibm.com>
48575
48576 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48577 signed comparison.
48578
8ca52c6e
L
485792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48580
48581 [BZ #12205]
48582 * string/test-strncasecmp.c (check_result): New function.
48583 (do_one_test): Use it.
48584 (check1): New function.
48585 (test_main): Use it.
48586 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48587 Support strcasecmp and strncasecmp.
48588
69da074d
UD
485892010-11-08 Ulrich Drepper <drepper@gmail.com>
48590
48591 [BZ #12194]
48592 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48593 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48594
ff02d528
L
485952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48596
48597 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48598 IFUNC support.
48599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48600 memset-x86-64.
48601 * sysdeps/x86_64/multiarch/bzero.S: New file.
48602 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48603 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48604 * sysdeps/x86_64/multiarch/memset.S: New file.
48605 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48607 Set bit_Prefer_SSE_for_memop for Intel processors.
48608 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48609 Define.
48610 (index_Prefer_SSE_for_memop): Define.
48611 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48612
344d0b54
LM
486132010-11-04 Luis Machado <luisgpm@br.ibm.com>
48614
48615 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48616 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48617
c0dde15b
UD
486182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48619
48620 [BZ #12191]
48621 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48622 (__x86_64_raw_data_cache_size_half): Likewise.
48623 (__x86_64_raw_shared_cache_size): Likewise.
48624 (__x86_64_raw_shared_cache_size_half): Likewise.
48625
48626 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48627 (__x86_64_raw_data_cache_size_half): Likewise.
48628 (__x86_64_raw_shared_cache_size): Likewise.
48629 (__x86_64_raw_shared_cache_size_half): Likewise.
48630 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48631 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48632 and __x86_64_raw_shared_cache_size_half. Round
48633 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48634 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48635 to multiple of 256 bytes.
48636
0e516e0e
MS
486372010-11-03 Ulrich Drepper <drepper@gmail.com>
48638
48639 [BZ #12167]
48640 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48641 of inacessible symlinks. Verify result of symlink before returning it.
48642 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48643 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48644
0e012e87
ER
486452010-10-28 Erich Ritz <erichritz@gmail.com>
48646
48647 * math/math.h (isinf): Fix typo in comment.
48648
de0ff7bc
UD
486492010-11-01 Ulrich Drepper <drepper@gmail.com>
48650
48651 * po/da.po: Update from translation team.
48652
fa41c84d
UD
486532010-10-26 Ulrich Drepper <drepper@gmail.com>
48654
48655 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48656 is added to the list.
48657
f0967738
AK
486582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48659 Ulrich Drepper <drepper@gmail.com>
48660
48661 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48662 the global list here. Move code to...
48663 (_dl_add_to_namespace_list): ...here. New function.
48664 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48665 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48666 * elf/dl-load.c (lose): Don't remove the element from the list.
48667 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48668 (_dl_map_object): Likewise.
48669
486702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48671
48672 [BZ #12159]
48673 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48674 into all bytes of SSE register.
48675 Patch by Richard Li <richardpku@gmail.com>.
48676
f0967738 486772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48678
48679 [BZ #12140]
48680 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48681 perturbing.
48682
d0b9e94f
MB
486832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48684
48685 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48686 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48687 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48688 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48690 submachine.
48691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48692
8e9f92e9
AS
486932010-10-22 Andreas Schwab <schwab@redhat.com>
48694
48695 * include/dlfcn.h (__RTLD_SECURE): Define.
48696 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48697 mode & __RTLD_SECURE instead.
48698 (open_path): Rename preloaded parameter to secure.
48699 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48700 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48701 * elf/dl-deps.c (openaux): Likewise.
48702 * elf/rtld.c (struct map_args): Remove is_preloaded.
48703 (map_doit): Don't use it.
48704 (dl_main): Likewise.
48705 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48706 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48707
bc96fbda
AS
487082010-09-09 Andreas Schwab <schwab@redhat.com>
48709
48710 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48711 (sysd-rules-targets): Remove duplicates.
48712 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48713 rtld-%.$o dependency.
48714
22cd1c9b
AS
487152010-10-18 Andreas Schwab <schwab@redhat.com>
48716
48717 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48718 _dl_map_object do it.
48719
18edac48
UD
487202010-10-19 Ulrich Drepper <drepper@gmail.com>
48721
48722 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48723 fast fma builtins, define the macros in the C99 standard.
48724 (FP_FAST_FMAF): Likewise.
48725 (FP_FAST_FMAL): Likewise.
48726 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48727
48728 * bits/mathdef.h: Update copyright year.
48729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48730
d2050124
MM
487312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48732
48733 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48734 builtins, define the macros in the C99 standard.
48735 (FP_FAST_FMAF): Likewise.
48736 (FP_FAST_FMAL): Likewise.
48737 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48738 multiply/add.
48739 (FP_FAST_FMAF): Likewise.
48740
475facd1
JJ
487412010-10-15 Jakub Jelinek <jakub@redhat.com>
48742
48743 [BZ #3268]
48744 * math/libm-test.inc (fma_test): Some new testcases.
48745 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48746 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48747 y and infinite z. Do multiplication by C already in long double.
48748 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48750 y and infinite z. Do bitwise or of inexact bit into u.d.
48751 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48752 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48753 * sysdeps/i386/fpu/s_fma.S: Removed.
48754 * sysdeps/i386/fpu/s_fmal.S: Removed.
48755
7c08a05c
JJ
487562010-10-16 Jakub Jelinek <jakub@redhat.com>
48757
48758 [BZ #3268]
48759 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48761 computation is not scheduled after fetestexcept. Fix value
48762 of minimum denormal long double.
48763
f3f7372d
JJ
487642010-10-14 Jakub Jelinek <jakub@redhat.com>
48765
48766 [BZ #3268]
48767 * math/libm-test.inc (fma_test): Add some more tests.
48768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48769 correctly.
48770
14d43591
AS
487712010-10-15 Andreas Schwab <schwab@redhat.com>
48772
48773 * scripts/data/localplt-s390-linux-gnu.data: New file.
48774 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48775
5e908464
JJ
487762010-10-13 Jakub Jelinek <jakub@redhat.com>
48777
48778 [BZ #3268]
48779 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48780 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48781 instead of dbl-64.
48782 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48783 inlines.
48784 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48786 if one of x and y is very large and the other is subnormal.
48787 * sysdeps/s390/fpu/s_fmaf.c: New file.
48788 * sysdeps/s390/fpu/s_fma.c: New file.
48789 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48790 * sysdeps/powerpc/fpu/s_fma.S: New file.
48791 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48792 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48793 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48794
487952010-10-12 Jakub Jelinek <jakub@redhat.com>
48796
48797 [BZ #3268]
48798 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48799 fma tests.
48800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48801 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48802 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48803 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48804 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48805 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48806 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48807
b833d51f
UD
488082010-10-12 Ulrich Drepper <drepper@redhat.com>
48809
48810 [BZ #12078]
48811 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48812 * posix/bug-regex31.input: Add test case.
48813
1751705d
UD
488142010-10-11 Ulrich Drepper <drepper@gmail.com>
48815
e9b9cbf5
UD
48816 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48817 * posix/bug-regex31.input: New file.
48818
48819 [BZ #12078]
48820 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48821 (parse_sub_exp): Fix last change, use postorder.
48822
ef06edbe
UD
48823 * posix/bug-regex31.c: New file.
48824 * posix/Makefile: Add rules to build and run bug-regex31.
48825
a129c80d
UD
48826 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48827
48828 [BZ #12078]
48829 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48830
b76b818e
UD
48831 [BZ #12108]
48832 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48833 to have entries in sys_siglist.
48834
1751705d
UD
48835 [BZ #12093]
48836 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48837 be NULL.
48838
9ff8d36f
JJ
488392010-10-07 Jakub Jelinek <jakub@redhat.com>
48840
48841 [BZ #3268]
48842 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48843 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48844 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48845 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48846 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48847 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48848 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48849 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48850 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48851 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48852 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48853 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48854 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48855 * math/ftestexcept.c (fetestexcept): Likewise.
48856 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48857 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48858 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48859 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48860 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48861 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48862 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48863
af325969
UD
488642010-10-11 Ulrich Drepper <drepper@gmail.com>
48865
c579b202 48866 [BZ #12107]
af325969
UD
48867 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48868 newline.
48869
67a67b95
UD
488702010-10-06 Ulrich Drepper <drepper@gmail.com>
48871
48872 * string/bug-strstr1.c: New file.
48873 * string/Makefile: Add rules to build and run bug-strstr1.
48874
5fb308bc
EB
488752010-10-05 Eric Blake <eblake@redhat.com>
48876
48877 [BZ #12092]
48878 * string/str-two-way.h (two_way_long_needle): Always clear memory
48879 when skipping input due to the shift table.
48880
45db99c7
UD
488812010-10-03 Ulrich Drepper <drepper@gmail.com>
48882
3b111893
UD
48883 [BZ #12005]
48884 * malloc/mcheck.c: Handle large requests.
48885
45db99c7
UD
48886 [BZ #12077]
48887 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48888 for strncmp and strncasecmp.
48889 * string/stratcliff.c: Add tests for strcmp and strncmp.
48890 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48891
cf7a1eb8
NI
488922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48893
48894 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48895 __set_fpscr.
48896
6484ba5e
AJ
488972010-09-30 Andreas Jaeger <aj@suse.de>
48898
48899 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48900 (CGROUP_SUPER_MAGIC): Define.
48901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48902 Handle btrfs and cgroup file systems.
48903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48904 Likewise.
48905
91c42559
LM
489062010-09-27 Luis Machado <luisgpm@br.ibm.com>
48907
48908 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48909 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48910
87a97932
AK
489112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48912
48913 [BZ #12067]
48914 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48915 trying to locate the ELF header.
48916
c21cc9bc
AS
489172010-09-27 Andreas Schwab <schwab@redhat.com>
48918
48919 [BZ #11611]
48920 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48921 Mask out sign-bit copies when constructing f_fsid.
48922
315970f6
PB
489232010-09-24 Petr Baudis <pasky@suse.cz>
48924
48925 * debug/stack_chk_fail_local.c: Add missing licence exception.
48926 * debug/warning-nop.c: Likewise.
48927
1ac7a2c7
JM
489282010-09-15 Joseph Myers <joseph@codesourcery.com>
48929
48930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48931 implementing getdents64 using getdents syscall, set d_type if
48932 __ASSUME_GETDENTS32_D_TYPE.
48933
56801c50
AS
489342010-09-16 Andreas Schwab <schwab@redhat.com>
48935
48936 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48937 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48938
dda51327
UD
489392010-09-21 Ulrich Drepper <drepper@redhat.com>
48940
48941 [BZ #12037]
48942 * posix/unistd.h: Undo change of feature selection for ftruncate from
48943 2010-01-11.
48944
8ffcee4a
UD
489452010-09-20 Ulrich Drepper <drepper@redhat.com>
48946
a545ecd9 48947 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48948 detection.
48949
e24f0a8b
AS
489502010-09-20 Andreas Schwab <schwab@redhat.com>
48951
48952 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48953 fanotify_mark.
48954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48955
7291c56f
AS
489562010-09-14 Andreas Schwab <schwab@redhat.com>
48957
48958 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48959 variables after CHECK_SP call.
48960 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48961
bc5fb037
AS
489622010-09-13 Andreas Schwab <schwab@redhat.com>
48963 Ulrich Drepper <drepper@redhat.com>
48964
48965 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48966 re-relocationg ld.so.
48967 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48968 _dl_init_paths call.
48969 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48970 here anymore.
48971
e66e7419
UD
489722010-09-14 Ulrich Drepper <drepper@redhat.com>
48973
48974 * resolv/res_init.c (__res_vinit): Count the default server we added.
48975
c044aa75
CLT
489762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48977 Ulrich Drepper <drepper@redhat.com>
48978
48979 [BZ #11968]
48980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48981 (____longjmp_chk): Use %ebx for saving value across system call.
48982 Add unwind info.
48983
32cf4069
AS
489842010-09-06 Andreas Schwab <schwab@redhat.com>
48985
48986 * manual/Makefile: Don't mix pattern rules with normal rules.
48987
817328ee
AS
489882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48989
48990 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48991 operation.
48992 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48993 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48994 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48995 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48997 Likewise.
48998
29fddf61
UD
489992010-09-04 Ulrich Drepper <drepper@redhat.com>
49000
49001 [BZ #11979]
49002 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49003 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49004
0959ffc9
UD
490052010-09-02 Ulrich Drepper <drepper@redhat.com>
49006
49007 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49008 * sysdeps/x86_64/addmul_1.S: Likewise.
49009 * sysdeps/x86_64/lshift.S: Likewise.
49010 * sysdeps/x86_64/mul_1.S: Likewise.
49011 * sysdeps/x86_64/rshift.S: Likewise.
49012 * sysdeps/x86_64/sub_n.S: Likewise.
49013 * sysdeps/x86_64/submul_1.S: Likewise.
49014
ece29840
ST
490152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49016
0959ffc9
UD
49017 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49018 Define __sched_param instead of SCHED_* and sched_param when
ece29840 49019 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 49020 * bits/sched.h [__need_schedparam]
ece29840 49021 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49022 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49023 (__defined_schedparam): Define to 1.
ece29840
ST
49024 (__sched_param): New structure, identical to sched_param.
49025 (__need_schedparam): Undefine.
49026
e53a31fe
MF
490272010-08-31 Mike Frysinger <vapier@gentoo.org>
49028
fdc0c10d
MF
49029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49030 (epoll_create1): Declare.
49031
e53a31fe
MF
49032 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49033
a726d796
AS
490342010-08-31 Andreas Schwab <schwab@redhat.com>
49035
49036 [BZ #7066]
49037 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49038 shifting retval into place.
49039
2f3e3dc7
UD
490402010-09-01 Ulrich Drepper <drepper@redhat.com>
49041
f2933da9
UD
49042 * nis/rpcsvc/nis.h: Update copyright notice.
49043 * nis/rpcsvc/nis.x: Likewise.
49044 * nis/rpcsvc/nis_callback.h: Likewise.
49045 * nis/rpcsvc/nis_callback.x: Likewise.
49046 * nis/rpcsvc/nis_object.x: Likewise.
49047 * nis/rpcsvc/nis_tags.h: Likewise.
49048 * nis/rpcsvc/yp.h: Likewise.
49049 * nis/rpcsvc/yp.x: Likewise.
49050 * nis/rpcsvc/ypupd.h: Likewise.
49051 * nis/yp_xdr.c: Likewise.
49052 * nis/ypupdate_xdr.c: Likewise.
49053
2f3e3dc7
UD
49054 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49055 mainly the body of pmap_getport. Add parameters to specify timeouts.
49056 (pmap_getport): Use __libc_rpc_getport.
49057 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49058 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49059 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49060
f3dcc2f9
AS
490612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49062
49063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49064 fanotify_mark.
49065
6d34eb5b
RM
490662010-08-27 Roland McGrath <roland@redhat.com>
49067
49068 * sysdeps/i386/i686/multiarch/Makefile
49069 (CFLAGS-varshift.c): New variable.
49070
9ea3de11
UD
490712010-08-27 Ulrich Drepper <drepper@redhat.com>
49072
c96d23fc
UD
49073 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49074 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49075
9ea3de11
UD
49076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49077
49078 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49079
623aac7f
L
490802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49081
49082 * sysdeps/x86_64/strlen.S: Unroll the loop.
49083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49084 strlen-sse2 strlen-sse2-bsf.
49085 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49086 __strlen_no_bsf if bit_Slow_BSF is set.
49087 (__strlen_sse42): Removed.
49088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49089 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49090
8b2b7715
RM
490912010-08-25 Roland McGrath <roland@redhat.com>
49092
49093 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49094 * sysdeps/x86_64/multiarch/varshift.c: New file.
49095 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49096 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49097 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49098 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49099
e73015f2
L
491002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49101
49102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49103 strlen-sse2 strlen-sse2-bsf.
49104 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49105 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49106 (__strlen_sse2): Removed.
49107 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49110 bit_Slow_BSF for Atom.
49111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49112 (index_Slow_BSF): Define.
49113 (HAS_SLOW_BSF): Define.
49114
df24a73e
UD
491152010-08-25 Ulrich Drepper <drepper@redhat.com>
49116
49117 [BZ #10851]
49118 * resolv/res_init.c (__res_vinit): When no server address at all
49119 is given default to loopback.
49120
f2ac4868
RM
491212010-08-24 Roland McGrath <roland@redhat.com>
49122
09055553
RM
49123 * configure.in: Remove config-name.h generation.
49124 * configure: Regenerated.
49125 * config-name.in: File removed.
49126 * scripts/config-uname.sh: New file.
49127 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49128 ($(objdir)config-name.h): New target.
49129
f2ac4868
RM
49130 * sunrpc/rpc_parse.h: Avoid nested comment.
49131
73f27d5e
RH
491322010-08-24 Richard Henderson <rth@redhat.com>
49133 Ulrich Drepper <drepper@redhat.com>
49134 H.J. Lu <hongjiu.lu@intel.com>
49135
49136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49138 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49139 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49140 _mm_alignr_epi8 with _mm_loadu_si128.
49141 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49142 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49143 (__m128i_shift_right): Removed.
49144 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49145 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49146 * sysdeps/x86_64/multiarch/varshift.h: New file.
49147 * sysdeps/x86_64/multiarch/varshift.S: New file.
49148
84b9230c
MF
491492010-08-21 Mike Frysinger <vapier@gentoo.org>
49150
49151 * configure.in: Move assembler checks to before sysdep dir checking.
49152
9bbd0ddc
PB
491532010-08-20 Petr Baudis <pasky@suse.cz>
49154
49155 * LICENSES: Sync the sunrpc license.
49156
9da4bb31
UD
491572010-08-19 Ulrich Drepper <drepper@redhat.com>
49158
a7ab6ec8
UD
49159 * sunrpc/auth_des.c: Update copyright notice once again.
49160 * sunrpc/auth_none.c: Likewise.
49161 * sunrpc/auth_unix.c: Likewise.
49162 * sunrpc/authdes_prot.c: Likewise.
49163 * sunrpc/authuxprot.c: Likewise.
49164 * sunrpc/bindrsvprt.c: Likewise.
49165 * sunrpc/clnt_gen.c: Likewise.
49166 * sunrpc/clnt_perr.c: Likewise.
49167 * sunrpc/clnt_raw.c: Likewise.
49168 * sunrpc/clnt_simp.c: Likewise.
49169 * sunrpc/clnt_tcp.c: Likewise.
49170 * sunrpc/clnt_udp.c: Likewise.
49171 * sunrpc/clnt_unix.c: Likewise.
49172 * sunrpc/des_crypt.c: Likewise.
49173 * sunrpc/des_soft.c: Likewise.
49174 * sunrpc/get_myaddr.c: Likewise.
49175 * sunrpc/getrpcport.c: Likewise.
49176 * sunrpc/key_call.c: Likewise.
49177 * sunrpc/key_prot.c: Likewise.
49178 * sunrpc/openchild.c: Likewise.
49179 * sunrpc/pm_getmaps.c: Likewise.
49180 * sunrpc/pm_getport.c: Likewise.
49181 * sunrpc/pmap_clnt.c: Likewise.
49182 * sunrpc/pmap_prot.c: Likewise.
49183 * sunrpc/pmap_prot2.c: Likewise.
49184 * sunrpc/pmap_rmt.c: Likewise.
49185 * sunrpc/rpc/auth.h: Likewise.
49186 * sunrpc/rpc/auth_unix.h: Likewise.
49187 * sunrpc/rpc/clnt.h: Likewise.
49188 * sunrpc/rpc/des_crypt.h: Likewise.
49189 * sunrpc/rpc/key_prot.h: Likewise.
49190 * sunrpc/rpc/netdb.h: Likewise.
49191 * sunrpc/rpc/pmap_clnt.h: Likewise.
49192 * sunrpc/rpc/pmap_prot.h: Likewise.
49193 * sunrpc/rpc/pmap_rmt.h: Likewise.
49194 * sunrpc/rpc/rpc.h: Likewise.
49195 * sunrpc/rpc/rpc_des.h: Likewise.
49196 * sunrpc/rpc/rpc_msg.h: Likewise.
49197 * sunrpc/rpc/svc.h: Likewise.
49198 * sunrpc/rpc/svc_auth.h: Likewise.
49199 * sunrpc/rpc/types.h: Likewise.
49200 * sunrpc/rpc/xdr.h: Likewise.
49201 * sunrpc/rpc_clntout.c: Likewise.
49202 * sunrpc/rpc_cmsg.c: Likewise.
49203 * sunrpc/rpc_common.c: Likewise.
49204 * sunrpc/rpc_cout.c: Likewise.
49205 * sunrpc/rpc_dtable.c: Likewise.
49206 * sunrpc/rpc_hout.c: Likewise.
49207 * sunrpc/rpc_main.c: Likewise.
49208 * sunrpc/rpc_parse.c: Likewise.
49209 * sunrpc/rpc_parse.h: Likewise.
49210 * sunrpc/rpc_prot.c: Likewise.
49211 * sunrpc/rpc_sample.c: Likewise.
49212 * sunrpc/rpc_scan.c: Likewise.
49213 * sunrpc/rpc_scan.h: Likewise.
49214 * sunrpc/rpc_svcout.c: Likewise.
49215 * sunrpc/rpc_tblout.c: Likewise.
49216 * sunrpc/rpc_util.c: Likewise.
49217 * sunrpc/rpc_util.h: Likewise.
49218 * sunrpc/rpcinfo.c: Likewise.
49219 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49220 * sunrpc/rpcsvc/key_prot.x: Likewise.
49221 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49222 * sunrpc/rpcsvc/mount.x: Likewise.
49223 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49224 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49225 * sunrpc/rpcsvc/rex.x: Likewise.
49226 * sunrpc/rpcsvc/rstat.x: Likewise.
49227 * sunrpc/rpcsvc/rusers.x: Likewise.
49228 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49229 * sunrpc/rpcsvc/spray.x: Likewise.
49230 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49231 * sunrpc/rtime.c: Likewise.
49232 * sunrpc/svc.c: Likewise.
49233 * sunrpc/svc_auth.c: Likewise.
49234 * sunrpc/svc_authux.c: Likewise.
49235 * sunrpc/svc_raw.c: Likewise.
49236 * sunrpc/svc_run.c: Likewise.
49237 * sunrpc/svc_simple.c: Likewise.
49238 * sunrpc/svc_tcp.c: Likewise.
49239 * sunrpc/svc_udp.c: Likewise.
49240 * sunrpc/svc_unix.c: Likewise.
49241 * sunrpc/svcauth_des.c: Likewise.
49242 * sunrpc/xcrypt.c: Likewise.
49243 * sunrpc/xdr.c: Likewise.
49244 * sunrpc/xdr_array.c: Likewise.
49245 * sunrpc/xdr_float.c: Likewise.
49246 * sunrpc/xdr_mem.c: Likewise.
49247 * sunrpc/xdr_rec.c: Likewise.
49248 * sunrpc/xdr_ref.c: Likewise.
49249 * sunrpc/xdr_sizeof.c: Likewise.
49250 * sunrpc/xdr_stdio.c: Likewise.
49251
9da4bb31
UD
49252 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49253 handling.
49254
bdaa77bc
AS
492552010-08-19 Andreas Schwab <schwab@redhat.com>
49256
49257 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49258
fe2f79db
LM
492592010-08-19 Luis Machado <luisgpm@br.ibm.com>
49260
49261 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49262 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49263 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49264 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49265 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49266 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49267 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49268 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49270 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49271 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49272 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49273 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49274 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49275
b9b42ee0
AB
492762010-07-26 Anton Blanchard <anton@samba.org>
49277
49278 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49279 * malloc/arena.c (heap_trim): Likewise.
49280
1c06ba31
UD
492812010-08-16 Ulrich Drepper <drepper@redhat.com>
49282
49283 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49284 here. Not...
49285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49286 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49287
f8392f40
L
492882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49289
49290 * sysdeps/i386/elf/Makefile: New file.
49291
3162f12e
AS
492922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49293
49294 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49295 from fanotify_init.
49296 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49297 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49298
28c90b2c
UD
492992010-08-15 Ulrich Drepper <drepper@redhat.com>
49300
49301 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49302 of strncasecmp_l.
1feccb6c 49303 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49304
ca6bb004
UD
493052010-08-14 Ulrich Drepper <drepper@redhat.com>
49306
e9f82e0d
UD
49307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49308 strncase_l-nonascii.
49309 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49310 Add strncase_l-ssse3.
49311 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49312 * sysdeps/x86_64/strcmp.S: Likewise.
49313 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49314 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49315 * sysdeps/x86_64/strncase.S: New file.
49316 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49317 * sysdeps/x86_64/strncase_l.S: New file.
49318 * string/Makefile (strop-tests): Add strncasecmp.
49319 * string/test-strncasecmp.c: New file.
49320
49321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49322 warning.
49323
ca6bb004
UD
49324 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49325 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49326
052fa7b3
AS
493272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49328
49329 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49330
962dba78
UD
493312010-08-12 Ulrich Drepper <drepper@redhat.com>
49332
49333 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49334 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49335 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49336
bebff237
AM
493372010-05-01 Alan Modra <amodra@gmail.com>
49338
49339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49340 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49341 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49342 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49343 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49344 tidying. Don't tail-call __sigjmp_save for static lib.
49345 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49346 save location.
49347 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49348 (CALL_MCOUNT): Add eh info, and nop after bl.
49349 (TAIL_CALL_SYSCALL_ERROR): New macro.
49350 (PSEUDO_RET): Use it.
49351 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49352 Correct save location of integer regs and cr.
49353 (_dl_profile_resolve): Correct cr save location. Delete nops
49354 after bl when SHARED. Reduce cfi size a little by better
49355 placement of cfi directives.
49356 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49357 make a stack frame. Instead use parm save area as a temp.
49358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49359 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49361 Don't make a stack frame for parent, use parm save area.
49362 Increase child stack frame to 112 bytes. Don't save unused reg,
49363 and adjust reg usage. Set up cfi on error recovery and
49364 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49366 (__makecontext): Add dummy nop after jump to exit.
49367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49368 Use correct parm save area and cr save, reduce stack frame.
49369 Correct cfi for possible PSEUDO_RET frame setup.
49370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49371 Branch to local label emitted by PSEUDO_RET rather than
49372 __syscall_error.
49373
02637374
AS
493742010-08-12 Andreas Schwab <schwab@redhat.com>
49375
49376 [BZ #11904]
49377 * locale/programs/locale.c (print_assignment): New function.
49378 (show_locale_vars): Use it.
49379
c3e2f19b
UD
493802010-08-11 Ulrich Drepper <drepper@redhat.com>
49381
3cdaa6ad
UD
49382 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49383 field.
49384 (struct statfs64): Likewise.
49385 (_STATFS_F_FLAGS): Define.
49386 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49387 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49388 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49389 (ST_VALID): Define locally.
49390 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49391 __statvfs_getflags, use the provided value.
49392 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49393 __ASSUME_STATFS_F_FLAGS.
49394
754f7da3
UD
49395 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49396
10b3bedc
UD
49397 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49398 Add sys/fanotify.h.
49399 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49400 fanotify_mask for GLIBC_2.13.
49401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49402 fanotify_init and fanotify_mark.
49403 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49404 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49405
c08fb0d7
UD
49406 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49407 Add prlimit.
49408 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49409 prlimit64 for GLIBC_2.13.
49410 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49411 prlimit64.
49412 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49413 syscall.
49414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49416 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49419 add prlimit alias.
49420 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49421
15bac72b
UD
49422 [BZ #11903]
49423 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49424 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49425
c3e2f19b
UD
49426 * nss/Makefile: Add rules to build and run tst-nss-test1.
49427 * shlib-versions: Add entry for libnss_test1.
49428 * nss/nss_test1.c: New file.
49429 * nss/tst-nss-test1.c: New file.
49430
49431 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49432 (__nss_configure_lookup): Set appropriate entry in
49433 __nss_configure_lookup to true.
49434 * nss/nsswitch.h: Define enum with indeces of databases in
49435 databases and __nss_database_custom arrays. Declare
49436 __nss_database_custom.
49437 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49438 to avoid using nscd when custom rules are installed.
49439 * nss/getXXbyYY_r.c: Likewise.
49440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49441
49442 * nss/nss_files/files-parse.c: Whitespace fixes.
49443
f15ce4d8
UD
494442010-08-09 Ulrich Drepper <drepper@redhat.com>
49445
49446 [BZ #11883]
49447 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49448 * posix/fnmatch_loop.c: Likewise.
49449
d22e4cc9
AK
494502010-07-17 Andi Kleen <ak@linux.intel.com>
49451
49452 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49453 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49454 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49455 * Versions.def [GLIBC_2.13]: Add.
49456
805bc17d
UD
494572010-08-06 Ulrich Drepper <drepper@redhat.com>
49458
49459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49460 Also fail if tpwd after pwuid call is NULL.
49461
5a42321d
ST
494622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49463
49464 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49465 when converting to ms.
49466
fd3ebeda
ST
494672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49468
49469 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49470 EOPNOTSUPP errors with ENOTTY.
49471 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49472 EOPNOTSUPP errors with ENOTTY.
49473
73507d3a
UD
494742010-07-31 Ulrich Drepper <drepper@redhat.com>
49475
49476 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49477 Add strcasecmp_l-ssse3.
49478 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49479 strcasecmp.
49480 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49481 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49482 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49483
fe36dd02
UD
494842010-07-30 Ulrich Drepper <drepper@redhat.com>
49485
66f6765a
UD
49486 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49487
42e08a54
UD
49488 * string/Makefile (strop-tests): Add strcasecmp.
49489 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49490 strcasecmp_l-nonascii.
49491 (gen-as-const-headers): Add locale-defines.sym.
49492 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49493 * sysdeps/x86_64/strcasecmp.S: New file.
49494 * sysdeps/x86_64/strcasecmp_l.S: New file.
49495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49496 * sysdeps/x86_64/locale-defines.sym: New file.
49497 * string/test-strcasecmp.c: New file.
49498
fe36dd02
UD
49499 * string/test-strcasestr.c: Test both ends of the range of characters.
49500 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49501
48cbc0d6
RM
495022010-07-29 Roland McGrath <roland@redhat.com>
49503
76e6d6bc 49504 [BZ #11856]
48cbc0d6
RM
49505 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49506
880113d9
UD
495072010-07-27 Ulrich Drepper <drepper@redhat.com>
49508
49509 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49510 for ld.so.
49511
deb9cabb
AS
495122010-07-27 Andreas Schwab <schwab@redhat.com>
49513
49514 * manual/memory.texi (Malloc Tunable Parameters): Document
49515 M_PERTURB.
49516
1c7570ff
RM
495172010-07-26 Roland McGrath <roland@redhat.com>
49518
49519 [BZ #11840]
49520 * configure.in (-fgnu89-inline check): Set and substitute
49521 gnu89_inline, not libc_cv_gnu89_inline.
49522 * configure: Regenerated.
49523 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49524
24fb0f88
UD
495252010-07-26 Ulrich Drepper <drepper@redhat.com>
49526
49527 * string/test-strnlen.c: New file.
49528 * string/Makefile (strop-tests): Add strnlen.
49529 * string/tester.c (test_strnlen): Add a few more test cases.
49530 * string/tst-strlen.c: Better error reporting.
49531
49532 * sysdeps/x86_64/strnlen.S: New file.
49533
8e96b93a
UD
495342010-07-24 Ulrich Drepper <drepper@redhat.com>
49535
49536 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49537 lower-latency instructions.
49538
dbc676d4
UD
495392010-07-23 Ulrich Drepper <drepper@redhat.com>
49540
49541 * string/test-strcasestr.c: New file.
49542 * string/test-strstr.c: New file.
49543 * string/Makefile (strop-tests): Add strstr and strcasestr.
49544 * string/str-two-way.h: Don't undefine MAX.
49545 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49546
f6a31e0e
AS
495472010-07-21 Andreas Schwab <schwab@redhat.com>
49548
49549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49550 strcasestr-nonascii.
49551 (CFLAGS-strcasestr-nonascii.c): Define.
49552 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49553 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49554 Remove unused attribute.
49555
5dbc3b6c
RM
495562010-07-20 Roland McGrath <roland@redhat.com>
49557
49558 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49559 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49560 ld.so.cache was broken. With it, there is no way to disable dsocaps
49561 like LD_HWCAP_MASK can disable hwcaps.
49562
23d101d8
EPM
495632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49564
49565 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49566
cc9f2e47
UD
495672010-07-16 Ulrich Drepper <drepper@redhat.com>
49568
49569 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49570 call in strcasestr.
49571 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49572 __strcasestr_sse42_nonascii.
49573 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49574 strcasestr-nonascii.c.
49575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49576
77c1b069
LM
495772010-06-15 Luis Machado <luisgpm@br.ibm.com>
49578
49579 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49580 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49581 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49582 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49583
440566c3
UD
495842010-07-09 Ulrich Drepper <drepper@redhat.com>
49585
49586 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49587 fcntl.
49588
5be9d05d
AS
495892010-07-06 Andreas Schwab <schwab@redhat.com>
49590
c30b7ee2 49591 [BZ #11577]
5be9d05d
AS
49592 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49593 dl_signal_cerror.
49594
8a492a67
UD
495952010-07-06 Ulrich Drepper <drepper@redhat.com>
49596
49597 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49598 _PC_PIPE_BUF using F_GETPIPE_SZ.
49599
713df3d5
RM
496002010-07-05 Roland McGrath <roland@redhat.com>
49601
49602 * manual/arith.texi (Rounding Functions): Fix rint description
49603 implicit in round description.
49604
702e8f14
UD
496052010-07-02 Ulrich Drepper <drepper@redhat.com>
49606
49607 * elf/Makefile: Fix linking for a few tests to make recent linker
49608 happy.
49609
52ed8be9
AS
496102010-06-30 Andreas Schwab <schwab@redhat.com>
49611
49612 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49613 $(common-objpfx)libc_nonshared.a.
49614
f47c9a11
LM
496152010-06-21 Luis Machado <luisgpm@br.ibm.com>
49616
49617 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49618 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49619 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49620 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49621 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49622 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49623 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49624 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49639 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49640 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49641 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49642 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49643 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49644 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49645 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49646 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49647 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49648 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49649 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49650 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49665
6fb8cbcb
L
496662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49667
49668 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49669 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49670 * string/memmove.c (memmove): Renamed to ...
49671 (MEMMOVE): ...this. Default to memmove.
49672 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49673 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49674 (END_CHK): Define.
49675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49676 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49677 mempcpy-ssse3-back memmove-ssse3-back.
49678 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49681 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49682 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49683 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49684 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49685 * sysdeps/x86_64/multiarch/memmove.c: New file.
49686 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49687 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49688 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49689 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49690 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49691 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49692 Define.
49693 (index_Fast_Copy_Backward): Define.
49694 (HAS_ARCH_FEATURE): Define.
49695 (HAS_FAST_REP_STRING): Define.
49696 (HAS_FAST_COPY_BACKWARD): Define.
49697
4e733bac 496982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49699
49700 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49701 Restore proper fallback handling.
49702
63c4ed22
UD
497032010-06-19 Ulrich Drepper <drepper@redhat.com>
49704
ac2b484c
UD
49705 [BZ #11701]
49706 * posix/group_member.c (__group_member): Correct checking loop.
49707
63c4ed22
UD
49708 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49709 OOM in getpwuid_r correctly. Return error number when the caller
49710 should return, otherwise -1.
49711 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49712 call returning > 0 value.
49713 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49714
765ade4b
AS
497152010-06-07 Andreas Schwab <schwab@redhat.com>
49716
49717 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49718 libc_nonshared.a from targets in modules-names.
49719
80da2e09
KS
497202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49721
49722 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49723 requires it.
49724
158db122
LM
497252010-06-10 Luis Machado <luisgpm@br.ibm.com>
49726
49727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49728 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49729 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49731
caa78cf8
AS
497322010-06-02 Andreas Schwab <schwab@redhat.com>
49733
49734 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49735
b2ef2c01
UD
497362010-06-14 Ulrich Drepper <drepper@redhat.com>
49737
49738 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49739 and F_GETPIPE_SZ.
49740 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49741 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49744 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49746
fbd643b6
RM
497472010-06-14 Roland McGrath <roland@redhat.com>
49748
49749 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49750
f32f2869
JJ
497512010-06-07 Jakub Jelinek <jakub@redhat.com>
49752
49753 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49754 __REDIRECT followed by __THROW.
49755 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49756 * posix/getopt.h (getopt): Likewise.
49757
2a50c078
EPM
497582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49759
49760 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49761 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49762 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49763 in AT_FLAGS.
49764 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49765 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49766
eb5ad2eb
LM
497672010-05-28 Luis Machado <luisgpm@br.ibm.com>
49768
49769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49770
3c88fe1e
L
497712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49772
49773 [BZ #11640]
49774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49775 Properly check family and model.
49776
d2f73151
TY
497772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49778
49779 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49780
ebd2e13d
LM
497812010-05-24 Luis Machado <luisgpm@br.ibm.com>
49782
49783 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49784
b32b8b45
UD
497852010-05-21 Ulrich Drepper <drepper@redhat.com>
49786
49787 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49788 symbol reference.
49789
9acbe24d
AS
497902010-05-19 Andreas Schwab <schwab@redhat.com>
49791
49792 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49793 symbol reference.
49794
f0ccf6ea
AS
497952010-05-21 Andreas Schwab <schwab@redhat.com>
49796
3d04ff3a
AS
49797 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49798 and internal_recvmmsg.
49799 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49800 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49801 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49802 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49803
f0ccf6ea
AS
49804 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49805 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49806 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49807
5b08ac57
AS
498082010-05-20 Andreas Schwab <schwab@redhat.com>
49809
49810 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49811
4828935d
LM
498122010-05-17 Luis Machado <luisgpm@br.ibm.com>
49813
49814 POWER7 optimizations.
49815 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49816 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49817
373d545e
UD
498182010-05-19 Ulrich Drepper <drepper@redhat.com>
49819
49820 * version.h: Update for 2.13 development version.
49821
21a2b1ae
AS
498222010-05-12 Andrew Stubbs <ams@codesourcery.com>
49823
49824 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49825 exceptions. Return 0.
49826
3f7dcb2b
RM
498272010-05-07 Roland McGrath <roland@redhat.com>
49828
49829 * elf/ldconfig.c (main): Add a const.
49830
5f24d53a 498312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49832
a160f8d8
UD
49833 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49834 (args_options): Add no-idn option.
49835 (ahosts_keys_int): Add idn_flags to ai_flags.
49836 (parse_option): Handle 'i' option to clear idn_flags.
49837
5f24d53a
UD
49838 * malloc/malloc.c (_int_free): Possible race in the most recently
49839 added check. Only act on the data if no current modification
49840 happened.
265bb1ce
UD
49841
49842See ChangeLog.17 for earlier changes.