]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove NOT_IN_libc definition for pthread_atfork
[thirdparty/glibc.git] / ChangeLog
CommitLineData
eb72478a
SP
12014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2
dd763fdb
SP
3 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4
318c7a58
SP
5 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7 (CPPFLAGS-iconvconfig): Likewise.
8 * timezone/Makefile (CPPFLAGS-zic): Likewise.
9
eb72478a
SP
10 * include/libc-symbols.h: Remove unnecessary check for
11 NOT_IN_libc.
12 * nptl/pthreadP.h: Likewise.
13 * sysdeps/aarch64/setjmp.S: Likewise.
14 * sysdeps/alpha/setjmp.S: Likewise.
15 * sysdeps/arm/sysdep.h: Likewise.
16 * sysdeps/i386/setjmp.S: Likewise.
17 * sysdeps/m68k/setjmp.c: Likewise.
18 * sysdeps/posix/getcwd.c: Likewise.
19 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21 * sysdeps/s390/s390-32/setjmp.S: Likewise.
22 * sysdeps/s390/s390-64/setjmp.S: Likewise.
23 * sysdeps/sh/sh3/setjmp.S: Likewise.
24 * sysdeps/sh/sh4/setjmp.S: Likewise.
25 * sysdeps/unix/alpha/sysdep.h: Likewise.
26 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39 * sysdeps/x86_64/setjmp.S: Likewise.
40
d44a052c
JM
412014-08-13 Joseph Myers <joseph@codesourcery.com>
42
43 [BZ #17263]
44 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45 <stdint.h>.
46 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
47 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
48
508ce3ac
SP
492014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
50
e44c8b0e
SP
51 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
52
508ce3ac
SP
53 [BZ #17262]
54 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
55 and __x86_64__ when disabling x87 inline functions.
56
b4acef1f
L
572014-08-12 H.J. Lu <hongjiu.lu@intel.com>
58
59 [BZ #17259]
60 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
61 asm statement with __cpuid_count.
62
61b1ef6e
MF
632014-08-12 Mike Frysinger <vapier@gentoo.org>
64
65 * configure.ac: Change __ehdr_start code to dereference the struct.
66 Run readelf on the output to look for relocations.
67 * configure: Regenerated.
68
898c62f4
JM
692014-08-12 Joseph Myers <joseph@codesourcery.com>
70
71 [BZ #17261]
72 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
73 value to 0.
74 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
75
9a8a5720
RM
762014-08-12 Roland McGrath <roland@hack.frob.com>
77
78 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
79
4e75751c
BO
802014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
81
82 [BZ #16892]
83 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
84 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
85
bb2ce416
SA
862014-08-12 Sean Anderson <seanga2@gmail.com>
87
88 * malloc/malloc.c: Fix typo in comment.
89
7950a4ee
AM
902014-08-09 Allan McRae <allan@archlinux.org>
91
92 * Regenerate libc.po.
93
f469c49f
MF
942014-08-08 Mike Frysinger <vapier@gentoo.org>
95
96 * intl/tst-gettext2.sh: Check every lang file for creation.
97
656b84c2
WD
982014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
99
100 * sysdeps/aarch64/fpu/math_private.h
101 (libc_feholdsetround_noex_aarch64_ctx): New function.
102
538e9e45
W
1032014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
104
105 * sysdeps/arm/armv6/strcpy.S (strcpy):
106 Fix performance issue in misaligned cases.
107
d4795e4a
AZ
1082014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
109
110 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
111 Move definition from termios.h.
112 (struct termio): Likewise.
113 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
114 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
115 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
116 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
117 Likewise.
118 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
119 Move definition to ioctl-types.h
120 (struct termio): Likewise.
121 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
122 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
123 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
124 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
125 Likewise.
126
64accb62
RH
1272014-08-05 Richard Henderson <rth@redhat.com>
128
27bb6dc0
RH
129 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
130 exceptions.
131 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
132 Add fraiseexcpt.
133 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
134 Use __feraiseexcept.
135 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
136 Protect libm symbols with IS_IN_libm.
137
64accb62
RH
138 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
139
e5292691
BO
1402014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
141
142 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
143
5b4bd2d4
WN
1442014-08-04 Will Newton <will.newton@linaro.org>
145
146 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
147 file.
148
fcadaeef
MF
1492014-08-04 Mike Frysinger <vapier@gentoo.org>
150
151 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
152 variants for each function.
153
43a94c64
RM
1542014-08-04 Roland McGrath <roland@hack.frob.com>
155
156 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
157 appended ...
158 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
159 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
160 appended ...
161 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
162 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
163 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
164 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
165 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
166 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
167 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
168 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
169 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
170 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
172 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
174 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
175 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
176 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
178 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
179 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
180 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
182 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
184 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
185 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
186 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
187 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
188 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
189 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
190 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
192 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
194 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
196 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
197 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
198 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
199 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
200 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
201 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
202 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
203 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
205 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
206 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
207 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
208 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
209 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
210 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
211 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
212 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
213 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
214 Update #include.
215 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
216 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
217
8f3c1fa4
RM
2182014-08-04 Roland McGrath <roland@hack.frob.com>
219
220 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
221 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
222 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
223 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
224 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
225 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
226
ca08746f
RM
2272014-08-04 Roland McGrath <roland@hack.frob.com>
228
229 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
230 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
231 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
232 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
233
9c925ff9
RM
2342014-08-04 Roland McGrath <roland@hack.frob.com>
235
236 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
237 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
238 (__libc_vfork): Define function under this name.
239 (__vfork): Define as an alias.
240 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
241 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
242
e641054c
RM
2432014-08-04 Roland McGrath <roland@hack.frob.com>
244
245 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
246 that was previously under [RESET_PID].
247 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
248
dacdc867
AS
2492014-08-04 Andreas Schwab <schwab@suse.de>
250
251 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
252
41f725ff
MF
2532014-08-03 Mike Frysinger <vapier@gentoo.org>
254
255 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
256 (main): Likewise.
257
277cfb31
RM
2582014-08-01 Roland McGrath <roland@hack.frob.com>
259
260 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
261
4896f049
RH
2622014-08-01 Richard Henderon <rth@redhat.com>
263
264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
265 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
266 typo in exact zero test.
267 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
268 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
269 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
270
6f64e7d7
RM
2712014-08-01 Roland McGrath <roland@hack.frob.com>
272
273 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
274 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
275 * sysdeps/arm/sysdep.h: ... here.
276 [!__ASSEMBLER__]: Include <stdint.h>.
277
3f3dd810
SP
2782014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
279
a476ac4b
SP
280 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
281 (HAVE_WCTYPE_H): Likewise.
282 (HAVE_ISWCTYPE): Likewise.
283 (ENABLE_NLS): Likewise.
284 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
285 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
286
78dd658a
SP
287 * posix/regex_internal.c: Check if DEBUG is defined and is
288 set.
289
3f3dd810
SP
290 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
291 (HAVE_MBSRTOWCS): Likewise.
292 * posix/fnmatch.c: Include string.h unconditionally.
293
95ee7fb1
SL
2942014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
295
296 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
297 reversal.
298
23fe486b
RM
2992014-07-31 Roland McGrath <roland@hack.frob.com>
300
f61a113f
RM
301 * sysdeps/generic/safe-fatal.h: New file.
302 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
303 * nptl/forward.c: Include it.
304 (__pthread_unwind): Use __safe_fatal as default action, rather
305 than a bogus use of INTERNAL_SYSCALL that could never work.
306
9fe7e787
RM
307 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
308 * configure.ac (libc_cv_builtin_trap): New test.
309 * configure: Regenerated.
310 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
311 (ABORT_INSTRUCTION): Define using __builtin_trap.
312
23fe486b
RM
313 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
314 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
315 * sysdeps/nptl/nptl-signals.h: New file.
316 * nptl/pthreadP.h: Include <nptl-signals.h>.
317
f349489e
SL
3182014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
319
320 * sysdeps/s390/s390-64/utf16-utf32-z9.c
321 (ONE_DIRECTION): Define.
322 * sysdeps/s390/s390-64/utf8-utf16-z9.c
323 (ONE_DIRECTION): Define.
324 * sysdeps/s390/s390-64/utf8-utf32-z9.c
325 (ONE_DIRECTION): Define.
326
2f438e20
SL
3272014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
328
329 * sysdeps/s390/Makefile: Delete file.
330 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
331 * sysdeps/s390/__longjmp.c: Delete file.
332 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
333 Remove fields __flags and __reserved.
334 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
335 and add versioning.
336 * sysdeps/s390/rtld-__longjmp.c: Delete file.
337 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
338 * sysdeps/s390/rtld-setjmp.S: Likewise.
339 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
340 * sysdeps/s390/s390-32/__longjmp.c: ... here.
341 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
342 * sysdeps/s390/s390-32/setjmp.S: ... here.
343 Add versioning.
344 (__sigsetjmp): Remove setting __flags field.
345 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
346 * sysdeps/s390/s390-64/__longjmp.c: ... here.
347 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
348 * sysdeps/s390/s390-64/setjmp.S: ... here.
349 Add versioning.
350 (__sigsetjmp): Remove setting __flags field.
351 * sysdeps/s390/setjmp.S: Delete file.
352 * sysdeps/s390/sigjmp.c: Likewise.
353 * sysdeps/s390/v1-longjmp.c: Likewise.
354 * sysdeps/s390/v1-setjmp.h: Likewise.
355 * sysdeps/s390/v1-sigjmp.c: Likewise.
356 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
357 Remove v1-longjmp_chk.
358 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
359 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
360 Include debug/longjmp_chk.c and add versioning.
361 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
362 Include nptl/pt-longjmp.c and add versioning.
363 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
364 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
365 Include __longjmp.c.
366 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
367 Move to ...
368 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
369 (__getcontext): Remove setting __flags field.
370 Add versioning.
371 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
372 Don't restore upper high grps.
373 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
374 Likewise.
375 (__swapcontext): Remove setting uc_flags field.
376 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
377 Delete file.
378 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
379 Include __longjmp.c.
380 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
381 Move to ...
382 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
383 (__getcontext): Remove setting __flags field.
384 Add versioning.
385 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
386 (__swapcontext): Remove setting uc_flags field.
387 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
388 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
389 Remove fields uc_high_gprs and __reserved.
390 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
391 New file with reverted content.
392 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
393 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
394 Regenerated.
395 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
396 Regenerated.
397
6c9578a2
AS
3982014-07-31 Andreas Schwab <schwab@suse.de>
399
400 * config.h.in (HAVE_IFUNC): Define to 0.
401 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
402 definedness.
403
05f3633d
LM
4042014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
405
406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
407 memmove-avx-unaligned, memcpy-avx-unaligned and
408 mempcpy-avx-unaligned.
409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
410 Add tests for AVX memcpy functions.
411 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
412 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
413 memcpy_chk.
414 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
415 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
416 memmove_chk.
417 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
418 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
419 mempcpy_chk.
420 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
421 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
422 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
423
a53fbd8e
AZ
4242013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
425
426 [BZ #17213]
427 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
428 powerpc64le.
429
0961f7e1
JL
4302014-07-29 Jeff Layton <jlayton@poochiereds.net>
431
432 [BZ #16839]
433 * manual/llio.texi: Add section about open file description locks.
434 * manual/examples/ofdlocks.c: Example of open file description
435 lock usage.
436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
437 F_OFD_SETLK, and F_OFD_SETLKW.
438
cc5fb300
AM
4392014-07-23 Allan McRae <allan@archlinux.org>
440
441 * po/es.po: Update Spanish translation from translation project.
442
23329dca
AS
4432014-07-18 Andreas Schwab <schwab@linux-m68k.org>
444
445 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
446
9c82da17
MR
4472014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
448
449 [BZ #17078]
450 * sysdeps/arm/dl-machine.h (elf_machine_rela)
451 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
452 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
453
29c4f53e
JM
4542014-07-17 Joseph Myers <joseph@codesourcery.com>
455
831b9896
JM
456 [BZ #17088]
457 * math/fesetenv.c (__fesetenv)
458 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
459 * math/feupdateenv.c (__feupdateenv)
460 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
461
b21c2d50
JM
462 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
463 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
464 (__ASSUME_SOCKETCALL): Do not define.
465
067764ef
JM
466 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
467 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
468 (__ASSUME_SOCKETCALL): Do not define.
469 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
470 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
471 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
472 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
473 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
474 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
475 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
476 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
477
642530c1
JM
478 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
479 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
480 (__ASSUME_SOCKETCALL): Do not define.
481 (__ASSUME_IPC64): Define unconditionally.
482 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
483 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
484 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
485 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
486 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
487 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
488 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
489 Likewise.
490
03f77315
JM
491 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
492 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
493 (__ASSUME_SOCKETCALL): Do not define.
494 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
495 (__ASSUME_FUTEX_LOCK_PI): Likewise.
496 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
497 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
498 (__ASSUME_REQUEUE_PI): Define unconditionally.
499 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
500 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
501 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
502 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
503 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
504 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
505
083b1f7c
JM
506 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
507 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
508 (__ASSUME_SOCKETCALL): Do not define.
509 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
510 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
511 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
512 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
513 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
514 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
515
5be44ea6
JM
516 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
517 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
518 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
519 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
520 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
521 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
522 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
523 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
524 (__ASSUME_GETCPU_SYSCALL): Likewise.
525
d95ffd4c
JM
526 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
527 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
528 cases for individual architectures.
529 * sysdeps/gnu/configure: Regenerated.
530 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
531 LIBC_SLIBDIR_RTLDDIR.
532 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
533 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
534 LIBC_SLIBDIR_RTLDDIR.
535 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
537 LIBC_SLIBDIR_RTLDDIR.
538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
539 Regenerated.
540 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
541 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
542 file.
543 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
544 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
545 file.
546 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
547 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
548 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
549 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
550
29c4f53e
JM
551 * sysdeps/aarch64/shlib-versions: Move to ...
552 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
553 * sysdeps/alpha/shlib-versions: Move to ...
554 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
555 * sysdeps/arm/shlib-versions: Move to ...
556 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
557 * sysdeps/hppa/shlib-versions: Move all contents except for
558 libgcc_s entry to ...
559 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
560 entry from ...
561 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
562 * sysdeps/ia64/shlib-versions: Move to ...
563 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
564 entry from ...
565 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
566 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
567 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
568 * sysdeps/microblaze/shlib-versions: Move to ...
569 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
570 * sysdeps/mips/shlib-versions: Move to ...
571 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
572 entry from ...
573 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
574 * sysdeps/tile/shlib-versions: Move to ...
575 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
576 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
577 from ...
578 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
579 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
580 entry from ...
581 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
582
32bead5b
WN
5832014-07-17 Will Newton <will.newton@linaro.org>
584
57977c4b
WN
585 * sysdeps/arm/bits/atomic.h
586 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
587 (__arch_compare_and_exchange_bool_16_int): Likewise.
588 (__arch_compare_and_exchange_bool_64_int): Likewise.
589
32bead5b
WN
590 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
591 into an #else block.
592
37fccd41
RM
5932014-07-16 Roland McGrath <roland@hack.frob.com>
594
595 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
596 just Linux configurations. Test empirically that the compiler sets
597 __ARM_EABI__, rather than using the tuple to decide.
598 * sysdeps/arm/preconfigure: Regenerated.
599 * sysdeps/unix/sysv/linux/arm/configure: File removed.
600 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
601 contents appended ...
602 * sysdeps/arm/configure.ac: ... here.
603 * sysdeps/arm/configure: Regenerated.
604
b365f3ec
RM
6052014-07-15 Roland McGrath <roland@hack.frob.com>
606
8badf496
RM
607 * nptl/pthread_kill.c: New file.
608 * nptl/pthread_sigmask.c: New file.
609 * nptl/pthread_sigqueue.c: New file.
610
3df6f22e
RM
611 * sysdeps/nptl/lowlevellock.h: New file.
612 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
613 * sysdeps/nptl/lowlevellock-futex.h: New file.
614
b365f3ec
RM
615 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
616 Remove dead declarations.
617
f2fef657
L
6182014-07-14 H.J. Lu <hongjiu.lu@intel.com>
619
620 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
621 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
622 config-cflags-avx2.
623 * sysdeps/x86_64/configure.ac: Likewise.
624 * sysdeps/i386/configure: Regenerated.
625 * sysdeps/x86_64/configure: Likewise.
626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
627 memset-avx2 only if config-cflags-avx2 is yes.
628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
629 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
630 defined.
631 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
632 only if HAVE_AVX2_SUPPORT is defined.
633 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
634
f6c44d47
AM
6352014-07-14 Alan Modra <amodra@gmail.com>
636
637 [BZ #17153]
638 * elf/elf.h (DT_PPC64_NUM): Correct value.
639 * NEWS: Add to fixed bug list.
640
7ee03f00
JM
6412014-07-13 Jim Meyering <meyering@fb.com>
642
643 [BZ 17150]
644 regex: don't deref NULL upon heap allocation failure
645 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
646 failure in one more place.
647 To trigger the segfault, configure grep -with-included-regex,
648 build it, and run these commands:
649 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
650
9d39d517
AS
6512014-07-13 Andreas Schwab <schwab@linux-m68k.org>
652
653 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
654
a75b89b7
RH
6552014-07-11 Richard Henderson <rth@redhat.com>
656
657 * sysdeps/aarch64/libm-test-ulps: Update.
658
771eb141
FW
6592014-07-10 Florian Weimer <fweimer@redhat.com>
660
661 [BZ #17135]
662 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
663 * nptl/allocatestack.c (__nptl_setxid_error): New function.
664 (__nptl_setxid): Initialize error member. Call
665 __nptl_setxid_error.
666 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
667 * nptl/descr.h (struct xid_command): Add error member.
668 * nptl/tst-setuid3.c: New file.
669 * nptl/Makefile (tests): Add it.
670
bc1da176
AZ
6712014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
672
673 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
674 New define.
675 (__lll_trylock): Use __lll_base_trylock.
676 (__lll_cond_trylock): Likewise.
677
887865fc
RM
6782014-07-10 Roland McGrath <roland@hack.frob.com>
679
c0c6bac9
RM
680 * nptl/pthread_create.c (start_thread): Use atomic_or and
681 lll_futex_wake directly rather than lll_robust_dead.
682 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
683 (lll_robust_dead): Macro removed.
6a42be57 684 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
685 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
686 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
687 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
688 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
689 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
690 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
691 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
692 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
694 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
695 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
696 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
697 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
698 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
699
887865fc
RM
700 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
701 Use atomic_compare_and_exchange_val_acq directly rather than
702 lll_robust_trylock.
703 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
704 (__lll_robust_trylock, lll_robust_trylock): Removed.
705 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
706 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
707 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
708 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
709 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
710 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
711 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
712 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
713 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
714 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
715 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
716 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
717 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
718 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
719
58536726
FW
7202014-07-02 Florian Weimer <fweimer@redhat.com>
721
722 * manual/locale.texi (Locale Names): New section documenting
723 locale name syntax. Adjust menu and node chaining accordingly.
724 (Choosing Locale): Reference Locale Names, Locale Categories.
725 Mention setting LC_ALL=C. Reflect that name syntax is now
726 documented.
727 (Locale Categories): New section title. Reference Locale Names.
728 LC_ALL is an environment variable, but not a category.
729 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
730 description, now in Locale Name. Reference that section. Locale
731 name syntax is now documented.
732
4e8f95a0
FW
7332014-07-02 Florian Weimer <fweimer@redhat.com>
734
735 [BZ #17137]
736 * locale/findlocale.c (name_present, valid_locale_name): New
737 functions.
738 (_nl_find_locale): Use the loc_name variable to store name
739 candidates. Call name_present and valid_locale_name to check and
740 validate locale names. Return an error if the locale is invalid.
741
d1836456
FW
7422014-07-02 Florian Weimer <fweimer@redhat.com>
743
744 * locale/setlocale.c (setlocale): Use strdup for allocating
745 composite name copy.
746
d69b7f5a
SP
7472014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
748
888c679b
SP
749 Sync up with gnulib.
750 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
751 [!_LIBC && ENABLE_NLS]: Include gettext.h.
752 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
753 and _GL_ARG_NONNULL.
754 [USE_UNLOCKED_IO]: Include unlocked-io.h.
755 [!_LIBC]: Include code for Windows and Cygwin.
756 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
757 Include prototype for int strerror_r.
758 [!_LIBC] (is_open): New function.
759 (flush_stdout): New function.
760 (print_errno_message): Use it.
761 (error): Likewise.
762 (error_at_line): Likewise.
763 (error_tail) Add function attribute macros. Use
764 __builtin_expect.
765
180e0e4b
SP
766 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
767
d22f1fe2
SP
768 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
769
12f2254b
SP
770 * io/ftw.c: Include sys/param.h unconditionally.
771
c3c7c360
SP
772 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
773
d62aa75a
SP
774 [BZ #17125]
775 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
776 libc_freeres_ptr.
777 (freecache): New function to free CACHE on exit.
778
d69b7f5a
SP
779 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
780 initialization.
781
5efe06a1
DM
7822014-07-09 David S. Miller <davem@davemloft.net>
783
784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
785
7000d82e
DM
786 * sysdeps/sparc/nptl/internaltypes.h: Delete.
787 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
788 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
789 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
790 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
791 * sysdeps/sparc/nptl/sem_init.c: Likewise.
792 * sysdeps/sparc/nptl/sem_post.c: Likewise.
793 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
794 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
795 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
796 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
797 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
798 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
799
c213442d
AS
8002014-07-09 Andreas Schwab <schwab@suse.de>
801
4a2552c3
AS
802 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
803 output.
804 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
805 (do_test): Likewise.
806
c213442d
AS
807 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
808
82374e65
WN
8092014-07-09 Will Newton <will.newton@linaro.org>
810
811 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
812 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
813 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
814 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
815 * sysdeps/hppa/start.S (_start): Likewise.
816
6680738a
SP
8172014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
818
6ee3eab4
SP
819 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
820
6680738a
SP
821 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
822 defined.
823
80b5c505
SP
8242014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
825
e35c53e3
SP
826 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
827 after checking that it is non-NULL.
828
80b5c505
SP
829 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
830
91f4b564
AZ
8312014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
832
27b75f56
AZ
833 * sysdeps/powerpc/memmove.c: Remove file.
834 * sysdeps/powerpc/powerpc32/power4/memcopy.h
835 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
836 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
837 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
838 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
839 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
840 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
841 string memmove instead of removed powerpc one.
842
e7f95bb5
AZ
843 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
844 [weak_alias]: Fix compiler warning due trailing data.
845 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
846 [weak_alias]: Likewise.
847 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
848 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
849
91f4b564
AZ
850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
851 (__libc_ifunc_impl_list): Add memmove functions.
852
7c33f1e5
SP
8532014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
854
855 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
856 Remove code.
857 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
858 Likewise
859 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
860 Likewise
861 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
862 Likewise
863 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
864 Likewise
865 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
866 Likewise
867 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
868 Likewise
869 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
870 Likewise
871 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
872 Likewise
873 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
874 Likewise
875 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
876 Likewise
877 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
878 Likewise
879 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
880 Likewise
881 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
882 Likewise
883 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
884 Likewise
885 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
886 Likewise
887 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
888 Likewise
889
3f17b03b
AZ
8902014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891
87868c24
AZ
892 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
893 to avoid alignment traps in non-cacheable memory.
894 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
895
07aedd78
AZ
896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
897 multiarch objects.
898 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
899 file: multiarch power7 memmove.
900 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
901 multiarch default memmove.
902 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
903 multiarch memove for powerpc32/power4.
904
17762f66
AZ
905 * string/bcopy.c: Use full path to include memmove.c.
906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
907 multiarch objects.
908 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
909 bcopy for powerpc64.
910 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
911 bcopy for powerpc64.
912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
913 and memmove implementations.
914 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
915 optimized multiarch memmove for POWER7/powerpc64.
916 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
917 default multiarch memmove for powerpc64.
918 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
919 multiarch for powerpc64.
920 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
921 for POWER7/powerpc64.
922 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
923 memmove for POWER7/powerpc64.
924
d6f68bbe
AZ
925 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
926 glibc default one.
927
3f17b03b
AZ
928 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
929 __ELF_NATIVE_CLASS equal to 64.
930
08192659
RM
9312014-07-07 Roland McGrath <roland@hack.frob.com>
932
f4c4021b
RM
933 * sysdeps/nptl/lowlevellock.h: File removed.
934
f083450f
RM
935 * NEWS: NPTL is no longer an add-on!
936 * nptl/internaltypes.h: Moved ...
937 * sysdeps/nptl/internaltypes.h: ... here.
938 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
939 * sysdeps/nptl/fork.c: Likewise.
940 * sysdeps/nptl/gai_misc.h: Likewise.
941 * sysdeps/nptl/librt-cancellation.c: Likewise.
942 * sysdeps/nptl/jmp-unwind.c: Likewise.
943 * sysdeps/nptl/setxid.h: Likewise.
944 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
945 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
946 * sysdeps/unix/sysv/linux/arm/Implies: New file.
947 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
948 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
949 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
950 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
951 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
952 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
953 * sysdeps/unix/sysv/linux/mips/Implies: New file.
954 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
955 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
956 * sysdeps/unix/sysv/linux/sh/Implies: New file.
957 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
958 * sysdeps/unix/sysv/linux/tile/Implies: New file.
959 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
960 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
961 * nptl/Makeconfig: Moved ...
962 * sysdeps/nptl/Makeconfig: ... here.
963 * nptl/configure: File removed.
964 * nptl/ANNOUNCE: File removed.
965 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
966 * sysdeps/unix/sysv/linux/configure: Regenerated.
967
08192659
RM
968 * nptl/Makefile (routines): Add libc_pthread_init,
969 libc_multiple_threads, register-atfork and unregister-atfork.
970 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
971 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
972 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
973 pthread-pi-defines.sym, structsem.sym.
974 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
975 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
976 [$(subdir) = nptl] (tests): Add tst-setgetname.
977 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
978 * sysdeps/unix/sysv/linux/sigaction.c: Just include
979 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
980 [!LIBC_SIGACTION]: Remove aliases.
981 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
982 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
983 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
984 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
985 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
986 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
988 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
989 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
990 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
991 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
992 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
993 __libc_allocate_rtsig_private.
994 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
995 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
996 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
997 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
998 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
999 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1000 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1001 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1002 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1003 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1004 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1005 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1006 * nptl/internaltypes.h: ... here.
1007 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1008 * sysdeps/nptl/jmp-unwind.c: ... here.
1009 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1010 * nptl/libc-lowlevellock.c: ... here.
1011 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1012 * nptl/libc_multiple_threads.c: ... here.
1013 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1014 * nptl/libc_pthread_init.c: ... here.
1015 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1016 * nptl/lowlevelbarrier.sym: ... here.
1017 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1018 * nptl/lowlevelcond.sym: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1020 * nptl/lowlevellock.c: ... here.
1021 * nptl/lowlevellock.h: Moved ...
1022 * sysdeps/nptl/lowlevellock.h: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1024 * nptl/lowlevelrobustlock.c: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1026 * nptl/lowlevelrobustlock.sym: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1028 * nptl/lowlevelrwlock.sym: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1030 * nptl/pt-fork.c: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1032 * nptl/pthread-pi-defines.sym: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1034 * nptl/pthread_attr_getaffinity.c: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1036 * nptl/pthread_attr_setaffinity.c: ... here.
1037 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1038 * nptl/pthread_mutex_cond_lock.c: ... here.
1039 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1040 Update #include.
1041 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1042 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1043 * nptl/pthread_once.c: ... here, replacing old file.
1044 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1045 * nptl/pthread_yield.c: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1047 * nptl/register-atfork.c: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1049 * nptl/sem_post.c: ... here.
1050 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1051 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1052 * nptl/sem_timedwait.c: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1054 * nptl/sem_trywait.c: ... here.
1055 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1056 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1057 * nptl/sem_wait.c: ... here.
1058 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1059 * nptl/structsem.sym: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1061 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1062 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1063 * nptl/unregister-atfork.c: ... here.
1064 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1065 * nptl/unwindbuf.sym: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1067 * sysdeps/nptl/fork.c: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1069 * sysdeps/nptl/fork.h: ... here.
1070 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1071 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1072 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1073 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1074 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1075 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1076 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1077 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1078 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1079 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1080 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1082 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1084 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1086 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1088 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1090 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1092 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1094 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1096 * sysdeps/unix/sysv/linux/raise.c: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1098 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1100 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1102 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1104 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1106 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1108 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1110 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1111 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1112
96baf6ff
SP
11132014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1114
1115 * sysdeps/generic/memcopy.h: Add comment for
1116 MEMCPY_OK_FOR_FWD_MEMMOVE.
1117
6b7b14b2
WN
11182014-07-04 Will Newton <will.newton@linaro.org>
1119
1570a72b
WN
1120 * string/memchr.c: Merge from gnulib.
1121 [_LIBC]: Remove conditionals.
1122 (__ptr_t): Remove define.
1123 (LONG_MAX_32_BITS): Likewise.
1124 (LONG_MAX): Likewise.
1125 (MEMCHR): Use ANSI prototype and optimize algorithm.
1126
6b7b14b2
WN
1127 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1128
38851324
SP
11292014-07-03 Roland McGrath <roland@hack.frob.com>
1130
3d9eb57c
RM
1131 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1132 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1133
78b984ae
RM
1134 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1135 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1136 in a bare environment with no <stdlib.h> installed.
1137 * sysdeps/nptl/configure: Regenerated.
1138
2d5976a5
RM
1139 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1140
c1f5acd4
RM
1141 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1142 AC_EGREP_CPP for kernel header checks, so they only succeed if
1143 including <linux/version.h> actually works right.
1144 * sysdeps/unix/sysv/linux/configure: Regenerated.
1145
4d614fe5
RM
1146 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1147 value so it's not diagnosed as unused.
1148
38851324
SP
1149 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1150 thing) with "ifeq ($(subdir),rt)".
1151
b3ec00e5
RH
11522014-07-03 Richard Henderson <rth@redhat.com>
1153
69862e25
RH
1154 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1155 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1156 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1157
d5e16ade
RH
1158 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1159 (math_force_eval): New.
1160
ca7b945c
RH
1161 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1162 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1163
cd1175a3
RH
1164 * sysdeps/alpha/fpu/s_round.c: Remove file.
1165 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1166
b3ec00e5
RH
1167 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1168 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1169 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1170 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1171 (_dl_start, print_statistics): Likewise.
1172 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1173 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1174
1175 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1176 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1177 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1178 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1179 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1180 (HP_SMALL_TIMING_AVAIL): Define.
1181 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1183 (HP_SMALL_TIMING_AVAIL): Define.
1184 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1185 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1186
1187 * sysdeps/aarch64/hp-timing.h: New file.
1188
1189 * sysdeps/generic/hp-timing.h: Remove dead comment.
1190 * sysdeps/generic/hp-timing-common.h: New file.
1191 * sysdeps/alpha/hp-timing.h: Include it.
1192 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1193 * sysdeps/i386/i686/hp-timing.h: Likewise.
1194 * sysdeps/ia64/hp-timing.h: Likewise.
1195 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1196 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1197 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1198 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1199 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1200 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1201 (hp_timing_t): New.
1202
1203 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1204 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1205 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1206 * elf/rtld.c (_dl_start_final): Likewise.
1207 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1208 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1209 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1210 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1211 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1213 (HP_TIMING_DIFF_INIT): Remove.
1214 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1215 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1216 (HP_TIMING_DIFF_INIT): Remove.
1217 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1218 * sysdeps/i386/i686/hp-timing.c: Remove file.
1219 * sysdeps/x86_64/hp-timing.c: Remove file.
1220 * sysdeps/ia64/hp-timing.c: Remove file.
1221 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1222 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1223 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1224 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1225
1226 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1227 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1228 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1229 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1230 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1231 (HP_TIMING_ACCUM): Remove.
1232 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1233 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1234 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1235
1236 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1237 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1238 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1239 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1240 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1241 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1242 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1243 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1244
1245 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1246
225f410f
MR
12472014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1248
1249 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1250
3247f285
SP
12512014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1252
1253 Sync up with gettext.
1254 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1255 [_MSC_VER]: Include malloc.h
1256 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1257 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1258 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1259 TEMP_FAILURE_RETRY. Cast return of alloca.
1260 [!_LIBC] Call gl_rwlock_init.
1261 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1262
d12704c7
SP
12632014-07-02 Roland McGrath <roland@hack.frob.com>
1264
1265 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1266 before checking its value.
1267
99f8dc92
SP
12682014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1269
05fdac77
SP
1270 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1271
99f8dc92
SP
1272 * debug/memcpy_chk.c: Don't include pagecopy.h.
1273 * debug/mempcpy_chk.c: Likewise.
1274 * string/memcpy.c: Likewise.
1275 * string/memmove.c: Likewise.
1276 * sysdeps/powerpc/memmove.c: Likewise.
1277 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1278 definition of PAGE_COPY_FWD_MAYBE here...
1279 * sysdeps/generic/pagecopy.h: ... from here.
1280 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1281
bc8ea385
VR
12822014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1283 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284
1285 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1287 optimizations.
1288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1289 (__libc_ifunc_impl_list): Likewise.
1290 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1291 multiarch strcat for PPC64.
1292 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1293 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1294
fe5f34e4
RM
12952014-07-02 Roland McGrath <roland@hack.frob.com>
1296
1297 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1298
256aa665
SP
12992014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1300
d4eb8195
SP
1301 * intl/loadmsgcat.c: Remove declaration of
1302 get_sysdep_segment_value.
1303 (get_sysdep_segment_value): Use ISO C style.
1304 (_nl_load_domain): Use ISO C style. Get rid of redundant
1305 semicolon. Fix typo and formatting in comment.
1306 (_nl_unload_domain): Use ISO C style.
1307
256aa665
SP
1308 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1309
b100f9aa
WN
13102014-07-02 Will Newton <will.newton@linaro.org>
1311
1312 * malloc/obstack.c: Merge from gnulib master.
1313 [HAVE_CONFIG_H]: Remove conditional code.
1314 [!_LIBC]: Include config.h.
1315 [!ELIDE_CODE]: Don't include inttypes.h, include
1316 stdint.h unconditionally.
1317 (print_and_abort): Mark as _Noreturn.
1318 (_obstack_allocated_p): Mark as __attribute_pure__.
1319 (obstack_free): Rename to __obstack_free.
1320 [!__attribute__]: Remove conditional code.
1321 * malloc/obstack.h: Merge from gnulib master.
1322 [__cplusplus]: Move conditional down.
1323 [!__attribute_pure__]: Define __attribute_pure__ here
1324 if it is not already defined.
1325 (_obstack_memory_used): Mark as __attribute_pure__.
1326 [!__obstack_free]: Define as obstack_free.
1327 [__GNUC__]: Remove check for ancient NeXT gcc.
1328
c4c41244
PE
13292014-07-02 Will Newton <will.newton@linaro.org>
1330 Paul Eggert <eggert@cs.ucla.edu>
1331
1332 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1333
e1e041c4
SP
13342014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1335
1336 * resolv/gethnamaddr.c: Add comment warning that the file is
1337 not maintained.
1338
ccf431ff
CD
13392014-07-01 Carlos O'Donell <carlos@redhat.com>
1340
d34570a6
CD
1341 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1342 entries.
1343
ccf431ff
CD
1344 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1345 entry for aio_cancel and aio_cancel64.
1346 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1347 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1348 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1349 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1350 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1351 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1352 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1353 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1354 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1355 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1356 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1357 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1358 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1359
ca06321d
RM
13602014-07-01 Roland McGrath <roland@hack.frob.com>
1361
1362 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1363 * nptl/pthread_mutex_lock.c: Likewise.
1364 * nptl/pthread_mutex_timedlock.c: Likewise.
1365 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1366
a1ac3184
RH
13672014-07-01 Richard henderson <rth@redhat.com>
1368
631021e0
RH
1369 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1370 (__isnan, __isnanl): Remove.
1371 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1372
a1ac3184
RH
1373 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1374
0c1d731f
SL
13752014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1376
1377 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1378
76985d3e
SP
13792014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1380
1381 * resolv/nss_dns/dns-host.c (getanswer_r)
1382 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1383
b0cb3096
JM
13842014-07-01 Joseph Myers <joseph@codesourcery.com>
1385
1386 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1387 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1388 undefine.
1389 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1390 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1391
4d76cb39
RM
13922014-07-01 Roland McGrath <roland@hack.frob.com>
1393
1394 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1395 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1396
1397 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1398 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1399
1400 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1401 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1402 ... here.
1403 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1404 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1405
1406 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1407 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1408 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1409 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1410
1411 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1412 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1413 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1414 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1416 Moved ...
1417 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1418 ... here.
1419 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1420 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1421 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1422 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1424 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1436 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1439 ... here.
1440 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1443 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1444 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1445 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1446 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1447 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1448
0cdcad17
DH
14492014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1450
1451 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1452 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1453 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1454 Add sysdep.
1455
9b71d0e3
AZ
14562014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457
1458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1459
665390c2
JM
14602014-06-30 Joseph Myers <joseph@codesourcery.com>
1461
ae05a9d7
JM
1462 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1463 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1464
a7672a2f
JM
1465 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1466
665390c2
JM
1467 * sysdeps/arm/libm-test-ulps: Regenerated.
1468
d7a05d07
MR
14692014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1470 Roland McGrath <roland@hack.frob.com>
1471
1472 * test-skeleton.c (signal_handler): Kill the whole process group
1473 before killing the child individually.
1474 (main): Report any failure on `setpgid'.
1475
46f1d8a6
RM
14762014-06-30 Roland McGrath <roland@hack.frob.com>
1477
1478 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1479 from _TLS_H to _ARM_NPTL_TLS_H.
1480 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1481 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1482
9c37ec0b
JM
14832014-06-30 Joseph Myers <joseph@codesourcery.com>
1484
ce9c5b3e
JM
1485 [BZ #16539]
1486 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1487 (__expm1l): Return argument unchanged when small but not
1488 subnormal.
1489
3a6e9887
JM
1490 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1491 include macro name.
1492 (_FP_UNPACK_RAW_1_P): Likewise.
1493 (_FP_PACK_RAW_1): Likewise.
1494 (_FP_PACK_RAW_1_P): Likewise.
1495 (_FP_MUL_MEAT_1_wide): Likewise.
1496 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1497 (_FP_MUL_MEAT_1_hard): Likewise.
1498 (_FP_DIV_MEAT_1_imm): Likewise.
1499 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1500 (_FP_DIV_MEAT_1_udiv): Likewise.
1501 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1502 (_FP_UNPACK_RAW_2): Likewise.
1503 (_FP_UNPACK_RAW_2_P): Likewise.
1504 (_FP_PACK_RAW_2): Likewise.
1505 (_FP_PACK_RAW_2_P): Likewise.
1506 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1507 (_FP_MUL_MEAT_2_wide): Likewise.
1508 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1509 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1510 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1511 (_FP_MUL_MEAT_2_gmp): Likewise.
1512 (_FP_DIV_MEAT_2_udiv): Likewise.
1513 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1514 (_FP_FRAC_SRL_4): Likewise.
1515 (_FP_FRAC_SRST_4): Likewise.
1516 (_FP_FRAC_SRS_4): Likewise.
1517 (_FP_UNPACK_RAW_4): Likewise.
1518 (_FP_UNPACK_RAW_4_P): Likewise.
1519 (_FP_PACK_RAW_4): Likewise.
1520 (_FP_PACK_RAW_4_P): Likewise.
1521 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1522 (_FP_MUL_MEAT_4_wide): Likewise.
1523 (_FP_MUL_MEAT_4_gmp): Likewise.
1524 (umul_ppppmnnn): Likewise.
1525 (_FP_DIV_MEAT_4_udiv): Likewise.
1526 (__FP_FRAC_ADD_4): Likewise.
1527 (__FP_FRAC_SUB_3): Likewise.
1528 (__FP_FRAC_SUB_4): Likewise.
1529 (__FP_FRAC_DEC_3): Likewise.
1530 (__FP_FRAC_DEC_4): Likewise.
1531 (__FP_FRAC_ADDI_4): Likewise.
1532 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1533 (_FP_FRAC_SRL_8): Likewise.
1534 (_FP_FRAC_SRS_8): Likewise.
1535
9c37ec0b
JM
1536 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1537 include macro name.
1538 (FP_UNPACK_RAW_EP): Likewise.
1539 (FP_PACK_RAW_E): Likewise.
1540 (FP_PACK_RAW_EP): Likewise.
1541 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1542 (_FP_ISSIGNAN): Likewise.
1543 (_FP_ADD_INTERNAL): Likewise.
1544 (_FP_FMA): Likewise.
1545 (_FP_CMP): Likewise.
1546 (_FP_SQRT): Likewise.
1547 (_FP_TO_INT): Likewise.
1548 (_FP_FROM_INT): Likewise.
1549 (FP_EXTEND): Likewise.
1550 (_FP_DIV_MEAT_N_loop): Likewise.
1551
2125f674
MR
15522014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1553
1554 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1555 throughout.
1556
edea4028
JM
15572014-06-29 Joseph Myers <joseph@codesourcery.com>
1558
1559 [BZ #17097]
1560 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1561 result with correct sign in case of exponents that produce
1562 overflow except for X very close to 1.
1563
dd0ba018
PE
15642014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1565
1566 mktime: merge #if/#ifdef usage from glibc
1567 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1568 as that works with both Glibc's and Gnulib's style.
1569 See thread starting at Siddhesh Poyarekar's bug report at:
1570 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1571
64df73c2
SP
15722014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1573
1574 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1575 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1576 * sysdeps/tile/tilegx/memmove.c: Remove file.
1577
f1eafb41
JM
15782014-06-27 Joseph Myers <joseph@codesourcery.com>
1579
1580 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1581 abi-name definition.
1582 * scripts/soversions.awk: Do not handle or generate ABI lines.
1583 * shlib-versions: Remove ABI entries.
1584 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1585 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1586
58eb0862
RM
15872014-06-27 Roland McGrath <roland@hack.frob.com>
1588
37caf178
RM
1589 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1590 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1591 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1592 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1594 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1596 Moved ...
1597 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1598 ... here.
1599 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1600 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1602 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1604 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1606 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1612 Moved ...
1613 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1617 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1619 Moved ...
1620 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1622 Moved ...
1623 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1627 Moved ...
1628 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1636 Moved ...
1637 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1641 Moved ...
1642 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1644 Moved ...
1645 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1646 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1649 Moved ...
1650 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1651 ... here.
1652 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1653 Identical file removed.
1654 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1655 Moved ...
1656 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1658 Identical file removed.
1659 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1660 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1662 Moved ...
1663 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1665 Identical file removed.
1666 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1669 Identical file removed.
1670 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1671 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1673 Identical file removed.
1674 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1677 Identical file removed.
1678 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1679 Moved ...
1680 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1682 Identical file removed.
1683 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1684 Moved ...
1685 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1689 Identical file removed.
1690 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1691 Moved ...
1692 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1693 ... here.
1694 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1695 Identical file removed.
1696 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1697 Moved ...
1698 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1700 Identical file removed.
1701 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1702 Moved ...
1703 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1704 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1705 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1709 Moved ...
1710 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1711 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1712 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1713
58eb0862
RM
1714 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1715 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1716 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1717 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1718 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1719
6f12d062
AS
17202014-06-27 Arjun Shankar <arjun.is@lostca.se>
1721
1722 [BZ #17092]
1723 * nscd/nscd.c (monitor_child): Return exit status of child
1724 instead of return value from wait syscall.
1725
be254932
JM
17262014-06-27 Joseph Myers <joseph@codesourcery.com>
1727
cb403c34
JM
1728 * configure.ac (libc_commonpagesize): Remove variable.
1729 (libc_relro_required): Likewise.
1730 (libc_cv_z_relro): Remove configure test.
1731 * configure: Regenerated.
1732 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1733 variable.
1734 (libc_relro_required): Likewise.
1735 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1736 (libc_relro_required): Likewise.
1737 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1738 (libc_relro_required): Likewise.
1739 * sysdeps/arm/preconfigure: Regenerated.
1740 * sysdeps/ia64/preconfigure: Remove file.
1741 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1742 variable.
1743 (libc_relro_required): Likewise.
1744
be254932
JM
1745 [BZ #16561]
1746 [BZ #16562]
1747 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1748 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1749 recompute overflowing results in original rounding mode.
1750 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1751 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1752 recompute overflowing results in original rounding mode.
1753 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1754 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1755 recompute overflowing results in original rounding mode.
1756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1757 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1758 recompute overflowing results in original rounding mode.
1759 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1760 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1761 recompute overflowing results in original rounding mode.
1762 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1763 (libc_feholdsetround_ctx): New macro.
1764 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1765 * sysdeps/i386/fpu/libm-test-ulps: Update.
1766 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1767
b351d85a
JM
17682014-06-26 Joseph Myers <joseph@codesourcery.com>
1769
1770 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1771 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1772 corresponding .cpsetup call.
1773
3cb4de47
RM
17742014-06-26 Roland McGrath <roland@hack.frob.com>
1775
1776 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1777 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1778 * sysdeps/arm/Makefile [$(subdir) = csu]
1779 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1780 (static-only-routines): Add aeabi_read_tp here.
1781 (shared-only-routines): Add libc-aeabi_read_tp here.
1782 (CFLAGS-libc-start.c): Add -fexceptions here.
1783 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1784 (sysdep_routines, static-only-routines, shared-only-routines):
1785 Don't add to these here.
1786 (CFLAGS-libc-start.c): Likewise.
1787
1788 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1789 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1790 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1791 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1792 * sysdeps/arm/Makefile [$(subdir) = rt]
1793 (librt-sysdep_routines, librt-shared-only-routines):
1794 Append rt-aeabi_unwind_cpp_pr1 here.
1795 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1796 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1797 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1798 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1799 Append nptl-aeabi_unwind_cpp_pr1 here.
1800 (tests): Filter out tst-cleanupx4 here.
1801 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1802 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1803 Don't do those here.
1804
354426bb
JM
18052014-06-26 Joseph Myers <joseph@codesourcery.com>
1806
1807 * scripts/list-sources.sh: Do not handle ports specially.
1808
28b0a8c9
RM
18092014-06-26 Roland McGrath <roland@hack.frob.com>
1810
a3dd035d
RM
1811 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1812 * sysdeps/arm/feupdateenv.c: Likewise.
1813
28b0a8c9
RM
1814 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1815
e66a8203
JM
18162014-06-26 Joseph Myers <joseph@codesourcery.com>
1817
1818 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1819 trailing whitespace removed.
1820 * scripts/config.guess: Update to version 2014-03-23.
1821 * scripts/config.sub: Update to version 2014-05-01
1822 * scripts/install-sh: Update to version 2013-12-25.23.
1823 * scripts/move-if-change: Update from gnulib.
1824
74171115
SP
18252014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1826
b97c9ce5
SP
1827 * debug/memmove_chk.c: Remove pagecopy.h include.
1828
4000f892
SP
18292014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1830
74171115
SP
1831 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1832 identical to gnulib mktime.
1833
a8779c28
JM
18342014-06-26 Joseph Myers <joseph@codesourcery.com>
1835
e64708de
JM
1836 * configure.ac: Do not test for machine being rs6000. Do not test
1837 for powerpc*-*soft.
1838 * configure: Regenerated.
1839
a8779c28
JM
1840 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1841 test.
1842 * configure: Regenerated.
1843 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1844 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1845 Remove configure test.
1846 * sysdeps/arm/configure: Regenerated.
1847 * sysdeps/nptl/configure.ac: Do not check
1848 libc_cv_asm_cfi_directives.
1849 * sysdeps/nptl/configure: Regenerated.
1850 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1851 * sysdeps/x86_64/nptl/configure: Remove generated file.
1852 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1853 unconditional.
1854 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1855
2aac0a86
SP
18562014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1857
059bf913
SP
1858 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1859 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1860 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1861 it is defined.
1862
4cf5b6d0
SP
1863 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1864 instead of whether it is defined.
1865 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1866 * sysdeps/hppa/dl-machine.h: Likewise.
1867 * sysdeps/ia64/dl-machine.h: Likewise.
1868 * sysdeps/m68k/dl-machine.h: Likewise.
1869 * sysdeps/microblaze/dl-machine.h: Likewise.
1870 * sysdeps/mips/dl-machine.: Likewise.
1871 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1872 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1873 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1874 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1875 * sysdeps/sh/dl-machine.h: Likewise.
1876 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1877 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1878 * sysdeps/tile/dl-machine.h: Likewise.
1879 * sysdeps/x86_64/dl-machine.h: Likewise.
1880
2aac0a86
SP
1881 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1882 code.
1883 (verify_persistent_db): Likewise.
1884
6ad2df0b
RM
18852014-06-26 Roland McGrath <roland@hack.frob.com>
1886
d8a483f3
RM
1887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1888 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1890 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1892 Moved ...
1893 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1894 ... here.
1895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1896 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1898 Identical file removed.
1899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1900 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1902 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1904 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1910 Moved ...
1911 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1913 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1915 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1917 Moved ...
1918 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1922 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1924 Identical file removed.
1925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1926 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1930 Moved ...
1931 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1932 ... here.
1933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1934 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1936 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1938 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1940 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1944 Moved ...
1945 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1947 Moved ...
1948 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1952 Moved ...
1953 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1956
52ae23b4
RM
1957 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1958 folded into ...
1959 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1960 * sysdeps/unix/sysv/linux/s390/Versions
1961 (libpthread: GLIBC_2.19): New version set.
1962 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1963 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1964 (librt: GLIBC_2.3.3): New version set.
1965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1966 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1967 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1968 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1969 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1970 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1971 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1972 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1973 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1974 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1975 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1977 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1979 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1981 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1983 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1985 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1987 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1989 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1991 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1993 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1995 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1999 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2001 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2003 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2005 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2007 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2009 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2010
39507e4a
RM
2011 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2012 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2013 (__libc_vfork): Define the function under this name.
2014 [!NOT_IN_libc] (__vfork): Make this an alias.
2015 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2017 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2018 (__libc_vfork): Define the function under this name.
2019 [!NOT_IN_libc] (__vfork): Make this an alias.
2020 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2021 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2022 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2025 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2026
e549ee56
RM
2027 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2028 code that was previously under [RESET_PID].
2029 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2030 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2031 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2032
6ad2df0b
RM
2033 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2034 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2035 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2036 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2037 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2038 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2039 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2040 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2041 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2042 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2043 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2044 Moved ...
2045 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2047 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2048 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2049 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2050 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2051 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2053 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2063 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2065 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2067 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2069 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2070 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2071 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2072 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2073 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2074
7c1c1d8e
RM
20752014-06-25 Roland McGrath <roland@hack.frob.com>
2076
2077 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2078 that was previously under [RESET_PID].
2079 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2080
3e239be6
JM
20812014-06-25 Joseph Myers <joseph@codesourcery.com>
2082
74385da5
JM
2083 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2084 not undefine and redefine.
2085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2086 [O_CLOEXEC]: Make code unconditional.
2087 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2088 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2089 <kernel-features.h>.
2090 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2091 conditional variable definition.
2092 (shm_open) [O_CLOEXEC]: Make code unconditional.
2093 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2094 code.
2095
c2570a0b
JM
2096 * configure.ac (USE_REGPARMS): Don't define here.
2097 * configure: Regenerated.
2098 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2099 * sysdeps/i386/configure: Regenerated.
2100
11b076bb
JM
2101 * nptl/createthread.c: Don't include kernel-features.h.
2102 * nptl/pthread_cancel.c: Likewise.
2103 * nptl/pthread_condattr_setclock.c: Likewise.
2104 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2105 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2106 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2107 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2108 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2109 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2110 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2111 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2112 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2113 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2114 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2115 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2116 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2117 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2118 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2119 * nscd/gai.c: Likewise.
2120 * nss/nss_db/db-open.c: Likewise.
2121 * sysdeps/generic/ldsodefs.h: Likewise.
2122 * sysdeps/sh/nptl/tls.h: Likewise.
2123 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2124 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2125 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2126 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2127 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2128 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2129 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2130 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2132 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2133 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2134 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2135 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2136 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2137 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2138 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2139 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2140 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2141 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2142 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2143 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2144 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2145 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2146 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2147 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2148 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2149 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2150 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2151 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2152 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2153 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2154 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2155 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2156 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2157 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2158 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2159 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2160 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2161 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2162 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2163 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2164 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2165 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2166 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2167 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2168 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2169 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2170 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2171 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2172 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2173 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2174 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2175 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2176 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2177 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2178 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2179 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2203 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2204 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2205 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2206 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2207 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2209 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2210 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2211 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2212 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2213 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2214 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2215 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2216 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2217 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2218 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2220 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2221 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2222 * sysdeps/unix/sysv/linux/system.c: Likewise.
2223 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2224 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2225 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2226 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2227 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2228 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2229 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2230
92072d57
JM
2231 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2232 * configure: Regenerated.
2233 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2234
3e239be6
JM
2235 * configure.ac (base_machine): Do not set specially for particular
2236 machines here.
2237 * configure: Regenerated.
2238 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2239 settings from configure.ac.
2240 * sysdeps/i386/preconfigure: New file.
2241 * sysdeps/s390/preconfigure: Likewise.
2242 * sysdeps/sh/preconfigure: Likewise.
2243 * sysdeps/sparc/preconfigure: Likewise.
2244
06d50baa
RM
22452014-06-25 Roland McGrath <roland@hack.frob.com>
2246
74836003
RM
2247 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2248 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2249 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2250 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2251 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2252 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2253 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2254 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2255 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2256 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2257 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2258 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2259 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2260 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2261 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2262 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2263 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2264 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2265 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2266
2267 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2268 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2269 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2270 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2271 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2272 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2273 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2274 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2275 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2276 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2277 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2278 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2279 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2280 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2281 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2282 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2283 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2284 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2285 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2286 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2287 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2288 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2289 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2290 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2291 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2292 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2293 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2294 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2295 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2296 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2297 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2298 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2299 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2300 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2301 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2302 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2303 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2304 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2305
06d50baa
RM
2306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2307 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2311 Moved ...
2312 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2313 ... here.
2314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2319 Moved ...
2320 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2322 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2326 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2328 Moved ...
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2331 Moved ...
2332 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2336 Moved ...
2337 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2341 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2343 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2347 Moved ...
2348 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2349 ... here.
2350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2355 Moved ...
2356 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2364 Moved ...
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2367 Moved ...
2368 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2372 Moved ...
2373 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2377 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2378
a4ccbc9b
JM
23792014-06-25 Joseph Myers <joseph@codesourcery.com>
2380
0828edbf
JM
2381 * timezone/checktab.awk: Update from tzcode 2014e.
2382 * timezone/private.h: Likewise.
2383 * timezone/tzfile.h: Likewise.
2384 * timezone/zdump.c: Likewise.
2385 * timezone/zic.c: Likewise.
2386
a4ccbc9b
JM
2387 * sysdeps/unix/sysv/linux/kernel-features.h
2388 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2389 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2390 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2391 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2392 Remove conditional code.
2393
9aea0cb8
WN
23942014-06-25 Will Newton <will.newton@linaro.org>
2395
2396 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2397 (_dl_arm_cap_flags): Add HWCAP2 values.
2398 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2399 (_DL_HWCAP_COUNT): Increase to 37.
2400 (_DL_HWCAP_LAST): New define.
2401 (_DL_HWCAP2_LAST): New define.
2402 (_dl_procinfo): Add support for printing
2403 AT_HWCAP2 entries.
2404 (_dl_string_hwcap): Use _dl_hwcap_string.
2405
6eaa65ce
AZ
24062014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2407
2408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2409
0f5b7185
JM
24102014-06-25 Joseph Myers <joseph@codesourcery.com>
2411
cfd2ea50
JM
2412 * README: Do not mention ports directory.
2413
cecf2ed4
JM
2414 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2415 Remove macro.
2416 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2417 <kernel-features.h>.
2418 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2419 conditional variable definition.
2420 (__futimes): Update comment.
2421 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2422 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2423
a638de82
JM
2424 [BZ #16560]
2425 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2426 arguments close to 0.
2427 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2428 Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2430 Likewise.
2431 * math/auto-libm-test-in: Add more tests of exp10.
2432 * math/auto-libm-test-out: Regenerated.
2433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2434
0f5b7185
JM
2435 * sysdeps/unix/sysv/linux/kernel-features.h
2436 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2437 * sysdeps/unix/sysv/linux/readv.c: Do not include
2438 <kernel-features.h>.
2439 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2440 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2441 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2442 unconditional.
2443 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2444 conditional code.
2445 * sysdeps/unix/sysv/linux/writev.c: Do not include
2446 <kernel-features.h>.
2447 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2448 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2449 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2450 unconditional.
2451 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2452 conditional code.
2453
c7aec4be
WN
24542014-06-25 Will Newton <will.newton@linaro.org>
2455
2456 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2457 comment changes throughout the file. Remove checks
2458 for HAVE_*_H definitions that are not required.
2459 (__gen_tempname): Call abort if an unknown kind value is
2460 passed.
2461
c5241f95
AS
24622014-06-25 Andreas Schwab <schwab@suse.de>
2463
2464 [BZ #17086]
2465 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2466 scalbln, scalblnf, scalblnl in libc.
2467
911422da
SP
24682014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2469
2470 [BZ #17086]
2471 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2472 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2473 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2474
0d749bbe
RM
24752014-06-24 Roland McGrath <roland@hack.frob.com>
2476
2477 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2478 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2479 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2480 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2481 Update #include.
2482 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2483 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2484 Update #include.
2485 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2486 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2487 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2488 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2489 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2490 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2491 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2492 * sysdeps/x86/bits/semaphore.h: ... here.
2493 * sysdeps/x86/nptl/elide.h: Moved ...
2494 * sysdeps/x86/elide.h: ... here.
2495 * sysdeps/x86_64/nptl/Implies: File removed.
2496 * sysdeps/i386/nptl/Implies: File removed.
2497
0ea5d373
JM
24982014-06-24 Joseph Myers <joseph@codesourcery.com>
2499
4060283d
JM
2500 [BZ #16539]
2501 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2502 return the argument for normal arguments with exponent below -64.
2503 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2504 Likewise.
2505 * math/auto-libm-test-in: Add another test of expm1.
2506 * math/auto-libm-test-out: Regenerated.
2507
e7dd3c8c
JM
2508 [BZ #16287]
2509 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2510 calling __erfcl for arguments at least 16.
2511 * math/auto-libm-test-in: Add more tests of erf.
2512 * math/auto-libm-test-out: Regenerated.
2513
0ea5d373
JM
2514 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2515 individual architectures.
2516 * sysdeps/unix/sysv/linux/configure: Regenerated.
2517 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2518 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2519 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2520 (ldd_rewrite_script): Define variable.
2521 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2523 file.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2525 generated file.
2526 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2527 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2528 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2529 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2530 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2531 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2532 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2533 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2534
2307e126
SP
25352014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2536
2537 [BZ #17084]
2538 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2539 Rename member __data.d to __data.__elision_data.
2540
c0a4ed77
W
25412014-06-24 Wilco <wdijkstr@arm.com>
2542
2543 * NEWS: Add 16918 to fixed bug list.
2544
b8c00573
W
25452014-06-24 Wilco <wdijkstr@arm.com>
2546
2547 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2548
b5570d92
W
25492014-06-24 Wilco <wdijkstr@arm.com>
2550
2551 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2552 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2553 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2554 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2555 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2556 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2557 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2558 Use _FPU_MASK_RM.
2559
947bdca2
W
25602014-06-24 Wilco <wdijkstr@arm.com>
2561
2562 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2563
00f669ed
W
25642014-06-24 Wilco <wdijkstr@arm.com>
2565
2566 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2567 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2568 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2569 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2570
db59bad3
W
25712014-06-24 Wilco <wdijkstr@arm.com>
2572
2573 [BZ #16918]
2574 * sysdeps/arm/feupdateenv.c (feupdateenv):
2575 Rewrite to reduce FPSCR accesses and fix return value.
2576
001f7b77
W
25772014-06-24 Wilco <wdijkstr@arm.com>
2578
2579 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2580 Optimize to avoid unnecessary FPSCR writes.
2581 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2582 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2583 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2584 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2585
4841e6a6
W
25862014-06-24 Wilco <wdijkstr@arm.com>
2587
2588 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2589 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2590 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2591 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2592 Call libc_fetestexcept_vfp.
2593 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2594 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2595 __SOFTFP__ ifdef so that they can be built for softfp.
2596
0813022c
SP
25972014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2598
08e5862f
SP
2599 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2600 argument type signed char.
2601
0813022c
SP
2602 * Makerules (check-abi): Dump diff of symlist if the test
2603 fails.
2604
3fc7236a
RM
26052014-06-23 Roland McGrath <roland@hack.frob.com>
2606
aba8ef95
RM
2607 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2608 using abort.
2609
3fc7236a
RM
2610 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2611 Remove unused variable ST.
2612
4da6db51
JM
26132014-06-23 Joseph Myers <joseph@codesourcery.com>
2614
4648909d
JM
2615 [BZ #16354]
2616 [BZ #17061]
2617 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2618 small arguments before calling __expm1.
2619 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2620 small arguments before calling __expm1f.
2621 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2622 small arguments before calling __expm1l.
2623 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2624 Likewise.
2625 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2626 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2627 spurious underflow for some cosh tests.
2628 * math/auto-libm-test-out: Regenerated.
2629 * sysdeps/i386/fpu/libm-test-ulps: Update.
2630
46a3d3c7
JM
2631 [BZ #17050]
2632 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2633 (__ieee754_y1): Set errno if return value overflows.
2634 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2635 (__ieee754_y1f): Set errno if return value overflows.
2636 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2637 (__ieee754_y1l): Set errno if return value overflows.
2638 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2639 (__ieee754_y1l): Set errno if return value overflows.
2640 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2641 * math/auto-libm-test-out: Regenerated.
2642
863893ec
JM
2643 * math/gen-auto-libm-tests.c: Document use of
2644 ignore-zero-inf-sign.
2645 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2646 (input_flags): Add ignore-zero-inf-sign.
2647 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2648 * math/gen-libm-test.pl (generate_testfile): Handle
2649 ignore-zero-inf-sign.
2650 * math/auto-libm-test-in: Mark some cpow tests with
2651 ignore-zero-inf-sign and some with xfail-rounding.
2652 * math/auto-libm-test-out: Regenerated.
2653 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2654 * sysdeps/i386/fpu/libm-test-ulps: Update.
2655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2656
4da6db51
JM
2657 [BZ #16315]
2658 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2659 overflowing or underflowing operations take place with sign of
2660 result.
2661 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2662 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2663 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2664 (__ieee754_pow): Recompute overflowing and underflowing results in
2665 original rounding mode.
2666 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2667 (__powl_helper): Allow negative argument X and scale negated value
2668 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2669 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2670 overflowing or underflowing operations take place with sign of
2671 result.
2672 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2673 Include <math.h>.
2674 * math/auto-libm-test-in: Add more tests of pow.
2675 * math/auto-libm-test-out: Regenerated.
2676 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2677 (pow_tonearest_test_data): Remove.
2678 (pow_test_tonearest): Likewise.
2679 (pow_towardzero_test_data): Likewise.
2680 (pow_test_towardzero): Likewise.
2681 (pow_downward_test_data): Likewise.
2682 (pow_test_downward): Likewise.
2683 (pow_upward_test_data): Likewise.
2684 (pow_test_upward): Likewise.
2685 (main): Don't call removed functions.
2686 * sysdeps/i386/fpu/libm-test-ulps: Update.
2687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2688
5686b236
RM
26892014-06-23 Roland McGrath <roland@hack.frob.com>
2690
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2692 Moved ...
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2695 Moved ...
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2698 Moved ...
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2701 Moved ...
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2704 File removed.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2706 File removed.
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2708 File removed.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2710 File removed.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2712 File removed.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2714 File removed.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2716 File removed.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2718 File removed.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2720 File removed.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2722 File removed.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2724 File removed.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2726 File removed.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2728 Moved ...
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2731 Moved ...
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2733 ... here.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2735 Moved ...
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2738 Moved ...
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2741 Moved ...
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2744 Moved ...
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2747 Moved ...
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2750 Moved ...
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2753 Moved ...
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2757 ... here.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2759 Moved ...
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2762 Moved ...
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2764 ... here.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2766 Moved ...
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2768 ... here.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2770 Moved ...
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2772 ... here.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2774 Moved ...
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2777 Moved ...
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2782 Moved ...
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2784 ... here.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2786 Moved ...
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2788 ... here.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2790 Moved ...
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2793 Moved ...
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2796 Moved ...
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2799 Moved ...
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2802 Moved ...
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2804 ... here.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2806 Moved ...
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2809 Moved ...
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2812 Moved ...
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2815 Moved ...
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2820 Moved ...
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2823 Moved ...
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2826 Moved ...
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2828 ... here.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2830 Moved ...
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2832 ... here.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2834 Moved ...
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2836 ... here.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2838 Moved ...
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2841 Moved ...
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2844 Moved ...
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2847 Moved ...
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2849 ... here.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2851 Moved ...
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2853 ... here.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2855 Moved ...
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2857 ... here.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2859 Moved ...
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2862 Moved ...
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2864
e6d90d67
WD
28652014-06-23 Will Newton <will.newton@linaro.org>
2866 Wilco <wdijkstr@arm.com>
2867
2868 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2869 implementation. Include get-rounding-mode.h.
2870 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2871 [!libc_feholdsetround_noex_ctx]: Define
2872 libc_feholdsetround_noex_ctx.
2873 [!libc_feholdsetround_noexf_ctx]: Define
2874 libc_feholdsetround_noexf_ctx.
2875 [!libc_feholdsetround_noexl_ctx]: Define
2876 libc_feholdsetround_noexl_ctx.
2877 (libc_feholdsetround_ctx): New function.
2878 (libc_feresetround_ctx): New function.
2879 (libc_feholdsetround_noex_ctx): New function.
2880 (libc_feresetround_noex_ctx): New function.
2881
d42df555
RM
28822014-06-23 Roland McGrath <roland@hack.frob.com>
2883
88a46474
RM
2884 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2885 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2886 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2887 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2888 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2889 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2890
15bed472
RM
2891 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2892 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2893 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2894 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2895 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2896 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2897 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2898 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2902 Moved ...
2903 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2904 ... here.
2905 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2910 Moved ...
2911 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2912 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2913 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2915 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2919 Moved ...
2920 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2922 Moved ...
2923 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2927 Moved ...
2928 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2930 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2931 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2932 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2933 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2934 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2935 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2938 Moved ...
2939 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2940 ... here.
2941 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2954 Moved ...
2955 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2957 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2959 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2960 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2961 Moved ...
2962 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2966 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2967
d42df555
RM
2968 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2969 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2970 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2996
76e5216e
JM
29972014-06-23 Joseph Myers <joseph@codesourcery.com>
2998
2999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3000 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3001 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3002 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3003 (IPV6_PMTUDISC_INTERFACE): Likewise.
3004 (IPV6_PMTUDISC_OMIT): Likewise.
3005
7a81cbcc
AS
30062014-06-23 Andreas Schwab <schwab@suse.de>
3007
3008 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3009 Remove unused errout label.
3010
db224009
AZ
30112014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012
3013 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3014 macro: hardware supports Vector Crypto instructions.
3015
f393b4aa
WN
30162014-06-23 Will Newton <will.newton@linaro.org>
3017
cc7d0447
WN
3018 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3019 rather than __builtin_expect.
3020
d6d06225
WN
3021 * elf/dl-lookup.c (undefined_msg): Remove variable.
3022 (_dl_lookup_symbol_x): Replace undefined_msg with string
3023 literal.
3024
f393b4aa
WN
3025 * elf/dl-lookup.c (do_lookup_unique): New function.
3026 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3027 to a separate function.
3028
ac60763e
AS
30292014-06-23 Andreas Schwab <schwab@suse.de>
3030
3031 [BZ #17079]
3032 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3033 before reading the next line.
3034
c5c13355
WN
30352014-06-23 Will Newton <will.newton@linaro.org>
3036
3037 * test-skeleton.c (signal_handler): Use printf and %m
3038 rather than perror. Use printf rather than fprintf to
3039 stderr. Use puts rather than fputs to stderr.
3040 (main): Likewise.
3041
bd3675f9
LC
30422014-06-22 Ludovic Courtès <ludo@gnu.org>
3043
3044 * nscd/nscd.c (thread_info_t): Remove typedef.
3045 (thread_info): Remove variable.
3046
d03efb2f
AM
30472014-06-21 Allan McRae <allan@archlinux.org>
3048
3049 * NEWS: Mention CVE-2014-4043.
3050
bc4a86fa
RM
30512014-06-20 Roland McGrath <roland@hack.frob.com>
3052
dc9a54f8
RM
3053 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3054 * nptl/smp.h: ... here.
3055
bd7022c4
RM
3056 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3057
26ffd5e6
RM
3058 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3059 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3060 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3061 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3062
93a6d082
RM
3063 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3064 * nptl/stack-aliasing.h: New file.
3065 * sysdeps/i386/i686/stack-aliasing.h: New file.
3066 * sysdeps/i386/i686/nptl/Makefile: File removed.
3067 * sysdeps/x86_64/stack-aliasing.h: New file.
3068 * sysdeps/x86_64/nptl/Makefile
3069 (CFLAGS-pthread_create.c): Variable removed.
3070
bc4a86fa
RM
3071 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3072 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3073 old file.
3074 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3075 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3076 old file.
3077
2272ffc1
JM
30782014-06-21 Joseph Myers <joseph@codesourcery.com>
3079
3080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3081 (__ASSUME_SIGFRAME_V2): Remove macro.
3082 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3083 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3084 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3085 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3086 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3087 Declare as function. Remove conditional macro definitions.
3088 (__default_rt_sa_restorer): Likewise.
3089 (__default_sa_restorer_v1): Remove declaration.
3090 (__default_sa_restorer_v2): Likewise.
3091 (__default_rt_sa_restorer_v1): Likewise.
3092 (__default_rt_sa_restorer_v2): Likewise.
3093 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3094 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3095 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3096
4b88139b
RM
30972014-06-20 Roland McGrath <roland@hack.frob.com>
3098
3099 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3100 (libpthread-routines): Add sysdep.
3101 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3102 * sysdeps/unix/sysv/linux/sparc/Versions
3103 (libpthread: GLIBC_2.3.3): New version set.
3104 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3105 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3106 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3108 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3109 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3110 Moved ...
3111 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3113 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3115 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3117 * sysdeps/sparc/nptl/sem_init.c: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3119 * sysdeps/sparc/nptl/sem_post.c: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3121 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3123 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3125 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3126 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3127 (libpthread-routines): Add cpu_relax.
3128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3129 File removed.
3130 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3131 (librt: GLIBC_2.3.3): New version set.
3132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3133 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3134 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3135 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3138 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3140 Moved ...
3141 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3143 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3145 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3147 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3149 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3151 Moved ...
3152 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3153 Update #include.
3154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3155 Moved ...
3156 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3157 Update #include.
3158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3159 Moved ...
3160 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3161 Update #include.
3162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3163 Moved ...
3164 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3165 Update #include.
3166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3167 Moved ...
3168 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3169 Update #include.
3170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3171 Moved ...
3172 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3173 Update #include.
3174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3175 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3181 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3183 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3185 Moved ...
3186 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3188 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3190 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3191
d7109027
JM
31922014-06-20 Joseph Myers <joseph@codesourcery.com>
3193
9bc6103d
JM
3194 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3195 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3196 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3197 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3198 * nscd/nscd.c: Likewise.
3199 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3200 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3201 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3202 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3203
d7109027
JM
3204 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3205 <kernel-features.h>.
3206 (init_mq_netlink): Remove conditional have_sock_cloexec
3207 definitions. Remove code conditional on have_sock_cloexec < 0.
3208 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3209 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3210 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3211 <kernel-features.h>.
3212 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3213 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3214
d92d8f8a
L
32152014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3216
3217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3218 Add tests for memset_chk and memset.
3219
3220 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3221 with AVX2_Usable.
3222
4e6d2347
MR
32232014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3224
257ce712
MR
3225 [BZ #16046]
3226 * elf/tst-dl-iter-static.c: New file.
3227 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3228
4e6d2347
MR
3229 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3230 error.
3231
a2a76afe
JM
32322014-06-20 Joseph Myers <joseph@codesourcery.com>
3233
7fd00f99
JM
3234 * sysdeps/unix/sysv/linux/kernel-features.h
3235 (__ASSUME_F_GETOWN_EX): Remove macro.
3236 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3237 <kernel-features.h>.
3238 (miss_F_GETOWN_EX): Remove variable or macro.
3239 (do_fcntl): Do not check miss_F_GETOWN_EX.
3240 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3241
4a103975
JM
3242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3243 Remove macro.
3244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3245 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3246 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3247
a2a76afe
JM
3248 * sysdeps/unix/sysv/linux/kernel-features.h
3249 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3250 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3251 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3252 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3253
90e5dd48
MR
32542014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3255
3256 [BZ #17075]
3257 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3258 Fix calculation of the symbol's value.
3259 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3260 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3261 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3262 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3263 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3264 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3265 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3266 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3267 (modules-names): Add `tst-armtlsdescmod',
3268 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3269 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3270 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3271 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3272 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3273 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3274 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3275 ($(objpfx)tst-armtlsdescloc): New dependency.
3276 ($(objpfx)tst-armtlsdescextnow): Likewise.
3277 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3278 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3279 TLS scheme support.
3280 * sysdeps/arm/configure: Regenerate.
3281
809fdf0d
JM
32822014-06-20 Joseph Myers <joseph@codesourcery.com>
3283
3284 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3285 (__atfct_seterrno_2): Likewise.
3286 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3287 <kernel-features.h>.
3288 (__ASSUME_ATFCTS): Do not undefine and redefine.
3289 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3290 (__have_atfcts): Remove conditional definition.
3291 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3292 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3293 unreachable if [__ASSUME_ATFCTS].
3294 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3295 not undefine and redefine.
3296 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3297 <kernel-features.h>.
3298 (faccessat) [__NR_faccessat]: Make code unconditional.
3299 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3300 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3301 <kernel-features.h>.
3302 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3303 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3304 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3305 <kernel-features.h>.
3306 (fchownat) [__NR_fchownat]: Make code unconditional.
3307 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3308 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3309 <kernel-features.h>.
3310 (futimesat) [__NR_futimesat]: Make code unconditional.
3311 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3312 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3313 <kernel-features.h>.
3314 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3315 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3316 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3317 <kernel-features.h>.
3318 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3319 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3320 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3321 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3322 <kernel-features.h>.
3323 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3324 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3325 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3326 <kernel-features.h>.
3327 (linkat) [__NR_linkat]: Make code unconditional.
3328 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3329 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3330 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3331 <kernel-features.h>.
3332 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3333 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3334 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3335 <kernel-features.h>.
3336 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3337 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3338 * sysdeps/unix/sysv/linux/openat.c: Do not include
3339 <kernel-features.h>.
3340 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3341 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3342 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3343 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3344 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3345 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3346 <kernel-features.h>.
3347 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3348 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3349 result of INLINE_SYSCALL directly, not via int variable.
3350 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3351 <kernel-features.h>.
3352 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3353 (renameat) [__NR_renameat]: Make code unconditional.
3354 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3355 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3356 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3357 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3358 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3359 (__ASSUME_ATFCTS): Do not undefine and redefine.
3360 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3361 <kernel-features.h>.
3362 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3363 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3364 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3365 <kernel-features.h>.
3366 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3367 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3368 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3369 (__ASSUME_ATFCTS): Do not undefine and redefine.
3370 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3371 <kernel-features.h>.
3372 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3373 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3374 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3375 <kernel-features.h>.
3376 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3377 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3378
224c6c51
L
33792014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3382
aa6ec754
AS
33832014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3384
3385 [BZ #17069]
3386 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3387 constructed tree before returning error.
3388 * posix/bug-regexp36.c: Expand test case.
3389
d8c2869d
SL
33902014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3391
3ef6b850
SL
3392 [BZ #6803]
3393 * math/libm-test.inc (scalbln_test_date):
3394 Add errno expectations.
3395 * math/w_scalblnf.c: New File.
3396 Add wrapper which checks for setting errno to ERANGE.
3397 Add weak_alias for corresponding scalbln function.
3398 * math/w_scalbln.c: Likewise.
3399 * math/w_scalblnl.c: Likewise.
3400 * math/Makefile (libm-calls): Add w_scalbln.
3401 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3402 Remove weak_alias for corresponding scalbln function.
3403 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3407 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3408 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3409 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3410 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3411 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3412 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3413 Remove long_double_symbol for scalblnl function in libm, libc.
3414 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3415 Add wrapper which checks for setting errno to ERANGE.
3416 Add long_double_symbol for scalblnl function in libm, libc.
3417 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3418 Remove long_double_symbol for scalblnl in libm.
3419 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3420 Add wrapper which checks for setting errno to ERANGE.
3421 Add long_double_symbol for scalblnl function in libm.
3422 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3423 Do not use wrapper because of own implementation.
3424
c8daec5c
L
34252014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3426
3427 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3428 3 bytes for __pad1 for x32.
3429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3430
5c74e47c
LM
34312014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3432 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3435 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3436 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3437 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3438 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3439
4d43ef1e
AS
34402014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3441
3442 [BZ #17069]
3443 * posix/regcomp.c (parse_expression): Deallocate partially
3444 constructed tree before returning error.
3445 * posix/Makefile.c (tests): Add bug-regex36.
3446 (generated): Add bug-regex36.mtrace.
3447 (tests-special): Add $(objpfx)bug-regex36-mem.out
3448 (bug-regex36-ENV): New variable.
3449 ($(objpfx)bug-regex36-mem.out): New rule.
3450 * posix/bug-regex36.c: New file.
3451
51a7380b
WN
34522014-06-19 Will Newton <will.newton@linaro.org>
3453
3454 * malloc/malloc.c (systrim): If extra is zero then return
3455 early.
3456
91b84fe5
SP
34572014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3458
3459 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3460
f940b965
RE
34612014-06-19 Richard Earnshaw <rearnsha@arm.com>
3462
3463 * sysdeps/aarch64/strchr.S: New file.
3464
4ba7a00f
JM
34652014-06-18 Joseph Myers <joseph@codesourcery.com>
3466
3467 [BZ #17022]
3468 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3469 from arguments -2 or below.
3470 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3471 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3472
b3a9f56b
AS
34732014-06-18 Andreas Schwab <schwab@suse.de>
3474
3475 [BZ #17062]
3476 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3477 of a bracket expr not to run off the end of the string.
3478 * posix/Makefile (tests): Add tst-fnmatch3.
3479 * posix/tst-fnmatch3.c: New file.
3480
85d89278
JM
34812014-06-18 Joseph Myers <joseph@codesourcery.com>
3482
3483 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3484 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3485 [$(cross-compiling) = no]: Likewise.
3486 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3487 [$(cross-compiling) = no]: Likewise.
3488
754c5a08
RS
34892014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3490
3491 [BZ #17031]
3492 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3493 double, adjusted for any remainder from the high double.
3494 * math/libm-test.inc (nearbyint): Add tests.
3495 (rint): Likewise.
3496
556f529d
AZ
34972014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3498
3499 * nptl/sysdeps/powerpc/Makefile: Moved ...
3500 * sysdeps/powerpc/nptl/Makefile: ... here.
3501 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3502 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3503 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3504 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3505 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3506 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3507 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3508 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3509 * nptl/sysdeps/powerpc/tls.h: Moved ...
3510 * sysdeps/powerpc/nptl/tls.h: ... here.
3511
91c03c53
JM
35122014-06-16 Joseph Myers <joseph@codesourcery.com>
3513
3514 [BZ #16681]
3515 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3516 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3517 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3518 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3519 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3520 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3521 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3522 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3523 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3524
a76e63c5
AS
35252014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3526
3527 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3528
f2f6d82f
AS
35292014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3530
ea8a15f6
AS
3531 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3532 defined operator.
3533
f2f6d82f
AS
3534 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3535 $TIMEOUTFACTOR.
3536
a7291117
FW
35372014-06-16 Florian Weimer <fweimer@redhat.com>
3538
3539 [BZ #17058]
3540 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3541 non-executed part of the test.
3542
3d7c00e3
AS
35432014-06-16 Andreas Schwab <schwab@suse.de>
3544
3545 * string/bits/string2.h (strdup, strndup): Update feature guard.
3546
6957fb31
DM
35472014-06-14 David S. Miller <davem@davemloft.net>
3548
3549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3550
11b9e55b
AS
35512014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3552
1d2a0492
AS
3553 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3554 that was previously under [RESET_PID].
3555 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3556
11b9e55b
AS
3557 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3558 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3559 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3560 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3561 (__libc_vfork): New strong alias.
3562 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3563
0f6901d0
AK
35642014-06-14 Andi Kleen <ak@linux.intel.com>
3565
3566 * sysdeps/generic/elide.h: New file.
3567
38bbbb9f
SL
35682014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3569
3570 * Makefile (installed-headers): Adjust path of pthread.h header.
3571
45193bb8
RM
35722014-06-13 Roland McGrath <roland@hack.frob.com>
3573
9a25fd1e
RM
3574 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3575 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3576 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3577 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3578
4004f7e4
RM
3579 * nptl/sysdeps/s390/Makefile: Moved ...
3580 * sysdeps/s390/nptl/Makefile: ... here.
3581 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3582 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3583 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3584 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3585 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3586 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3587 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3588 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3589 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3590 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3591 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3592 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3593 * nptl/sysdeps/s390/tls.h: Moved ...
3594 * sysdeps/s390/nptl/tls.h: ... here.
3595
45193bb8
RM
3596 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3597 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3598
f6fdf533
DM
35992014-06-13 David S. Miller <davem@davemloft.net>
3600
3601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3604 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3608 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3609 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3610 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3611 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3612 Remove RESET_PID cpp guards.
3613 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3614 Remove RESET_PID cpp guards.
3615 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3616
f5d71e14
AS
36172014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3618
3619 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3620 __sp to uintptr_t.
3621
b7aa8caa
AK
36222014-06-13 Andi Kleen <ak@linux.intel.com>
3623
4b266200
AZ
3624 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3625 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3626 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3627 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3628 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3629 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3630 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3631 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3632 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3633 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3634 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3635 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3636 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3638 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3639 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3640 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3641 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3643 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3644
3645 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3646 (pthread_rwlock_rdlock): Add elision.
3647 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3648 (pthread_rwlock_wrlock): Add elision.
3649 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3650 (pthread_rwlock_trywrlock): Add elision.
3651 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3652 (pthread_rwlock_tryrdlock): Add elision.
3653 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3654 (pthread_rwlock_tryrdlock): Add elision unlock.
3655 * nptl/sysdeps/pthread/pthread.h:
3656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3657 (PTHREAD_RWLOCK_INITIALIZER,
3658 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3659 Handle new elision field.
3660 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3661 * sysdeps/arm/nptl/bits/pthreadtypes.h
3662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3663 * sysdeps/sh/nptl/bits/pthreadtypes.h
3664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3665 * sysdeps/tile/nptl/bits/pthreadtypes.h
3666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3667 * sysdeps/a/nptl/bits/pthreadtypes.h
3668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3669 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3671 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3673 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3675 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3677 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3679 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3681 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3683 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3685 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3686 (elision_init): Set try_xbegin to zero when no RTM.
3687 * sysdeps/x86/nptl/bits/pthreadtypes.h
3688 (pthread_rwlock_t): Change __pad1 to __rwelision.
3689 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3690
a832bdd3
AK
36912014-06-13 Andi Kleen <ak@linux.intel.com>
3692
3693 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3694 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3695 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3696 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3697
995a46bb
MI
36982014-06-13 Meador Inge <meadori@codesourcery.com>
3699
3700 [BZ #16996]
03ed7738 3701 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3702 that the cached result has been set before returning it.
3703
45262aee
RM
37042014-06-12 Roland McGrath <roland@hack.frob.com>
3705
febf6cc5
RM
3706 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3707 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3708 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3709 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3710 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3711 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3712
e2682246
RM
3713 * nptl/sysdeps/sparc/Makefile: Moved ...
3714 * sysdeps/sparc/nptl/Makefile: ... here.
3715 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3716 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3717 * nptl/sysdeps/sparc/tls.h: Moved ...
3718 * sysdeps/sparc/nptl/tls.h: ... here.
3719 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3720 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3721 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3722 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3723 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3724 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3725 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3726 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3727 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3728 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3729 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3730 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3731 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3732 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3733 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3734 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3735 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3736 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3737 Update #include.
3738 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3739 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3740 Update #include.
3741 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3743 Update #include.
3744 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3745 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3746 Update #include.
3747
b0725f43
RM
3748 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3749
b14368b8
RM
3750 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3751 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3752
c5620eb3
RM
3753 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3754 (struct list_links): Type removed.
3755 (struct thread_node, struct timer_node): Replace struct list_links
3756 with struct list_head.
3757 (list_unlink_ip): Likewise.
3758 * sysdeps/pthread/timer_routines.c
3759 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3760 (list_append, list_insbefore): Likewise.
3761 (list_init): Function removed.
3762 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3763 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3764 * sysdeps/pthread/Makefile: ... here, new file.
3765
3766 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3767 * sysdeps/nptl/Implies: ... here.
3768 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3769 * nptl/sysdeps/pthread/list.h: Moved ...
3770 * include/list.h: ... here.
3771 * nptl/sysdeps/pthread/createthread.c: Moved ...
3772 * nptl/createthread.c: ... here.
3773 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3774 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3775 * nptl/pt-longjmp.c: ... here.
3776 * nptl/sysdeps/pthread/Makefile: Moved ...
3777 * sysdeps/nptl/Makefile: ... here.
3778 * nptl/sysdeps/pthread/Subdirs: Moved ...
3779 * sysdeps/nptl/Subdirs: ... here.
3780 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3781 * sysdeps/nptl/aio_misc.h: ... here.
3782 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3783 * sysdeps/nptl/bits/libc-lock.h: ... here.
3784 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3785 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3786 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3787 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3788 * nptl/sysdeps/pthread/configure: Moved ...
3789 * sysdeps/nptl/configure: ... here.
3790 * nptl/sysdeps/pthread/configure.ac: Moved ...
3791 * sysdeps/nptl/configure.ac: ... here.
3792 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3793 * sysdeps/nptl/gai_misc.h: ... here.
3794 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3795 * sysdeps/nptl/librt-cancellation.c: ... here.
3796 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3797 * sysdeps/nptl/malloc-machine.h: ... here.
3798 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3799 * sysdeps/nptl/pthread-functions.h: ... here.
3800 * nptl/sysdeps/pthread/pthread.h: Moved ...
3801 * sysdeps/nptl/pthread.h: ... here.
3802 * nptl/sysdeps/pthread/setxid.h: Moved ...
3803 * sysdeps/nptl/setxid.h: ... here.
3804 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3805 * sysdeps/nptl/sigfillset.c: ... here.
3806 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3807 * sysdeps/nptl/tcb-offsets.h: ... here.
3808 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3809 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3810 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3811 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3812 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3813 * sysdeps/pthread/allocalim.h: ... here.
3814 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3815 * sysdeps/pthread/bits/sigthread.h: ... here.
3816 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3817 * sysdeps/pthread/flockfile.c: ... here.
3818 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3819 * sysdeps/pthread/ftrylockfile.c: ... here.
3820 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3821 * sysdeps/pthread/funlockfile.c: ... here.
3822 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3823 * sysdeps/pthread/posix-timer.h: ... here.
3824 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3825 * sysdeps/pthread/timer_create.c: ... here.
3826 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3827 * sysdeps/pthread/timer_delete.c: ... here.
3828 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3829 * sysdeps/pthread/timer_getoverr.c: ... here.
3830 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3831 * sysdeps/pthread/timer_gettime.c: ... here.
3832 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3833 * sysdeps/pthread/timer_routines.c: ... here.
3834 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3835 * sysdeps/pthread/timer_settime.c: ... here.
3836 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3837 * sysdeps/pthread/tst-timer.c: ... here.
3838 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3839 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3840
e876b090
RM
3841 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3842 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3843
f6b07b3d
RM
3844 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3845 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3846 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3847 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3848 Update #include target.
3849 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3850 * sysdeps/i386/i686/nptl/Makefile: ... here.
3851 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3852 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3853 Update #include target.
3854 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3855 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3856 * nptl/sysdeps/i386/Makefile: Moved ...
3857 * sysdeps/i386/nptl/Makefile: ... here.
3858 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3859 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3860 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3861 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3862 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3863 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3864 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3865 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3866 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3867 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3868 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3869 * nptl/sysdeps/i386/tls.h: Moved ...
3870 * sysdeps/i386/nptl/tls.h: ... here.
3871
45262aee
RM
3872 * sysdeps/sh/Makefile [$(subdir) = csu]
3873 (gen-as-const-headers): Add tcb-offsets.sym.
3874 * nptl/sysdeps/sh/Makefile: File removed.
3875 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3876 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3877 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3878 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3879 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3880 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3881 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3882 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3883 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3884 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3885 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3886 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3887 * nptl/sysdeps/sh/tls.h: Moved ...
3888 * sysdeps/sh/nptl/tls.h: ... here.
3889 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3890 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3891 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3892 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3894 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3896 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3898 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3900 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3902 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3904 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3906 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3908 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3910 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3912 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3914 Moved ...
3915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3916 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3917 Moved ...
3918 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3920 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3922 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3923 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3924 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3926 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3928 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3929 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3930 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3931 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3932 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3934 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3935 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3936 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3937
35a5e3e3
SL
39382014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3939
3940 * posix/spawn_faction_addopen.c: Include string.h.
3941
14642b85
RM
39422014-06-11 Roland McGrath <roland@hack.frob.com>
3943
3944 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3945 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3946 * nptl/sysdeps/x86_64/Makefile: Moved ...
3947 * sysdeps/x86_64/nptl/Makefile: ... here.
3948 * nptl/sysdeps/x86_64/configure: Moved ...
3949 * sysdeps/x86_64/nptl/configure: ... here.
3950 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3951 * sysdeps/x86_64/nptl/configure.ac: ... here.
3952 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3953 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3954 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3955 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3956 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3957 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3958 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3959 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3960 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3961 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3962 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3963 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3964 * nptl/sysdeps/x86_64/tls.h: Moved ...
3965 * sysdeps/x86_64/nptl/tls.h: ... here.
3966 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3967 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3968 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3969 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3970
3971 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3972
31c44fea
AZ
39732014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3974
3975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3976
e81a4f9a
JM
39772014-06-11 Joseph Myers <joseph@codesourcery.com>
3978
3979 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3980 type.
3981 [POSIX] (off_t): Likewise.
3982 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3983 [POSIX] (S_ISBLK): Require macro.
3984 [POSIX] (S_ISCHR): Likewise.
3985 [POSIX] (S_ISDIR): Likewise.
3986 [POSIX] (S_ISFIFO): Likewise.
3987 [POSIX] (S_ISREG): Likewise.
3988 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3989 optional-macro.
3990 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3991 type.
3992 [POSIX] (time_t): Likewise.
3993 [POSIX] (timer_t): Likewise.
3994
89e435f3
FW
39952014-06-11 Florian Weimer <fweimer@redhat.com>
3996
3997 [BZ #17048]
3998 * posix/spawn_int.h (struct __spawn_action): Make the path string
3999 non-const to support deallocation.
4000 * posix/spawn_faction_addopen.c
4001 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4002 * posix/spawn_faction_destroy.c
4003 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4004 path in all spawn_do_open actions.
4005 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4006 posix_spawn_file_actions_addopen.
4007
c3a2ebe1
CM
40082014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4009
4010 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4011 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4012 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4013 conditional code always true.
4014 (__libc_vfork): New alias.
4015
9503784a
RM
40162014-06-11 Roland McGrath <roland@hack.frob.com>
4017
c9cab3d2
RM
4018 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4019 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4020
d3996c79
RM
4021 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4022
ba5ec611
RM
4023 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4024 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4025
f12b4814
RM
4026 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4027 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4028
9503784a
RM
4029 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4030 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4031
e23d3d26
VR
40322014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4033
4034 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4035 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4036 multiarch strcmp for PPC64.
4037 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4038 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4040 multiarch optimizations.
4041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4042 (__libc_ifunc_impl_list): Likewise.
4043
42b1161e
SP
40442014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4045
4046 * benchtests/scripts/validate_benchout.py: New script.
4047 * benchtests/Makefile (bench-func): Call it.
4048 * benchtests/scripts/benchout.schema.json: New file.
4049
2d0fc4dc
CM
40502014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4051
4a594c34
AZ
4052 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4053 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4054 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4055 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4056 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4057 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4058 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4059 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4060 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4061 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4062 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4063 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4064 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4065 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4066 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4067 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4069 Moved ...
4a594c34 4070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4071 ... here.
4a594c34 4072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4073 Moved ...
4a594c34
AZ
4074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4076 Moved ...
4a594c34 4077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4078 ... here.
4a594c34 4079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4080 Moved ...
4a594c34 4081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4082 ... here.
4a594c34 4083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4084 Moved ...
4a594c34
AZ
4085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4087 Moved ...
4a594c34 4088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4089 ... here.
4a594c34 4090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4091 Moved ...
4a594c34 4092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4093 ... here.
4a594c34 4094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4095 Moved ...
4a594c34
AZ
4096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4098 Moved ...
4a594c34 4099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4100 ... here.
4a594c34 4101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4102 Moved ...
4a594c34 4103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4104 ... here.
4a594c34 4105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4106 Moved ...
4a594c34 4107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4108 ... here.
4a594c34 4109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4110 Moved ...
4a594c34
AZ
4111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4113 Moved ...
4a594c34 4114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4115 ... here.
4a594c34 4116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4117 Moved ...
4a594c34 4118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4119 ... here.
4a594c34 4120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4121 Moved ...
4a594c34 4122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4123 ... here.
4a594c34 4124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4125 Moved ...
4a594c34
AZ
4126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4128 Moved ...
4a594c34 4129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4130 ... here.
4a594c34 4131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4132 Moved ...
4a594c34 4133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4134 ... here.
4a594c34 4135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4136 Moved ...
4a594c34
AZ
4137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4139 Moved ...
4a594c34 4140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4141 ... here.
4a594c34 4142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4143 Moved ...
4a594c34
AZ
4144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4146 Moved ...
4a594c34
AZ
4147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4149 Moved ...
4a594c34 4150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4151 ... here.
4a594c34 4152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4153 Moved ...
4a594c34 4154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4155 ... here.
4a594c34 4156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4157 Moved ...
4a594c34 4158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4159 ... here.
4a594c34 4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4161 Moved ...
4a594c34
AZ
4162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4164 Moved ...
4a594c34 4165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4166 ... here.
4a594c34 4167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4168 Moved ...
4a594c34 4169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4170 ... here.
4a594c34
AZ
4171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4172 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4176 Moved ...
4a594c34 4177 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4178 ... here.
4a594c34
AZ
4179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4180 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4182 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4184 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4186 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4188 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4190 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4192 Moved ...
4a594c34
AZ
4193 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4195 Moved ...
4a594c34
AZ
4196 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4198 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4200 Moved ...
4a594c34
AZ
4201 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4202 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4203 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4204 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4205 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4206 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4207 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4208
0570cfed
W
42092014-06-10 Wilco <wdijkstr@arm.com>
4210
4211 * math/test-fenv-return.c: New file.
4212 * math/Makefile: Add new test test-fenv-return.
4213
f8ba1b56
JM
42142014-06-10 Joseph Myers <joseph@codesourcery.com>
4215
4216 [BZ #17042]
4217 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4218 when x - 1 is zero.
4219 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4220 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4221 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4222 0.0L for an argument of 1.0L.
4223 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4224 Likewise.
4225 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4226 value when x - 1 is zero.
4227 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4228 * sysdeps/i386/fpu/libm-test-ulps: Update.
4229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4230
2c3520d9
BO
42312014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4232
4233 [BZ #15119]
4234 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4235
acaa4d24
RM
42362014-06-09 Roland McGrath <roland@hack.frob.com>
4237
4238 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4239 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4240
962b744d
RM
42412014-06-09 Roland McGrath <roland@hack.frob.com>
4242
d752f0cc
RM
4243 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4244 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4245
34eda6d1
RM
4246 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4247 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4248
50f0a637
RM
4249 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4250 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4251
08f41f04
RM
4252 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4253 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4254
962b744d
RM
4255 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4256 if not already defined.
4257 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4258 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4259 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4260 (TLS_INIT_TP): Use it.
4261 (TLS_DEFINE_INIT_TP): New macro.
4262 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4263
09f19b05
JM
42642014-06-09 Joseph Myers <joseph@codesourcery.com>
4265
4266 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4267 constant.
4268 [POSIX] (IXANY): Likewise.
4269 [POSIX] (OLCUC): Likewise.
4270 [POSIX || POSIX2008] (CBAUD): Do not allow.
4271 [POSIX || POSIX2008] (DEFECHO): Likewise.
4272 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4273 [POSIX || POSIX2008] (ECHOKE): Likewise.
4274 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4275 [POSIX || POSIX2008] (EXTA): Likewise.
4276 [POSIX || POSIX2008] (EXTB): Likewise.
4277 [POSIX || POSIX2008] (FLUSHO): Likewise.
4278 [POSIX || POSIX2008] (LOBLK): Likewise.
4279 [POSIX || POSIX2008] (PENDIN): Likewise.
4280 [POSIX || POSIX2008] (SWTCH): Likewise.
4281 [POSIX || POSIX2008] (VDISCARD): Likewise.
4282 [POSIX || POSIX2008] (VDSUSP): Likewise.
4283 [POSIX || POSIX2008] (VLNEXT): Likewise.
4284 [POSIX || POSIX2008] (VREPRINT): Likewise.
4285 [POSIX || POSIX2008] (VSTATUS): Likewise.
4286 [POSIX || POSIX2008] (VWERASE): Likewise.
4287 (B*): Change to B[0123456789]*.
4288 * conform/data/time.h-data [POSIX || UNIX98]
4289 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4290 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4291 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4292 [POSIX] (tm_*): Do not allow.
4293
686554bf
JM
42942014-06-07 Joseph Myers <joseph@codesourcery.com>
4295
4296 * Makefile (install): Don't set LANGUAGE.
4297 * Makefile.in (install): Likewise.
4298 * assert/Makefile (test-assert-ENV): Remove variable.
4299 (test-assert-perr-ENV): Likewise.
4300 * elf/Makefile (neededtest4-ENV): Likewise.
4301 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4302 [$(cross-compiling) = no]: Don't set LANGUAGE.
4303 * io/ftwtest-sh (LANG): Remove variable.
4304 * libio/Makefile (tst-widetext-ENV): Likewise.
4305 * manual/install.texi (Running make install): Don't refer to
4306 environment settings for make install.
4307 * INSTALL: Regenerated.
4308 * nptl/tst-tls6.sh: Don't set LANG.
4309 * posix/globtest.sh (LANG): Remove variable.
4310 * string/Makefile (tester-ENV): Likewise.
4311 (inl-tester-ENV): Likewise.
4312 (noinl-tester-ENV): Likewise.
4313 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4314 [$(cross-compiling) = no]: Don't set LANGUAGE.
4315 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4316 without explicit environment settings.
4317
68e6b6b1
RM
43182014-06-06 Roland McGrath <roland@hack.frob.com>
4319
4320 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4321 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4322 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4323 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4324
4d3ae034
CM
43252014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4326
4327 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4328 other files in the crypt directory.
4329 * crypt/crypt.c: Remove duplicate includes.
4330 * crypt/crypt-entry.c: Likewise.
4331 * crypt/crypt_util.c: Likewise.
4332
8540f6d2
JM
43332014-06-06 Joseph Myers <joseph@codesourcery.com>
4334
4335 * Makeconfig (run-program-env): New variable.
4336 (run-program-prefix-before-env): Likewise.
4337 (run-program-prefix-after-env): Likewise.
4338 (run-program-prefix): Define in terms of new variables.
4339 (built-program-cmd-before-env): New variable.
4340 (built-program-cmd-after-env): Likewise.
4341 (built-program-cmd): Define in terms of new variables.
4342 (test-program-prefix-before-env): New variable.
4343 (test-program-prefix-after-env): Likewise.
4344 (test-program-prefix): Define in terms of new variables.
4345 (test-program-cmd-before-env): New variable.
4346 (test-program-cmd-after-env): Likewise.
4347 (test-program-cmd): Define in terms of new variables.
4348 * Rules (make-test-out): Use $(run-program-env).
4349 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4350 (help): Do not mention environment variables. Mention
4351 --timeoutfactor option.
4352 (timeoutfactor): New variable.
4353 (blacklist_exports): Remove function.
4354 (exports): Remove variable.
4355 (command): Do not include ${exports}.
4356 * manual/install.texi (Configuring and compiling): Do not mention
4357 test wrappers preserving environment variables. Mention that last
4358 assignment to a variable must take precedence.
4359 * INSTALL: Regenerated.
4360 * benchtests/Makefile (run-bench): Use $(run-program-env).
4361 * catgets/Makefile ($(objpfx)test1.cat): Use
4362 $(built-program-cmd-before-env), $(run-program-env) and
4363 $(built-program-cmd-after-env).
4364 ($(objpfx)test2.cat): Do not specify environment variables
4365 explicitly.
4366 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4367 $(run-program-env) and $(built-program-cmd-after-env).
4368 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4369 $(run-program-env) and $(test-program-cmd-after-env).
4370 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4371 explicitly.
4372 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4373 run_program_env and test_program_cmd_after_env arguments.
4374 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4375 * elf/tst-pathopt.sh: Use run_program_env argument.
4376 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4377 $(test-wrapper-env) and $(run-program-env).
4378 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4379 run_program_env arguments.
4380 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4381 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4382 $(test-program-prefix-before-env), $(run-program-env) and
4383 $(test-program-prefix-after-env).
4384 ($(objpfx)tst-gettext2.out): Likewise.
4385 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4386 run_program_env and test_program_prefix_after_env arguments.
4387 * intl/tst-gettext2.sh: Likewise.
4388 * intl/tst-gettext4.sh: Do not set environment variables
4389 explicitly.
4390 * intl/tst-gettext6.sh: Likewise.
4391 * intl/tst-translit.sh: Likewise.
4392 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4393 $(test-program-prefix-before-env), $(run-program-env) and
4394 $(test-program-prefix-after-env).
4395 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4396 run_program_env and test_program_prefix_after_env arguments.
4397 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4398 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4399 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4400 explicitly with each use of ${test_wrapper_env}.
4401 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4402 $(test-program-prefix-before-env), $(run-program-env) and
4403 $(test-program-prefix-after-env).
4404 * posix/tst-getconf.sh: Do not set environment variables
4405 explicitly.
4406 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4407 run_program_env and test_program_prefix_after_env arguments.
4408 * stdio-common/tst-printf.sh: Do not set environment variables
4409 explicitly.
4410 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4411 $(test-program-prefix-before-env), $(run-program-env) and
4412 $(test-program-prefix-after-env).
4413 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4414 run_program_env and test_program_prefix_after_env arguments.
4415 Split $test calls into $test_pre and $test.
4416 * timezone/Makefile (build-testdata): Use
4417 $(built-program-cmd-before-env), $(run-program-env) and
4418 $(built-program-cmd-after-env).
4419
ed36bfa1
AZ
44202014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4421
4422 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4423 strlen for non SHARED builds.
4424
fc75bf46
SP
44252014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4426
4427 * nptl/allocatestack.c (check_list): Inlined function...
4428 (__reclaim_stacks): ... here.
4429
d89b3d80
OB
44302014-06-05 Ondřej Bílka <neleai@seznam.cz>
4431
4432 [BZ #15698]
4433 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4434 memory overrun.
4435
2bf18041
JM
44362014-06-05 Joseph Myers <joseph@codesourcery.com>
4437
4438 * Rules (make-test-out): Include
4439 LOCPATH=$(common-objpfx)localedata in default environment.
4440 * debug/Makefile (tst-chk1-ENV): Remove variable.
4441 (tst-chk2-ENV): Likewise.
4442 (tst-chk3-ENV): Likewise.
4443 (tst-chk4-ENV): Likewise.
4444 (tst-chk5-ENV): Likewise.
4445 (tst-chk6-ENV): Likewise.
4446 (tst-lfschk1-ENV): Likewise.
4447 (tst-lfschk2-ENV): Likewise.
4448 (tst-lfschk3-ENV): Likewise.
4449 (tst-lfschk4-ENV): Likewise.
4450 (tst-lfschk5-ENV): Likewise.
4451 (tst-lfschk6-ENV): Likewise.
4452 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4453 (tst-iconv7-ENV): Likewise.
4454 * intl/Makefile (LOCPATH-ENV): Likewise.
4455 (tst-codeset-ENV): Likewise.
4456 (tst-gettext3-ENV): Likewise.
4457 (tst-gettext5-ENV): Likewise.
4458 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4459 (tst-fopenloc-ENV): Likewise.
4460 (tst-fgetws-ENV): Remove variable.
4461 (tst-ungetwc1-ENV): Likewise.
4462 (tst-ungetwc2-ENV): Likewise.
4463 (bug-ungetwc2-ENV): Likewise.
4464 (tst-swscanf-ENV): Likewise.
4465 (bug-ftell-ENV): Likewise.
4466 (tst-fgetwc-ENV): Likewise.
4467 (tst-fseek-ENV): Likewise.
4468 (tst-ftell-partial-wide-ENV): Likewise.
4469 (tst-ftell-active-handler-ENV): Likewise.
4470 (tst-ftell-append-ENV): Likewise.
4471 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4472 (tst-regexloc-ENV): Likewise.
4473 (bug-regex1-ENV): Likewise.
4474 (tst-regex-ENV): Likewise.
4475 (tst-regex2-ENV): Likewise.
4476 (bug-regex5-ENV): Likewise.
4477 (bug-regex6-ENV): Likewise.
4478 (bug-regex17-ENV): Likewise.
4479 (bug-regex18-ENV): Likewise.
4480 (bug-regex19-ENV): Likewise.
4481 (bug-regex20-ENV): Likewise.
4482 (bug-regex22-ENV): Likewise.
4483 (bug-regex23-ENV): Likewise.
4484 (bug-regex25-ENV): Likewise.
4485 (bug-regex26-ENV): Likewise.
4486 (bug-regex30-ENV): Likewise.
4487 (bug-regex32-ENV): Likewise.
4488 (bug-regex33-ENV): Likewise.
4489 (bug-regex34-ENV): Likewise.
4490 (bug-regex35-ENV): Likewise.
4491 (tst-rxspencer-ENV): Likewise.
4492 (tst-rxspencer-no-utf8-ENV): Likewise.
4493 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4494 (tst-sscanf-ENV): Likewise.
4495 (tst-swprintf-ENV): Likewise.
4496 (tst-swscanf-ENV): Likewise.
4497 (test-vfprintf-ENV): Likewise.
4498 (scanf13-ENV): Likewise.
4499 (bug14-ENV): Likewise.
4500 (tst-grouping-ENV): Likewise.
4501 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4502 (tst-strtod3-ENV): Likewise.
4503 (tst-strtod4-ENV): Likewise.
4504 (tst-strtod5-ENV): Likewise.
4505 (testmb2-ENV): Likewise./
4506 * string/Makefile (tst-strxfrm-ENV): Likewise.
4507 (tst-strxfrm2-ENV): Likewise.
4508 (bug-strcoll1-ENV): Likewise.
4509 (test-strcasecmp-ENV): Likewise.
4510 (test-strncasecmp-ENV): Likewise.
4511 * time/Makefile (tst-strptime-ENV): Likewise.
4512 (tst-ftime_l-ENV): Likewise.
4513 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4514 (tst-mbrtowc-ENV): Likewise.
4515 (tst-wcrtomb-ENV): Likewise.
4516 (tst-mbrtowc2-ENV): Likewise.
4517 (tst-c16c32-1-ENV): Likewise.
4518 (tst-mbsnrtowcs-ENV): Likewise.
4519
cd1fb604
OB
45202014-06-05 Ondřej Bílka <neleai@seznam.cz>
4521
4522 * manual/resource.texi (How to get information about the memory
4523 subsystem?): Fix typo.
4524 Reported by Peon de la Parra Ivan <peon@keba.com>
4525
b42eca7d
GY
45262014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4527
4528 [BZ #16882]
4529 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4530 (pthread_spin_lock): Branch out of spin loop to proper location.
4531 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4532 (pthread_spin_lock): Likewise.
4533
902b71f9
DM
4534 * nptl/tst-spin4.c: New test.
4535 * nptl/Makefile (tests): Add tst-spin4.
4536
f9d2d032
AS
45372014-06-03 Andreas Schwab <schwab@suse.de>
4538
4539 [BZ #15946]
4540 * resolv/res_send.c (send_dg): Reload file descriptor after
4541 calling reopen.
4542
cf7bfd28
SL
45432014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4544
4545 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4546
111cc714
RH
45472014-06-03 Richard Henderson <rth@redhat.com>
4548
89b4bd6b
RH
4549 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4550 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4551 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4552 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4553 in the SAVE_PID block.
4554 (__libc_vfork): New alias.
71840409 4555 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4556
111cc714
RH
4557 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4558 child in registers, not on the stack. Remove RESET_PID conditionals.
4559 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4560
ccc39911
MS
45612014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4562
4563 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4564
693096cc
W
45652014-06-03 Wilco <wdijkstr@arm.com>
4566
4567 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4568 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4569 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4570 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4571 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4572 Likewise.
4573
0b4366bc
W
45742014-06-03 Wilco <wdijkstr@arm.com>
4575
4576 * sysdeps/aarch64/fpu/math_private.h
4577 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4578 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4579 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4580 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4581 Fix declarations.
4582
8747cd03
KS
45832014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4584
4585 * crypt/crypt-private.h: Include ufc-crypt.h.
4586 (__b64_from_24bit): Declare extern.
4587 * crypt/crypt_util.c(__b64_from_24bit): New function.
4588 (b64t): New static const variable.
4589 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4590 (b64t): Remove variable.
4591 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4592 * crypt/sha256-crypt.c: Include crypt-private.h.
4593 (b64t): Remove variable.
4594 (__sha256_crypt_r): Remove b64_from_24bit and replace
4595 with __b64_from_24bit.
4596 * crypt/sha512-crypt.c: Likewise.
4597
d936d379
RM
45982014-06-02 Roland McGrath <roland@hack.frob.com>
4599
4600 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4601 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4602 Label the code __libc_vfork rather than __vfork.
4603 [!NOT_IN_libc] (vfork): Define as weak alias.
4604 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4605 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4606 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4607
9fa76613
SP
46082014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4609
4610 * malloc/malloc.c (malloc_info): Fix format specifier for
4611 n_mmaps.
4612
a88dadbe
W
46132014-06-02 Wilco <wdijkstr@arm.com>
4614
4615 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4616 FPCR write.
4617
c95b3011
W
46182014-06-02 Wilco <wdijkstr@arm.com>
4619
4620 [BZ #17009]
4621 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4622 Rewrite to reduce FPCR/FPSR accesses.
4623
6b4d7a90
DM
46242014-06-01 David S. Miller <davem@davemloft.net>
4625
4626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4627
30f3d07c
DM
46282014-05-31 David S. Miller <davem@davemloft.net>
4629
4630 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4631 to occur in round to nearest mode when |x| >= 2.0
4632
74f31c18
RH
46332014-05-30 Richard Henderson <rth@twiddle.net>
4634
f0712b54
RH
4635 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4636 (PSEUDO_RET_NOERRNO): Remove.
4637 (ret): Don't redefine.
4638 (ret_NOERRNO): Define in terms of ret.
4639 (ret_ERRVAL): Likewise.
4640
74f31c18
RH
4641 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4642 use of PSEUDO_RET; perform the error check directly.
4643
30477995
MM
46442014-05-30 Marko Myllynen <myllynen@redhat.com>
4645
4646 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4647 with __int128_t.
4648
62a58816
SP
46492014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
4651 * malloc/malloc (malloc_info): Fix formatting.
4652
4d653a59
SP
46532014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4654 Roland McGrath <roland@hack.frob.com>
4655
4656 * malloc/malloc (malloc_info): Also print mmapped statistics.
4657
5190c17f
RM
46582014-05-30 Roland McGrath <roland@hack.frob.com>
4659
4660 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4661 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4662
987c0269
OB
46632014-05-30 Ondřej Bílka <neleai@seznam.cz>
4664
4665 * malloc/malloc.c (malloc_info): Inline mi_arena.
4666
af4e8ef9
RH
46672014-05-29 Richard Henderson <rth@twiddle.net>
4668
1670e207
RH
4669 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4670 Remove comma before expanding ASM_ARGS_##nr.
4671 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4672 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4673 of ASM_ARGS_##nr.
4674 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4675 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4676 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4677 (ASM_ARGS_1): Add leading comma.
4678
11a28aee
RH
4679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4680 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4681 to __errno_location.
4682 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4683 Remove the expected plt for __errno_location.
4684
a17e5ffb 4685 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4686 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4687 call to __read_tp.
4688
b5be4597
RH
4689 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4690 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4691 it and break it down.
4692 (DOCARGS_0, DOCARGS_1): Do nothing.
4693 (DOCARGS_2): Update to store into the new stack frame.
4694 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4695 (UNDOCARGS_1): Update to restore from the new stack frame.
4696 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4697 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4698
645d44ab
RH
4699 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4700 (SINGLE_THREAD_P): New parameter for result regno.
4701 (PSEUDO): Update to match; use cbz instead of beq.
4702
a8b4f04a
RH
4703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4704 Use ENTRY to define the _nocancel entry point. Share the syscall
4705 and syscall error check paths with the cancel path.
4706 (PSEUDO_END): New.
4707
af4e8ef9
RH
4708 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4709 whitespace; tabs before and after asm mnemonics.
4710
26b0d2e1
EW
47112014-05-29 Eric Wong <normalperson@yhbt.net>
4712
4713 [BZ #15132]
4714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4715 Call fstat64 or stat64 internally, depending on arguments passed.
4716 Replace stat buffer argument with file descriptor argument.
4717 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4718 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4719 Pass fd to __internal_statvfs instead of calling fstat64.
4720 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4721 Pass fd to __internal_statvfs64 instead of calling fstat64.
4722 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4723 Pass -1 to __internal_statvfs instead of calling stat64.
4724 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4725 Pass -1 to __internal_statvfs64 instead of calling stat64.
4726
1efe2bd9
RM
47272014-05-28 Roland McGrath <roland@hack.frob.com>
4728
0d3b7a19
RM
4729 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4730 that was previously under [RESET_PID].
4731 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4732
1efe2bd9
RM
4733 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4734 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4735
a6bea3ca
RM
47362014-05-27 Roland McGrath <roland@hack.frob.com>
4737
30b6629e
RM
4738 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4739
a6bea3ca
RM
4740 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4741 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4742
3dfb9a5c
OB
47432014-05-27 Ondřej Bílka <neleai@seznam.cz>
4744
4745 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4746
774f9285
AS
47472014-05-27 Andreas Schwab <schwab@suse.de>
4748
4749 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4750 TLS_INIT_TP macro.
4751 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4752 * elf/rtld.c (init_tls, dl_main): Likewise.
4753 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4754 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4755 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4756 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4757 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4758 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4759 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4760 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4761 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4762 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4763 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4764 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4765 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4766 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4767 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4768 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4769 * sysdeps/generic/tls.h: Update description.
4770
36ffe739
WN
47712014-05-27 Will Newton <will.newton@linaro.org>
4772
4773 [BZ #16990]
4774 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4775 and restore r2 rather than just restoring.
4776
2482ae43
SP
47772014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4778
4779 [BZ #16724]
4780 * libio/tst-ftell-append.c: New test case.
4781 * libio/Makefile (tests): Add test case.
4782 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4783 append mode.
4784 * libio/wfileops.c (do_ftell_wide): Likewise.
4785
3d1024e8
AZ
47862014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787
bab90016
AZ
4788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4789
c7a8d667
AZ
4790 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4791 ...
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4794 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4795 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4797 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4798 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4799 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4801 Moved ...
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4804 Moved ...
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4807 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4808 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4809 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4811 ...
4812 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4814 Moved ...
4815 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4816 here.
4817 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4818 ...
4819 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4821 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4822
daee7851
AZ
4823 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4824 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4825 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4826 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4827
50a40819
AZ
4828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4829 merge into ...
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4832 ...
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4835 ...
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4838 Moved ...
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4840 here.
4841 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4842 Moved ...
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4845 Moved ...
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4847
8464c2a1
AZ
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4849 conditional [RESET_PID].
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4852 removed.
4853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4854 removed.
4855
3d1024e8
AZ
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4857 <tcb-offsets.h>.
4858 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4859 (__libc_vfork): New strong alias.
4860 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4861 removed.
4862 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4863 Removed.
4864
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4866 <tcb-offsets.h>.
4867 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4868 (__libc_vfork): New strong alias.
4869 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4870 removed.
4871 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4872 removed.
4873
fdfd175d
CD
48742014-05-26 Carlos O'Donell <carlos@redhat.com>
4875
4876 * malloc/malloc.c (mi_arena): New function.
4877 (malloc_info): Remove nested function mi_arena. Call non-nosted
4878 function mi_arena.
4879
d298c416
AZ
48802014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4881
4882 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4883 by insrwi.
4884 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4885 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4886 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4887 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4888 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4889 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4890 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4891
b60ea6ff
AS
48922014-05-26 Andreas Schwab <schwab@suse.de>
4893
4894 [BZ #16984]
4895 * locale/programs/repertoire.c (repertoire_read): Add slash
4896 between I18NPATH element and file name.
4897 * locale/programs/locfile.c (locfile_read): Likewise.
4898
67365926
SL
48992014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4900
4901 * nptl/pthread_mutexattr_settype.c
4902 (__pthread_mutexattr_settype):
4903 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4904
f8bdf1f0
SL
49052014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4906
4907 * nptl/tst-mutex5 (do_test):
4908 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4909
15eaf6ff
SP
49102014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4911
4912 * benchtests/README: Document 'init' directive.
4913 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4914 BENCH_INIT.
4915 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4916 (parse_file): Recognize 'init' directive.
4917
75f11331
KM
49182014-05-26 Kyle McMartin <kyle@redhat.com>
4919
4920 [BZ #16796]
4921 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4922 alignment of struct pthread.
4923
c3ec475c
SP
49242014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4925
4926 [BZ #16878]
4927 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4928 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4929 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4930 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4931
82aab97c
RH
49322014-05-25 Richard Henderson <rth@twiddle.net>
4933
aa2f176d
RH
4934 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4935 (SINGLE_THREAD_P_PIC): Remove.
4936 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4937 (SINGLE_THREAD_P_PIC): Remove.
4938
ca3cfa40
RH
4939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4940 branch to syscall error ...
4941 (PSEUDO): ... here.
4942 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4943 from __local_syscall_error to .Lsyscall_error.
4944 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4945 (SYSCALL_ERROR): Update label name.
4946
6e6c2d01
RH
4947 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4948 Do not use DOARGS/UNDOARGS.
4949 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4950 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4951 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4952 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4953 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4954
c69abcee
RH
4955 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4956 block comment.
4957
82aab97c
RH
4958 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4959 define if !NOT_IN_libc.
4960 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4961 define with non-default symbol versions.
4962
8820e3ac
RH
49632014-05-23 Richard Henderson <rth@twiddle.net>
4964
900e445f
RH
4965 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4966 (vfork, __vfork): Define via compat_symbol.
4967
8820e3ac
RH
4968 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4969 [!HAVE_IFUNC] (vfork_compat): Remove.
4970 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4971
e59252a5
JM
49722014-05-23 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #16978]
4975 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4976 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4977 variable.
4978
132c7f5f
RH
49792014-05-23 Richard Henderson <rth@twiddle.net>
4980
bc89e962
RH
4981 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4982 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4983 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4984 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4985
4986 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4987 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4988 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4989 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4990 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4991 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4992 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4993 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4994 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4995 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4996 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4997 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4998 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4999 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5000 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5001 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5002 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5003 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5004 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5005 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5006 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5007 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5008 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5009 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5010 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5011 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5012 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5013 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5014 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5015 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5016 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5017 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5018 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5019 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5021 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5022 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5023 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5025 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5026 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5027 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5028 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5029 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5030 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5031 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5032 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5033 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5034 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5035 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5036 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5037 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5038 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5039 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5040 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5041 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5042
e2fa4bc2
RH
5043 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5044 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5045 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5046 before exiting on error.
5047 (__libc_vfork): New strong alias.
5048 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5049 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5050
279b24e2
RH
5051 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5052 that was previously under [RESET_PID].
5053 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5054
132c7f5f
RH
5055 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5056
b72592e7
JM
50572014-05-23 Joseph Myers <joseph@codesourcery.com>
5058
5059 [BZ #16977]
5060 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5061 value when x - 1 is zero.
5062 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5063 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5064 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5065 0.0L for an argument of 1.0L.
5066 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5067 Likewise.
5068 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5069 value when x - 1 is zero.
5070 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5071 * sysdeps/i386/fpu/libm-test-ulps: Update.
5072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5073
2302d679
RV
50742014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5075
5076 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5077 alphasort and versionsort.
5078
32999d63
AZ
50792014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080
5081 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5082 macro.
5083 [copysignf]: Likewise.
5084
019324d0
SP
50852014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5086
5087 * crypt/md5-crypt.c: Fix formatting.
5088
34fff5c2
KS
50892014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5090
5091 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5092 (b64_from_24bit): New function.
5093
3d2badac
AZ
50942014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5095
5096 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5097 libc_hidden_builtin_def to ifunc.
5098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5099 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5100
f7bb179f 51012014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5102
5103 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5104 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5105
4134b50d
JM
51062014-05-21 Joseph Myers <joseph@codesourcery.com>
5107
bb7d0337
JM
5108 * nscd/Depend (linuxthreads): Remove.
5109 (nptl): Add.
5110 * resolv/Depend (linuxthreads): Remove.
5111 * rt/Depend (linuxthreads): Remove.
5112
4134b50d
JM
5113 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5114 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5115 $(common-objpfx)elf/.
5116 (link-libc-before-gnulib): Likewise.
5117 (elfobjdir): Remove variable.
5118 * Makefile (install): Use $(elf-objpfx) instead of
5119 $(common-objpfx)elf/.
5120 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5121 $(elfobjdir)/.
5122 (link-libc-deps): Likewise.
5123 ($(common-objpfx)libc.so): Likewise.
5124 ($(common-objpfx)linkobj/libc.so): Likewise.
5125 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5126 instead of $(common-objpfx)elf/.
5127 (symbolic-link-list): Likewise.
5128 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5129 [$(cross-compiling) = no]: Likewise.
5130 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5131 $(elfobjdir)/.
5132 (static-gnulib-arch): Likewise.
5133 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5134 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5135 $(common-objpfx)elf/.
5136
3612eb8f
RH
51372014-05-21 Richard Henderson <rth@redhat.com>
5138
a6b3657b
RH
5139 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5140 (SINGLE_THREAD_P): Use the correct width load. Fold
5141 into the ldr offset.
5142
3612eb8f
RH
5143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5144 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5145
175cef41
JM
51462014-05-20 Joseph Myers <joseph@codesourcery.com>
5147
5148 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5149 (libgcc_s_resume): Use __attribute_used__.
5150 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5151 Likewise.
5152
e13bccd3
AZ
51532014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154
5155 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5156 optimization when used with float constants.
5157
7c112a38
AZ
5158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5159
ae75a883
AJ
51602014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5161
5162 [BZ #16915]
5163 * locale/nl_langinfo_l.c: Make direct reference to every
5164 _nl_current_CATEGORY symbol.
5165 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5166 (tests-static): Add tst-langinfo-static.
5167 (tests-special): Add tst-langinfo-static.out.
5168 ($(objpfx)tst-langinfo.out): Redirect output.
5169 ($(objpfx)tst-langinfo-static.out): New.
5170 * localedata/tst-langinfo.sh: Send output to stdout.
5171 * localedata/tst-langinfo-static.c: New file.
5172
4406c41c
AJ
5173 [BZ #16965]
5174 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5175 when the shift amount is modulo the limb size.
5176
4c0a1e63
RH
51772014-05-20 Richard Henderson <rth@redhat.com>
5178
de9d8f20
RH
5179 [BZ #16967]
5180 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5181 Change type of sa_flags from unsigned int to int.
5182
4c0a1e63
RH
5183 [BZ #16966]
5184 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5185
5186 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5187
a60339aa
WN
51882014-05-20 Will Newton <will.newton@linaro.org>
5189
5190 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5191 Test the return value of the system call in the nocancel case.
5192
7d05a816
YR
51932014-05-20 Will Newton <will.newton@linaro.org>
5194 Yvan Roux <yvan.roux@linaro.org>
5195
5196 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5197 #include of asm/ptrace.h.
5198 (PTRACE_GET_THREAD_AREA): Remove #undef.
5199 (PTRACE_GETHBPREGS): Likewise.
5200 (PTRACE_SETHBPREGS): Likewise.
5201 (struct user_regs_struct): New structure.
5202 (struct user_fpsimd_struct): New structure.
5203 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5204 #include of asm/ptrace.h and second #include of sys/user.h.
5205 (PTRACE_GET_THREAD_AREA): Remove #undef.
5206 (PTRACE_GETHBPREGS): Likewise.
5207 (PTRACE_SETHBPREGS): Likewise.
5208 (ELF_NGREG): Use new struct user_regs_struct.
5209 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5210
af121e37
AZ
52112014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212
5213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5214 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5215
834caf06
JM
52162014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5217
5218 [BZ #16958]
5219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5220 membar to avoid block loads/stores to overlap previous stores.
5221
e184a918
RH
52222014-05-17 Richard Henderson <rth@redhat.com>
5223
5224 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5225 Create the __##syscall_name##_nocancel entry point.
5226 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5227 Remove; let the sysdep-cancel.h code create it.
5228
f56c7a6a
DM
52292014-05-17 David S. Miller <davem@davemloft.net>
5230
5231 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5232 Protect with __USE_GNU.
5233 (TIOCSET_TEMPT): Likewise.
5234 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5235 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5236 these are already provided in bits/ioctl-types.h
5237
f75616b2
RM
52382014-05-16 Roland McGrath <roland@hack.frob.com>
5239
3edeca86
RM
5240 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5241 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5242
f75616b2
RM
5243 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5244 Use wait4 regardless of [__NR_waitpid].
5245
deb0f7f6
MR
52462014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5247
5248 PR libgcc/60166
5249 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5250 (_FP_NANSIGN_Q): Set the quiet bit.
5251
79520f4b
JM
52522014-05-16 Joseph Myers <joseph@codesourcery.com>
5253
5254 * benchtests/Makefile
5255 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5256 not $(common-objpfx)math/libm.so.
5257 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5258 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5259 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5260 $(common-objpfx)dlfcn/libdl.so.
5261 ($(objpfx)tst-audit8): Depend on $(libm), not
5262 $(common-objpfx)math/libm.so.
5263 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5264 not $(common-objpfx)dlfcn/libdl.so.
5265 * math/Makefile
5266 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5267 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5268 [$(build-shared) = yes].
5269 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5270 $(common-objpfx)nptl/libpthread.so.
5271 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5272 $(common-objpfx)math/libm.so$(libm.so-version) or
5273 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5274 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5275 $(common-objpfx)dlfcn/libdl.so.
5276 * setjmp/Makefile (link-libm): Remove variable.
5277 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5278 * stdio-common/Makefile (link-libm): Remove variable.
5279 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5280 * stdlib/Makefile (link-libm): Remove variable.
5281 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5282 ($(objpfx)tst-strtod-round): Likewise.
5283 ($(objpfx)tst-tininess): Likewise.
5284 ($(objpfx)tst-strtod-underflow): Likewise.
5285 ($(objpfx)tst-strtod6): Likewise.
5286 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5287 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5288 $(common-objpfx)dlfcn/libdl.so.
5289
026b0fe4
AZ
52902014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5291
5292 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5293 BSD terminal modes definitions.
5294
def4bcb2
RM
52952014-05-16 Roland McGrath <roland@hack.frob.com>
5296
fe39b021
RM
5297 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5298 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5299
1d1fc46e 5300 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5301 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5302 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5303 Don't do #include_next.
5304 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5305 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5306 Don't do #include_next.
5307 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5308 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5309 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5310 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5311
c72399fb
AM
53122014-05-16 Allan McRae <allan@archlinux.org>
5313
d51d659d
AM
5314 * po/sv.po: Update Swedish translation from translation project.
5315
c72399fb
AM
5316 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5317 in sed expression.
5318
d0583c40
AJ
53192014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5320
5321 [BZ #16917]
5322 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5323 errno if the TIOCGPTN ioctl fails with an error different than
5324 EINVAL.
5325 * login/tst-ptsname.c: New file.
5326 * login/Makefile (tests): Add tst-ptsname.
5327
d16e6ec7
AJ
5328 [BZ #16943]
5329 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5330 and prlimit64.
5331
cf26a0cb
SP
53322014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5333
5334 [BZ #16849]
5335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5336 herrno to return EAI_AGAIN.
5337
5675da1e
RM
53382014-05-14 Roland McGrath <roland@hack.frob.com>
5339
a5d87b3d
RM
5340 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5341 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5342 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5343 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5344 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5345 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5346 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5347 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5348 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5349 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5350 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5351 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5352 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5353 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5354 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5355 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5356 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5357 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5358 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5359 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5360 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5361 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5362 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5363 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5364 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5365 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5366 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5367 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5369 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5371 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5375 Moved ...
5376 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5378 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5380 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5382 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5384 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5386 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5388 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5390 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5392 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5394 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5396 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5398 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5404 Moved ...
5405 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5407 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5409 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5411 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5413 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5415 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5423 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5425 Moved ...
5426 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5428 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5429
039890a6
RM
5430 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5431 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5432 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5433 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5434 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5435 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5436 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5438 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5440 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5442 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5444 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5446 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5448 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5450 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5451 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5452 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5453 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5454 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5455 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5456 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5458 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5460 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5461
65c89320
RM
5462 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5463 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5464
348f8e8c
RM
5465 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5466 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5467 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5468 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5469 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5470 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5471 Moved ...
5472 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5473 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5474 Moved ...
5475 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5477 Moved ...
5478 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5480 Moved ...
5481 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5483 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5484 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5485 Moved ...
5486 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5487 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5488 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5489 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5490 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5491 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5492 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5493 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5494 Moved ...
5495 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5497 Moved ...
5498 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5499 ... here.
5500 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5501 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5503 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5505 Moved ...
5506 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5507 ... here.
5508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5509 Moved ...
5510 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5512 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5514 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5516 Moved ...
5517 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5519 Moved ...
5520 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5522 Moved ...
5523 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5525 Moved ...
5526 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5528 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5530 Moved ...
5531 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5533 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5535 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5537 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5539 Moved ...
5540 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5542 Moved ...
5543 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5544 ... here.
5545 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5546 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5548 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5550 Moved ...
5551 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5552 ... here.
5553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5554 Moved ...
5555 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5557 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5559 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5561 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5563 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5565 Moved ...
5566 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5567 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5568 Moved ...
5569 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5571 Moved ...
5572 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5573 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5574 Moved ...
5575 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5577 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5579 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5581 Moved ...
5582 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5583 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5584 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5586 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5588 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5590 Moved ...
5591 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5593 Moved ...
5594 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5595 ... here.
5596 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5597 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5599 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5601 Moved ...
5602 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5603 ... here.
5604 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5605 Moved ...
5606 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5608 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5610 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5611 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5612 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5613 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5614 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5615 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5616 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5617
5085af05
RM
5618 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5619 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5620
708f0813
RM
5621 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5622 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5623
c96067bc
RM
5624 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5625 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5626 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5627 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5628 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5629 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5630 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5631 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5632 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5633 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5634 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5636 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5637 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5638 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5640 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5642 Moved ...
5643 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5645 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5647 Moved ...
5648 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5649 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5650 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5652 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5656 Moved ...
5657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5659 Moved ...
5660 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5664 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5666 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5668 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5669 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5670 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5672 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5674 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5676 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5677
ec136444
RM
5678 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5679 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5680 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5681 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5682 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5683
2fbdf533
RM
5684 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5685 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5686 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5687 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5688 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5689 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5690 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5691 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5692 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5693 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5694
4c68138b
RM
5695 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5696 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5697
4eaae765
RM
5698 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5699 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5700 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5701 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5702 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5703 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5704 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5705 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5706 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5707 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5708 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5709 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5710 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5711 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5712 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5713 Update #include.
5714 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5715 Likewise.
5716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5717 Likewise.
5718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5719 Likewise.
5720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5721 Likewise.
5722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5723 Likewise.
5724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5725 Likewise.
5726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5727 Likewise.
5728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5729 Likewise.
5730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5731 Likewise.
4ef6befa
RM
5732 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5737 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5738 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5739 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5741 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5742 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5743 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5744 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5745 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5746 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5747
941d7dfd
RM
5748 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5749 that was previously under [RESET_PID].
5750 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5751 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5752 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5753
1b731c35
RM
5754 * sysdeps/i386/nptl/Implies: New file.
5755 * sysdeps/x86_64/nptl/Implies: New file.
5756 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5757 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5758 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5759 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5760
e2787137
RM
5761 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5762 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5763 (__libc_vfork): New strong alias.
5764 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5765 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5766
5767 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5768 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5769 (__libc_vfork): New strong alias.
5770 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5771 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5772
5675da1e
RM
5773 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5774 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5775 (__libc_vfork): New strong alias.
5776 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5777 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5778 * nptl/pt-vfork.c: New file.
5779 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5780 (libpthread: GLIBC_2.20): New version set (empty).
5781
4f02e2b8
WN
57822014-05-14 Will Newton <will.newton@linaro.org>
5783
5784 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5785 rather than #if.
5786
0bf061d3
JM
57872014-05-14 Joseph Myers <joseph@codesourcery.com>
5788
1a84c3d6
JM
5789 [BZ #16564]
5790 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5791 arguments with exponent 65 or above.
5792 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5793 arguments 0x1p113L or above.
5794 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5795 to arguments 0x1p107L or above.
5796 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5797 positive arguments with exponent 65 or above.
5798 * math/auto-libm-test-in: Add more tests of log1p.
5799 * math/auto-libm-test-out: Regenerated.
5800
01dbacd2
JM
5801 [BZ #16928]
5802 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5803 non-finite arguments is +0.
5804 * math/s_cacosf.c (__cacosf): Likewise.
5805 * math/s_cacosl.c (__cacosl): Likewise.
5806 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5807 * sysdeps/i386/fpu/libm-test-ulps: Update.
5808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5809
913d03c8
JM
5810 [BZ #16927]
5811 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5812 value.
5813 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5814 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5815 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5816 for explicit high bit of mantissa when testing for argument equal
5817 to 1.
5818 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5819 * sysdeps/i386/fpu/libm-test-ulps: Update.
5820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5821
0bf061d3
JM
5822 [BZ #16516]
5823 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5824 (__erf): Scale by 16 instead of 8 in potentially underflowing
5825 case. Ensure exception if result actually underflows.
5826 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5827 (__erff): Scale by 16 instead of 8 in potentially underflowing
5828 case. Ensure exception if result actually underflows.
5829 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5830 (efx8): Remove variable.
5831 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5832 case. Ensure exception if result actually underflows.
5833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5834 (efx8): Remove variable.
5835 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5836 case. Ensure exception if result actually underflows.
5837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5838 (efx8): Remove variable.
5839 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5840 case. Ensure exception if result actually underflows.
5841 * math/auto-libm-test-in: Add more tests of erf.
5842 * math/auto-libm-test-out: Regenerated.
5843
73ba67cb
AS
58442014-05-14 Andreas Schwab <schwab@suse.de>
5845
3d8c8bff
AS
5846 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5847 Remove code conditionalized on USE___THREAD.
5848
73ba67cb
AS
5849 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5850 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5851 not definedness.
5852
5c521ecd
JM
58532014-05-14 Joseph Myers <joseph@codesourcery.com>
5854
5e7698c6
JM
5855 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5856 Define unconditionally.
5857 (__ASSUME_O_CLOEXEC): Likewise.
5858 (__ASSUME_SOCK_CLOEXEC): Likewise.
5859 (__ASSUME_IN_NONBLOCK): Likewise.
5860 (__ASSUME_PIPE2): Likewise.
5861 (__ASSUME_EVENTFD2): Likewise.
5862 (__ASSUME_SIGNALFD4): Likewise.
5863 (__ASSUME_DUP3): Likewise.
5864 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5865 (__ASSUME_DUP3): Do not define.
5866 (__ASSUME_EVENTFD2): Likewise.
5867 (__ASSUME_IN_NONBLOCK): Likewise.
5868 (__ASSUME_O_CLOEXEC): Likewise.
5869 (__ASSUME_PIPE2): Likewise.
5870 (__ASSUME_SIGNALFD4): Likewise.
5871 (__ASSUME_SOCK_CLOEXEC): Likewise.
5872 (__ASSUME_UTIMES): Undefine.
5873 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5874 (__ASSUME_UTIMES): Do not define.
5875 (__ASSUME_O_CLOEXEC): Likewise.
5876 (__ASSUME_SOCK_CLOEXEC): Likewise.
5877 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5878 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5879 0x020621].
5880 (__ASSUME_PIPE2): Likewise.
5881 (__ASSUME_EVENTFD2): Likewise.
5882 (__ASSUME_SIGNALFD4): Likewise.
5883 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5884 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5885 Do not define.
5886 (__ASSUME_EVENTFD2): Likewise.
5887 (__ASSUME_SIGNALFD4): Likewise.
5888 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5889 (__ASSUME_32BITUIDS): Likewise.
5890 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5891 (__ASSUME_IPC64): Likewise.
5892 (__ASSUME_ST_INO_64_BIT): Likewise.
5893 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5894 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5895 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5896 (__ASSUME_UTIMES): Do not define.
5897 (__ASSUME_PSELECT): Likewise.
5898 (__ASSUME_PPOLL): Likewise.
5899 (__ASSUME_O_CLOEXEC): Likewise.
5900 (__ASSUME_SOCK_CLOEXEC): Likewise.
5901 (__ASSUME_IN_NONBLOCK): Likewise.
5902 (__ASSUME_PIPE2): Likewise.
5903 (__ASSUME_EVENTFD2): Likewise.
5904 (__ASSUME_SIGNALFD4): Likewise.
5905 (__ASSUME_DUP3): Likewise.
5906 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5907 (__ASSUME_UTIMES): Likewise.
5908 (__ASSUME_O_CLOEXEC): Likewise.
5909 (__ASSUME_SOCK_CLOEXEC): Likewise.
5910 (__ASSUME_IN_NONBLOCK): Likewise.
5911 (__ASSUME_PIPE2): Likewise.
5912 (__ASSUME_EVENTFD2): Likewise.
5913 (__ASSUME_SIGNALFD4): Likewise.
5914 (__ASSUME_DUP3): Likewise.
5915 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5916 (__ASSUME_UTIMES): Likewise.
5917 (__ASSUME_O_CLOEXEC): Likewise.
5918 (__ASSUME_SOCK_CLOEXEC): Likewise.
5919 (__ASSUME_IN_NONBLOCK): Likewise.
5920 (__ASSUME_PIPE2): Likewise.
5921 (__ASSUME_EVENTFD2): Likewise.
5922 (__ASSUME_SIGNALFD4): Likewise.
5923 (__ASSUME_DUP3): Likewise.
5924 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5925 Likewise.
5926 (__ASSUME_UTIMES): Likewise.
5927 (__ASSUME_EVENTFD2): Likewise.
5928 (__ASSUME_SIGNALFD4): Likewise.
5929 * sysdeps/unix/sysv/linux/tile/kernel-features.h
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 (__ASSUME_UTIMES): Undefine.
5938
5c521ecd
JM
5939 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5940 feclearexcept. Remove symbol versioning code.
5941 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5942 symbol versioning code.
5943 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5944 symbol versioning code.
5945 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5946 feupdateenv. Remove symbol versioning code.
5947 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5948 fegetexceptflag. Remove symbol versioning code.
5949 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5950 fesetexceptflag. Remove symbol versioning code.
5951 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5952 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5953 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5954 (__posix_fadvise64_l32): Remove prototype.
5955 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5956 code.
5957
5da9dfad
RM
59582014-05-13 Roland McGrath <roland@hack.frob.com>
5959
5960 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5961 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5962 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5963 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5964
893b4f37
SK
59652014-05-13 Sami Kerola <kerolasa@iki.fi>
5966
5967 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5968 current working directory
5969
e0db6517
RM
59702014-05-13 Roland McGrath <roland@hack.frob.com>
5971
58aa195d
RM
5972 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5973 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5974 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5975 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5976 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5977 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5978 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5979 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5980 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5981 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5982 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5983 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5984 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5987 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5988 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5989 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5990 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6003 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6004 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6005 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6006 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6007 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6008 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6009 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6010 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6011 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6012 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6013 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6014
8c6d01f0
RM
6015 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6016 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6017
6018 * sysdeps/unix/sysv/linux/arm/Makefile
6019 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6020 Add rt-aeabi_unwind_cpp_pr1.
6021 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6022 Add nptl-aeabi_unwind_cpp_pr1.
6023 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6024 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6025 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6026 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6027 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6028 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6029
6030 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6031 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6032 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6033 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6034
bba6da4e
RM
6035 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6036 Deconditionalize the code that was previously under [RESET_PID].
6037 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6038
e0db6517
RM
6039 * sysdeps/generic/exit-thread.h: New file.
6040 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6041 * include/unistd.h (__exit_thread): Remove declaration.
6042 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6043 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6044 * csu/libc-start.c: Include <exit-thread.h>.
6045 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6046 * nptl/pthread_create.c: Include <exit-thread.h>.
6047 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6048 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6049 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6050 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6051 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6052 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6053 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6054 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6055 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6056 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6057 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6058 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6059 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6060 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6061 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6062 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6063 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6064
01eb16fd
AS
60652014-05-13 Andreas Schwab <schwab@suse.de>
6066
6067 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6068
637461d9
JM
60692014-05-12 Joseph Myers <joseph@codesourcery.com>
6070
6071 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6072 (__ASSUME_UTIMES): Do not condition on kernel version.
6073 (__ASSUME_PSELECT): Define unconditionally.
6074 (__ASSUME_PPOLL): Likewise.
6075 (__ASSUME_ATFCTS): Likewise.
6076 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6077 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6078 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6079 (__ASSUME_UTIMENSAT): Define unconditionally.
6080 (__ASSUME_PRIVATE_FUTEX): Likewise.
6081 (__ASSUME_FALLOCATE): Likewise.
6082 (__ASSUME_O_CLOEXEC): Likewise.
6083 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6084 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6085 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6086 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6087 (__ASSUME_IN_NONBLOCK): Likewise.
6088 (__ASSUME_PIPE2): Likewise.
6089 (__ASSUME_EVENTFD2): Likewise.
6090 (__ASSUME_SIGNALFD4): Likewise.
6091 (__ASSUME_DUP3): Likewise.
6092 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6093 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6094 (__ASSUME_AT_RANDOM): Likewise.
6095 (__ASSUME_PREADV): Likewise.
6096 (__ASSUME_PWRITEV): Likewise.
6097 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6098 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6099 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6100 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6101 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6102 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6103 (__ASSUME_O_CLOEXEC): Define unconditionally.
6104 (__ASSUME_PSELECT): Do not undefine conditionally.
6105 (__ASSUME_PPOLL): Likewise.
6106 (__ASSUME_ATFCTS): Likewise.
6107 (__ASSUME_SET_ROBUST_LIST): Likewise.
6108 (__ASSUME_UTIMENSAT): Likewise.
6109 (__ASSUME_FDATASYNC): Define unconditionally.
6110 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6111 (__ASSUME_SIGFRAME_V2): Likewise.
6112 )__ASSUME_EVENTFD2): Likewise.
6113 (__ASSUME_SIGNALFD4): Likewise.
6114 (__ASSUME_PSELECT): Do not undefine conditionally.
6115 (__ASSUME_PPOLL): Likewise.
6116 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6117 (__ASSUME_PSELECT): Define unconditionally.
6118 (__ASSUME_PPOLL): Likewise.
6119 (__ASSUME_O_CLOEXEC): Likewise.
6120 (__ASSUME_SOCK_CLOEXEC): Likewise.
6121 (__ASSUME_IN_NONBLOCK): Likewise.
6122 (__ASSUME_PIPE2): Likewise.
6123 (__ASSUME_EVENTFD2): Likewise.
6124 (__ASSUME_SIGNALFD4): Likewise.
6125 (__ASSUME_DUP3): Likewise.
6126 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6127 (__ASSUME_O_CLOEXEC): Likewise.
6128 (__ASSUME_SOCK_CLOEXEC): Likewise.
6129 (__ASSUME_IN_NONBLOCK): Likewise.
6130 (__ASSUME_PIPE2): Likewise.
6131 (__ASSUME_EVENTFD2): Likewise.
6132 (__ASSUME_SIGNALFD4): Likewise.
6133 (__ASSUME_DUP3): Likewise.
6134 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6135 (__ASSUME_EVENTFD2): Likewise.
6136 (__ASSUME_SIGNALFD4): Likewise.
6137 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6138
315eb1d8
AS
61392014-05-12 Andreas Schwab <schwab@suse.de>
6140
6141 [BZ #16932]
6142 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6143 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6144 than maximum RPC packet size.
6145 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6146 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6147 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6148 (_nss_nis_getservbyport_r): Likewise.
6149
91df99f7
WN
61502014-05-12 Will Newton <will.newton@linaro.org>
6151
6152 * malloc/Makefile (tests): Add tst-mallopt.
6153 * malloc/tst-mallopt.c: New file.
6154
0a982a29
RM
61552014-05-09 Roland McGrath <roland@hack.frob.com>
6156
6157 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6158 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6159
0ded08a5
AZ
61602014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6161
6162 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6163 (tst-tlsmod6.so): Likewise.
6164
55d4d550
RM
61652014-05-09 Roland McGrath <roland@hack.frob.com>
6166
6167 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6168
77d08aca
JM
61692014-05-09 Joseph Myers <joseph@codesourcery.com>
6170
6171 [BZ #16064]
6172 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6173 and <dl-procinfo.h>.
6174 (__fegetenv): Save SSE state in envp->__eip if supported.
6175 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6176 envp->__eip if supported.
6177 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6178 and <dl-procinfo.h>.
6179 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6180 __data_offset and __data_selector in environment to 0. Set SSE
6181 state if supported.
6182 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6183 test-fenv-sse.
6184 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6185 -mfpmath=sse.
6186 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6187
28162f4d
WN
61882014-05-09 Will Newton <will.newton@linaro.org>
6189
6190 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6191 and libc_relro_required for ARM.
6192 * sysdeps/arm/preconfigure: Regenerate.
6193
5a414ff7
DV
61942014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6195 Stefan Liebler <stli@linux.vnet.ibm.com>
6196
6197 * config.make.in (enable-lock-elision): New Makefile variable.
6198 * configure.ac: Likewise.
6199 * configure: Regenerate.
6200 * sysdeps/s390/configure.ac:
6201 Add check for gcc transactions support.
6202 * sysdeps/s390/configure: Regenerate.
6203 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6204 Build elision files if enabled.
6205 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6206 Add lock elision support for s390.
6207 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6208 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6209 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6210 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6211 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6212 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6213 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6214 Likewise.
6215 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6216 Likewise.
6217 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6218 Likewise.
6219 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6220 Likewise.
6221 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6222 (__lll_timedlock_elision, __lll_lock_elision)
6223 (__lll_unlock_elision, __lll_trylock_elision)
6224 (lll_timedlock_elision, lll_lock_elision)
6225 (lll_unlock_elision, lll_trylock_elision): Add.
6226 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6227 (pthread_mutex_t): Add lock elision support for s390.
6228
1a2f40e5
W
62292014-05-14 Wilco <wdijkstr@arm.com>
6230
6231 * sysdeps/arm/fclrexcpt.c: Cleanup.
6232 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6233 * sysdeps/arm/feenablxcpt.c: Cleanup.
6234 * sysdeps/arm/fegetenv.c: Cleanup.
6235 * sysdeps/arm/fegetexcept.c: Cleanup.
6236 * sysdeps/arm/fegetround.c: Cleanup.
6237 * sysdeps/arm/feholdexcpt.c: Cleanup.
6238 * sysdeps/arm/fesetenv.c: Cleanup.
6239 * sysdeps/arm/fesetround.c: Cleanup.
6240 * sysdeps/arm/feupdateenv.c: Cleanup.
6241 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6242 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6243 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6244 * sysdeps/arm/ftestexcept.c: Cleanup.
6245 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6246 * sysdeps/arm/setfpucw.c: Cleanup.
6247
f63c86fe
WN
62482014-05-09 Will Newton <will.newton@linaro.org>
6249
6250 * sysdeps/arm/armv7/strcmp.S: New file.
6251 * NEWS: Mention addition of ARMv7 optimized strcmp.
6252
7a1a51b5
RM
62532014-05-08 Roland McGrath <roland@hack.frob.com>
6254
95afbbe5
RM
6255 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6256 look for %.ac rather than %.in.
6257
6258 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6259 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6260 * sysdeps/mach/hurd/configure: Regenerated.
6261 * sysdeps/unix/sysv/linux/configure: Regenerated.
6262
7a1a51b5
RM
6263 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6264
5057ad3b
SE
62652014-05-07 Steve Ellcey <sellcey@mips.com>
6266
6267 [BZ# 16922]
6268 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6269 (LONG_SUB): Ditto.
6270 (PTR_SUB): Ditto.
6271
8dc97517
AS
62722014-05-07 Andreas Schwab <schwab@suse.de>
6273
6274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6275 when skipping over non-matching result from nscd.
6276
ce0c5b8f
OB
62772014-05-07 Ondřej Bílka <neleai@seznam.cz>
6278
6279 [BZ #16876]
6280 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6281
a1189263
OB
6282 [BZ #16877]
6283 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6284 nscd security class.
ce0c5b8f 6285
0f58d252
RM
62862014-05-06 Roland McGrath <roland@hack.frob.com>
6287
6288 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6289 * sysdeps/arm/unwind.h: ... here.
6290
83df9ad0
AJ
62912014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6292
ce0c5b8f
OB
6293 [BZ# 16916]
6294 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6295 Define.
83df9ad0 6296
f360f94a
VR
62972014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6298
6299 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6300 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6301 multiarch strncpy for PPC64.
6302 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6303 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6305 multiarch optimizations.
6306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6307 (__libc_ifunc_impl_list): Likewise.
6308 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6309 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6310 multiarch stpncpy for PPC64.
6311 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6312 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6313
978a41c3
AS
63142014-05-06 Andreas Schwab <schwab@suse.de>
6315
6316 [BZ #16912]
6317 * gmon/mcount.c (_MCOUNT_DECL): Use
6318 atomic_compare_and_exchange_bool_acq instead of
6319 catomic_compare_and_exchange_bool_acq.
6320
eb1ed03d
RM
63212014-05-05 Roland McGrath <roland@hack.frob.com>
6322
fe658845
RM
6323 * elf/Makefile (others, install-bin): Remove pldd.
6324 (pldd-modules): Variable removed.
6325 ($(objpfx)pldd): Target removed.
6326 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6327 (others, install-bin): Append pldd here.
6328 ($(objpfx)pldd): New target.
6329
eb1ed03d
RM
6330 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6331 to 0, so the first #if test emitted later doesn't see it undefined.
6332 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6333 * sysdeps/gnu/errlist.c: Regenerated.
6334
19c4bec0
AZ
63352014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6336
6337 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6338 [libc_hidden_builtin_def]: Define to empty value.
6339 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6340 [libc_hidden_builtin_def]: Likewise.
6341 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6342 [libc_hidden_builtin_def]: Likewise.
6343 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6344 [libc_hidden_builtin_def]: Likewise.
6345 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6346 __redirect_memcpy and define ifunc as default hidden symbol.
6347 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6348 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6349
7776e669
AC
63502014-05-04 Adam Conrad <adconrad@0c3.net>
6351
6352 * locale/iso-4217.def: Reintroduce XDR currency.
6353
d69aeb12
AM
63542014-05-04 Allan McRae <allan@archlinux.org>
6355
6356 * po/eo.po: Update Esperanto translation from translation project.
6357
8f1df5cf
CD
63582014-05-02 Carlos O'Donell <carlos@redhat.com>
6359
6360 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6361 and FEATURE_INDEX_MAX to 1.
6362 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6363
13e402e7
SE
63642014-05-01 Steve Ellcey <sellcey@mips.com>
6365
6366 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6367 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6368 * iconvdata/big5.c (ONE_DIRECTION): Define.
6369 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6370 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6371 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6372 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6373 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6374 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6375 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6376 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6377 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6378 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6379 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6380 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6381 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6382 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6383 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6384 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6385 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6386 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6387 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6388 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6389 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6390 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6391 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6392 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6393 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6394 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6395 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6396 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6397 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6398 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6399 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6400 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6401 * iconvdata/johab.c (ONE_DIRECTION): Define.
6402 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6403 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6404 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6405 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6406 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6407 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6408 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6409 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6410 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6411 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6412
c727f032
RM
64132014-05-01 Roland McGrath <roland@hack.frob.com>
6414
8f2f08d0
RM
6415 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6416 (_IO_JUMPS_OFFSET): Define to 0.
6417
c727f032
RM
6418 * nptl/sysdeps/pthread/bits/libc-lock.h
6419 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6420 (__libc_lock_define_initialized_recursive): Always define using
6421 initializer. Modern compilers treat uninitialized (implicit zero) and
6422 explicit zero initializers the same (i.e. put the datum in bss).
6423
a849e800
AS
64242014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6425
6426 * nscd/nscd-client.h: Include <string.h>.
6427
5331255b
DM
64282014-05-01 David S. Miller <davem@davemloft.net>
6429
6430 [BZ #16885]
6431 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6432 multiple zero bytes exist at the end of a string.
6433 Reported by Aurelien Jarno <aurelien@aurel32.net>
6434
6435 * string/test-strcmp.c (check): Add explicit test for situations where
6436 there are multiple zero bytes after the first.
6437
4fdfe821
AS
64382014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6439
6440 [BZ #16890]
6441 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6442 when compiling wprintf.
6443 * stdio-common/tstdiomisc.c (t3): New function.
6444 (main): Call it.
6445
0cdddc25
SE
64462014-05-01 Steve Ellcey <sellcey@mips.com>
6447
6448 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6449 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6450 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6451 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6452
6426d77e
SE
64532014-05-01 Steve Ellcey <sellcey@mips.com>
6454
6455 * stdlib/longlong.h: Updated from GCC.
6456
6d96f5e4
WN
64572014-05-01 Will Newton <will.newton@linaro.org>
6458 Bernard Ogden <bernie.ogden@linaro.org>
6459
7470db0c
WN
6460 * NEWS: Update fixed bug list.
6461
6d96f5e4
WN
6462 [BZ #15119]
6463 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6464
211d653c
DM
64652014-04-30 David S. Miller <davem@davemloft.net>
6466
4fa262fa
DM
6467 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6468 (libc_feholdexcept_setround_sparc_ctx): New function.
6469 (libc_fesetenv_sparc_ctx): Likewise.
6470 (libc_feupdateenv_sparc_ctx): Likewise.
6471 (libc_feholdsetround_sparc_ctx): Likewise.
6472 (libc_feholdexcept_setround_ctx): Define.
6473 (libc_feholdexcept_setroundf_ctx): Likewise.
6474 (libc_feholdexcept_setroundl_ctx): Likewise.
6475 (libc_fesetenv_ctx): Likewise.
6476 (libc_fesetenvf_ctx): Likewise.
6477 (libc_fesetenvl_ctx): Likewise.
6478 (libc_feupdateenv_ctx): Likewise.
6479 (libc_feupdateenvf_ctx): Likewise.
6480 (libc_feupdateenvl_ctx): Likewise.
6481 (libc_feresetround_ctx): Likewise.
6482 (libc_feresetroundf_ctx): Likewise.
6483 (libc_feresetroundl_ctx): Likewise.
6484 (libc_feholdsetround_ctx): Likewise.
6485 (libc_feholdsetroundf_ctx): Likewise.
6486 (libc_feholdsetroundl_ctx): Likewise.
6487
1d3d93ef
DM
6488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6489 with __USE_GNU instead of XOPEN cpp guards.
6490
8aa583c3
DM
6491 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6492 0.
6493
211d653c
DM
6494 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6495 with XOPEN cpp guards.
6496
60c8f1f6
JB
64972014-04-30 Julian Brown <julian@codesourcery.com>
6498
6499 [BZ #16888]
6500 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6501 handling.
6502
9a461d46
JM
65032014-04-30 Joseph Myers <joseph@codesourcery.com>
6504
d0f5b3f8
JM
6505 [BZ #9894]
6506 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6507 Change to 2.6.32.
6508 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6509 * sysdeps/unix/sysv/linux/configure: Regenerated.
6510 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6511 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6512 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6513 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6514 * README: Update reference to required Linux kernel version.
6515 * manual/install.texi (Linux): Update reference to required Linux
6516 kernel headers version.
6517 * INSTALL: Regenerated.
6518
9a461d46
JM
6519 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6520 header inclusion.
6521 [POSIX] (limits.h): Likewise.
6522 [POSIX] (math.h): Likewise.
6523 [POSIX] (sys/wait.h): Likewise.
6524 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6525 function.
6526 [POSIX] (stddef.h): Do not allow header inclusion.
6527
1775babf
AZ
65282014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529
57f41c40 6530 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6531
8f630cca
YY
65322014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6533
6534 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6535 Return immediately after lll_futex_wake.
6536
1cdeb237
SP
65372014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
bc8f194c
SP
6539 [BZ #16791]
6540 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6541 structure.
6542 (datahead_init_pos): Call datahead_init_common early.
6543 (datahead_init_neg): Likewise.
6544
1cdeb237
SP
6545 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6546 datahead_init_neg): New functions.
6547 * nscd/aicache.c (addhstaiX): Use them.
6548 * nscd/grpcache.c (cache_addgr): Likewise.
6549 * nscd/hstcache.c (cache_addhst): Likewise.
6550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6551 * nscd/netgroupcache.c (do_notfound): Likewise.
6552 (addgetnetgrentX): Likewise.
6553 (addinnetgrX): Likewise.
6554 * nscd/pwdcache.c (cache_addpw): Likewise.
6555 * nscd/servicescache.c (cache_addserv): Likewise.
6556
16b293a7
SP
65572014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6558 Atsushi Onoe <atsushi@onoe.org>
6559
6560 [BZ #14308]
6561 [BZ #12994]
6562 [BZ #13651]
6563 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6564 one response is valid.
6565 * resolv/res_send.c (send_dg): Check for validity of other
6566 response if the current response is a referral.
6567
a28a9b94
SE
65682014-04-29 Steve Ellcey <sellcey@mips.com>
6569
6570 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6571
2ca180e9
SL
65722014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6573
6574 [BZ #16823]
6575 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6576 Always divide by positive zero when computing -Inf result.
6577 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6578 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6579
18f2945a
AZ
65802014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581
6582 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6583 FPSCR if value do not change.
6584 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6585 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6586 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6587 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6588 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6589 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6590 function.
6591
5abebba4
CD
65922014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6593
6594 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6595 * sysdeps/unix/sysv/linux/hppa: Move directory from
6596 ports/systeps/unix/sysv/linux/hppa.
6597 * README: Update listing for hppa-*-linux-gnu.
6598
f7ed60c2
OB
65992014-04-28 Ondřej Bílka <neleai@seznam.cz>
6600
fff763a5
OB
6601 [BZ #16754]
6602 * manual/stdio.texi (Hook functions): Fix types of stream hook
6603 functions.
f7ed60c2
OB
6604 [BZ #16854]
6605 * socket/sys/socket.h: Fix typo in comment.
6606
df639d73
WD
66072014-04-28 Wilco <wdijkstr@arm.com>
6608
f7ed60c2 6609 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6610 * sysdeps/arm/math_private.h: New file.
6611 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6612
48332d82
L
66132014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6614
6615 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6616 with __int128_t.
6617 (La_x86_64_retval): Likewise.
6618
e5e0d9a4
IB
66192014-04-24 Ian Bolton <ian.bolton@arm.com>
6620
6621 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6622 fpsr if value didn't change.
6623 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6624 to fpcr if value didn't change.
6625 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6626 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6627 fpsr or fpcr if value didn't change.
6628 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6629 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6630 fpcr if value didn't change.
6631 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6632 to fpsr if value didn't change.
6633
bacc75f7
SP
66342014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6635
6636 * nptl/tst-sem3.c: Use test-skeleton.c
6637 (main): Rename to do_test. Use return instead of
6638 exit.
6639 * nptl/tst-sem4.c: Use test-skeleton.c
6640 (main): Rename to do_test.
6641
a059d359
DM
66422014-04-22 David S. Miller <davem@davemloft.net>
6643
6644 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6645 (struct sigaction): New struct member __glibc_reserved0, change
6646 type of sa_flags to int.
6647
ea6c92f3
YZ
66482014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6649
6650 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6651 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6652
766c4a36
SP
66532014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6654
6655 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6656 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6657
140cc7ab
VK
66582014-04-22 Will Newton <will.newton@linaro.org>
6659 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6660
6661 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6662 (__longjmp): Add longjmp and longjmp_target SystemTap
6663 probes.
6664 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6665 (__sigsetjmp): Add setjmp SystemTap probe.
6666
c54e5cf7
CD
66672014-04-17 Carlos O'Donell <carlos@redhat.com>
6668
6669 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6670 match manual order.
6671
75ffb047
AZ
66722014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6673
6674 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6675
2cd925f7
AZ
6676 * sysdeps/powerpc/fpu/fenv_private.h
6677 (libc_feholdexcept_setroundl_ctx): Define to
6678 libc_feholdexcept_setround_ppc_ctx.
6679 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6680 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6681 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6682 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6683
39e6cd8d
IB
66842014-04-17 Ian Bolton <ian.bolton@arm.com>
6685
6686 * sysdeps/aarch64/math-tests.h: New file.
6687
f9281df9
SY
66882014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6689
6690 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6691 New.
6692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6693 Check and set bit_AVX2_Usable.
6694 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6695 macro.
6696 (bit_AVX2): Likewise.
6697 (index_AVX2_Usable): Likewise.
6698 (CPUID_AVX2): Likewise.
6699 (HAS_AVX2): Likewise.
6700
37d35007
WN
67012014-04-17 Will Newton <will.newton@linaro.org>
6702
7c677662
WN
6703 * manual/setjmp.texi (System V contexts): Add note that
6704 calling setcontext on a context created by a call to a
6705 signal handler is undefined. Update text to note that
6706 setcontext from a signal handler is possible but not
6707 recommended.
6708
37d35007 6709 [BZ #16629]
e04a4e9d
WN
6710 * stdlib/tst-setcontext.c: Include signal.h.
6711 (main): Check that the signal stack before and
6712 after swapcontext is the same.
6713
37d35007
WN
6714 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6715 Re-implement to restore registers in user code and avoid
6716 rt_sigreturn system call.
6717
423a7160
W
67182014-04-17 Wilco <wdijkstr@arm.com>
6719
6720 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6721 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6722 * math/test-fenv.c: Skip exception trap tests on targets which only
6723 support non-stop mode.
6724
bc93ab29
IB
67252014-04-17 Ian Bolton <ian.bolton@arm.com>
6726 Wilco Dijkstra <wilco.dijkstra@arm.com>
6727
6728 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6729 (libc_feholdsetround_aarch64_ctx)
6730 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6731 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6732 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6733 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6734 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6735 (libc_feresetround_noexl_ctx): Define.
6736
95fc5fa3
RH
67372014-04-16 Richard Henderson <rth@redhat.com>
6738
ddb04724
RH
6739 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6740
d77c0899
RH
6741 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6742 unwind tables.
6743
a3df56fc
RH
6744 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6745 const from the non-libc, non-ldso copy.
6746
95fc5fa3
RH
6747 * sysdeps/alpha/libm-test-ulps: Regenerate.
6748
7e0b6763
IB
67492014-04-16 Ian Bolton <ian.bolton@arm.com>
6750 Wilco Dijkstra <wilco.dijkstra@arm.com>
6751
6752 * sysdeps/aarch64/fpu/math_private.h: New file.
6753
a9ea2e0c
MS
67542014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6755
6756 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6757
ea8ba7cd
IZ
67582014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6759
7e54fd04 6760 [BZ #16275]
ea8ba7cd
IZ
6761 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6762 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6764 Intel MPX bound registers before _dl_profile_fixup.
6765 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6766 registers after _dl_profile_fixup. Save and restore bound
6767 registers bnd0/bnd1 when calling _dl_call_pltexit.
6768 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6769 (LR_BND_OFFSET): Likewise.
6770 (LRV_BND0_OFFSET): Likewise.
6771 (LRV_BND1_OFFSET): Likewise.
6772
9f2a4fbc
ST
67732014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6774
6775 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6776 to...
6777 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6778 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6779 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6780 fields.
9f2a4fbc 6781
fd15a59b
ST
67822014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6783
6784 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6785
f19dfa0a
SL
67862014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6787
6788 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6789
4fa8bc3b
SL
67902014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6791
6792 [BZ #14770]
6793 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6794 * sysdeps/s390/configure: Regenerate.
6795
8ea587db
SL
6796 [BZ #16824]
6797 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6798 Set round-to-nearest internally to reduce error accumulation.
6799
aa5f0ff1
AM
68002014-04-16 Alan Modra <amodra@gmail.com>
6801
6802 [BZ #16740]
6803 [BZ #16619]
6804 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6805 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6806 * NEWS: Update fixed bug list.
aa5f0ff1 6807
bb9c256f
SP
68082014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6809
6810 * benchtests/Makefile: Depend on libraries in build directory.
6811 (bench-math): Separate out math tests.
6812 (bench-pthread): Separate out pthread tests.
6813 (bench): Include math and pthread tests.
6814
f737dfd0
CD
68152014-04-14 Carlos O'Donell <carlos@redhat.com>
6816
6817 [BZ #16831]
6818 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6819 _dl_debug_initialize.
6820
0699f766
CD
6821 * configure.ac: Remove SELinux header check.
6822 * configure: Regenerate.
6823 * nscd/selinux.c (perms): Array of const char* to permission names.
6824 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6825 default policy. Call string_to_security_class and string_to_av_perm to
6826 translate strings. Enforce default policy and call avs_has_perm with
6827 results of translated strings.
6828
809bd45f
DM
68292014-04-13 David S. Miller <davem@davemloft.net>
6830
6831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6832
89e691f2
AM
68332014-04-12 Allan McRae <allan@archlinux.org>
6834
6835 [BZ #16838]
6836 * manual/string.texi (Collation Functions): Fix qsort argument
6837 order in example.
6838 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6839
9c9daaeb
CM
68402014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6841
6842 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6843 Make the test a no-op if there are no exceptions defined.
6844
95561fb9
PP
68452014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6846
fe8d072c 6847 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6848 enable-hardcoded-path-in-tests
6849
970c602a
WN
68502014-04-11 Will Newton <will.newton@linaro.org>
6851
6852 * benchtests/Makefile (extra-objs): Add json-lib.o.
6853 (bench-func): Tidy up JSON output.
6854 * benchtests/bench-skeleton.c: Include json-lib.h.
6855 (main): Use JSON library functions to do output of
6856 benchmark results.
6857 * benchtests/bench-timing-type.c (main): Output the
6858 timing type simply, leaving formatting to the user.
6859 * benchtests/json-lib.c: New file.
6860 * benchtests/json-lib.h: Likewise.
6861
36875b06
TR
68622014-04-11 Torvald Riegel <triegel@redhat.com>
6863
6864 [BZ #15215]
6865 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6866 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6867 memory barriers. Add comments.
6868 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6869 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6870 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6871 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6872 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6873 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6874
579db35a
SL
68752014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6876
6877 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6878 * sysdeps/s390/s390-64/configure.ac: ... this ...
6879 * sysdeps/s390/configure.ac: ... to here.
6880 * sysdeps/s390/s390-32/configure: Delete file.
6881 * sysdeps/s390/s390-64/configure: Delete file.
6882 * sysdeps/s390/configure: Regenerate.
6883
c12e9f37
JAPH
68842014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6885
6886 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6887
439bda32
WN
68882014-04-11 Will Newton <will.newton@linaro.org>
6889
6890 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6891 to zero if it is not defined elsewhere. (mtrim): Test
6892 the value of MALLOC_DEBUG with #if rather than #ifdef.
6893
6a5d6ea1
TR
68942014-04-10 Torvald Riegel <triegel@redhat.com>
6895
6896 * benchtests/pthread_once-inputs: New file.
6897 * benchtests/pthread_once-source.c: New file.
6898 * benchtests/README: Update documentation.
6899
a4c75cfd
IZ
69002014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6901 H.J. Lu <hongjiu.lu@intel.com>
6902
7e54fd04 6903 [BZ #16275]
a4c75cfd
IZ
6904 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6905 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6906 * sysdeps/x86_64/configure: Regenerated.
6907 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6908 macro.
6909 (REGISTER_SAVE_RAX): Likewise.
6910 (REGISTER_SAVE_RCX): Likewise.
6911 (REGISTER_SAVE_RDX): Likewise.
6912 (REGISTER_SAVE_RSI): Likewise.
6913 (REGISTER_SAVE_RDI): Likewise.
6914 (REGISTER_SAVE_R8): Likewise.
6915 (REGISTER_SAVE_R9): Likewise.
6916 (REGISTER_SAVE_BND0): Likewise.
6917 (REGISTER_SAVE_BND1): Likewise.
6918 (REGISTER_SAVE_BND2): Likewise.
6919 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6920 bound registers when calling _dl_fixup.
6921
27822ce6
AZ
69222014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923
6924 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6925 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6926 of its definition.
27822ce6
AZ
6927 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6928 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6929 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6930 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6931 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6932 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6933 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6934
a88ddc90
PTB
69352014-04-09 Peter Brett <peter@peter-b.co.uk>
6936
6937 [BZ #15514]
6938 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6939 pathconf(_PC_NAME_MAX).
6940
01f8eac2
AZ
69412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6942
6943 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6944 Remove macro usage.
6945 (__PTHREAD_SPINS): Move definition to ...
6946 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6947 (__PTHREAD_SPINS): ... here.
6948 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6949 (__PTHREAD_SPIN): Likewise.
6950 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6951 (__PTHREAD_SPIN): Likewise.
6952 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6953 (__PTHREAD_SPIN): Likewise.
6954 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6955 (__PTHREAD_SPIN): Likewise.
6956 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6957 (__PTHREAD_SPIN): Likewise.
6958 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6959 (__PTHREAD_SPIN): Likewise.
6960 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6961 (__PTHREAD_SPIN): Likewise.
6962 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6963 (__PTHREAD_SPIN): Likewise.
6964 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6965 (__PTHREAD_SPIN): Likewise.
6966 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6967 (__PTHREAD_SPIN): Likewise.
6968 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6969 (__PTHREAD_SPIN): Likewise.
6970 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6971 (__PTHREAD_SPIN): Likewise.
6972
de21c33c
AZ
6973 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6974 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6975 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6976 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6977 imply folder.
6978 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6979 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6980 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6981 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6982 correct imply path.
6983 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6984 strlen symbol for non multi-arch builds.
6985 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6986 missing hidden_def and weak_alias.
6987
862c472e
CD
69882014-04-08 Carlos O'Donell <carlos@redhat.com>
6989
6990 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6991
8667f90e
WN
69922014-04-07 Will Newton <will.newton@linaro.org>
6993
6994 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6995 and contents. [!_LIBC] Remove #ifndef and contents.
6996 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6997 * string/memccpy.c (__memccpy): Use ANSI prototype.
6998 * string/memfrob.c (memfrob): Likewise.
6999 * string/strcoll.c (STRCOLL): Likewise.
7000 * string/strlen.c (strlen): Likewise.
7001 * string/strtok.c (STRTOK): Likewise.
7002 * string/strcat.c: Remove unused #include of memcopy.h.
7003 (strcat): Use ANSI prototype.
7004 * string/strchr.c: Remove unused #include of memcopy.h.
7005 (strchr): Use ANSI prototype.
7006 * string/strcmp.c: Remove unused #include of memcopy.h.
7007 (strcmp): Use ANSI prototype.
7008 * string/strcpy.c: Remove unused #include of memcopy.h.
7009 (strcpy): Use ANSI prototype.
7010
7ffa9423
AZ
70112014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7012
7013 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7014 * config.make.in (config-extra-cppflags): Set it from
7015 libc_extra_cppflags.
7016 * configure.ac (libc_extra_cflags): Make it accumulate over
7017 configure fragments.
7018 (libc_extra_cppflags): New flag.
7019 * configure. Regenerate.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7021 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7022 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7024
8bd70862
AZ
7025 [BZ #16815]
7026 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7027 result for FE_DOWNWARD rounding mode.
7028 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7029 Likewise.
7030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7031
d42f3448
CM
70322014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7033
7034 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7035 in function argument name.
7036
1c21d115
DS
70372014-04-03 David Svoboda <svoboda@cert.org>
7038
7039 [BZ #5666]
7040 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7041 explicitly.
7042
fcccd512
RM
70432014-04-03 Roland McGrath <roland@hack.frob.com>
7044
7045 * elf/dl-unmap-segments.h: New file.
7046 * sysdeps/generic/ldsodefs.h
7047 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7048 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7049 * elf/dl-fptr.c: Likewise.
7050 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7051 * sysdeps/aarch64/tlsdesc.c: Likewise.
7052 * sysdeps/arm/tlsdesc.c: Likewise.
7053 * sysdeps/i386/tlsdesc.c: Likewise.
7054 * sysdeps/tile/dl-runtime.c: Likewise.
7055 * sysdeps/x86_64/tlsdesc.c: Likewise.
7056 * elf/dl-load.h: New file.
7057 * elf/dl-load.c: Include it.
7058 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7059 Macros moved to dl-load.h.
7060 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7061 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7062 Use _dl_unmap_segments in place of __munmap.
7063 Break out segment-mapping loop into ...
7064 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7065
f6488e2b
WN
70662014-04-03 Will Newton <will.newton@linaro.org>
7067
7068 * elf/dl-lookup.c (do_lookup_x): Remove comment
7069 referring to nested function and move variable
7070 declarations down to before first use.
7071
6f05bafe
JM
70722014-04-02 Joseph Myers <joseph@codesourcery.com>
7073
a84e78c8
JM
7074 [BZ #16799]
7075 [BZ #16800]
7076 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7077 with 0 numerator.
7078 * math/s_catanf.c (__catanf): Likewise.
7079 * math/s_catanh.c (__catanh): Likewise.
7080 * math/s_catanhf.c (__catanhf): Likewise.
7081 * math/s_catanhl.c (__catanhl): Likewise.
7082 * math/s_catanl.c (__catanl): Likewise.
7083 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7084 by positive zero when computing -Inf result.
7085 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7086 (catanh_test): Likewise.
7087 * sysdeps/i386/fpu/libm-test-ulps: Update.
7088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7089
6f05bafe
JM
7090 [BZ #16789]
7091 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7092 instead of using underflowing value in computing result.
7093 * math/s_clog10.c (__clog10): Likewise.
7094 * math/s_clog10f.c (__clog10f): Likewise.
7095 * math/s_clog10l.c (__clog10l): Likewise.
7096 * math/s_clogf.c (__clogf): Likewise.
7097 * math/s_clogl.c (__clogl): Likewise.
7098 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7099 (clog10_test): Likewise.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7102
b0abbc21
AM
71032014-04-02 Alan Modra <amodra@gmail.com>
7104
7105 [BZ #16739]
7106 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7107 output when value is near a power of two. Use int64_t for lx and
7108 remove casts. Use decimal rather than hex exponent constants.
7109 Don't use long double multiplication when double will suffice.
7110 * math/libm-test.inc (nextafter_test_data): Add tests.
7111 * NEWS: Add 16739 and 16786 to bug list.
7112
af6b1797
AM
7113 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7114
483818d7
AM
7115 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7116
f6c55796
WN
71172014-04-01 Will Newton <will.newton@linaro.org>
7118
7119 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7120 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7121
13f7fe35
FW
71222014-04-01 Florian Weimer <fweimer@redhat.com>
7123
7124 [BZ #13347]
7125 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7126 * nptl/tst-setuid2.c: New file.
7127 * nptl/Makefile (xtests): Add tst-setuid2.
7128
c859b32e
AM
71292014-04-01 Alan Modra <amodra@gmail.com>
7130
7131 [BZ #16786]
7132 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7133
54fa2475
JM
71342014-03-31 Joseph Myers <joseph@codesourcery.com>
7135
8795b4a4
JM
7136 [BZ #6803]
7137 [BZ #6804]
7138 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7139 set errno as appropriate.
7140 * math/w_scalbf.c (__scalbf): Likewise.
7141 * math/w_scalbl.c (__scalbl): Likewise.
7142 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7143 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7144 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7145 Add more NaN tests.
7146
54fa2475
JM
7147 [BZ #16349]
7148 * math/w_atan2.c: Include <errno.h>.
7149 (__atan2): Set errno for result underflowing to zero.
7150 * math/w_atan2f.c: Include <errno.h>.
7151 (__atan2f): Set errno for result underflowing to zero.
7152 * math/w_atan2l.c: Include <errno.h>.
7153 (__atan2l): Set errno for result underflowing to zero.
7154 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7155 tests.
7156 * math/auto-libm-test-out: Regenerated.
7157
757d9dd5
AZ
71582014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7159
7160 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7161 Encode instruction correctly in little endian.
7162 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7163 Likewise.
7164 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7165 Likewise.
7166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7167 Likewise.
7168 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7169 Likewise.
7170
d7a68734
JM
71712014-03-31 Joseph Myers <joseph@codesourcery.com>
7172
47c5adeb
JM
7173 [BZ #9894]
7174 * sysdeps/unix/sysv/linux/kernel-features.h
7175 [__sparc__ && !__arch64__ && !__sparc_v9__]
7176 (__ASSUME_SET_ROBUST_LIST): Do not define.
7177 [__sparc__ && !__arch64__ && !__sparc_v9__]
7178 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7179 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7180 Likewise.
7181 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7182 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7183 (__ASSUME_REQUEUE_PI): Likewise.
7184 (__ASSUME_SET_ROBUST_LIST): Likewise.
7185 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7186 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7187 Undefine.
7188 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7189 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7190 Likewise.
7191 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7192 Likewise.
7193 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7194 Likewise.
7195 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7196 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7197 Undefine.
7198 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7199 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7200 Likewise.
7201
d7a68734
JM
7202 [BZ #16648]
7203 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7204 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7205 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7206
c760f5c2
WN
72072014-03-31 Will Newton <will.newton@linaro.org>
7208
7209 * benchtests/Makefile (bench): Add ffs and ffsll to list
7210 of tests.
7211 * benchtests/ffs-inputs: New file.
7212 * benchtests/ffsll-inputs: Likewise.
7213
ea6029b1
JM
72142014-03-29 Joseph Myers <joseph@codesourcery.com>
7215
7216 [BZ #16770]
7217 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7218 too large before casting to int.
7219 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7220 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7221 * math/libm-test.inc (scalb_test_data): Add more tests.
7222
cf806aff
SP
72232014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7224
56737508
SP
7225 * benchtests/Makefile (DETAILED_OPT): New make option.
7226 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7227 set.
7228 * benchtests/bench-skeleton.c: Include stdbool.h.
7229 (main): Store and print timings per input.
7230 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7231 member to each argument value.
7232 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7233 (_print_arg_data): Initialize per-input timing to 0.
7234
cb5e4aad
SP
7235 * benchtests/Makefile (timing-type): New binary.
7236 (bench-clean): Also remove bench-timing-type.
7237 (bench): New target for timing-type.
7238 (bench-func): Print output in JSON format.
7239 * benchtests/bench-skeleton.c (main): Print output in JSON
7240 format.
7241 * benchtests/bench-timing-type.c: New file.
7242 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7243 (TIMING_PRINT_STATS): Remove.
7244 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7245 name separately.
7246
cf806aff
SP
7247 * benchtests/bench-modf.c: Remove.
7248 * benchtests/modf-inputs: New inputs file.
7249
289e0779
JM
72502014-03-28 Joseph Myers <joseph@codesourcery.com>
7251
7252 [BZ #16362]
7253 * math/s_clog10.c (M_PI_LOG10E): New macro.
7254 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7255 imaginary parts are 0.
7256 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7257 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7258 imaginary parts are 0.
7259 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7260 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7261 imaginary parts are 0.
7262 * math/libm-test.inc (clog10_test_data): Update expected results
7263 for when real and imaginary parts are 0.
7264
277ae3f1
PP
72652014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7266
7267 * elf/dl-load.c: Finish conversion of __builtin_expect into
7268 __glibc_{un}likely.
7269
03a7091f
JM
72702014-03-27 Joseph Myers <joseph@codesourcery.com>
7271
7272 [BZ #16348]
7273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7274 1+x for argument with exponent below -67.
7275 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7276 Likewise.
7277 * math/auto-libm-test-in: Add more tests of exp.
7278 * math/auto-libm-test-out: Regenerated.
7279
ea7d8b95
SP
72802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
dd3022d7
SP
7282 [BZ #16759]
7283 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7284 (nscd_getnetgrent): Use it.
7285
ea7d8b95
SP
7286 [BZ #16760]
7287 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7288 of stpcpy.
7289
df5b85da
AK
72902014-03-27 Andi Kleen <ak@linux.intel.com>
7291
57f41c40
AS
7292 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7293 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7294 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7295 (lll_robust_unlock): Remove out of line section. Use cfi
7296 intrinsics.
df5b85da 7297 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7298 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7299 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7300 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7301 (lll_robust_unlock): Remove out of line section. Use cfi
7302 intrinsics.
df5b85da
AK
7303 (LLL_STUB_UNWIND_INFO*): Remove.
7304
fbd6b5a4
SP
73052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
7307 [BZ #16758]
7308 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7309 blank values.
7310
1b26b855
PP
73112014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7312
7313 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7314
9be36fb8
JM
73152014-03-26 Joseph Myers <joseph@codesourcery.com>
7316
7317 [BZ #16198]
7318 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7319 fnstenv.
7320 * math/test-fenv-preserve.c: New file.
7321 * math/Makefile (tests): Add test-fenv-preserve.
7322
60a2f3c1
WN
73232014-03-26 Will Newton <will.newton@linaro.org>
7324
7325 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7326
a5e5f1e2
RM
73272014-03-25 Roland McGrath <roland@hack.frob.com>
7328
7329 * scripts/versionlist.awk: Partition the version sets and emit all
7330 GLIBC_* (sorted) before all others (sorted).
7331
00f4012a
JM
73322014-03-25 Joseph Myers <joseph@codesourcery.com>
7333
7334 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7335 GLIBC_2.2.5 version.
7336
7bc5a741
AZ
73372014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7338
7339 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7340 calls.
7341
7578473b
AZ
7342 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7343 previous change.
7344
f3f1dab3
AZ
7345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7346
6da36183
AS
73472014-03-25 Andreas Schwab <schwab@suse.de>
7348
7349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7350 label to be used after in6ailist is initialized.
7351
f3f1dab3 73522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7353
7578473b 7354 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7355 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7356
046651c1
JM
73572014-03-25 Joseph Myers <joseph@codesourcery.com>
7358
7359 [BZ #16357]
7360 [BZ #16599]
7361 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7362 min_plus_half.
7363 (fp_formats): Update initializers.
7364 (init_fp_formats): Initialize new field.
7365 (output_for_one_input_case): Allow underflow for results up to
7366 min_plus_half.
7367 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7368 * math/auto-libm-test-in: Don't mark some underflows from asin and
7369 atanh as spurious.
7370 * math/auto-libm-test-out: Regenerated.
7371 * sysdeps/i386/fpu/libm-test-ulps: Update.
7372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7373
003e49ed
AS
73742014-03-25 Andreas Schwab <schwab@suse.de>
7375
7376 * libio/Makefile (tst-ftell-partial-wide-ENV)
7377 (tst-ftell-active-handler-ENV): Define.
7378
de031874
SL
73792014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7380
7381 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7382
55a81e3b
PP
73832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7384
7385 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7386
f3426898
JM
73872014-03-24 Joseph Myers <joseph@codesourcery.com>
7388
7389 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7390 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7391 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7392
a42faf59
PP
73932014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7394
7395 [BZ #16634]
a42faf59 7396 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7397 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7398 (open_path): Change from boolean 'secure' to complete flag 'mode'
7399 (_dl_map_object): Adjust.
a42faf59
PP
7400 * elf/Makefile (tests): Add tst-dlopen-aout.
7401 * elf/tst-dlopen-aout.c: New test.
7402
50936127
SL
74032014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7404
7405 [BZ #16714]
7406 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7407 (struct stat): Rename member pad0 to __glibc_reserved0.
7408
26011b5c
SL
7409 [BZ #16712]
7410 * sysdeps/s390/s390-32/bits/wordsize.h
7411 (__WORDSIZE32_SIZE_ULONG): New define.
7412 * sysdeps/s390/s390-64/bits/wordsize.h
7413 (__WORDSIZE32_SIZE_ULONG): Likewise.
7414 * sysdeps/generic/stdint.h (SIZE_MAX):
7415 Define as UL if __WORDSIZE32_SIZE_ULONG.
7416
a2d86bf1
SL
7417 [BZ #16713]
7418 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7419 (__glibc_reserved0): New variable.
7420 (sa_flags): Change type to int.
7421
78b6eebc
SL
7422 * posix/Makefile (before-compile): Use += before-compile instead
7423 of a :=.
7424
f1399b5a
SL
7425 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7426 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7427
a071766e
AS
74282014-03-20 Andreas Schwab <schwab@suse.de>
7429
7430 [BZ #16743]
7431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7432 non-matching result from nscd.
7433
27c673b8
SP
74342014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7435
7436 * scripts/bench.py: Moved to ...
7437 * benchtests/scripts/bench.py: ... here.
7438 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7439
44152e4b
AS
74402014-03-24 Andreas Schwab <schwab@suse.de>
7441
7442 [BZ #16002]
7443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7444 alloca_account and account alloca use for struct in6ailist.
7445
b376a11a
JM
74462014-03-24 Joseph Myers <joseph@codesourcery.com>
7447
7448 [BZ #16284]
7449 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7450 rounding mode to recompute results that overflow to infinity or
7451 underflow to zero.
7452 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7453 bug 16284.
7454 * math/auto-libm-test-out: Regenerated.
7455 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7456 (ccosh_test): Likewise.
7457 (csin_test_data): Use plus_oflow.
7458 (csin_test): Use ALL_RM_TEST.
7459 (csinh_test_data): Use plus_oflow.
7460 (csinh_test): Use ALL_RM_TEST.
7461 * sysdeps/i386/fpu/libm-test-ulps: Update.
7462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7463
f7be7376
JM
74642014-03-21 Joseph Myers <joseph@codesourcery.com>
7465
1ca2d03e
JM
7466 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7467 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7468 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7469
f7be7376
JM
7470 [BZ #16731]
7471 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7472 when x - 1 is zero.
7473 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7474 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7475 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7476 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7477 argument is 1.
7478 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7479 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7480 zero.
7481 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7482 * sysdeps/i386/fpu/libm-test-ulps: Update.
7483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484
fdf4534d
SP
74852014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7486
df26ea53
SP
7487 * scripts/bench.pl: Remove file.
7488 * scripts/bench.py: New benchmark script.
7489 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7490 * benchtests/README: Mention python dependency.
7491 * scripts/pylintrc: New file.
7492 * scripts/pylint: New file.
7493
fdf4534d
SP
7494 * bits/mathdef.h: Use #ifdef instead of #if.
7495 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7496 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7497 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7498 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7499 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7500 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7501
6f23d093
AZ
75022014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7503 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7504
7505 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7507 and strpbrk-ppc64 objects.
7508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7509 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7510 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7511 multiarch strpbrk for POWER7.
7512 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7513 multiarch strpbrk for PPC64.
7514 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7515 ifunc selector.
7516 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7517 strpbrk for POWER7.
7518
8c92dfff
JM
75192014-03-20 Joseph Myers <joseph@codesourcery.com>
7520
7521 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7522 (atan_test): Likewise.
7523 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7524 (atanh_test): Use ALL_RM_TEST.
7525 (atan2_test_data): Likewise.
7526 (cabs_test): Likewise.
7527 (cacosh_test): Likewise.
7528 (carg_test): Likewise.
7529 (casin_test): Likewise.
7530 (casinh_test): Likewise.
7531 (cbrt_test): Likewise.
7532 (csqrt_test): Likewise.
7533 (erf_test): Likewise.
7534 (erfc_test): Likewise.
7535 (pow10_test): Likewise.
7536 (exp2_test): Likewise.
7537 (hypot_test): Likewise.
7538 (j0_test): Likewise.
7539 (j1_test): Likewise.
7540 (lgamma_test): Likewise.
7541 (gamma_test): Likewise.
7542 (sincos_test): Likewise.
7543 (tanh_test): Likewise.
7544 (y0_test): Likewise.
7545 (y1_test): Likewise.
7546 * sysdeps/i386/fpu/libm-test-ulps: Update.
7547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7548
6eaf95cb
AZ
75492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7550
a387428c
SP
7551 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7553 and strcspn-ppc64 objects.
7554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7555 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7556 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7557 multiarch strcspn for POWER7.
7558 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7559 multiarch strcspn for PPC64.
7560 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7561 ifunc selector.
7562 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7563 strcspn for POWER7.
7564
ae3a5dff
JM
75652014-03-20 Joseph Myers <joseph@codesourcery.com>
7566
7567 * math/gen-libm-test.pl (generate_testfile): Expect only function
7568 name as argument to AUTO_TESTS_* and pass results for all rounding
7569 modes to parse_args.
7570 (parse_auto_input): Separate inputs of automatic tests from
7571 outputs before storing in %auto_tests.
7572 * math/libm-test.inc (acos_test_data): Update call to
7573 AUTO_TESTS_f_f.
7574 (acos_test): Use ALL_RM_TEST.
7575 (acos_tonearest_test_data): Remove.
7576 (acos_test_tonearest): Likewise.
7577 (acos_towardzero_test_data): Likewise.
7578 (acos_test_towardzero): Likewise.
7579 (acos_downward_test_data): Likewise.
7580 (acos_test_downward): Likewise.
7581 (acos_upward_test_data): Likewise.
7582 (acos_test_upward): Likewise.
7583 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7584 (asin_test_data): Likewise.
7585 (asin_test): Use ALL_RM_TEST.
7586 (asin_tonearest_test_data): Remove.
7587 (asin_test_tonearest): Likewise.
7588 (asin_towardzero_test_data): Likewise.
7589 (asin_test_towardzero): Likewise.
7590 (asin_downward_test_data): Likewise.
7591 (asin_test_downward): Likewise.
7592 (asin_upward_test_data): Likewise.
7593 (asin_test_upward): Likewise.
7594 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7595 (atan_test_data): Likewise.
7596 (atanh_test_data): Likewise.
7597 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7598 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7599 (carg_test_data): Likewise.
7600 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7601 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7602 (ccosh_test_data): Likewise.
7603 (cexp_test_data): Likewise.
7604 (clog_test_data): Likewise.
7605 (clog10_test_data): Likewise.
7606 (cos_test_data): Update call to AUTO_TESTS_f_f.
7607 (cos_test): Use ALL_RM_TEST.
7608 (cos_tonearest_test_data): Remove.
7609 (cos_test_tonearest): Likewise.
7610 (cos_towardzero_test_data): Likewise.
7611 (cos_test_towardzero): Likewise.
7612 (cos_downward_test_data): Likewise.
7613 (cos_test_downward): Likewise.
7614 (cos_upward_test_data): Likewise.
7615 (cos_test_upward): Likewise.
7616 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7617 (cosh_test): Use ALL_RM_TEST.
7618 (cosh_tonearest_test_data): Remove.
7619 (cosh_test_tonearest): Likewise.
7620 (cosh_towardzero_test_data): Likewise.
7621 (cosh_test_towardzero): Likewise.
7622 (cosh_downward_test_data): Likewise.
7623 (cosh_test_downward): Likewise.
7624 (cosh_upward_test_data): Likewise.
7625 (cosh_test_upward): Likewise.
7626 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7627 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7628 (ctan_test_data): Likewise.
7629 (ctan_test): Use ALL_RM_TEST.
7630 (ctan_tonearest_test_data): Remove.
7631 (ctan_test_tonearest): Likewise.
7632 (ctan_towardzero_test_data): Likewise.
7633 (ctan_test_towardzero): Likewise.
7634 (ctan_downward_test_data): Likewise.
7635 (ctan_test_downward): Likewise.
7636 (ctan_upward_test_data): Likewise.
7637 (ctan_test_upward): Likewise.
7638 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7639 (ctanh_test): Use ALL_RM_TEST.
7640 (ctanh_tonearest_test_data): Remove.
7641 (ctanh_test_tonearest): Likewise.
7642 (ctanh_towardzero_test_data): Likewise.
7643 (ctanh_test_towardzero): Likewise.
7644 (ctanh_downward_test_data): Likewise.
7645 (ctanh_test_downward): Likewise.
7646 (ctanh_upward_test_data): Likewise.
7647 (ctanh_test_upward): Likewise.
7648 (erf_test_data): Update call to AUTO_TESTS_f_f.
7649 (erfc_test_data): Likewise.
7650 (exp_test_data): Likewise.
7651 (exp_test): Use ALL_RM_TEST.
7652 (exp_tonearest_test_data): Remove.
7653 (exp_test_tonearest): Likewise.
7654 (exp_towardzero_test_data): Likewise.
7655 (exp_test_towardzero): Likewise.
7656 (exp_downward_test_data): Likewise.
7657 (exp_test_downward): Likewise.
7658 (exp_upward_test_data): Likewise.
7659 (exp_test_upward): Likewise.
7660 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7661 (exp10_test): Use ALL_RM_TEST.
7662 (exp10_tonearest_test_data): Remove.
7663 (exp10_test_tonearest): Likewise.
7664 (exp10_towardzero_test_data): Likewise.
7665 (exp10_test_towardzero): Likewise.
7666 (exp10_downward_test_data): Likewise.
7667 (exp10_test_downward): Likewise.
7668 (exp10_upward_test_data): Likewise.
7669 (exp10_test_upward): Likewise.
7670 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7671 (expm1_test_data): Likewise.
7672 (expm1_test): Use ALL_RM_TEST.
7673 (expm1_tonearest_test_data): Remove.
7674 (expm1_test_tonearest): Likewise.
7675 (expm1_towardzero_test_data): Likewise.
7676 (expm1_test_towardzero): Likewise.
7677 (expm1_downward_test_data): Likewise.
7678 (expm1_test_downward): Likewise.
7679 (expm1_upward_test_data): Likewise.
7680 (expm1_test_upward): Likewise.
7681 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7682 (fma_test): Use ALL_RM_TEST.
7683 (fma_towardzero_test_data): Remove.
7684 (fma_test_towardzero): Likewise.
7685 (fma_downward_test_data): Likewise.
7686 (fma_test_downward): Likewise.
7687 (fma_upward_test_data): Likewise.
7688 (fma_test_upward): Likewise.
7689 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7690 (j0_test_data): Update call to AUTO_TESTS_f_f.
7691 (j1_test_data): Likewise.
7692 (jn_test_data): Update call to AUTO_TESTS_if_f.
7693 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7694 (log_test_data): Update call to AUTO_TESTS_f_f.
7695 (log10_test_data): Likewise.
7696 (log1p_test_data): Likewise.
7697 (log2_test_data): Likewise.
7698 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7699 (pow_tonearest_test_data): Likewise.
7700 (sin_test_data): Update call to AUTO_TESTS_f_f.
7701 (sin_test): Use ALL_RM_TEST.
7702 (sin_tonearest_test_data): Remove.
7703 (sin_test_tonearest): Likewise.
7704 (sin_towardzero_test_data): Likewise.
7705 (sin_test_towardzero): Likewise.
7706 (sin_downward_test_data): Likewise.
7707 (sin_test_downward): Likewise.
7708 (sin_upward_test_data): Likewise.
7709 (sin_test_upward): Likewise.
7710 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7711 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7712 (sinh_test): Use ALL_RM_TEST.
7713 (sinh_tonearest_test_data): Remove.
7714 (sinh_test_tonearest): Likewise.
7715 (sinh_towardzero_test_data): Likewise.
7716 (sinh_test_towardzero): Likewise.
7717 (sinh_downward_test_data): Likewise.
7718 (sinh_test_downward): Likewise.
7719 (sinh_upward_test_data): Likewise.
7720 (sinh_test_upward): Likewise.
7721 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7722 (sqrt_test): Use ALL_RM_TEST.
7723 (sqrt_tonearest_test_data): Remove.
7724 (sqrt_test_tonearest): Likewise.
7725 (sqrt_towardzero_test_data): Likewise.
7726 (sqrt_test_towardzero): Likewise.
7727 (sqrt_downward_test_data): Likewise.
7728 (sqrt_test_downward): Likewise.
7729 (sqrt_upward_test_data): Likewise.
7730 (sqrt_test_upward): Likewise.
7731 (tan_test_data): Update call to AUTO_TESTS_f_f.
7732 (tan_test): Use ALL_RM_TEST.
7733 (tan_tonearest_test_data): Remove.
7734 (tan_test_tonearest): Likewise.
7735 (tan_towardzero_test_data): Likewise.
7736 (tan_test_towardzero): Likewise.
7737 (tan_downward_test_data): Likewise.
7738 (tan_test_downward): Likewise.
7739 (tan_upward_test_data): Likewise.
7740 (tan_test_upward): Likewise.
7741 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7742 (tgamma_test_data): Likewise.
7743 (y0_test_data): Likewise.
7744 (y1_test_data): Likewise.
7745 (yn_test_data): Update call to AUTO_TESTS_if_f.
7746 (main): Do not call removed functions.
7747
d71aeee8
JM
77482014-03-19 Joseph Myers <joseph@codesourcery.com>
7749
7750 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7751 (ldexp_test_data): Remove.
7752 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7753 scalbn_test_data.
7754 (scalb_test): Use ALL_RM_TEST.
7755
baaf1ded
AS
77562014-03-19 Andreas Schwab <schwab@suse.de>
7757
7758 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7759
b1115e91
JM
77602014-03-19 Joseph Myers <joseph@codesourcery.com>
7761
7762 [BZ #16649]
7763 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7764 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7765 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7766 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7767 (__ASSUME_PREADV): Undefine.
7768 (__ASSUME_PWRITEV): Likewise.
7769
0283ecca
RM
77702014-03-18 Roland McGrath <roland@hack.frob.com>
7771
7d375303
RM
7772 * bits/mman-linux.h: Add comment about non-Linux use.
7773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7774 bits/mman-linux.h resting place.
7775
0283ecca
RM
7776 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7777 * bits/mman-linux.h: ... here.
7778
aebe1003
AZ
77792014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7780
7781 * conform/conformtest.pl: Add standard definition when calling C
7782 preprocessor on data files.
7783 (checknamespace): Remove unused variable.
7784
b29b6bb8
JM
77852014-03-18 Joseph Myers <joseph@codesourcery.com>
7786
7787 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7788 minus_oflow, plus_uflow and minus_uflow in expected results.
7789 * math/libm-test.inc (scalbn_test_data): Add more tests of
7790 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7791 minus_uflow.
7792 (scalbn_test): Use ALL_RM_TEST.
7793 (scalbln_test_data): Add more tests of negative arguments. Use
7794 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7795 (scalbln_test): Use ALL_RM_TEST.
7796
c8f8fa15
RM
77972014-03-18 Roland McGrath <roland@hack.frob.com>
7798
7799 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7800
fede7a5f
WN
78012014-03-18 Will Newton <will.newton@linaro.org>
7802
7803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7804 inaccurate comment.
7805
80cf0a58
JM
78062014-03-18 Joseph Myers <joseph@codesourcery.com>
7807
7808 * Makerules [!subdir] (check-abi): Exit with error status if a
7809 test failed.
7810
b3620862
JM
78112014-03-17 Joseph Myers <joseph@codesourcery.com>
7812
7813 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7814 for rint. Include results for all rounding modes.
7815 (nearbyint_test): Use ALL_RM_TEST.
7816 (rint_test_data): Include all tests used for nearbyint.
7817
788bba36
WN
78182014-03-17 Will Newton <will.newton@linaro.org>
7819
04ec140a
WN
7820 * nptl/sysdeps/pthread/pthread.h: Revert previous
7821 change.
7822
7579d8d5
WN
7823 * sysdeps/generic/ldsodefs.h: Revert previous
7824 change.
7825
c15cf13a
WN
7826 * libio/genops.c: Revert previous change.
7827 * libio/libioP.h: Likewise.
7828 * stdio-common/vfprintf.c: Likewise.
7829
d0ac1324
WN
7830 * sysdeps/generic/math_private.h: Revert previous
7831 change.
7832
9290130a
WN
7833 * sysdeps/generic/math_private.h: Check whether
7834 HAVE_RM_CTX is defined with #ifdef rather
7835 than #if.
7836
afb466fc
WN
7837 * argp/argp-fmtstream.h: Check whether
7838 __STRICT_ANSI__ is defined with #ifdef rather
7839 than #if.
7840 * argp/argp.h: Likewise.
7841
f7efd7c3
WN
7842 * libio/genops.c: Check whether
7843 _IO_JUMPS_OFFSET is defined with #ifdef rather
7844 than #if.
7845 * libio/libioP.h: Likewise.
7846 * stdio-common/vfprintf.c: Likewise.
7847
53f1bed3
WN
7848 * sysdeps/generic/ldsodefs.h: Check whether
7849 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7850 than #if.
7851
788bba36
WN
7852 * nptl/sysdeps/pthread/pthread.h: Check
7853 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7854 its value.
7855
fcd89ebe
SP
78562014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
ae42bbc5
SP
7858 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7859 setting O_APPEND.
7860 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7861 test case.
7862
ea33158c
SP
7863 [BZ #16680]
7864 * libio/fileops.c (_IO_file_open): Seek to end of file but
7865 don't cache the offset.
7866 (get_file_offset): Remove function.
7867 (do_ftell): Use cached offset when available.
7868 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7869 don't cache the offset.
7870 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7871 case.
7872 (do_one_test): Call it.
7873 (do_ftell_test): Fix up expected old offset for a+ mode.
7874 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7875 available.
7876
b1dbb426
SP
7877 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7878 up test status with function return status.
7879 (do_write_test): Likewise.
7880 (do_append_test): Likewise.
7881
fcd89ebe
SP
7882 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7883 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7884 Remove.
7885
9962a2d3
JM
78862014-03-17 Joseph Myers <joseph@codesourcery.com>
7887
7888 * math/gen-libm-test.pl (parse_args): Handle results specified for
7889 each rounding mode separately.
7890 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7891 tests and results from lrint_tonearest_test_data,
7892 lrint_towardzero_test_data, lrint_downward_test_data and
7893 lrint_upward_test_data.
7894 (lrint_test): Use ALL_RM_TEST.
7895 (lrint_tonearest_test_data): Remove.
7896 (lrint_test_tonearest): Likewise.
7897 (lrint_towardzero_test_data): Likewise.
7898 (lrint_test_towardzero): Likewise.
7899 (lrint_downward_test_data): Likewise.
7900 (lrint_test_downward): Likewise.
7901 (lrint_upward_test_data): Likewise.
7902 (lrint_test_upward): Likewise.
7903 (llrint_test_data): Merge in per-rounding-mode tests and results
7904 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7905 llrint_downward_test_data and llrint_upward_test_data.
7906 (llrint_test): Use ALL_RM_TEST.
7907 (llrint_tonearest_test_data): Remove.
7908 (llrint_test_tonearest): Likewise.
7909 (llrint_towardzero_test_data): Likewise.
7910 (llrint_test_towardzero): Likewise.
7911 (llrint_downward_test_data): Likewise.
7912 (llrint_test_downward): Likewise.
7913 (llrint_upward_test_data): Likewise.
7914 (llrint_test_upward): Likewise.
7915 (rint_test_data): Merge in per-rounding-mode tests and results
7916 from rint_tonearest_test_data, rint_towardzero_test_data,
7917 rint_downward_test_data and rint_upward_test_data. Add
7918 per-rounding-mode results for tests not in those arrays.
7919 (rint_test): Use ALL_RM_TEST.
7920 (rint_tonearest_test_data): Remove.
7921 (rint_test_tonearest): Likewise.
7922 (rint_towardzero_test_data): Likewise.
7923 (rint_test_towardzero): Likewise.
7924 (rint_downward_test_data): Likewise.
7925 (rint_test_downward): Likewise.
7926 (rint_upward_test_data): Likewise.
7927 (rint_test_upward): Likewise.
7928 (main): Don't call removed functions.
7929
5006148e
RM
79302014-03-14 Roland McGrath <roland@hack.frob.com>
7931
7932 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7933 "Compiled on ..." crapola. It is anti-useful.
7934
d6fe5e58
JM
79352014-03-14 Joseph Myers <joseph@codesourcery.com>
7936
7937 * scripts/evaluate-test.sh: Handle fourth argument to determine
7938 whether test run should stop on failure.
7939 * Makeconfig (stop-on-test-failure): New variable.
7940 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7941 $(stop-on-test-failure).
7942 * Makefile (tests): Give a summary of results from testing and
7943 exit with failure status if they include an ERROR or FAIL.
7944 (xtests): Likewise.
7945 * manual/install.texi (Configuring and compiling): Mention
7946 stop-on-test-failure=y.
7947 * INSTALL: Regenerated.
7948
498a2233
RM
79492014-03-14 Roland McGrath <roland@hack.frob.com>
7950
22dbc19d
RM
7951 * scripts/versionlist.awk: New file.
7952 * Makerules [$(build-shared) = yes]
7953 (postclean-generated): Add Versions.def, not Versions.def.v and
7954 Versions.def.v.i.
7955 ($(common-objpfx)Versions.def.v.i): Target removed.
7956 ($(common-objpfx)Versions.def): New target.
7957 ($(common-objpfx)Versions.all): Depend on that rather that
7958 $(common-objpfx)Versions.def.v.
7959 * Versions.def: File removed.
7960
498a2233
RM
7961 * Makeconfig (+gccwarn): Add -Wundef.
7962 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7963 a dl-sysdep.h breaking its contract.
7964 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7965 * include/stackinfo.h: New file.
7966 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7967 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7968 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7969 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7970 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7971 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7972 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7973 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7974 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7975 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7976 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7977 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7978 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7979 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7980 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7981
c7de5025
AZ
79822014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7983
7984 [BZ #16707]
7985 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7986 implementation.
7987 * math/libm-test.inc (round_test_data): Add more tests.
7988
98fb27a3
AZ
7989 [BZ #16706]
7990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7991 implementation.
7992 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7993
374f7f61
AZ
7994 [BZ #16701]
7995 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7996 implementation.
7997 * math/libm-test.inc (ceil_test_data): Add more tests.
7998
4655c291
AZ
7999 * math/libm-test.inc (trunc_test_data): Add more tests related to
8000 BZ#16414.
8001
d7329d4b
RM
80022014-03-14 Roland McGrath <roland@hack.frob.com>
8003
8004 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8005 with #if rather than #ifdef.
8006 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8007
aa4de9ce
L
80082014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8009
8010 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8011 first. Disable AVX-512 GCC support if assembler doesn't support
8012 it.
8013 * sysdeps/x86_64/configure: Regenerated.
8014
2e03fae7
CD
80152014-03-13 Carlos O'Donell <carlos@redhat.com>
8016
8017 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8018 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8019 (__old_pthread_attr_setstack): Likewise.
8020 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8021 [!_STACK_GROWS_DOWN]: Likewise.
8022
43ca83ec
MF
80232014-03-13 Mike Frysinger <vapier@gentoo.org>
8024
8025 * config.make.in (have-bash2): Delete.
8026 * configure.ac (libc_cv_have_bash2): Delete.
8027 * configure: Regenerate.
8028 * elf/Makefile (common-ldd-rewrite): Rename to ...
8029 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8030 (sh-ldd-rewrite): Delete.
8031 (bash-ldd-rewrite): Delete.
8032 (have-bash2): Delete checks.
57f41c40
AS
8033 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8034 ldd-rewrite.
c66e48b4
MF
8035
8036 * config.make.in (have-ksh): Delete.
8037 (KSH): Delete.
8038 * configure.ac (libc_cv_have_ksh): Delete.
8039 * configure: Regenerate.
8040
b93834ef
MF
8041 * elf/Makefile: Delete $(have-ksh) check.
8042 ($(objpfx)sotruss): Change KSH to BASH.
8043 * elf/sotruss.ksh: Rename to ...
8044 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8045 function style to match POSIX. Drop ksh vim mode setting.
8046
f3a4632a
MF
8047 * manual/time.texi (Specifying the Time Zone with TZ): Change
8048 Tuesday to Thursday.
8049
5896c8bd
MF
8050 * debug/tst-longjmp_chk2.c: Update header comment.
8051 (stackoverflow_handler): Add comment. Call assert on pass value.
8052
2d63a517
IZ
80532014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8054
7e54fd04 8055 [BZ #16194]
2d63a517
IZ
8056 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8057 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8058 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8059 (La_x86_64_vector): Add zmm.
8060 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8061 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8062 ($(objpfx)tst-audit10): New target.
8063 ($(objpfx)tst-audit10.out): Likewise.
8064 (tst-audit10-ENV): New.
8065 (AVX512-CFLAGS): Likewise.
8066 (CFLAGS-tst-audit10.c): Likewise.
8067 (CFLAGS-tst-auditmod10a.c): Likewise.
8068 (CFLAGS-tst-auditmod10b.c): Likewise.
8069 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8070 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8071 * sysdeps/x86_64/configure: Regenerated.
8072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8073 AVX-512 zmm register support.
8074 (_dl_x86_64_save_sse): Likewise.
8075 (_dl_x86_64_restore_sse): Likewise.
8076 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8077 size vector registers.
8078 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8079 (ZMM_SIZE): Likewise.
8080 * sysdeps/x86_64/tst-audit10.c: New file.
8081 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8082 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8083
44c4e5d5
RM
80842014-03-13 Roland McGrath <roland@hack.frob.com>
8085
8086 * configure.ac (HAVE_EHDR_START): New check.
8087 * configure: Regenerated.
8088 * config.h.in (HAVE_EHDR_START): New #undef.
8089 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8090 assuming the lowest-addressed segment maps the start of the file.
8091
acd6e389
JM
80922014-03-13 Joseph Myers <joseph@codesourcery.com>
8093
8094 * INSTALL: Regenerated.
8095
6f918f36
WN
80962014-03-13 Will Newton <will.newton@linaro.org>
8097
8098 * manual/setjmp.texi (System V contexts): Improve
8099 clarity and grammar of documentation.
8100
798212a0
PP
81012014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8102
8103 [BZ #16381]
798212a0 8104 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8105 (tests-pie): Add tst-pie2.
798212a0
PP
8106 * elf/tst-pie2.c: New file.
8107 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8108 for ET_EXEC.
8109 * elf/rtld.c (map_doit): Load executable as lt_executable.
8110 (dl_main): Likewise.
8111
abe6d90c
JM
81122014-03-12 Joseph Myers <joseph@codesourcery.com>
8113
8114 [BZ #16642]
8115 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8116 (__ASSUME_PSELECT): Undefine.
8117
dd3946c6
AZ
81182014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8119
8120 [BZ #16689]
8121 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8122 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8123 static build.
8124 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8125 selector for static builds.
8126
c44496df
SP
81272014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8128
8129 [BZ #16695]
8130 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8131 key in the buffer.
8132
27c7220a
AZ
81332014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8134
57f41c40
AS
8135 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8136 IFUNC selector for static builds.
27c7220a 8137
600fa361
JM
81382014-03-11 Joseph Myers <joseph@codesourcery.com>
8139
76c96cf7
JM
8140 * sysdeps/mips/math_private.h [__mips_hard_float]
8141 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8142 libc_feresetround_mips_ctx.
8143 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8144 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8145 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8146
600fa361
JM
8147 [BZ #16677]
8148 * math/s_nextafter.c (__nextafter): Do not return value from
8149 overflowing computation.
8150 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8151 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8152 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8153 Likewise.
8154 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8155 Likewise.
8156 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8157 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8158
d7706c32
RM
81592014-03-11 Roland McGrath <roland@hack.frob.com>
8160
8161 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8162 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8163 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8164 the new mov targetting sp.
8165
4facea47
AZ
81662014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8167
8168 [BZ #16683]
8169 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8170 Define it for static builds as well.
8171 (NO_BZERO_IMPL): Likewise.
8172
e65caf1f
VR
81732014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8174
8175 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8176 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8177 multiarch strspn for PPC64.
8178 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8179 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8181 (__libc_ifunc_impl_list): Likewise.
8182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8183 multiarch optimizations
8184 * string/strspn.c (strspn): Using macro to redefine symbol name.
8185
ba9cc071
AZ
81862014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8187 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188
8189 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8190 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8191 multiarch strncat for PPC64.
8192 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8193 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8195 (__libc_ifunc_impl_list): Likewise.
8196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8197 multiarch optimizations
8198
8b4ff974
SP
81992014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8200
8201 [BZ #16639]
8202 * nscd/nscd.service: Make service type forking.
8203
54b46a4b
AZ
82042014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8205
8206 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8207 sign in non default rounding modes.
8208 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8209
e9996ef7
JM
82102014-03-08 Joseph Myers <joseph@codesourcery.com>
8211
8212 * math/libm-test.inc (ALL_RM_TEST): New macro.
8213 (ceil_test): Use ALL_RM_TEST.
8214 (cimag_test): Likewise.
8215 (conj_test): Likewise.
8216 (copysign_test): Likewise.
8217 (cproj_test): Likewise.
8218 (creal_test): Likewise.
8219 (fabs_test): Likewise.
8220 (floor_test): Likewise.
8221 (fmax_test): Likewise.
8222 (fmin_test): Likewise.
8223 (fmod_test): Likewise.
8224 (fpclassify_test): Likewise.
8225 (frexp_test): Likewise.
8226 (ilogb_test): Likewise.
8227 (isfinite_test): Likewise.
8228 (finite_test): Likewise.
8229 (isgreater_test): Likewise.
8230 (isgreaterequal_test): Likewise.
8231 (isinf_test): Likewise.
8232 (isless_test): Likewise.
8233 (islessequal_test): Likewise.
8234 (islessgreater_test): Likewise.
8235 (isnan_test): Likewise.
8236 (isnormal_test): Likewise.
8237 (issignaling_test): Likewise.
8238 (isunordered_test): Likewise.
8239 (logb_test): Likewise.
8240 (logb_downward_test_data): Remove.
8241 (logb_test_downward): Likewise.
8242 (lround_test): Use ALL_RM_TEST.
8243 (llround_test): Likewise.
8244 (modf_test): Likewise.
8245 (nexttoward_test): Likewise.
8246 (remainder_test): Likewise.
8247 (drem_test): Likewise.
8248 (remainder_tonearest_test_data): Likewise.
8249 (remainder_test_tonearest): Likewise.
8250 (drem_test_tonearest): Likewise.
8251 (remainder_towardzero_test_data): Likewise.
8252 (remainder_test_towardzero): Likewise.
8253 (drem_test_towardzero): Likewise.
8254 (remainder_downward_test_data): Likewise.
8255 (remainder_test_downward): Likewise.
8256 (drem_test_downward): Likewise.
8257 (remainder_upward_test_data): Likewise.
8258 (remainder_test_upward): Likewise.
8259 (drem_test_upward): Likewise.
8260 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8261 (round_test): Use ALL_RM_TEST.
8262 (signbit_test): Likewise.
8263 (trunc_test): Likewise.
8264 (significand_test): Likewise.
8265 (main): Don't call removed functions.
8266
bc61d27c
JM
82672014-03-07 Joseph Myers <joseph@codesourcery.com>
8268
5c780849
JM
8269 [BZ #16674]
8270 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8271 || __USE_XOPEN2K8].
8272 (ILL_ILLOPN): Likewise.
8273 (ILL_ILLADR): Likewise.
8274 (ILL_ILLTRP): Likewise.
8275 (ILL_PRVOPC): Likewise.
8276 (ILL_PRVREG): Likewise.
8277 (ILL_COPROC): Likewise.
8278 (ILL_BADSTK): Likewise.
8279 (FPE_INTDIV): Likewise.
8280 (FPE_INTOVF): Likewise.
8281 (FPE_FLTDIV): Likewise.
8282 (FPE_FLTOVF): Likewise.
8283 (FPE_FLTUND): Likewise.
8284 (FPE_FLTRES): Likewise.
8285 (FPE_FLTINV): Likewise.
8286 (FPE_FLTSUB): Likewise.
8287 (SEGV_MAPERR): Likewise.
8288 (SEGV_ACCERR): Likewise.
8289 (BUS_ADRALN): Likewise.
8290 (BUS_ADRERR): Likewise.
8291 (BUS_OBJERR): Likewise.
8292 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8293 (TRAP_TRACE): Likewise.
8294 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8295 __USE_XOPEN2K8].
8296 (CLD_KILLED): Likewise.
8297 (CLD_DUMPED): Likewise.
8298 (CLD_TRAPPED): Likewise.
8299 (CLD_STOPPED): Likewise.
8300 (CLD_CONTINUED): Likewise.
8301 (POLL_IN): Likewise.
8302 (POLL_OUT): Likewise.
8303 (POLL_MSG): Likewise.
8304 (POLL_ERR): Likewise.
8305 (POLL_PRI): Likewise.
8306 (POLL_HUP): Likewise.
8307 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8308 Likewise.
8309 (ILL_ILLOPN): Likewise.
8310 (ILL_ILLADR): Likewise.
8311 (ILL_ILLTRP): Likewise.
8312 (ILL_PRVOPC): Likewise.
8313 (ILL_PRVREG): Likewise.
8314 (ILL_COPROC): Likewise.
8315 (ILL_BADSTK): Likewise.
8316 (FPE_INTDIV): Likewise.
8317 (FPE_INTOVF): Likewise.
8318 (FPE_FLTDIV): Likewise.
8319 (FPE_FLTOVF): Likewise.
8320 (FPE_FLTUND): Likewise.
8321 (FPE_FLTRES): Likewise.
8322 (FPE_FLTINV): Likewise.
8323 (FPE_FLTSUB): Likewise.
8324 (SEGV_MAPERR): Likewise.
8325 (SEGV_ACCERR): Likewise.
8326 (BUS_ADRALN): Likewise.
8327 (BUS_ADRERR): Likewise.
8328 (BUS_OBJERR): Likewise.
8329 (BUS_MCEERR_AR): Likewise.
8330 (BUS_MCEERR_AO): Likewise.
8331 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8332 (TRAP_TRACE): Likewise.
8333 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8334 __USE_XOPEN2K8].
8335 (CLD_KILLED): Likewise.
8336 (CLD_DUMPED): Likewise.
8337 (CLD_TRAPPED): Likewise.
8338 (CLD_STOPPED): Likewise.
8339 (CLD_CONTINUED): Likewise.
8340 (POLL_IN): Likewise.
8341 (POLL_OUT): Likewise.
8342 (POLL_MSG): Likewise.
8343 (POLL_ERR): Likewise.
8344 (POLL_PRI): Likewise.
8345 (POLL_HUP): Likewise.
8346 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8347 (ILL_ILLOPN): Likewise.
8348 (ILL_ILLADR): Likewise.
8349 (ILL_ILLTRP): Likewise.
8350 (ILL_PRVOPC): Likewise.
8351 (ILL_PRVREG): Likewise.
8352 (ILL_COPROC): Likewise.
8353 (ILL_BADSTK): Likewise.
8354 (FPE_INTDIV): Likewise.
8355 (FPE_INTOVF): Likewise.
8356 (FPE_FLTDIV): Likewise.
8357 (FPE_FLTOVF): Likewise.
8358 (FPE_FLTUND): Likewise.
8359 (FPE_FLTRES): Likewise.
8360 (FPE_FLTINV): Likewise.
8361 (FPE_FLTSUB): Likewise.
8362 (SEGV_MAPERR): Likewise.
8363 (SEGV_ACCERR): Likewise.
8364 (BUS_ADRALN): Likewise.
8365 (BUS_ADRERR): Likewise.
8366 (BUS_OBJERR): Likewise.
8367 (BUS_MCEERR_AR): Likewise.
8368 (BUS_MCEERR_AO): Likewise.
8369 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8370 (TRAP_TRACE): Likewise.
8371 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8372 __USE_XOPEN2K8].
8373 (CLD_KILLED): Likewise.
8374 (CLD_DUMPED): Likewise.
8375 (CLD_TRAPPED): Likewise.
8376 (CLD_STOPPED): Likewise.
8377 (CLD_CONTINUED): Likewise.
8378 (POLL_IN): Likewise.
8379 (POLL_OUT): Likewise.
8380 (POLL_MSG): Likewise.
8381 (POLL_ERR): Likewise.
8382 (POLL_PRI): Likewise.
8383 (POLL_HUP): Likewise.
8384 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8385 Likewise.
8386 (ILL_ILLOPN): Likewise.
8387 (ILL_ILLADR): Likewise.
8388 (ILL_ILLTRP): Likewise.
8389 (ILL_PRVOPC): Likewise.
8390 (ILL_PRVREG): Likewise.
8391 (ILL_COPROC): Likewise.
8392 (ILL_BADSTK): Likewise.
8393 (ILL_BADIADDR): Likewise.
8394 (ILL_BREAK): Likewise.
8395 (FPE_INTDIV): Likewise.
8396 (FPE_INTOVF): Likewise.
8397 (FPE_FLTDIV): Likewise.
8398 (FPE_FLTOVF): Likewise.
8399 (FPE_FLTUND): Likewise.
8400 (FPE_FLTRES): Likewise.
8401 (FPE_FLTINV): Likewise.
8402 (FPE_FLTSUB): Likewise.
8403 (FPE_DECOVF): Likewise.
8404 (FPE_DECDIV): Likewise.
8405 (FPE_DECERR): Likewise.
8406 (FPE_INVASC): Likewise.
8407 (FPE_INVDEC): Likewise.
8408 (SEGV_MAPERR): Likewise.
8409 (SEGV_ACCERR): Likewise.
8410 (SEGV_PSTKOVF): Likewise.
8411 (BUS_ADRALN): Likewise.
8412 (BUS_ADRERR): Likewise.
8413 (BUS_OBJERR): Likewise.
8414 (BUS_MCEERR_AR): Likewise.
8415 (BUS_MCEERR_AO): Likewise.
8416 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8417 (TRAP_TRACE): Likewise.
8418 (TRAP_BRANCH): Likewise.
8419 (TRAP_HWBKPT): Likewise.
8420 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8421 __USE_XOPEN2K8].
8422 (CLD_KILLED): Likewise.
8423 (CLD_DUMPED): Likewise.
8424 (CLD_TRAPPED): Likewise.
8425 (CLD_STOPPED): Likewise.
8426 (CLD_CONTINUED): Likewise.
8427 (POLL_IN): Likewise.
8428 (POLL_OUT): Likewise.
8429 (POLL_MSG): Likewise.
8430 (POLL_ERR): Likewise.
8431 (POLL_PRI): Likewise.
8432 (POLL_HUP): Likewise.
8433 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8434 (ILL_ILLOPN): Likewise.
8435 (ILL_ILLADR): Likewise.
8436 (ILL_ILLTRP): Likewise.
8437 (ILL_PRVOPC): Likewise.
8438 (ILL_PRVREG): Likewise.
8439 (ILL_COPROC): Likewise.
8440 (ILL_BADSTK): Likewise.
8441 (FPE_INTDIV): Likewise.
8442 (FPE_INTOVF): Likewise.
8443 (FPE_FLTDIV): Likewise.
8444 (FPE_FLTOVF): Likewise.
8445 (FPE_FLTUND): Likewise.
8446 (FPE_FLTRES): Likewise.
8447 (FPE_FLTINV): Likewise.
8448 (FPE_FLTSUB): Likewise.
8449 (SEGV_MAPERR): Likewise.
8450 (SEGV_ACCERR): Likewise.
8451 (BUS_ADRALN): Likewise.
8452 (BUS_ADRERR): Likewise.
8453 (BUS_OBJERR): Likewise.
8454 (BUS_MCEERR_AR): Likewise.
8455 (BUS_MCEERR_AO): Likewise.
8456 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8457 (TRAP_TRACE): Likewise.
8458 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8459 __USE_XOPEN2K8].
8460 (CLD_KILLED): Likewise.
8461 (CLD_DUMPED): Likewise.
8462 (CLD_TRAPPED): Likewise.
8463 (CLD_STOPPED): Likewise.
8464 (CLD_CONTINUED): Likewise.
8465 (POLL_IN): Likewise.
8466 (POLL_OUT): Likewise.
8467 (POLL_MSG): Likewise.
8468 (POLL_ERR): Likewise.
8469 (POLL_PRI): Likewise.
8470 (POLL_HUP): Likewise.
8471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8472 (ILL_ILLOPN): Likewise.
8473 (ILL_ILLADR): Likewise.
8474 (ILL_ILLTRP): Likewise.
8475 (ILL_PRVOPC): Likewise.
8476 (ILL_PRVREG): Likewise.
8477 (ILL_COPROC): Likewise.
8478 (ILL_BADSTK): Likewise.
8479 (FPE_INTDIV): Likewise.
8480 (FPE_INTOVF): Likewise.
8481 (FPE_FLTDIV): Likewise.
8482 (FPE_FLTOVF): Likewise.
8483 (FPE_FLTUND): Likewise.
8484 (FPE_FLTRES): Likewise.
8485 (FPE_FLTINV): Likewise.
8486 (FPE_FLTSUB): Likewise.
8487 (SEGV_MAPERR): Likewise.
8488 (SEGV_ACCERR): Likewise.
8489 (BUS_ADRALN): Likewise.
8490 (BUS_ADRERR): Likewise.
8491 (BUS_OBJERR): Likewise.
8492 (BUS_MCEERR_AR): Likewise.
8493 (BUS_MCEERR_AO): Likewise.
8494 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8495 (TRAP_TRACE): Likewise.
8496 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8497 __USE_XOPEN2K8].
8498 (CLD_KILLED): Likewise.
8499 (CLD_DUMPED): Likewise.
8500 (CLD_TRAPPED): Likewise.
8501 (CLD_STOPPED): Likewise.
8502 (CLD_CONTINUED): Likewise.
8503 (POLL_IN): Likewise.
8504 (POLL_OUT): Likewise.
8505 (POLL_MSG): Likewise.
8506 (POLL_ERR): Likewise.
8507 (POLL_PRI): Likewise.
8508 (POLL_HUP): Likewise.
8509 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8510 (ILL_ILLOPN): Likewise.
8511 (ILL_ILLADR): Likewise.
8512 (ILL_ILLTRP): Likewise.
8513 (ILL_PRVOPC): Likewise.
8514 (ILL_PRVREG): Likewise.
8515 (ILL_COPROC): Likewise.
8516 (ILL_BADSTK): Likewise.
8517 (FPE_INTDIV): Likewise.
8518 (FPE_INTOVF): Likewise.
8519 (FPE_FLTDIV): Likewise.
8520 (FPE_FLTOVF): Likewise.
8521 (FPE_FLTUND): Likewise.
8522 (FPE_FLTRES): Likewise.
8523 (FPE_FLTINV): Likewise.
8524 (FPE_FLTSUB): Likewise.
8525 (SEGV_MAPERR): Likewise.
8526 (SEGV_ACCERR): Likewise.
8527 (BUS_ADRALN): Likewise.
8528 (BUS_ADRERR): Likewise.
8529 (BUS_OBJERR): Likewise.
8530 (BUS_MCEERR_AR): Likewise.
8531 (BUS_MCEERR_AO): Likewise.
8532 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8533 (TRAP_TRACE): Likewise.
8534 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8535 __USE_XOPEN2K8].
8536 (CLD_KILLED): Likewise.
8537 (CLD_DUMPED): Likewise.
8538 (CLD_TRAPPED): Likewise.
8539 (CLD_STOPPED): Likewise.
8540 (CLD_CONTINUED): Likewise.
8541 (POLL_IN): Likewise.
8542 (POLL_OUT): Likewise.
8543 (POLL_MSG): Likewise.
8544 (POLL_ERR): Likewise.
8545 (POLL_PRI): Likewise.
8546 (POLL_HUP): Likewise.
8547 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8548 (ILL_ILLOPN): Likewise.
8549 (ILL_ILLADR): Likewise.
8550 (ILL_ILLTRP): Likewise.
8551 (ILL_PRVOPC): Likewise.
8552 (ILL_PRVREG): Likewise.
8553 (ILL_COPROC): Likewise.
8554 (ILL_BADSTK): Likewise.
8555 (ILL_DBLFLT): Likewise.
8556 (ILL_HARDWALL): Likewise.
8557 (FPE_INTDIV): Likewise.
8558 (FPE_INTOVF): Likewise.
8559 (FPE_FLTDIV): Likewise.
8560 (FPE_FLTOVF): Likewise.
8561 (FPE_FLTUND): Likewise.
8562 (FPE_FLTRES): Likewise.
8563 (FPE_FLTINV): Likewise.
8564 (FPE_FLTSUB): Likewise.
8565 (SEGV_MAPERR): Likewise.
8566 (SEGV_ACCERR): Likewise.
8567 (BUS_ADRALN): Likewise.
8568 (BUS_ADRERR): Likewise.
8569 (BUS_OBJERR): Likewise.
8570 (BUS_MCEERR_AR): Likewise.
8571 (BUS_MCEERR_AO): Likewise.
8572 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8573 (TRAP_TRACE): Likewise.
8574 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8575 __USE_XOPEN2K8].
8576 (CLD_KILLED): Likewise.
8577 (CLD_DUMPED): Likewise.
8578 (CLD_TRAPPED): Likewise.
8579 (CLD_STOPPED): Likewise.
8580 (CLD_CONTINUED): Likewise.
8581 (POLL_IN): Likewise.
8582 (POLL_OUT): Likewise.
8583 (POLL_MSG): Likewise.
8584 (POLL_ERR): Likewise.
8585 (POLL_PRI): Likewise.
8586 (POLL_HUP): Likewise.
8587 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8588 (ILL_ILLOPN): Likewise.
8589 (ILL_ILLADR): Likewise.
8590 (ILL_ILLTRP): Likewise.
8591 (ILL_PRVOPC): Likewise.
8592 (ILL_PRVREG): Likewise.
8593 (ILL_COPROC): Likewise.
8594 (ILL_BADSTK): Likewise.
8595 (FPE_INTDIV): Likewise.
8596 (FPE_INTOVF): Likewise.
8597 (FPE_FLTDIV): Likewise.
8598 (FPE_FLTOVF): Likewise.
8599 (FPE_FLTUND): Likewise.
8600 (FPE_FLTRES): Likewise.
8601 (FPE_FLTINV): Likewise.
8602 (FPE_FLTSUB): Likewise.
8603 (SEGV_MAPERR): Likewise.
8604 (SEGV_ACCERR): Likewise.
8605 (BUS_ADRALN): Likewise.
8606 (BUS_ADRERR): Likewise.
8607 (BUS_OBJERR): Likewise.
8608 (BUS_MCEERR_AR): Likewise.
8609 (BUS_MCEERR_AO): Likewise.
8610 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8611 (TRAP_TRACE): Likewise.
8612 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8613 __USE_XOPEN2K8].
8614 (CLD_KILLED): Likewise.
8615 (CLD_DUMPED): Likewise.
8616 (CLD_TRAPPED): Likewise.
8617 (CLD_STOPPED): Likewise.
8618 (CLD_CONTINUED): Likewise.
8619 (POLL_IN): Likewise.
8620 (POLL_OUT): Likewise.
8621 (POLL_MSG): Likewise.
8622 (POLL_ERR): Likewise.
8623 (POLL_PRI): Likewise.
8624 (POLL_HUP): Likewise.
8625 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8626 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8627
bc61d27c
JM
8628 [BZ #16670]
8629 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8630 before #include of <time.h>.
8631 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8632 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8633 (test-xfail-UNIX98/sched.h/conform): Likewise.
8634
302949e2
MS
86352014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8636
8637 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8638 error absence of trapping exception support.
8639 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8640
a00f522a
JM
86412014-03-07 Joseph Myers <joseph@codesourcery.com>
8642
6f99f280
JM
8643 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8644 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8645 * timezone/Makefile (testdata): Move definition above include of
8646 Rules.
8647 (test-zones): New variable.
8648 (tests-special): Add zone files.
8649 (build-testdata): Use $(evaluate-test).
8650
0b20a9e8
JM
8651 * elf/Makefile (tests-special): Rename tests to end with .out.
8652 ($(objpfx)noload-mem): Likewise.
8653 ($(objpfx)tst-leaks1-mem): Likewise.
8654 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8655 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8656 $(objpfx)test-iconvconfig.out.
8657 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8658 set -e inside subshell and redirect output to file.
8659 * iconvdata/Makefile (generated): Rename tests to end with .out.
8660 Correct type.
8661 (tests-special): Rename tests to end with .out.
8662 ($(objpfx)mtrace-tst-loading): Likewise.
8663 * intl/Makefile (generated): Likewise.
8664 (tests-special): Likewise.
8665 ($(objpfx)mtrace-tst-gettext): Likewise.
8666 * misc/Makefile (generated): Likewise.
8667 (tests-special): Likewise.
8668 ($(objpfx)tst-error1-mem): Likewise.
8669 * nptl/Makefile (tests-special): Likewise.
8670 ($(objpfx)tst-stack3-mem): Likewise.
8671 (generated): Likewise.
8672 * posix/Makefile (generated): Likewise.
8673 (tests-special): Likewise.
8674 (xtests-special): Likewise.
8675 ($(objpfx)tst-fnmatch-mem): Likewise.
8676 ($(objpfx)bug-regex2-mem): Likewise.
8677 ($(objpfx)bug-regex14-mem): Likewise.
8678 ($(objpfx)bug-regex21-mem): Likewise.
8679 ($(objpfx)bug-regex31-mem): Likewise.
8680 ($(objpfx)tst-vfork3-mem): Likewise.
8681 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8682 ($(objpfx)tst-pcre-mem): Likewise.
8683 ($(objpfx)tst-boost-mem): Likewise.
8684 ($(objpfx)bug-ga2-mem): Likewise.
8685 ($(objpfx)bug-glob2-mem): Likewise.
8686 * resolv/Makefile (generate): Likewise.
8687 (tests-special): Likewise.
8688 (xtests-special): Likewise.
8689 (generated): Likewise.
8690 ($(objpfx)mtrace-tst-leaks): Likewise.
8691 ($(objpfx)mtrace-tst-leaks2): Likewise.
8692
265d52ab
JM
8693 * scripts/merge-test-results.sh: New file.
8694 * Makefile (tests-special-notdir): New variable.
8695 (tests): Run merge-test-results.sh.
8696 (xtests): Likewise.
8697 * Rules (tests-special-notdir): New variable.
8698 (xtests-special-notdir): Likewise.
8699 (tests): Run merge-test-results.sh
8700 (xtests): Likewise.
8701
54ee292d
JM
8702 * Makeconfig (test-xfail-name): New variable.
8703 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8704 compute variable name for expected failures.
8705 * conform/Makefile (conformtest-headers-data): New variable.
8706 (conformtest-standards): Likewise.
8707 (conformtest-headers-ISO): Likewise.
8708 (conformtest-headers-ISO99): Likewise.
8709 (conformtest-headers-ISO11): Likewise.
8710 (conformtest-headers-POSIX): Likewise.
8711 (conformtest-headers-XPG3): Likewise.
8712 (conformtest-headers-XPG4): Likewise.
8713 (conformtest-headers-UNIX98): Likewise.
8714 (conformtest-headers-XOPEN2K): Likewise.
8715 (conformtest-headers-POSIX2008): Likewise.
8716 (conformtest-headers-XOPEN2K8): Likewise.
8717 (conformtest-header-list-base): Likewise.
8718 (conformtest-header-list-tests): Likewise.
8719 (conformtest-header-base): Likewise.
8720 (conformtest-header-tests): Likewise.
8721 (tests-special): Add $(conformtest-header-list-tests). If
8722 [$(fast-check) && !$(cross-compiling)], add
8723 $(conformtest-header-tests) instead of
8724 $(objpfx)run-conformtest.out.
8725 (generated): Add $(conformtest-header-list-base). If
8726 [$(fast-check) && !$(cross-compiling)], add
8727 $(conformtest-header-base). Remove previous setting.
8728 ($(conformtest-header-list-tests)): New target.
8729 (test-xfail-run-conformtest): Remove variable.
8730 ($(objpfx)run-conformtest.out): Remove target.
8731 (test-xfail-ISO11/complex.h/conform): New variable.
8732 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8733 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8734 (test-xfail-XPG3/varargs.h/conform): Likewise.
8735 (test-xfail-XPG4/varargs.h/conform): Likewise.
8736 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8737 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8738 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8739 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8740 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8741 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8742 (test-xfail-XPG3/ftw.h/conform): Likewise.
8743 (test-xfail-XPG3/grp.h/conform): Likewise.
8744 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8745 (test-xfail-XPG3/limits.h/conform): Likewise.
8746 (test-xfail-XPG3/pwd.h/conform): Likewise.
8747 (test-xfail-XPG3/search.h/conform): Likewise.
8748 (test-xfail-XPG3/signal.h/conform): Likewise.
8749 (test-xfail-XPG3/stdio.h/conform): Likewise.
8750 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8751 (test-xfail-XPG3/string.h/conform): Likewise.
8752 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8753 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8754 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8755 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8756 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8757 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8758 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8759 (test-xfail-XPG3/termios.h/conform): Likewise.
8760 (test-xfail-XPG3/time.h/conform): Likewise.
8761 (test-xfail-XPG3/unistd.h/conform): Likewise.
8762 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8763 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8764 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8765 (test-xfail-XPG4/netdb.h/conform): Likewise.
8766 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8767 (test-xfail-XPG4/signal.h/conform): Likewise.
8768 (test-xfail-XPG4/stdio.h/conform): Likewise.
8769 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8770 (test-xfail-XPG4/stropts.h/conform): Likewise.
8771 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8772 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8773 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8774 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8775 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8776 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8777 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8778 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8779 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8780 (test-xfail-XPG4/termios.h/conform): Likewise.
8781 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8782 (test-xfail-XPG4/unistd.h/conform): Likewise.
8783 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8784 (test-xfail-POSIX/sched.h/conform): Likewise.
8785 (test-xfail-POSIX/signal.h/conform): Likewise.
8786 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8787 (test-xfail-POSIX/tar.h/conform): Likewise.
8788 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8789 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8790 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8791 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8792 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8793 (test-xfail-UNIX98/sched.h/conform): Likewise.
8794 (test-xfail-UNIX98/signal.h/conform): Likewise.
8795 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8796 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8797 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8798 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8799 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8800 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8801 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8802 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8803 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8804 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8805 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8806 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8807 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8808 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8809 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8810 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8811 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8812 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8813 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8814 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8815 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8816 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8817 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8818 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8819 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8820 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8821 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8822 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8823 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8824 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8825 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8826 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8827 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8828 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8829 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8830 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8831 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8832 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8833 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8834 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8835 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8836 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8837 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8838 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8839 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8840 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8841 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8842 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8843 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8844 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8845 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8846 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8847 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8848 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8849 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8850 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8851 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8852 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8853 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8854 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8855 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8856 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8857 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8858 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8859 (conformtest-cc-flags): Likewise.
8860 ($(conformtest-header-tests): New target.
8861 * conform/check-header-lists.sh: New file.
8862 * conform/run-conformtest.sh: Remove.
8863
a00f522a
JM
8864 * conform/conformtest.pl: Allow ' and \ in values given for
8865 constants.
8866 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8867 inclusion.
8868 [POSIX] (sys/types.h): Likewise.
8869 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8870 inclusion.
8871 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8872 inclusion.
8873 * conform/data/signal.h-data (SIGIO): Remove expectation.
8874 [XPG3] (SIGBUS): Do not expect.
8875 [POSIX || XPG3] (SIGPOLL): Likewise.
8876 [POSIX || XPG3] (SIGPROF): Likewise.
8877 [POSIX || XPG3] (SIGSYS): Likewise.
8878 [XPG3] (SIGTRAP): Likewise.
8879 [POSIX || XPG3] (SIGURG): Likewise.
8880 [POSIX || XPG3] (SIGVTALRM): Likewise.
8881 [POSIX || XPG3] (SIGXCPU): Likewise.
8882 [POSIX || XPG3] (SIGXFSZ): Likewise.
8883 [POSIX] (SA_SIGINFO): Expect.
8884 [XPG3] (siginfo_t): Do not expect type or contents.
8885 [POSIX] (si_pid): Do not expect element.
8886 [POSIX] (si_uid): Likewise.
8887 [POSIX] (si_addr): Likewise.
8888 [POSIX] (si_status): Likewise.
8889 [POSIX] (si_band): Likewise.
8890 [XPG4] (si_value): Likewise.
8891 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8892 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8893 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8894 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8895 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8896 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8897 [POSIX || XPG3] (ILL_COPROC): Likewise.
8898 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8899 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8900 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8901 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8902 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8903 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8904 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8905 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8906 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8907 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8908 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8909 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8910 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8911 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8912 [POSIX || XPG3] (CLD_EXITED): Likewise.
8913 [POSIX || XPG3] (CLD_KILLED): Likewise.
8914 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8915 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8916 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8917 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8918 [POSIX || XPG3] (POLL_IN): Likewise.
8919 [POSIX || XPG3] (POLL_OUT): Likewise.
8920 [POSIX || XPG3] (POLL_MSG): Likewise.
8921 [POSIX || XPG3] (POLL_ERR): Likewise.
8922 [POSIX || XPG3] (POLL_PRI): Likewise.
8923 [POSIX || XPG3] (POLL_HUP): Likewise.
8924 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8925 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8926 (SIG*): Do not allow.
8927 [XPG3] (si_*): Likewise.
8928 [XPG3] (SI_*): Likewise.
8929 [XPG3 || XPG4] (sigev_*): Likewise.
8930 [XPG3 || XPG4] (SIGEV_*): Likewise.
8931 [XPG3 || XPG4] (sival_*): Likewise.
8932 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8933 [POSIX || XPG3] (BUS_*): Likewise.
8934 [POSIX || XPG3] (CLD_*): Likewise.
8935 [POSIX || XPG3] (FPE_*): Likewise.
8936 [POSIX || XPG3] (ILL_*): Likewise.
8937 [POSIX || XPG3] (POLL_*): Likewise.
8938 [POSIX || XPG3] (SEGV_*): Likewise.
8939 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8940 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8941 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8942 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8943 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8944 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8945 Specify type and value.
8946 (TVERSLEN): Likewise.
8947 (REGTYPE): Likewise.
8948 (AREGTYPE): Likewise.
8949 (LNKTYPE): Likewise.
8950 (SYMTYPE): Likewise.
8951 (CHRTYPE): Likewise.
8952 (BLKTYPE): Likewise.
8953 (DIRTYPE): Likewise.
8954 (FIFOTYPE): Likewise.
8955 (CONTTYPE): Likewise.
8956 (TSUID): Likewise.
8957 (TSGID): Likewise.
8958 (TSVTX): Likewise.
8959 (TUREAD): Likewise.
8960 (TUWRITE): Likewise.
8961 (TUEXEC): Likewise.
8962 (TGREAD): Likewise.
8963 (TGWRITE): Likewise.
8964 (TGEXEC): Likewise.
8965 (TOREAD): Likewise.
8966 (TOWRITE): Likewise.
8967 (TOEXEC): Likewise.
8968 [POSIX] (TSVTX): Expect constant.
8969
aa97dee1
JM
89702014-03-06 Joseph Myers <joseph@codesourcery.com>
8971
f214606a
JM
8972 * Makefile (tests): Change dependencies to ....
8973 (tests-special): ... additions to this variable.
8974 (tests): Depend on $(tests-special).
8975 * Makerules (check-abi-list): New variable.
8976 (check-abi): Depend on $(check-abi-list).
8977 [$(subdir) = elf] (tests-special): Add
8978 $(objpfx)check-abi-libc.out.
8979 [$(build-shared) = yes && subdir] (tests-special): Add
8980 $(check-abi-list).
8981 [$(build-shared) = yes && subdir] (tests): Do not depend on
8982 check-abi.
8983 * Rules (tests): Depend on $(tests-special).
8984 (xtests): Depend on $(xtests-special).
8985 * catgets/Makefile (tests): Change dependencies to ....
8986 (tests-special): ... additions to this variable.
8987 * conform/Makefile (tests): Change dependencies to ....
8988 (tests-special): ... additions to this variable.
8989 * elf/Makefile (tests): Change dependencies to ....
8990 (tests-special): ... additions to this variable.
8991 * grp/Makefile (tests): Change dependencies to ....
8992 (tests-special): ... additions to this variable.
8993 * iconv/Makefile (xtests): Change dependencies to ....
8994 (xtests-special): ... additions to this variable.
8995 * iconvdata/Makefile (tests): Change dependencies to ....
8996 (tests-special): ... additions to this variable.
8997 * intl/Makefile (tests): Change dependencies to ....
8998 (tests-special): ... additions to this variable. Also add
8999 $(objpfx)tst-gettext.out.
9000 * io/Makefile (tests): Change dependencies to ....
9001 (tests-special): ... additions to this variable.
9002 * libio/Makefile (tests): Change dependencies to ....
9003 (tests-special): ... additions to this variable.
9004 * malloc/Makefile (tests): Change dependencies to ....
9005 (tests-special): ... additions to this variable.
9006 * misc/Makefile (tests): Change dependencies to ....
9007 (tests-special): ... additions to this variable.
9008 * nptl/Makefile (tests): Change dependencies to ....
9009 (tests-special): ... additions to this variable.
9010 * nptl_db/Makefile (tests): Change dependencies to ....
9011 (tests-special): ... additions to this variable.
9012 * posix/Makefile (tests): Change dependencies to ....
9013 (tests-special): ... additions to this variable.
9014 (xtests): Change dependencies to ....
9015 (xtests-special): ... additions to this variable.
9016 * resolv/Makefile (tests): Change dependencies to ....
9017 (tests-special): ... additions to this variable.
9018 (xtests): Change dependencies to ....
9019 (xtests-special): ... additions to this variable.
9020 * stdio-common/Makefile (tests): Change dependencies to ....
9021 (tests-special): ... additions to this variable.
9022 (do-tst-unbputc): Remove target.
9023 (do-tst-printf): Likewise.
9024 * stdlib/Makefile (tests): Change dependencies to ....
9025 (tests-special): ... additions to this variable.
9026 * string/Makefile (tests): Change dependencies to ....
9027 (tests-special): ... additions to this variable.
9028 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9029 (tests-special): ... additions to this variable.
9030
81700b53
JM
9031 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9032 whole file.
9033 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9034 whole file.
9035 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9036 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9037
2ea18461
JM
9038 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9039 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9040 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9041 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9042 * conform/data/libgen.h-data [XPG3]: Likewise.
9043 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9044 * conform/data/ndbm.h-data [XPG3]: Likewise.
9045 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9046 * conform/data/netdb.h-data [XPG3]: Likewise.
9047 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9048 * conform/data/poll.h-data [XPG3]: Likewise.
9049 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9050 * conform/data/strings.h-data [XPG3]: Likewise.
9051 * conform/data/stropts.h-data [XPG3]: Likewise.
9052 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9053 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9054 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9055 Likewise.
9056 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9057 * conform/data/sys/time.h-data [XPG3]: Likewise.
9058 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9059 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9060 * conform/data/sys/un.h-data [XPG3]: Likewise.
9061 * conform/data/syslog.h-data [XPG3]: Likewise.
9062 * conform/data/ucontext.h-data [XPG3]: Likewise.
9063 * conform/data/utmpx.h-data [XPG3]: Likewise.
9064 * conform/data/varargs.h-data [UNIX98]: Enable file.
9065
355bc986
JM
9066 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9067
215db402
JM
9068 * math/libm-test.inc (struct test_f_f_data): Move expected results
9069 into structure for each rounding mode.
9070 (struct test_ff_f_data): Likewise.
9071 (struct test_ff_f_data_nexttoward): Likewise.
9072 (struct test_fi_f_data): Likewise.
9073 (struct test_fl_f_data): Likewise.
9074 (struct test_if_f_data): Likewise.
9075 (struct test_fff_f_data): Likewise.
9076 (struct test_c_f_data): Likewise.
9077 (struct test_f_f1_data): Likewise.
9078 (struct test_fF_f1_data): Likewise.
9079 (struct test_ffI_f1_data): Likewise.
9080 (struct test_c_c_data): Likewise.
9081 (struct test_cc_c_data): Likewise.
9082 (struct test_f_i_data): Likewise.
9083 (struct test_ff_i_data): Likewise.
9084 (struct test_f_l_data): Likewise.
9085 (struct test_f_L_data): Likewise.
9086 (struct test_fFF_11_data): Likewise.
9087 (RM_): New macro.
9088 (RM_FE_DOWNWARD): Likewise.
9089 (RM_FE_TONEAREST): Likewise.
9090 (RM_FE_TOWARDZERO): Likewise.
9091 (RM_FE_UPWARD): Likewise.
9092 (RUN_TEST_LOOP_f_f): Update references to expected results.
9093 (RUN_TEST_LOOP_2_f): Likewise.
9094 (RUN_TEST_LOOP_fff_f): Likewise.
9095 (RUN_TEST_LOOP_c_f): Likewise.
9096 (RUN_TEST_LOOP_f_f1): Likewise.
9097 (RUN_TEST_LOOP_fF_f1): Likewise.
9098 (RUN_TEST_LOOP_fI_f1): Likewise.
9099 (RUN_TEST_LOOP_ffI_f1): Likewise.
9100 (RUN_TEST_LOOP_c_c): Likewise.
9101 (RUN_TEST_LOOP_cc_c): Likewise.
9102 (RUN_TEST_LOOP_f_i): Likewise.
9103 (RUN_TEST_LOOP_f_i_tg): Likewise.
9104 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9105 (RUN_TEST_LOOP_f_b): Likewise.
9106 (RUN_TEST_LOOP_f_b_tg): Likewise.
9107 (RUN_TEST_LOOP_f_l): Likewise.
9108 (RUN_TEST_LOOP_f_L): Likewise.
9109 (RUN_TEST_LOOP_fFF_11): Likewise.
9110 * math/gen-libm-test.pl (parse_args): Output four copies of
9111 expected results for each test.
9112
67737b8f
JM
9113 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9114 (__ASSUME_UTIMES): Remove.
9115 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9116 (__ASSUME_UTIMES): Likewise.
9117
aa97dee1
JM
9118 * math/gen-auto-libm-tests.c: Update comment on output format.
9119 (output_for_one_input_case): Generate before-rounding and
9120 after-rounding information as conditions on output flags not
9121 floating-point format.
9122 * math/auto-libm-test-out: Regenerated.
9123 * math/gen-libm-test.pl (cond_value): New function.
9124 (or_cond_value): Use cond_value.
9125 (generate_testfile): Handle conditional exceptions.
9126
e6b6a857
JM
91272014-03-05 Joseph Myers <joseph@codesourcery.com>
9128
2f0a0f44
JM
9129 * math/libm-test.inc (max_valid_error): New variable.
9130 (init_max_error): Take new argument specifying whether function
9131 results are exactly determined. Set max_valid_error and bound
9132 other variables for errors based on this argument.
9133 (set_max_error): Do not record results above max_valid_error.
9134 (check_float_internal): Only accept errors of up to 0.5ulps if
9135 also at most max_valid_error.
9136 (START): Take new argument EXACT and pass it to init_max_error.
9137 (acos_test): Update call to START.
9138 (acos_test_tonearest): Likewise.
9139 (acos_test_towardzero): Likewise.
9140 (acos_test_downward): Likewise.
9141 (acos_test_upward): Likewise.
9142 (acosh_test): Likewise.
9143 (asin_test): Likewise.
9144 (asin_test_tonearest): Likewise.
9145 (asin_test_towardzero): Likewise.
9146 (asin_test_downward): Likewise.
9147 (asin_test_upward): Likewise.
9148 (asinh_test): Likewise.
9149 (atan_test): Likewise.
9150 (atanh_test): Likewise.
9151 (atan2_test): Likewise.
9152 (cabs_test): Likewise.
9153 (cacos_test): Likewise.
9154 (cacosh_test): Likewise.
9155 (carg_test): Likewise.
9156 (casin_test): Likewise.
9157 (casinh_test): Likewise.
9158 (catan_test): Likewise.
9159 (catanh_test): Likewise.
9160 (cbrt_test): Likewise.
9161 (ccos_test): Likewise.
9162 (ccosh_test): Likewise.
9163 (ceil_test): Likewise.
9164 (cexp_test): Likewise.
9165 (cimag_test): Likewise.
9166 (clog_test): Likewise.
9167 (clog10_test): Likewise.
9168 (conj_test): Likewise.
9169 (copysign_test): Likewise.
9170 (cos_test): Likewise.
9171 (cos_test_tonearest): Likewise.
9172 (cos_test_towardzero): Likewise.
9173 (cos_test_downward): Likewise.
9174 (cos_test_upward): Likewise.
9175 (cosh_test): Likewise.
9176 (cosh_test_tonearest): Likewise.
9177 (cosh_test_towardzero): Likewise.
9178 (cosh_test_downward): Likewise.
9179 (cosh_test_upward): Likewise.
9180 (cpow_test): Likewise.
9181 (cproj_test): Likewise.
9182 (creal_test): Likewise.
9183 (csin_test): Likewise.
9184 (csinh_test): Likewise.
9185 (csqrt_test): Likewise.
9186 (ctan_test): Likewise.
9187 (ctan_test_tonearest): Likewise.
9188 (ctan_test_towardzero): Likewise.
9189 (ctan_test_downward): Likewise.
9190 (ctan_test_upward): Likewise.
9191 (ctanh_test): Likewise.
9192 (ctanh_test_tonearest): Likewise.
9193 (ctanh_test_towardzero): Likewise.
9194 (ctanh_test_downward): Likewise.
9195 (ctanh_test_upward): Likewise.
9196 (erf_test): Likewise.
9197 (erfc_test): Likewise.
9198 (exp_test): Likewise.
9199 (exp_test_tonearest): Likewise.
9200 (exp_test_towardzero): Likewise.
9201 (exp_test_downward): Likewise.
9202 (exp_test_upward): Likewise.
9203 (exp10_test): Likewise.
9204 (exp10_test_tonearest): Likewise.
9205 (exp10_test_towardzero): Likewise.
9206 (exp10_test_downward): Likewise.
9207 (exp10_test_upward): Likewise.
9208 (pow10_test): Likewise.
9209 (exp2_test): Likewise.
9210 (expm1_test): Likewise.
9211 (expm1_test_tonearest): Likewise.
9212 (expm1_test_towardzero): Likewise.
9213 (expm1_test_downward): Likewise.
9214 (expm1_test_upward): Likewise.
9215 (fabs_test): Likewise.
9216 (fdim_test): Likewise.
9217 (floor_test): Likewise.
9218 (fma_test): Likewise.
9219 (fma_test_towardzero): Likewise.
9220 (fma_test_downward): Likewise.
9221 (fma_test_upward): Likewise.
9222 (fmax_test): Likewise.
9223 (fmin_test): Likewise.
9224 (fmod_test): Likewise.
9225 (fpclassify_test): Likewise.
9226 (frexp_test): Likewise.
9227 (hypot_test): Likewise.
9228 (ilogb_test): Likewise.
9229 (isfinite_test): Likewise.
9230 (finite_test): Likewise.
9231 (isgreater_test): Likewise.
9232 (isgreaterequal_test): Likewise.
9233 (isinf_test): Likewise.
9234 (isless_test): Likewise.
9235 (islessequal_test): Likewise.
9236 (islessgreater_test): Likewise.
9237 (isnan_test): Likewise.
9238 (isnormal_test): Likewise.
9239 (issignaling_test): Likewise.
9240 (isunordered_test): Likewise.
9241 (j0_test): Likewise.
9242 (j1_test): Likewise.
9243 (jn_test): Likewise.
9244 (ldexp_test): Likewise.
9245 (lgamma_test): Likewise.
9246 (gamma_test): Likewise.
9247 (lrint_test): Likewise.
9248 (lrint_test_tonearest): Likewise.
9249 (lrint_test_towardzero): Likewise.
9250 (lrint_test_downward): Likewise.
9251 (lrint_test_upward): Likewise.
9252 (llrint_test): Likewise.
9253 (llrint_test_tonearest): Likewise.
9254 (llrint_test_towardzero): Likewise.
9255 (llrint_test_downward): Likewise.
9256 (llrint_test_upward): Likewise.
9257 (log_test): Likewise.
9258 (log10_test): Likewise.
9259 (log1p_test): Likewise.
9260 (log2_test): Likewise.
9261 (logb_test): Likewise.
9262 (logb_test_downward): Likewise.
9263 (lround_test): Likewise.
9264 (llround_test): Likewise.
9265 (modf_test): Likewise.
9266 (nearbyint_test): Likewise.
9267 (nextafter_test): Likewise.
9268 (nexttoward_test): Likewise.
9269 (pow_test): Likewise.
9270 (pow_test_tonearest): Likewise.
9271 (pow_test_towardzero): Likewise.
9272 (pow_test_downward): Likewise.
9273 (pow_test_upward): Likewise.
9274 (remainder_test): Likewise.
9275 (drem_test): Likewise.
9276 (remainder_test_tonearest): Likewise.
9277 (drem_test_tonearest): Likewise.
9278 (remainder_test_towardzero): Likewise.
9279 (drem_test_towardzero): Likewise.
9280 (remainder_test_downward): Likewise.
9281 (drem_test_downward): Likewise.
9282 (remainder_test_upward): Likewise.
9283 (drem_test_upward): Likewise.
9284 (remquo_test): Likewise.
9285 (rint_test): Likewise.
9286 (rint_test_tonearest): Likewise.
9287 (rint_test_towardzero): Likewise.
9288 (rint_test_downward): Likewise.
9289 (rint_test_upward): Likewise.
9290 (round_test): Likewise.
9291 (scalb_test): Likewise.
9292 (scalbn_test): Likewise.
9293 (scalbln_test): Likewise.
9294 (signbit_test): Likewise.
9295 (sin_test): Likewise.
9296 (sin_test_tonearest): Likewise.
9297 (sin_test_towardzero): Likewise.
9298 (sin_test_downward): Likewise.
9299 (sin_test_upward): Likewise.
9300 (sincos_test): Likewise.
9301 (sinh_test): Likewise.
9302 (sinh_test_tonearest): Likewise.
9303 (sinh_test_towardzero): Likewise.
9304 (sinh_test_downward): Likewise.
9305 (sinh_test_upward): Likewise.
9306 (sqrt_test): Likewise.
9307 (sqrt_test_tonearest): Likewise.
9308 (sqrt_test_towardzero): Likewise.
9309 (sqrt_test_downward): Likewise.
9310 (sqrt_test_upward): Likewise.
9311 (tan_test): Likewise.
9312 (tan_test_tonearest): Likewise.
9313 (tan_test_towardzero): Likewise.
9314 (tan_test_downward): Likewise.
9315 (tan_test_upward): Likewise.
9316 (tanh_test): Likewise.
9317 (tgamma_test): Likewise.
9318 (trunc_test): Likewise.
9319 (y0_test): Likewise.
9320 (y1_test): Likewise.
9321 (yn_test): Likewise.
9322 (significand_test): Likewise.
9323
e6b6a857
JM
9324 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9325 individual tests in comment.
9326 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9327 (prev_max_error): New variable.
9328 (prev_real_max_error): Likewise.
9329 (prev_imag_max_error): Likewise.
9330 (compare_ulp_data): Don't refer to test names in comment.
9331 (find_test_ulps): Remove function.
9332 (find_function_ulps): Likewise.
9333 (find_complex_function_ulps): Likewise.
9334 (init_max_error): Take function name as argument. Look up ulps
9335 for that function.
9336 (print_ulps): Remove function.
9337 (print_max_error): Use prev_max_error instead of calling
9338 find_function_ulps.
9339 (print_complex_max_error): Use prev_real_max_error and
9340 prev_imag_max_error instead of calling find_complex_function_ulps.
9341 (check_float_internal): Take max_ulp parameter instead of calling
9342 find_test_ulps. Don't call print_ulps.
9343 (check_float): Update call to check_float_internal.
9344 (check_complex): Update calls to check_float_internal.
9345 (START): Pass argument to init_max_error.
9346 * math/gen-libm-test.pl (%results): Don't include "kind"
9347 information.
9348 (parse_ulps): Don't handle ulps of individual tests.
9349 (print_ulps_file): Likewise.
9350 (output_ulps): Likewise.
9351 * math/README.libm-test: Update.
9352 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9353 individual tests.
9354 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9355 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9356 * sysdeps/arm/libm-test-ulps: Likewise.
9357 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9358 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9359 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9360 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9361 * sysdeps/microblaze/libm-test-ulps: Likewise.
9362 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9363 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9365 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9366 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9367 * sysdeps/sh/libm-test-ulps: Likewise.
9368 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9369 * sysdeps/tile/libm-test-ulps: Likewise.
9370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9371
45adef3c
JM
93722014-03-04 Joseph Myers <joseph@codesourcery.com>
9373
9374 * math/libm-test.inc (print_complex_max_error): Check separately
9375 whether real and imaginary errors are within allowed range and
9376 pass 0 to print_complex_function_ulps instead of value within
9377 allowed range.
9378
000232b9
SP
93792014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9380
d4b17258
SP
9381 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9382 formatting.
9383 (get_handles_fopen): Likewise.
9384 (do_write_test): Likewise.
9385
091eff71
SP
9386 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9387
fa3cd248
SP
9388 * libio/fileops.c (do_ftell): Use cached offset when
9389 available.
9390 * libio/iofwide.c (do_ftell_wide): Likewise.
9391 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9392 _IO_file_attach.
9393 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9394
000232b9
SP
9395 [BZ #16532]
9396 * libio/libioP.h (get_file_offset): New function.
9397 * libio/fileops.c (get_file_offset): Likewise.
9398 (do_ftell): Likewise.
9399 (_IO_new_file_seekoff): Split out ftell logic.
9400 * libio/wfileops.c (do_ftell_wide): Likewise.
9401 (_IO_wfile_seekoff): Split out ftell logic.
9402 * libio/tst-ftell-active-handler.c: New test case.
9403 * libio/Makefile (tests): Add it.
9404
116f4d1a
RM
94052014-03-03 Roland McGrath <roland@hack.frob.com>
9406
9407 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9408 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9409
532a6035
SP
94102014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9411
9412 [BZ #16639]
9413 * nscd/connections.c (nscd_init): Call do_exit.
9414 (start_threads): Call do_exit and notify_parent.
9415 (begin_drop_privileges): Call do_exit.
9416 (finish_drop_privileges): Likewise.
9417 * nscd/selinux.c (preserve_capabilities): Likewise.
9418 (install_real_capabilities): Likewise.
9419 (nscd_selinux_enabled): Likewise.
9420 (avc_create_thread): Likewise.
9421 (avc_alloc_lock): Likewise.
9422 (nscd_avc_init): Likewise.
9423 * nscd/nscd.c (parent_fd): New static variable.
9424 (main): Create a pipe between parent and child processes.
9425 Skip closing parent_fd.
9426 (monitor_child): New function.
9427 (do_exit): Likewise.
9428 (notify_parent): Likewise.
9429 * nscd/nscd.h (notify_parent): Likewise.
9430 (do_exit): Likewise.
9431
d6285c9f
CD
94322014-03-03 Carlos O'Donell <carlos@redhat.com>
9433
9434 * malloc/malloc.c (__libc_calloc): Revert last change.
9435
2b85d2a0
AZ
94362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9437
9438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9439
c7debbdf
RS
94402014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9441
9442 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9444 implementation.
9445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9446 (__libc_ifunc_impl_list): Likewise.
9447 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9448 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9449 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9450 * string/strrchr.c: Define STRRCHR.
9451
235eed86
OB
94522014-02-28 Ondřej Bílka <neleai@seznam.cz>
9453
9454 * benchtest/bench-strtok.c (simple_strtok): Delete.
9455 (strtok_string): Use as benchmark.
9456 * string/strtok (STRTOK): New macro.
9457
8e25d1e7
CD
94582014-02-28 Carlos O'Donell <carlos@redhat.com>
9459
ef563f92
CD
9460 * manual/threads.texi: Add header and standard comments to all
9461 functions.
9462
8e25d1e7
CD
9463 * elf/dl-lookup.c (check_match): New function.
9464 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9465 (do_lookup_x): Remove nested function check_match. Use non-nested
9466 function check_match.
9467
ff71cc37
RM
94682014-02-28 Roland McGrath <roland@hack.frob.com>
9469
f08e9a26
RM
9470 * csu/Makefile (generated, before-compile): Use += rather than =.
9471 * catgets/Makefile (generated, generated-dirs): Likewise.
9472 * debug/Makefile (generated): Likewise.
9473 * dlfcn/Makefile (generated): Likewise.
9474 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9475 * iconvdata/Makefile (before-compile, generated): Likewise.
9476 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9477 * libio/Makefile (generated): Likewise.
9478 * malloc/Makefile (generated): Likewise.
9479 * manual/Makefile (generated, generated-dirs): Likewise.
9480 * misc/Makefile (generated): Likewise.
9481 * posix/Makefile (generated): Likewise.
9482 * resolv/Makefile (generated): Likewise.
9483 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9484 * timezone/Makefile (generated, generated-dirs): Likewise.
9485
ff71cc37
RM
9486 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9487
fe13a20c
AZ
94882014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9489
57f41c40
AS
9490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9491 power8 implementation.
9492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9493 file: POWER8 llround ifunc implementation.
9494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9495 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9497 POWER8 llround implementation.
9498
57f41c40
AS
9499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9500 power8 implementation.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9502 file: POWER8 llrint ifunc implementation.
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9504 Add POWER8 implementation.
1ad8950a
AZ
9505 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9506 POWER8 llrint implementation.
9507
57f41c40
AS
9508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9509 power8 implementation.
9510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9511 file: POWER8 finite ifunc implementation.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9513 Add POWER8 implementation.
cac626d6
AZ
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9515 Likewise.
9516 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9517 POWER8 finite implementation.
9518 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9519
57f41c40
AS
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9521 power8 implementation.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9523 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9525 POWER8 implementation.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9527 Likewise.
57f41c40
AS
9528 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9529 isinf implementation.
4393fc11
AZ
9530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9531
57f41c40
AS
9532 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9533 (INIT_ARCH): Add hwcap2 initialization.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9535 power8 implementation.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9537 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9539 POWER8 implementation.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9541 Likewise.
57f41c40
AS
9542 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9543 isnan implementation.
487972ae
AZ
9544 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9545
7d92b787
JY
95462014-02-27 Joey Ye <joey.ye@arm.com>
9547
9548 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9549 (_FP_NANFRAC_Q): Set to zero.
9550
1cadc858
SP
95512014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9552
9553 [BZ #16623]
9554 * math/auto-libm-test-in: New test inputs.
9555 * math/auto-libm-test-out: Regenerate.
9556 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9557 and DA.
9558 (__cos): Likewise.
9559 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9560
f8c17e79
JM
95612014-02-27 Joseph Myers <joseph@codesourcery.com>
9562
9563 * scripts/evaluate-test.sh: Take new argument indicating whether
9564 failure is expected.
9565 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9566 indicating whether failure is expected.
9567 * conform/Makefile (test-xfail-run-conformtest): New variable.
9568 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9569 level.
9570 * posix/Makefile (test-xfail-annexc): New variable.
9571 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9572
a5f891ac
JM
95732014-02-26 Joseph Myers <joseph@codesourcery.com>
9574
9575 * argp/Makefile: Include Makeconfig immediately after defining
9576 subdir.
9577 * assert/Makefile: Likewise.
9578 * benchtests/Makefile: Likewise.
9579 * catgets/Makefile: Likewise.
9580 * conform/Makefile: Likewise.
9581 * crypt/Makefile: Likewise.
9582 * csu/Makefile: Likewise.
9583 (all): Remove target.
9584 * ctype/Makefile: Include Makeconfig immediately after defining
9585 subdir.
9586 * debug/Makefile: Likewise.
9587 * dirent/Makefile: Likewise.
9588 * dlfcn/Makefile: Likewise.
9589 * gmon/Makefile: Likewise.
9590 * gnulib/Makefile: Likewise.
9591 * grp/Makefile: Likewise.
9592 * gshadow/Makefile: Likewise.
9593 * hesiod/Makefile: Likewise.
9594 * hurd/Makefile: Likewise.
9595 (all): Remove target.
9596 * iconvdata/Makefile: Include Makeconfig immediately after
9597 defining subdir.
9598 * inet/Makefile: Likewise.
9599 * intl/Makefile: Likewise.
9600 * io/Makefile: Likewise.
9601 * libio/Makefile: Likewise.
9602 (all): Remove target.
9603 * locale/Makefile: Include Makeconfig immediately after defining
9604 subdir.
9605 * login/Makefile: Likewise.
9606 * mach/Makefile: Likewise.
9607 (all): Remove target.
9608 * malloc/Makefile: Include Makeconfig immediately after defining
9609 subdir.
9610 (all): Remove target.
9611 * manual/Makefile: Include Makeconfig immediately after defining
9612 subdir.
9613 * math/Makefile: Likewise.
9614 * misc/Makefile: Likewise.
9615 * nis/Makefile: Likewise.
9616 * nss/Makefile: Likewise.
9617 * po/Makefile: Likewise.
9618 (all): Remove target.
9619 * posix/Makefile: Include Makeconfig immediately after defining
9620 subdir.
9621 * pwd/Makefile: Likewise.
9622 * resolv/Makefile: Likewise.
9623 * resource/Makefile: Likewise.
9624 * rt/Makefile: Likewise.
9625 * setjmp/Makefile: Likewise.
9626 * shadow/Makefile: Likewise.
9627 * signal/Makefile: Likewise.
9628 * socket/Makefile: Likewise.
9629 * soft-fp/Makefile: Likewise.
9630 * stdio-common/Makefile: Likewise.
9631 * stdlib/Makefile: Likewise.
9632 * streams/Makefile: Likewise.
9633 * string/Makefile: Likewise.
9634 * sunrpc/Makefile: Likewise.
9635 (all): Remove target.
9636 * sysvipc/Makefile: Include Makeconfig immediately after defining
9637 subdir.
9638 * termios/Makefile: Likewise.
9639 * time/Makefile: Likewise.
9640 * timezone/Makefile: Likewise.
9641 (all): Remove target.
9642 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9643 subdir.
9644 * wctype/Makefile: Likewise.
9645
5b456e9d
SE
96462014-02-26 Steve Ellcey <sellcey@mips.com>
9647
9648 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9649 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9650 (libc_feholdexcept_setround_mips): Ditto.
9651 (libc_feholdsetround): New.
9652 (libc_feholdsetroundf): New.
9653 (libc_feholdsetroundl): New.
9654 (libc_feupdateenv_test_mips): New.
9655 (libc_feupdateenv_test): New.
9656 (libc_feupdateenv_testf): New.
9657 (libc_feupdateenv_testl): New.
9658 (libc_feresetround): New.
9659 (libc_feresetroundf): New.
9660 (libc_feresetroundl): New.
9661 (libc_fetestexcept_mips): New.
9662 (libc_fetestexcept): New.
9663 (libc_fetestexceptf): New.
9664 (libc_fetestexceptl): New.
9665 (HAVE_RM_CTX): New.
9666 (libc_feholdexcept_setround_mips_ctx): New.
9667 (libc_feholdexcept_setround_ctx): New.
9668 (libc_feholdexcept_setroundf_ctx): New.
9669 (libc_feholdexcept_setroundl_ctx): New.
9670 (libc_fesetenv_mips_ctx): New.
9671 (libc_fesetenv_ctx): New.
9672 (libc_fesetenv_ctxf): New.
9673 (libc_fesetenv_ctxl): New.
9674 (libc_feupdateenv_mips_ctx): New.
9675 (libc_feupdateenv_ctx): New.
9676 (libc_feupdateenvf_ctx): New.
9677 (libc_feupdateenvl_ctx): New.
9678 (libc_feholdsetround_mips_ctx): New.
9679 (libc_feholdsetround_ctx): New.
9680 (libc_feholdsetroundf_ctx): New.
9681 (libc_feholdsetroundl_ctx): New.
9682 (libc_feresetround_mips_ctx): New.
9683 (libc_feresetround_ctx): New.
9684 (libc_feresetroundf_ctx): New.
9685 (libc_feresetroundl_ctx): New.
9686
085d0e35
CD
96872014-02-26 Carlos O'Donell <carlos@redhat.com>
9688
f067bf1f
CD
9689 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9690
085d0e35
CD
9691 * manual/ipc.texi: New file.
9692 * manual/Makefile (chapters): Add ipc.
9693 * manual/job.texi: Add "Inter-Process Communication" to next.
9694 * manual/process.texi: Add "Inter-Process Communication" to prev.
9695
86e58c08
AZ
96962014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9697
9698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9699
4248f0da
OB
97002014-02-26 Ondřej Bílka <neleai@seznam.cz>
9701
9702 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9703
cf822e3c
OB
9704 * manual/arith.texi: Fix spaces after sentences.
9705 * manual/charset.texi: Likewise.
9706 * manual/errno.texi: Likewise.
9707 * manual/install.texi: Likewise.
9708 * manual/llio.texi: Likewise.
9709 * manual/locale.texi: Likewise.
9710 * manual/maint.texi: Likewise.
9711 * manual/math.texi: Likewise.
9712 * manual/memory.texi: Likewise.
9713 * manual/message.texi: Likewise.
9714 * manual/probes.texi: Likewise.
9715 * manual/resource.texi: Likewise.
9716 * manual/signal.texi: Likewise.
9717 * manual/socket.texi: Likewise.
9718 * manual/stdio.texi: Likewise.
9719 * manual/string.texi: Likewise.
9720 * manual/time.texi: Likewise.
9721 * manual/users.texi: Likewise.
9722
ade40b10
CD
97232014-02-25 Carlos O'Donell <carlos@redhat.com>
9724
9725 [BZ #16632]
9726 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9727 _DEFAULT_SOURCE is defined.
9728
d0503676
CD
97292014-02-25 Ulrich Drepper <drepper@gmail.com>
9730 Carlos O'Donell <carlos@redhat.com>
9731
9732 [BZ #16613]
9733 * elf/dl-tls.c (_dl_count_modids): New function.
9734 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9735 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9736 audit library and increment generation counter.
9737 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9738 * elf/tst-audit9.c: New file.
9739 * elf/tst-auditmod9a.c: New file.
9740 * elf/tst-auditmod9b.c: New file.
9741 * elf/Makefile: Add rules to build and run tst-audit9.
9742
4cbf380c
FW
97432014-02-25 Florian Weimer <fweimer@redhat.com>
9744
9745 [BZ #15347]
9746 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9747
80a56cc3
WN
97482014-02-25 Will Newton <will.newton@linaro.org>
9749
9750 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9751 (__longjmp): Restore sp and lr before restoring callee
9752 saved registers. Add longjmp and longjmp_target
9753 SystemTap probe point.
9754 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9755 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9756 Define to zero to match jmpbuf layout.
9757 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9758 (__sigsetjmp): Save sp and lr before saving callee
9759 saved registers. Add setjmp SystemTap probe point.
9760
3ea0f74e
SL
97612014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9762
9763 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9764
b04acb26
AS
97652014-02-24 Andreas Schwab <schwab@suse.de>
9766
9767 [BZ #15804]
9768 * elf/pldd.c (wait_for_ptrace_stop): New function.
9769 (main): Call it after attaching.
9770
098ad55c
RM
97712014-02-22 Roland McGrath <roland@hack.frob.com>
9772
d4ec6ae1
RM
9773 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9774 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9775 Versions files is now verboten.
9776 * hurd/Versions (libc: GLIBC_2.0):
9777 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9778 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9779 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9780 * mach/Versions: Likewise.
9781
098ad55c
RM
9782 * csu/Versions: Remove unused %include.
9783 * resolv/Versions: Likewise.
9784
acd7f096
JM
97852014-02-21 Joseph Myers <joseph@codesourcery.com>
9786
f0881698
JM
9787 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9788 ($(objpfx)check-local-headers.out): Likewise.
9789 ($(objpfx)begin-end-check.out): Likewise.
9790 * Makerules (check-abi-%.out): Likewise.
9791 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9792 ($(objpfx)test2.cat): Likewise.
9793 ($(objpfx)de/libc.cat): Likewise.
9794 ($(objpfx)test-gencat.out): Likewise.
9795 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9796 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9797 ($(objpfx)noload-mem): Likewise.
9798 ($(objpfx)tst-pathopt.out): Likewise.
9799 ($(objpfx)tst-rtld-load-self.out): Likewise.
9800 ($(objpfx)tst-array1-cmp.out): Likewise.
9801 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9802 ($(objpfx)tst-array2-cmp.out): Likewise.
9803 ($(objpfx)tst-array3-cmp.out): Likewise.
9804 ($(objpfx)tst-array4-cmp.out): Likewise.
9805 ($(objpfx)tst-array5-cmp.out): Likewise.
9806 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9807 ($(objpfx)check-textrel.out): Likewise.
9808 ($(objpfx)check-execstack.out): Likewise.
9809 ($(objpfx)check-localplt.out): Likewise.
9810 ($(objpfx)order2-cmp.out): Likewise.
9811 ($(objpfx)tst-leaks1-mem): Likewise.
9812 ($(objpfx)tst-leaks1-static-mem): Likewise.
9813 ($(objpfx)tst-initorder-cmp.out): Likewise.
9814 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9815 ($(objpfx)tst-unused-dep.out): Likewise.
9816 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9817 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9818 * iconv/Makefile (test-iconvconfig): Likewise.
9819 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9820 ($(objpfx)iconv-test.out): Likewise.
9821 ($(objpfx)tst-tables.out): Likewise.
9822 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9823 ($(objpfx)tst-gettext.out): Likewise.
9824 ($(objpfx)tst-translit.out): Likewise.
9825 ($(objpfx)tst-gettext2.out): Likewise.
9826 ($(objpfx)tst-gettext4.out): Likewise.
9827 ($(objpfx)tst-gettext6.out): Likewise.
9828 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9829 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9830 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9831 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9832 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9833 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9834 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9835 ($(objpfx)wordexp-tst.out): Likewise.
9836 ($(objpfx)annexc.out): Likewise.
9837 ($(objpfx)tst-fnmatch-mem): Likewise.
9838 ($(objpfx)bug-regex2-mem): Likewise.
9839 ($(objpfx)bug-regex14-mem): Likewise.
9840 ($(objpfx)bug-regex21-mem): Likewise.
9841 ($(objpfx)bug-regex31-mem): Likewise.
9842 ($(objpfx)tst-vfork3-mem): Likewise.
9843 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9844 ($(objpfx)tst-pcre-mem): Likewise.
9845 ($(objpfx)tst-boost-mem): Likewise.
9846 ($(objpfx)tst-getconf.out): Likewise.
9847 ($(objpfx)bug-ga2-mem): Likewise.
9848 ($(objpfx)bug-glob2-mem): Likewise.
9849 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9850 ($(objpfx)mtrace-tst-leaks2): Likewise.
9851 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9852 ($(objpfx)tst-printf.out): Likewise.
9853 ($(objpfx)tst-setvbuf1.out): Likewise.
9854 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9855 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9856 ($(objpfx)tst-fmtmsg.out): Likewise.
9857 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9858 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9859
acd7f096
JM
9860 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9861 * bits/sigaction.h [__USE_MISC]: Likewise.
9862 * bits/waitstatus.h: Update #endif comments.
9863 * ctype/ctype.h: Likewise.
9864 * dirent/dirent.h: Likewise.
9865 [__USE_MISC]: Remove redundant conditionals.
9866 * grp/grp.h: Update #endif comments.
9867 [__USE_GNU]: Remove redundant conditionals.
9868 [__USE_MISC]: Likewise.
9869 * inet/netinet/in.h [__USE_GNU]: Likewise.
9870 * io/sys/stat.h [__USE_MISC]: Likewise.
9871 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9872 * libio/bits/stdio.h: Update #endif comments.
9873 [__USE_MISC]: Remove redundant conditionals.
9874 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9875 * libio/stdio.h: Update #endif comments.
9876 [__USE_MISC]: Remove redundant conditionals.
9877 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9878 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9879 * math/math.h: Update #else and #endif comments.
9880 [__USE_MISC]: Remove redundant conditionals.
9881 * misc/sys/uio.h: Update #endif comments.
9882 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9883 * posix/glob.h [__USE_MISC]: Likewise.
9884 * posix/sys/types.h: Update #endif comments.
9885 [__USE_MISC]: Remove redundant conditionals.
9886 * posix/sys/wait.h: Update #endif comments.
9887 [__USE_MISC]: Remove redundant conditionals.
9888 * posix/unistd.h: Update #endif comments.
9889 [__USE_MISC]: Remove redundant conditionals.
9890 * pwd/pwd.h [__USE_GNU]: Likewise.
9891 [__USE_MISC]: Likewise.
9892 * resolv/netdb.h [__USE_GNU]: Likewise.
9893 * signal/signal.h: Update #endif comments.
9894 [__USE_MISC]: Remove redundant conditionals.
9895 * stdlib/stdlib.h: Update #else and #endif comments.
9896 [__USE_MISC]: Remove redundant conditionals.
9897 [__USE_GNU]: Likewise.
9898 * string/bits/string2.h [__USE_MISC]: Likewise.
9899 * string/string.h: Update #endif comments.
9900 [__USE_MISC]: Remove redundant conditionals.
9901 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9902 Likewise.
9903 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9904 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9905 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9906 Likewise.
9907 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9908 Likewise.
9909 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9910 comments.
9911 [__USE_MISC]: Remove redundant conditionals.
9912 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9913 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9914 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9915 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9916 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9917 Likewise.
9918 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9919 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9920 Likewise.
9921 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9922 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9923 Likewise.
9924 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9925 Likewise.
9926 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9927 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9928 Likewise.
9929 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9930 Likewise.
9931 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9932 * sysdeps/x86/bits/string.h: Update #endif comments.
9933 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9934 conditionals.
9935 * time/sys/time.h: Update #endif comments.
9936 * time/time.h: Likewise.
9937 [__USE_MISC]: Remove redundant conditionals.
9938
a5d82e4e
YG
99392014-02-21 Yury Gribov <y.gribov@samsung.com>
9940
9941 [BZ #16600]
9942 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9943
9a80491d
AS
99442014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9945
9946 * Versions.def (librt): Add GLIBC_2.17.
9947
105fa381
AC
99482014-02-21 Adam Conrad <adconrad@0c3.net>
9949
9950 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9951 synonym for _SYS_AUXV_H to allow direct inclusion.
9952 * sysdeps/sparc/bits/hwcap.h: Likewise.
9953 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9954 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9955 * sysdeps/sparc/sysdep.h: Likewise.
9956
b8cd1c4e
SP
99572014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9958
9959 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9960
bd939d23
RS
99612014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9962
9963 * benchtests/bench-strrchr.c: Print length instead of position.
9964
5d7b57ca
JM
99652014-02-20 Joseph Myers <joseph@codesourcery.com>
9966
bc688c10
JM
9967 [BZ #16611]
9968 * sysdeps/unix/sysv/linux/kernel-features.h
9969 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9970 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9971 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9972 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9973 Likewise.
9974 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9975 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9976 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9977 (__ASSUME_SENDMMSG): Define instead of using previous
9978 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9979 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9980 (__ASSUME_SENDMMSG_SYSCALL): Define.
9981 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9982 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9985 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9986 Likewise.
9987 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9988 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9991 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9992 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9993 [__ASSUME_SENDMMSG]: Change conditionals to
9994 [__ASSUME_SENDMMSG_SOCKETCALL].
9995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9996 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9997 Define.
9998 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9999 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10000 Likewise.
10001 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10002 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10003 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10004 [!__ASSUME_SENDMMSG]: Change conditional to
10005 [!__ASSUME_SENDMMSG_SOCKETCALL].
10006 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10007 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10008 Define.
10009
0e31b18c
JM
10010 [BZ #16610]
10011 * sysdeps/unix/sysv/linux/kernel-features.h
10012 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10013 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10014 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10015 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10016 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10017 [__i386__ || __sparc__]
10018 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10019 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10020 (__ASSUME_RECVMMSG): Define instead of using previous
10021 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10022 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10023 (__ASSUME_RECVMMSG_SYSCALL): Define.
10024 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10025 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10026 Likewise.
10027 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10029 Likewise.
10030 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10032 Likewise.
10033 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10034 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10035 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10036 [__ASSUME_RECVMMSG]: Change condition to
10037 [__ASSUME_RECVMMSG_SOCKETCALL].
10038 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10039 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10040 Define.
10041 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10042 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10043 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10044 Likewise.
10045 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10046 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10047 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10048 [!__ASSUME_RECVMMSG]: Change condition to
10049 [!__ASSUME_RECVMMSG_SOCKETCALL].
10050 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10051 (__ASSUME_RECVMMSG_SYSCALL): Define.
10052
dd481ccf
JM
10053 [BZ #16609]
10054 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10055 __powerpc__ || __s390__ || __sh__ || __sparc__]
10056 (__ASSUME_SOCKETCALL): Define.
10057 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10058 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10059 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10060 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10061 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10062 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10063 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10064 (__ASSUME_ACCEPT4): Define instead of using previous
10065 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10066 __powerpc__ || __sparc__ || __s390__)] condition.
10067 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10068 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10069 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10070 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10071 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10072 [!__ASSUME_ACCEPT4]: Change condition to
10073 [!__ASSUME_ACCEPT4_SOCKETCALL].
10074 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10075 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10076 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10077 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10078 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10079 __ASSUME_ACCEPT4_SYSCALL.
10080 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10081 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10082 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10083 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10084 __ASSUME_ACCEPT4_SYSCALL.
10085 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10086 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10087 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10088 [__ASSUME_ACCEPT4]: Change condition to
10089 [__ASSUME_ACCEPT4_SOCKETCALL].
10090 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10091 (__ASSUME_SOCKETCALL): Define.
10092 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10094 (__ASSUME_SOCKETCALL): Define.
10095 (__ASSUME_ACCEPT4): Remove.
10096 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10097 Define.
10098 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10099 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10100 Likewise.
10101 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10102 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10103
5d7b57ca
JM
10104 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10105 macro.
10106 (HWCAP_ARM_LPAE): Likewise.
10107 (HWCAP_ARM_EVTSTRM): Likewise.
10108 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10109 Add vpfd32, lpae and evtstrm.
10110 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10111 Increase to 22.
10112
63689d61
JM
101132014-02-19 Joseph Myers <joseph@codesourcery.com>
10114
10115 * math/auto-libm-test-in: Add tests of clog10.
10116 * math/auto-libm-test-out: Regenerated.
10117 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10118 * sysdeps/i386/fpu/libm-test-ulps: Update.
10119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10120
ab09bf61
AS
101212014-02-18 Andreas Schwab <schwab@suse.de>
10122
10123 [BZ #16574]
10124 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10125 Store non-zero if the second buffer was newly allocated.
10126 (send_dg): Likewise.
10127 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10128 to send_vc and send_dg.
10129 (res_nsend): Pass NULL for ansp2_malloced.
10130 * resolv/res_query.c (__libc_res_nquery): Add parameter
10131 answerp2_malloced and pass it down to __libc_res_nsend.
10132 (res_nquery): Pass additional NULL to __libc_res_nquery.
10133 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10134 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10135 second answer buffer if answerp2_malloced was set.
10136 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10137 (__libc_res_nquerydomain): Add parameter
10138 answerp2_malloced and pass it down to __libc_res_nquery.
10139 (res_nquerydomain): Pass additional NULL to
10140 __libc_res_nquerydomain.
10141 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10142 additional NULL to __libc_res_nsend and __libc_res_nquery.
10143 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10144 additional NULL to __libc_res_nsearch.
10145 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10146 parameter of __libc_res_nsearch to check for separately allocated
10147 second buffer.
10148 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10149 __libc_res_nquery.
10150 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10151 additional NULL to __libc_res_nquery.
10152 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10153 __libc_res_nsearch.
10154 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10155 * include/resolv.h: Update prototypes of __libc_res_nquery,
10156 __libc_res_nsearch, __libc_res_nsend.
10157
a4fb7861
JM
101582014-02-18 Joseph Myers <joseph@codesourcery.com>
10159
c6af2d89
JM
10160 * math/auto-libm-test-in: Add tests of fma.
10161 * math/auto-libm-test-out: Regenerated.
10162 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10163 (fma_towardzero_test_data): Likewise.
10164 (fma_downward_test_data): Likewise.
10165 (fma_upward_test_data): Likewise.
10166 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10167 mpc_mode.
10168 (rounding_modes): Add values for new field.
10169 (func_calc_method): Add value mpfr_fff_f.
10170 (func_calc_desc): Add mpfr_fff_f union field.
10171 (test_function): Add field exact_args.
10172 (FUNC): Add macro argument EXACT_ARGS.
10173 (FUNC_mpfr_f_f): Update call to FUNC.
10174 (FUNC_mpfr_f_f): Likewise.
10175 (FUNC_mpfr_ff_f): Likewise.
10176 (FUNC_mpfr_if_f): Likewise.
10177 (FUNC_mpc_c_f): Likewise.
10178 (FUNC_mpc_c_c): Likewise.
10179 (test_functions): Add fma. Update calls to FUNC.
10180 (handle_input_arg): Add argument exact_args.
10181 (add_test): Update call to handle_input_arg.
10182 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10183 (output_for_one_input_case): Update call to calc_generic_results.
10184 Recalculate exact zero results in each rounding mode.
10185
a4fb7861
JM
10186 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10187 non-negative before setting low bit.
10188 * math/auto-libm-test-in: Mark one asin test possibly having
10189 spurious underflow.
10190 * math/auto-libm-test-out: Regenerated.
10191 * sysdeps/i386/fpu/libm-test-ulps: Update.
10192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193
ef114eaf
DH
101942014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10195
2b7f4f2c
SP
10196 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10197 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10198 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10199 * README: Add missing listing for microblaze*-*-linux-gnu.
10200
8125aedc
AM
102012014-02-16 Ondřej Bílka <neleai@seznam.cz>
10202
10203 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10204 duplicate code
10205
c70a4b1d
MF
102062014-02-16 Mike Frysinger <vapier@gentoo.org>
10207
10208 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10209 * sysdeps/unix/sysv/linux/ia64: Move directory from
10210 ports/sysdeps/unix/sysv/linux/ia64.
10211 * README: Update listing for ia64-*-linux-gnu.
10212
591aeaf7
TD
102132014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10214 Joseph Myers <joseph@codesourcery.com>
10215
10216 * Makeconfig (test-name): New variable.
10217 (evaluate-test): Likewise.
10218 * Makerules (do-test-clean): Remove .test-result files.
10219 (common-mostlyclean): Likewise.
10220 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10221 * scripts/evaluate-test.sh: New file.
10222
6e89caf1
JM
102232014-02-14 Joseph Myers <joseph@codesourcery.com>
10224
7f98f180
JM
10225 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10226 separate $(objpfx)tst-fopenloc-cmp.out and
10227 $(objpfx)tst-fopenloc-mem.out targets.
10228 (tests): Update dependencies.
10229 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10230 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10231 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10232 (tst-rxspencer-no-utf8-ARGS): New variable.
10233 (tst-rxspencer-no-utf8-ENV): Likewise.
10234 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10235 instead of $(objpfx)tst-rxspencer-mem.
10236 ($(objpfx)tst-rxspencer-mem): Change target to
10237 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10238 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10239 * posix/tst-rxspencer-no-utf8.c: New file.
10240
6e89caf1
JM
10241 * elf/Makefile ($(objpfx)order.out): Remove rule.
10242 [$(run-built-tests) = yes] (tests): Depend on
10243 $(objpfx)order-cmp.out.
10244 ($(objpfx)order-cmp.out): New rule.
10245 [$(run-built-tests) = yes] (tests): Depend on
10246 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10247 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10248 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10249 $(objpfx)tst-array5-static-cmp.out.
10250 ($(objpfx)tst-array1.out): Remove rule.
10251 ($(objpfx)tst-array1-cmp.out): New rule.
10252 ($(objpfx)tst-array1-static.out): Remove rule.
10253 ($(objpfx)tst-array1-static-cmp.out): New rule.
10254 ($(objpfx)tst-array2.out): Remove rule.
10255 ($(objpfx)tst-array2-cmp.out): New rule.
10256 ($(objpfx)tst-array3.out): Remove rule.
10257 ($(objpfx)tst-array3-cmp.out): New rule.
10258 ($(objpfx)tst-array4.out): Remove rule.
10259 ($(objpfx)tst-array4-cmp.out): New rule.
10260 ($(objpfx)tst-array5.out): Remove rule.
10261 ($(objpfx)tst-array5-cmp.out): New rule.
10262 ($(objpfx)tst-array5-static.out): Remove rule.
10263 ($(objpfx)tst-array5-static-cmp.out): New rule.
10264 [$(run-built-tests) = yes] (tests): Depend on
10265 $(objpfx)order2-cmp.out.
10266 ($(objpfx)order2.out): Remove rule.
10267 ($(objpfx)order2-cmp.out): New rule.
10268 ($(objpfx)tst-initorder.out): Remove rule.
10269 [$(run-built-tests) = yes] (tests): Depend on
10270 $(objpfx)tst-initorder-cmp.out.
10271 ($(objpfx)tst-initorder-cmp.out): New rule.
10272 ($(objpfx)tst-initorder2.out): Remove rule.
10273 [$(run-built-tests) = yes] (tests): Depend on
10274 $(objpfx)tst-initorder2-cmp.out.
10275 ($(objpfx)tst-initorder2-cmp.out): New rule.
10276 [$(run-built-tests) = yes] (tests): Depend on
10277 $(objpfx)tst-unused-dep-cmp.out.
10278 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10279 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10280 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10281 on $(objpfx)tst-setvbuf1-cmp.out.
10282 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10283 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10284 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10285 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10286 ($(objpfx)tst-svc.out): Remove rule.
10287 ($(objpfx)tst-svc-cmp.out): New rule.
10288
ed9a38e2
JM
102892014-02-13 Joseph Myers <joseph@codesourcery.com>
10290
10291 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10292 * ctype/ctype.h [__USE_MISC]: Likewise.
10293 * dirent/dirent.h [__USE_MISC]: Likewise.
10294 * grp/grp.h [__USE_MISC]: Likewise.
10295 * io/fcntl.h [__USE_MISC]: Likewise.
10296 * io/sys/stat.h [__USE_MISC]: Likewise.
10297 * libio/stdio.h [__USE_MISC]: Likewise.
10298 * posix/unistd.h [__USE_MISC]: Likewise.
10299 * pwd/pwd.h [__USE_MISC]: Likewise.
10300 * stdlib.h [__USE_MISC]: Likewise.
10301 * string/bits/string2.h [__USE_MISC]: Likewise.
10302 * string/string.h [__USE_MISC]: Likewise.
10303 * time/time.h [__USE_MISC]: Likewise.
10304
d6680619
AS
103052014-02-13 Andreas Schwab <schwab@suse.de>
10306
10307 [BZ #16574]
10308 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10309 second answer buffer if it was separately allocated.
10310
ace614b8
JM
103112014-02-12 Joseph Myers <joseph@codesourcery.com>
10312
743151ae
JM
10313 * sysdeps/mips/math-tests.h: Include <features.h>.
10314 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10315 (ROUNDING_TESTS_long_double): Do not define.
10316 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10317 (EXCEPTION_TESTS_long_double): Likewise.
10318 * sysdeps/mips/mips64/libm-test-ulps: Update.
10319
498afc54
JM
10320 * include/features.h (__USE_BSD): Remove macro definitions.
10321 (__USE_SVID): Likewise.
10322 (_BSD_SOURCE): Likewise.
10323 (_SVID_SOURCE): Likewise.
10324 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10325 from definition of _DEFAULT_SOURCE.
10326 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10327 [_DEFAULT_SOURCE].
10328 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10329 * bits/mman.h [__USE_BSD]: Likewise.
10330 * bits/termios.h [__USE_BSD]: Likewise.
10331 * bits/waitstatus.h [__USE_BSD]: Likewise.
10332 * ctype/ctype.h [__USE_SVID]: Likewise.
10333 * dirent/dirent.h [__USE_BSD]: Likewise.
10334 * grp/grp.h [__USE_SVID]: Likewise.
10335 [__USE_BSD]: Likewise.
10336 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10337 * io/fcntl.h [__USE_BSD]: Likewise.
10338 * io/ftw.h [__USE_BSD]: Likewise.
10339 * io/sys/stat.h [__USE_BSD]: Likewise.
10340 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10341 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10342 * libio/stdio.h [__USE_SVID]: Likewise.
10343 [__USE_BSD]: Likewise.
10344 * math/math.h [__USE_SVID]: Likewise.
10345 [__USE_BSD]: Likewise.
10346 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10347 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10348 * misc/search.h [__USE_SVID]: Likewise.
10349 * misc/sys/mman.h [__USE_BSD]: Likewise.
10350 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10351 * misc/sys/uio.h [__USE_BSD]: Likewise.
10352 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10353 * posix/glob.h [__USE_BSD]: Likewise.
10354 * posix/regex.h [__USE_BSD]: Likewise.
10355 * posix/sys/types.h [__USE_BSD]: Likewise.
10356 [__USE_SVID]: Likewise.
10357 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10358 * posix/sys/wait.h [__USE_BSD]: Likewise.
10359 [__USE_SVID]: Likewise.
10360 * posix/unistd.h [__USE_BSD]: Likewise.
10361 [__USE_SVID]: Likewise.
10362 * pwd/pwd.h [__USE_SVID]: Likewise.
10363 * resolv/netdb.h [__USE_BSD]: Likewise.
10364 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10365 * signal/signal.h [__USE_BSD]: Likewise.
10366 [__USE_SVID]: Likewise.
10367 * socket/sys/socket.h [__USE_BSD]: Likewise.
10368 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10369 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10370 [__USE_SVID]: Likewise.
10371 * string/bits/string2.h [__USE_BSD]: Likewise.
10372 [__USE_SVID]: Likewise.
10373 * string/bits/string3.h [__USE_BSD]: Likewise.
10374 * string/endian.h [__USE_BSD]: Likewise.
10375 * string/string.h [__USE_SVID]: Likewise.
10376 [__USE_BSD]: Likewise.
10377 * string/strings.h [__USE_BSD]: Likewise.
10378 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10379 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10380 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10381 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10382 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10383 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10384 Likewise.
10385 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10386 Likewise.
10387 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10388 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10389 Likewise.
10390 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10391 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10392 Likewise.
10393 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10394 Likewise.
10395 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10396 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10398 Likewise.
10399 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10400 Likewise.
10401 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10402 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10403 * termios/termios.h [__USE_BSD]: Likewise.
10404 * time/sys/time.h [__USE_BSD]: Likewise.
10405 * time/time.h [__USE_BSD]: Likewise.
10406 [__USE_SVID]: Likewise.
10407
dd7b064c
JM
10408 * Makefile (subdir_targets): Remove subdir_lint.out.
10409
a2c4c199
JM
10410 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10411 (do-tst-printf): Likewise.
10412 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10413 $(objpfx)tst-printf.out.
10414
8756f740
JM
10415 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10416
1b6dd3f1
JM
10417 * Makerules (check-abi-%): Change target to
10418 $(objpfx)check-abi-%.out.
10419 (check-abi target): Update dependencies.
10420 (check-abi-pattern variable): Redirect output of diff to $@.
10421 (check-abi variable): Likewise.
10422 * elf/Makefile (check-abi): Update dependencies.
10423
ace614b8
JM
10424 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10425 unused.
10426 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10427 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10428 subnormal range.
10429 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10430 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10431 value has largest subnormal exponent.
10432 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10433 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10434 * sysdeps/aarch64/soft-fp/sfp-machine.h
10435 (_FP_TININESS_AFTER_ROUNDING): New macro.
10436 * sysdeps/alpha/soft-fp/sfp-machine.h
10437 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10438 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10439 Likewise.
10440 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10441 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10442 * sysdeps/mips/soft-fp/sfp-machine.h
10443 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10444 * sysdeps/powerpc/soft-fp/sfp-machine.h
10445 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10446 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10447 Likewise.
10448 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10449 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10450 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10451 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10452 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10453 Likewise.
10454
fbfdf9cb
DAS
104552014-02-12 Dylan Alex Simon <dylan@dylex.net>
10456
10457 [BZ #16545]
10458 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10459 model 1.
10460
68b7efaa
RH
104612014-02-12 Richard Henderson <rth@redhat.com>
10462
c70a4b1d 10463 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10464 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10465 * sysdeps/unix/sysv/linux/alpha: Move directory from
10466 ports/sysdeps/unix/sysv/linux/alpha.
10467 * README: Update listing for alpha-*-linux-gnu.
10468
cb4a2928
JM
104692014-02-11 Joseph Myers <joseph@codesourcery.com>
10470
c941736c
JM
10471 * include/features.h: Update comment documenting feature test
10472 macros.
10473 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10474 _DEFAULT_SOURCE.
10475 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10476 (_SVID_SOURCE): Likewise.
10477 (_DEFAULT_SOURCE): Update description of default features.
10478 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10479 with _GNU_SOURCE.
10480 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10481 (S_ISVTX): Likewise.
10482 * manual/math.texi (Mathematical Constants): Likewise.
10483 * manual/signal.texi (Interrupted Primitives): Likewise.
10484 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10485 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10486 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10487 Don't refer to _SVID_SOURCE in warning text.
10488
e8d8d7ec
JM
10489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10490
cb4a2928
JM
10491 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10492 already defined.
10493 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10494 * sysdeps/mips/dl-lookup.c: Remove.
10495 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10496
7e6424e3
AK
104972014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10498
10499 [BZ #16447]
10500 * math/auto-libm-test-in: Add testcase for expl.
10501 * math/auto-libm-test-out: Regenerate.
10502 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10503 calculation of unsafe.
10504 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10505
75eff3fe
MS
105062014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10507
10508 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10509 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10510 ports/sysdeps/unix/sysv/linux/aarch64.
10511 * README: Update listing for aarch64*-*-linux-gnu.
10512
d35f1e80
WN
105132014-02-11 Will Newton <will.newton@linaro.org>
10514
10515 * manual/probes.texi (Mathematical Function Probes): Use
10516 "triggered" instead of "hit".
10517
7b3436d4
WN
10518 * manual/probes.texi (Internal Probes): Add documentation
10519 of setjmp, longjmp and longjmp_target probes.
10520
b4f12ca3
WN
10521 * include/stap-probe.h: Add comment about probe argument
10522 format.
10523
c13a72b7
WN
10524 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10525 definition. (tr_where, tr_freehook, tr_mallochook,
10526 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10527
195b8165
DM
105282014-02-11 David S. Miller <davem@davemloft.net>
10529
10530 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10531 processing int_tests.
10532
2ad7600b
JM
105332014-02-10 Joseph Myers <joseph@codesourcery.com>
10534
10535 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10536 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10537 * sysdeps/unix/sysv/linux/mips: Move directory from
10538 ports/sysdeps/unix/sysv/linux/mips.
10539 * README: Update listing for mips-*-linux-gnu and
10540 mips64-*-linux-gnu.
10541
73588a72
AS
105422014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10543
10544 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10545 * sysdeps/unix/sysv/linux/m68k: Move directory from
10546 ports/sysdeps/unix/sysv/linux/m68k.
10547 * README: Update listing for m68k-*-linux-gnu.
10548
4372980f
CM
105492014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10550
10551 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10552 * sysdeps/unix/sysv/linux/generic: Move directory from
10553 ports/sysdeps/unix/sysv/linux/generic.
10554 * sysdeps/unix/sysv/linux/tile: Move directory from
10555 ports/sysdeps/unix/sysv/linux/tile.
10556 * README: Update listing for tile*-*-linux-gnu.
10557
a1ffb40e
OB
105582014-02-10 Ondřej Bílka <neleai@seznam.cz>
10559
57f41c40
AS
10560 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10561 __builtin_expect.
a1ffb40e
OB
10562 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10563 * catgets/open_catalog.c (__open_catalog): Likewise.
10564 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10565 * debug/confstr_chk.c: Likewise.
10566 * debug/fread_chk.c (__fread_chk): Likewise.
10567 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10568 * debug/getgroups_chk.c: Likewise.
10569 * debug/mbsnrtowcs_chk.c: Likewise.
10570 * debug/mbsrtowcs_chk.c: Likewise.
10571 * debug/mbstowcs_chk.c: Likewise.
10572 * debug/memcpy_chk.c: Likewise.
10573 * debug/memmove_chk.c: Likewise.
10574 * debug/mempcpy_chk.c: Likewise.
10575 * debug/memset_chk.c: Likewise.
10576 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10577 * debug/strcat_chk.c (__strcat_chk): Likewise.
10578 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10579 * debug/strncat_chk.c (__strncat_chk): Likewise.
10580 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10581 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10582 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10583 * debug/wcpncpy_chk.c: Likewise.
10584 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10585 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10586 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10587 * debug/wcsncpy_chk.c: Likewise.
10588 * debug/wcsnrtombs_chk.c: Likewise.
10589 * debug/wcsrtombs_chk.c: Likewise.
10590 * debug/wcstombs_chk.c: Likewise.
10591 * debug/wmemcpy_chk.c: Likewise.
10592 * debug/wmemmove_chk.c: Likewise.
10593 * debug/wmempcpy_chk.c: Likewise.
10594 * debug/wmemset_chk.c: Likewise.
10595 * dirent/scandirat.c (SCANDIRAT): Likewise.
10596 * dlfcn/dladdr1.c (dladdr1): Likewise.
10597 * dlfcn/dladdr.c (dladdr): Likewise.
10598 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10599 * dlfcn/dlerror.c (__dlerror): Likewise.
10600 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10601 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10602 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10603 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10604 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10605 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10606 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10607 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10608 Likewise.
10609 * elf/dl-conflict.c: Likewise.
10610 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10611 * elf/dl-dst.h: Likewise.
10612 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10613 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10614 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10615 * elf/dl-init.c (call_init, _dl_init): Likewise.
10616 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10617 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10618 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10619 Likewise.
a1ffb40e
OB
10620 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10621 Likewise.
10622 * elf/dl-minimal.c (__libc_memalign): Likewise.
10623 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10624 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10625 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10626 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10627 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10628 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10629 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10630 * elf/dl-writev.h (_dl_writev): Likewise.
10631 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10632 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10633 (dl_main): Likewise.
a1ffb40e
OB
10634 * elf/setup-vdso.h (setup_vdso): Likewise.
10635 * grp/compat-initgroups.c (compat_call): Likewise.
10636 * grp/fgetgrent.c (fgetgrent): Likewise.
10637 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10638 * grp/putgrent.c (putgrent): Likewise.
10639 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10640 Likewise.
10641 * hurd/hurdinit.c: Likewise.
10642 * iconvdata/8bit-gap.c (struct): Likewise.
10643 * iconvdata/ansi_x3.110.c : Likewise.
10644 * iconvdata/big5.c : Likewise.
10645 * iconvdata/big5hkscs.c : Likewise.
10646 * iconvdata/cp1255.c: Likewise.
10647 * iconvdata/cp1258.c : Likewise.
10648 * iconvdata/cp932.c : Likewise.
10649 * iconvdata/euc-cn.c: Likewise.
10650 * iconvdata/euc-jisx0213.c : Likewise.
10651 * iconvdata/euc-jp.c: Likewise.
10652 * iconvdata/euc-jp-ms.c : Likewise.
10653 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10654 * iconvdata/gb18030.c : Likewise.
10655 * iconvdata/gbbig5.c (const): Likewise.
10656 * iconvdata/gbgbk.c: Likewise.
10657 * iconvdata/gbk.c : Likewise.
10658 * iconvdata/ibm1364.c : Likewise.
10659 * iconvdata/ibm930.c : Likewise.
10660 * iconvdata/ibm932.c: Likewise.
10661 * iconvdata/ibm933.c : Likewise.
10662 * iconvdata/ibm935.c : Likewise.
10663 * iconvdata/ibm937.c : Likewise.
10664 * iconvdata/ibm939.c : Likewise.
10665 * iconvdata/ibm943.c: Likewise.
10666 * iconvdata/iso_11548-1.c: Likewise.
10667 * iconvdata/iso-2022-cn.c : Likewise.
10668 * iconvdata/iso-2022-cn-ext.c : Likewise.
10669 * iconvdata/iso-2022-jp-3.c: Likewise.
10670 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10671 * iconvdata/iso-2022-kr.c : Likewise.
10672 * iconvdata/iso646.c (gconv_end): Likewise.
10673 * iconvdata/iso_6937-2.c : Likewise.
10674 * iconvdata/iso_6937.c : Likewise.
10675 * iconvdata/iso8859-1.c: Likewise.
10676 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10677 * iconvdata/shift_jisx0213.c : Likewise.
10678 * iconvdata/sjis.c : Likewise.
10679 * iconvdata/t.61.c : Likewise.
10680 * iconvdata/tcvn5712-1.c : Likewise.
10681 * iconvdata/tscii.c: Likewise.
10682 * iconvdata/uhc.c : Likewise.
10683 * iconvdata/unicode.c (gconv_end): Likewise.
10684 * iconvdata/utf-16.c (gconv_end): Likewise.
10685 * iconvdata/utf-32.c (gconv_end): Likewise.
10686 * iconvdata/utf-7.c (base64): Likewise.
10687 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10688 * iconv/gconv_close.c (__gconv_close): Likewise.
10689 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10690 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10691 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10692 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10693 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10694 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10695 * iconv/iconv.c (iconv): Likewise.
10696 * iconv/iconv_close.c: Likewise.
10697 * iconv/loop.c (SINGLE): Likewise.
10698 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10699 * include/atomic.h: Likewise.
10700 * inet/inet6_option.c (option_alloc): Likewise.
10701 * intl/bindtextdom.c (set_binding_values): Likewise.
10702 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10703 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10704 * intl/localealias.c (read_alias_file): Likewise.
10705 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10706 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10707 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10708 * libio/fmemopen.c (fmemopen): Likewise.
10709 * libio/iofgets.c (_IO_fgets): Likewise.
10710 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10711 * libio/iofgetws.c (fgetws): Likewise.
10712 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10713 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10714 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10715 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10716 * locale/findlocale.c (_nl_find_locale): Likewise.
10717 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10718 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10719 Likewise.
10720 * locale/setlocale.c (setlocale): Likewise.
10721 * login/programs/pt_chown.c (main): Likewise.
10722 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10723 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10724 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10725 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10726 * math/e_exp2l.c: Likewise.
10727 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10728 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10729 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10730 * math/s_catan.c (__catan): Likewise.
10731 * math/s_catanf.c (__catanf): Likewise.
10732 * math/s_catanh.c (__catanh): Likewise.
10733 * math/s_catanhf.c (__catanhf): Likewise.
10734 * math/s_catanhl.c (__catanhl): Likewise.
10735 * math/s_catanl.c (__catanl): Likewise.
10736 * math/s_ccosh.c (__ccosh): Likewise.
10737 * math/s_ccoshf.c (__ccoshf): Likewise.
10738 * math/s_ccoshl.c (__ccoshl): Likewise.
10739 * math/s_cexp.c (__cexp): Likewise.
10740 * math/s_cexpf.c (__cexpf): Likewise.
10741 * math/s_cexpl.c (__cexpl): Likewise.
10742 * math/s_clog10.c (__clog10): Likewise.
10743 * math/s_clog10f.c (__clog10f): Likewise.
10744 * math/s_clog10l.c (__clog10l): Likewise.
10745 * math/s_clog.c (__clog): Likewise.
10746 * math/s_clogf.c (__clogf): Likewise.
10747 * math/s_clogl.c (__clogl): Likewise.
10748 * math/s_csin.c (__csin): Likewise.
10749 * math/s_csinf.c (__csinf): Likewise.
10750 * math/s_csinh.c (__csinh): Likewise.
10751 * math/s_csinhf.c (__csinhf): Likewise.
10752 * math/s_csinhl.c (__csinhl): Likewise.
10753 * math/s_csinl.c (__csinl): Likewise.
10754 * math/s_csqrt.c (__csqrt): Likewise.
10755 * math/s_csqrtf.c (__csqrtf): Likewise.
10756 * math/s_csqrtl.c (__csqrtl): Likewise.
10757 * math/s_ctan.c (__ctan): Likewise.
10758 * math/s_ctanf.c (__ctanf): Likewise.
10759 * math/s_ctanh.c (__ctanh): Likewise.
10760 * math/s_ctanhf.c (__ctanhf): Likewise.
10761 * math/s_ctanhl.c (__ctanhl): Likewise.
10762 * math/s_ctanl.c (__ctanl): Likewise.
10763 * math/w_pow.c: Likewise.
10764 * math/w_powf.c: Likewise.
10765 * math/w_powl.c: Likewise.
10766 * math/w_scalb.c (sysv_scalb): Likewise.
10767 * math/w_scalbf.c (sysv_scalbf): Likewise.
10768 * math/w_scalbl.c (sysv_scalbl): Likewise.
10769 * misc/error.c (error_tail): Likewise.
10770 * misc/pselect.c (__pselect): Likewise.
10771 * nis/nis_callback.c (__nis_create_callback): Likewise.
10772 * nis/nis_call.c (__nisfind_server): Likewise.
10773 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10774 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10775 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10776 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10777 * nis/nis_lookup.c (nis_lookup): Likewise.
10778 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10779 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10780 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10781 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10782 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10783 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10784 * nis/nss_compat/compat-initgroups.c (add_group)
10785 (internal_getgrent_r): Likewise.
10786 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10787 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10788 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10789 (internal_getspnam_r): Likewise.
10790 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10791 (_nss_nis_getaliasbyname_r): Likewise.
10792 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10793 (_nss_nis_getntohost_r): Likewise.
10794 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10795 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10796 (_nss_nis_getgrgid_r): Likewise.
10797 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10798 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10799 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10800 (_nss_nis_gethostbyname4_r): Likewise.
10801 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10802 (initgroups_netid): Likewise.
a1ffb40e 10803 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10804 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10805 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10806 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10807 (_nss_nis_getprotobynumber_r): Likewise.
10808 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10809 (_nss_nis_getsecretkey): Likewise.
10810 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10811 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10812 (_nss_nis_getpwuid_r): Likewise.
10813 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10814 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10815 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10816 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10817 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10818 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10819 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10820 Likewise.
57f41c40
AS
10821 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10822 (_nss_nisplus_getntohost_r): Likewise.
10823 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10824 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10825 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10826 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10827 Likewise.
57f41c40
AS
10828 * nis/nss_nisplus/nisplus-initgroups.c
10829 (_nss_nisplus_initgroups_dyn): Likewise.
10830 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10831 (_nss_nisplus_getnetbyaddr_r): Likewise.
10832 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10833 (_nss_nisplus_getprotobynumber_r): Likewise.
10834 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10835 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10836 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10837 Likewise.
57f41c40
AS
10838 * nis/nss_nisplus/nisplus-service.c
10839 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10840 (_nss_nisplus_getservbyport_r): Likewise.
10841 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10842 (_nss_nisplus_getspnam_r): Likewise.
10843 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10844 Likewise.
a1ffb40e
OB
10845 * nscd/aicache.c (addhstaiX): Likewise.
10846 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10847 * nscd/connections.c (register_traced_file, send_ro_fd)
10848 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10849 (main_loop_epoll): Likewise.
a1ffb40e
OB
10850 * nscd/grpcache.c (addgrbyX): Likewise.
10851 * nscd/hstcache.c (addhstbyX): Likewise.
10852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10853 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10854 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10855 (addinnetgrX): Likewise.
10856 * nscd/nscd-client.h (__nscd_acquire_maplock)
10857 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10858 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10859 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10860 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10861 Likewise.
10862 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10864 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10865 (__nscd_get_map_ref): Likewise.
a1ffb40e 10866 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10867 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10868 Likewise.
a1ffb40e
OB
10869 * nscd/pwdcache.c (addpwbyX): Likewise.
10870 * nscd/selinux.c (preserve_capabilities): Likewise.
10871 * nscd/servicescache.c (addservbyX): Likewise.
10872 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10873 * posix/fnmatch.c (fnmatch): Likewise.
10874 * posix/getopt.c (_getopt_internal_r): Likewise.
10875 * posix/glob.c (glob, glob_in_dir): Likewise.
10876 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10877 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10878 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10879 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10880 * resolv/res_init.c: Likewise.
10881 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10882 * resolv/res_query.c (__libc_res_nquery): Likewise.
10883 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10884 Likewise.
10885 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10886 * stdio-common/perror.c (perror): Likewise.
10887 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10888 * stdio-common/tmpnam.c (tmpnam): Likewise.
10889 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10890 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10891 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10892 Likewise.
a1ffb40e
OB
10893 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10894 * stdlib/putenv.c (putenv): Likewise.
10895 * stdlib/setenv.c (__add_to_environ): Likewise.
10896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10897 * stdlib/strtol_l.c (INTERNAL): Likewise.
10898 * string/memmem.c (memmem): Likewise.
10899 * string/strerror.c (strerror): Likewise.
10900 * string/strnlen.c (__strnlen): Likewise.
10901 * string/test-memmem.c (simple_memmem): Likewise.
10902 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10903 * sunrpc/pm_getport.c (__get_socket): Likewise.
10904 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10905 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10906 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10907 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10908 Likewise.
10909 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10910 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10911 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10912 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10913 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10914 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10915 Likewise.
10916 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10917 Likewise.
a1ffb40e
OB
10918 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10919 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10920 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10921 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10922 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10924 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10925 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10926 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10927 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10928 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10929 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10930 Likewise.
10931 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10932 Likewise.
10933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10934 Likewise.
10935 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10939 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10940 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10941 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10944 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10947 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10951 Likewise.
a1ffb40e
OB
10952 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10953 Likewise.
10954 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10955 Likewise.
10956 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10957 Likewise.
10958 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10959 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10960 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10961 Likewise.
10962 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10963 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10964 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10965 * sysdeps/posix/sleep.c: Likewise.
10966 * sysdeps/posix/tempname.c: Likewise.
10967 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10968 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10969 Likewise.
57f41c40
AS
10970 * sysdeps/powerpc/powerpc32/dl-machine.h
10971 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10972 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10974 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10975 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10976 Likewise.
10977 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10978 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10979 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10980 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10981 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10982 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10983 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10984 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10985 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10986 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10988 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10989 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10990 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10991 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10992 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10993 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10994 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10995 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10996 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10997 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10998 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11000 Likewise.
11001 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11002 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11003 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11004 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11005 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11006 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11007 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11008 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11009 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11010 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11011 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11012 Likewise.
11013 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11014 (__posix_fallocate64_l64): Likewise.
11015 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11016 (posix_fallocate): Likewise.
57f41c40
AS
11017 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11018 Likewise.
a1ffb40e 11019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11020 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11021 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11022 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11023 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11024 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11025 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11026 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11027 (__posix_fallocate64_l64): Likewise.
11028 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11029 Likewise.
11030 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11031 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11032 (__get_clockfreq): Likewise.
a1ffb40e
OB
11033 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11034 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11035 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11037 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11038 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11039 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11040 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11041 Likewise.
11042 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11043 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11044 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11045 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11046 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11047 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11048 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11049 Likewise.
11050 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11051 (posix_fallocate): Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11053 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11054 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11055 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11056 (elf_machine_rela, elf_machine_rela_relative)
11057 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11058 * time/asctime.c (asctime_internal): Likewise.
11059 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11060 * time/tzset.c (__tzset_parse_tz): Likewise.
11061 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11062 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11063 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11064 * wcsmbs/wcsmbsload.h: Likewise.
11065
f3d338c9
OB
11066 [BZ #15894]
11067 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11068
57f41c40
AS
11069 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11070 (arena_get2): Remove THREAD_STATS conditionals.
11071 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11072 (__malloc_stats, int): Likewise.
bdfe308a 11073
d674667c
MF
110742014-02-08 Mike Frysinger <vapier@gentoo.org>
11075
11076 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11077 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11078
6349768c
MF
11079 * manual/setjmp.texi: Fix typos/grammar errors.
11080
0b7c7473
MF
11081 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11082 Only return early when n is <= 0. Delete unused return statement.
11083
ac8cc9e3
MF
11084 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11085 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11086 * debug/tst-longjmp_chk3.c: New file.
11087
c5bb8e23
MF
11088 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11089 (test_main): Replace code with set_fortify_handler call.
11090 * debug/test-strcpy_chk.c: Likewise.
11091 * debug/tst-chk1.c: Likewise.
11092 * debug/tst-longjmp_chk.c: Likewise.
11093 * test-skeleton.c: Include fcntl.h & paths.h
11094 (set_fortify_handler): Define.
11095
10444e42
MF
11096 * debug/tst-longjmp_chk.c: Add header comment and include
11097 ../test-skeleton.c.
11098 (do_test): Mark static.
11099 (TEST_FUNCTION): Define.
11100
1e805e8d
MF
11101 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11102 (IP_PMTUDISC_INTERFACE): Likewise.
11103 (IP_MULTICAST_IF): Likewise.
11104 (IP_MULTICAST_TTL): Likewise.
11105 (IP_MULTICAST_LOOP): Likewise.
11106 (IP_ADD_MEMBERSHIP): Likewise.
11107 (IP_DROP_MEMBERSHIP): Likewise.
11108 (IP_UNBLOCK_SOURCE): Likewise.
11109 (IP_BLOCK_SOURCE): Likewise.
11110 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11111 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11112 (IP_MSFILTER): Likewise.
11113 (MCAST_JOIN_GROUP): Likewise.
11114 (MCAST_BLOCK_SOURCE): Likewise.
11115 (MCAST_UNBLOCK_SOURCE): Likewise.
11116 (MCAST_LEAVE_GROUP): Likewise.
11117 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11118 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11119 (MCAST_MSFILTER): Likewise.
11120 (IP_MULTICAST_ALL): Likewise.
11121 (IP_UNICAST_IF): Likewise.
11122
73f79bb7
MF
11123 * timezone/Makefile: Delete $(have-ksh) check.
11124 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11125 * timezone/tzselect.ksh: Add +x mode bits.
11126
8da79b60
MF
11127 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11128 (ANON_INODE_FS_MAGIC): Likewise.
11129 (BDEVFS_MAGIC): Likewise.
11130 (BINFMTFS_MAGIC): Likewise.
11131 (BTRFS_TEST_MAGIC): Likewise.
11132 (CRAMFS_MAGIC_WEND): Likewise.
11133 (DEBUGFS_MAGIC): Likewise.
11134 (ECRYPTFS_SUPER_MAGIC): Likewise.
11135 (EXT3_SUPER_MAGIC): Likewise.
11136 (EXT4_SUPER_MAGIC): Likewise.
11137 (FUTEXFS_SUPER_MAGIC): Likewise.
11138 (HOSTFS_SUPER_MAGIC): Likewise.
11139 (HUGETLBFS_MAGIC): Likewise.
11140 (MINIX3_SUPER_MAGIC): Likewise.
11141 (MTD_INODE_FS_MAGIC): Likewise.
11142 (NILFS_SUPER_MAGIC): Likewise.
11143 (OPENPROM_SUPER_MAGIC): Likewise.
11144 (PIPEFS_MAGIC): Likewise.
11145 (PSTOREFS_MAGIC): Likewise.
11146 (QNX6_SUPER_MAGIC): Likewise.
11147 (RAMFS_MAGIC): Likewise.
11148 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11149 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11150 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11151 (SECURITYFS_MAGIC): Likewise.
11152 (SELINUX_MAGIC): Likewise.
11153 (SMACK_MAGIC): Likewise.
11154 (SOCKFS_MAGIC): Likewise.
11155 (SQUASHFS_MAGIC): Likewise.
11156 (STACK_END_MAGIC): Likewise.
11157 (TMPFS_MAGIC): Likewise.
11158 (USBDEVICE_SUPER_MAGIC): Likewise.
11159 (V9FS_MAGIC): Likewise.
11160 (XENFS_SUPER_MAGIC): Likewise.
11161 (CRAMFS_MAGIC): Fix typo in comment.
11162 (EXT2_SUPER_MAGIC): Update comment.
11163 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11164
464263cc
JM
111652014-02-08 Joseph Myers <joseph@codesourcery.com>
11166
c6bfe5c4
JM
11167 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11168 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11169 * sysdeps/unix/sysv/linux/arm: Move directory from
11170 ports/sysdeps/unix/sysv/linux/arm.
11171 * README: Update listing for arm-*-linux-gnueabi.
11172
464263cc
JM
11173 * README: Remove mention of am33.
11174
32749f6c
RM
111752014-02-07 Roland McGrath <roland@hack.frob.com>
11176
11177 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11178 than the comma operator, to avoid "rhs of comma has no effect"
11179 compiler warnings.
11180 (__sigfillset, __sigandset, __sigorset): Likewise.
11181 * include/signal.h (__sigemptyset): Likewise.
11182 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11183
d5b396c1
AM
111842014-02-07 Allan McRae <allan@archlinux.org>
11185
11186 * version.h (RELEASE): Set to "development".
11187 (VERSION): Set to "2.19.90"
11188 * NEWS: Add 2.20 section.
11189
3bfff2ed
CD
111902014-02-06 Carlos O'Donell <carlos@redhat.com>
11191
11192 [BZ #16529]
11193 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11194
ee7cc385
SP
111952014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11196
11197 * manual/contrib.texi: Update entry for Carlos O'Donell,
11198 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11199
f877c4f2
CD
112002014-02-05 Carlos O'Donell <carlos@rehdat.com>
11201
27e839f6
CD
11202 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11203
f877c4f2
CD
11204 * sysdeps/unix/sysv/linux/kernel-features.h
11205 [__LINUX_KERNEL_VERSION >= 0x020621]
11206 (__ASSUME_PROC_PID_TASK_COMM): Define.
11207
68159946
SP
112082014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11209
ba17cdbd
SP
11210 [BZ #16398]
11211 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11212 conversion when destination buffer does not have enough space.
11213 * libio/tst-ftell-partial-wide.c: New test case.
11214 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11215
68159946
SP
11216 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11217 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11218 Leonard and Allan McRae.
11219
2b528732
DM
112202014-02-04 David S. Miller <davem@davemloft.net>
11221
11222 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11223 32-bit.
11224
0ff82463
AZ
112252014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11226
57f41c40
AS
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11228 New file
c01603f7
AZ
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11230 New file
57f41c40
AS
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11232 New file.
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11234 New file.
c01603f7
AZ
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11236 New file.
57f41c40
AS
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11238 New file.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11240 New file.
c01603f7
AZ
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11242 New file.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11244 New file.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11246 New file.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11248 New file.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11250 New file.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11252 New file.
11253
112542014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11255
0ff82463
AZ
11256 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11257 * shlib-versions: Likewise.
11258
1695c773
AZ
112592014-02-04 Roland McGrath <roland@hack.frob.com>
11260 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11261
11262 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11263 (abilist-pattern): New variable, set to %-le.abilist.
11264
11265 * Makerules (abilist-pattern): New variable.
11266 (vpath): Use $(abilist-pattern) in place of %.abilist.
11267 (check-abi-% pattern rule): Likewise.
11268 (check-abi, update-abi): Likewise.
11269
6c0ce4b4
EW
112702014-02-04 Eric Wong <normalperson@yhbt.net>
11271
11272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11273
481e3524
CD
112742014-02-03 Carlos O'Donell <carlos@redhat.com>
11275
11276 * manual/startup.texi: Add next, previous, and top entries for
11277 the `Program Arguments' and `Environment Variables' nodes.
11278
375592d3
AO
112792014-02-03 Alexandre Oliva <aoliva@redhat.com>
11280
11281 * manual/macros.texi: Add comments before MTASC-safety macros.
11282
f54838ba
AO
11283 * manual/users.texi: Document MTASC-safety properties.
11284
57f41c40
AS
11285 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11286 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11287 @deftypefun, and add @safety note.
11288 * manual/signal.texi: Move comments that analyze the above
11289 functions to their home place.
11290
fd3daba4
AM
112912014-02-03 Allan McRae <allan@archlinux.org>
11292
11293 * po/sl.po: Update Slovenian translation from translation project.
11294
597636d7
AO
112952014-02-02 Alexandre Oliva <aoliva@redhat.com>
11296
11297 * manual/time.texi (timegm): Add missing blank after @c.
11298 Reported by Joseph Myers <joseph@codesourcery.com>.
11299
ee196e3c
AO
113002014-02-01 Alexandre Oliva <aoliva@redhat.com>
11301
11302 * manual/check-safety.sh: New.
11303 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11304
f8d529d5
AO
11305 * manual/terminal.texi: Document MTASC-safety properties.
11306
de55fdf4
AO
11307 * manual/filesys.texi: Document MTASC-safety properties.
11308
c3299c08
AO
11309 * manual/errno.texi: Document MTASC-safety properties.
11310
06e90b14
AO
11311 * manual/intro.texi: Document safety identifiers and
11312 conditionals.
11313
1acd4371
AO
11314 * manual/string.texi (wcstok): Fix prototype.
11315 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11316
23e5b8cb
AO
11317 * manual/time.texi: Document MTASC-safety properties.
11318
11087373
AO
11319 * manual/string.texi: Document MTASC-safety properties.
11320
5da2c93d
AO
11321 * manual/threads.texi: Document MTASC-safety properties.
11322
171e9210
AO
11323 * manual/stdio.texi: Document MTASC-safety properties.
11324
d9e02532
AO
11325 * manual/syslog.texi: Document MTASC-safety properties.
11326
6af8bab7
AO
11327 * manual/sysinfo.texi: Document MTASC-safety properties.
11328
663b02d7
AO
11329 * manual/startup.texi: Document MTASC-safety properties.
11330
973f180b
AO
11331 * manual/socket.texi: Document MTASC-safety properties.
11332
8f3c25c8
AO
11333 * manual/signal.texi: Document MTASC-safety properties.
11334
542210fb
AO
113352014-01-31 Alexandre Oliva <aoliva@redhat.com>
11336
11337 * manual/setjmp.texi: Document MTASC-safety properties.
11338
433c45a2
AO
11339 * manual/search.texi: Document MTASC-safety properties.
11340
c8ce789c
AO
11341 * manual/resource.texi: Document MTASC-safety properties.
11342
19f5d29c
AO
11343 * manual/process.texi: Document MTASC-safety properties.
11344
e2dfb7f4
AO
11345 * manual/platform.texi: Document MTASC-safety properties.
11346
8c1413f5
AO
11347 * manual/pipe.texi: Document MTASC-safety properties.
11348
03483ada
AO
11349 * manual/pattern.texi: Document MTASC-safety properties.
11350
29e7e2df
AO
11351 * manual/message.texi: Document MTASC-safety properties.
11352
9f529d7c
AO
11353 [BZ #12751]
11354 * manual/memory.texi: Document MTASC-safety properties.
11355
27aaa791
AO
11356 * manual/math.texi: Document MTASC-safety properties.
11357
f2d58726
AO
11358 * manual/locale.texi: Document MTASC-safety properties.
11359
2cc3615c
AO
11360 * manual/llio.texi: Document MTASC-safety properties.
11361
d9f0ec97
AO
11362 * manual/libdl.texi: New.
11363
e7c4409a
AO
11364 * manual/lang.texi: Document MTASC-safety properties.
11365
27bdc63c
AO
11366 * manual/job.texi: Document MTASC-safety properties.
11367
a7b90ea9
AO
11368 * manual/getopt.texi: Document MTASC-safety properties.
11369
c49130e3
AO
11370 * manual/ctype.texi: Document MTASC-safety properties.
11371
0d23a5c1
MR
113722014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11373
11374 [BZ #16046]
11375 * csu/libc-tls.c (static_map): Remove variable.
11376 (__libc_setup_tls): Use main executable's link map for TLS data.
11377 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11378 casing for LM_ID_BASE and GL(dl_nns).
11379 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11380 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11381 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11382 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11383 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11384 member.
11385 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11386 l_phnum members.
11387
0037bb60
AO
113882014-01-30 Alexandre Oliva <aoliva@redhat.com>
11389
11390 * manual/debug.texi: Document MTASC-safety properties.
11391
409e00bd
L
113922014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11393
11394 [BZ #16510]
11395 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11396 of __x86_64__ when disabling x87 inline functions.
11397
86e60666
AO
113982014-01-29 Alexandre Oliva <aoliva@redhat.com>
11399
11400 * manual/charset.texi: Document MTASC-safety properties.
11401
76167637
AO
11402 * manual/crypt.texi: Document MTASC-safety properties.
11403
e567f2a0
AO
11404 * manual/conf.texi: Document MTASC-safety properties.
11405
b719dafd
AO
11406 * manual/arith.texi: Document MTASC-safety properties.
11407
4a16c662
AO
11408 * manual/argp.texi: Document MTASC-safety properties.
11409
0a57b83e
AO
11410 * manual/macros.texi: Introduce macros to document multi
11411 thread, asynchronous signal and asynchronous cancellation
11412 safety properties.
11413 * manual/intro.texi: Introduce the properties themselves.
11414
feab2397
KK
114152014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11416
11417 * sysdeps/sh/sh4/Makefile: New file.
11418
1c0d11bc
AS
114192014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11420
11421 * math/gen-libm-test.pl ($srcdir): New variable.
11422 ($auto_input): Use it.
11423
af37a8a3
SP
114242014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11425
d7b00f98
SP
11426 [BZ #16506]
11427 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11428 access beyond array bounds when parsing netgroups file.
11429
af37a8a3
SP
11430 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11431 the old buffer before realloc.
11432
0c00f062
AM
114332014-01-27 Allan McRae <allan@archlinux.org>
11434
11435 * po/fr.po: Update French translation from translation project.
11436
7d69a1b0
KK
114372014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11438
11439 * sysdeps/sh/libm-test-ulps: Regenerate.
11440
6e697ff7
DM
114412014-01-24 David S. Miller <davem@davemloft.net>
11442
11443 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11444
9cadb35c
KK
114452014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11446
11447 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11448 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11449
5d41dadf
SP
114502013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11451
11452 [BZ #16474]
11453 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11454 string pointers after reallocation.
11455
0bad441c
KK
114562014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11457
11458 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11459 __SH4A__ instead of __SH_FPU_ANY__.
11460
7007c661
KK
114612014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11462
11463 * sysdeps/sh/fpu_control.h: New file.
11464 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11465 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11466 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11467 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11468 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11469 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11470 * sysdeps/sh/sys/ucontext.h: Remove.
11471 * sysdeps/sh/sys: Remove directory.
11472
0f0c35e4
AK
114732014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11474
11475 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11476 s390/sys/ucontext.h.
11477 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11478 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11479
4959e284
L
114802014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11481
11482 [BZ #15605]
11483 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11484
d98720e0
AZ
114852014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11486
11487 [BZ#16431]
11488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11489 Adjust the vDSO correctly for internal calls.
11490 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11491
91cbd0bc
AM
114922014-01-20 Allan McRae <allan@archlinux.org>
11493
11494 * po/ca.po: Update Catalan translation from translation project.
11495
7a02cfad
MF
114962014-01-16 Mike Frysinger <vapier@gentoo.org>
11497
11498 * sysdeps/s390/sotruss-lib.c: New file.
11499
736c304a
AZ
115002014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11501
11502 [BZ#16430]
6e077ee5 11503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11504 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11505 local calls issues by not having a PLT stub required for IFUNC calls.
11506 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11507
94d0cea0
JM
115082014-01-16 Joseph Myers <joseph@codesourcery.com>
11509
11510 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11511 * math/test-fpucw-static.c: Likewise.
11512
980cb518
SP
115132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11514
11515 [BZ #16453]
11516 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11517
2393fc01
AZ
115182014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11519
11520 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11521 implementation for powerpc.
11522
d359bcc2
OB
115232014-01-15 Ondřej Bílka <neleai@seznam.cz>
11524
11525 [BZ #14782]
11526 * sysdeps/posix/system.c (__libc_system): Do not enable
11527 asynchronous cancellation.
11528
7beb48cb
AK
115292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11530
11531 [BZ #16427]
11532 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11533 handling only for numbers special also in the IEEE case.
11534
c20d5bf5
AK
115352014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11536
11537 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11538
e83bd4ee
AM
115392014-01-11 Allan McRae <allan@archlinux.org>
11540
76d0ea69
AM
11541 * po/bg.po: Update Bulgarian translation from translation project.
11542
e83bd4ee
AM
11543 * po/de.po: Update German translation from translation project.
11544
bc2ba20a
RM
115452014-01-10 Roland McGrath <roland@hack.frob.com>
11546
11547 * sysdeps/generic/gcc-compat.h: New file.
11548
649ecea2
SP
115492014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11550
11551 * benchtests/asin-inputs: Correct slow inputs.
11552 * benchtests/acos-inputs: Likewise.
11553
1b19c006
AM
115542014-01-10 Allan McRae <allan@archlinux.org>
11555
a46dab08
AM
11556 * po:sv.po: Update Swedish translation from translation project.
11557
421df74a
AM
11558 * po/vi.po: Update Vietnamese translation from translation project.
11559
d61c51a7
AM
11560 * po/eo.po: Update Esperanto translation from translation project.
11561
0339a319
AM
11562 * po/cs.po: Update Czech translation from translation project.
11563
94ad3e99
AM
11564 * po/nl.po: Update Dutch translation from translation project.
11565
e349ca71
AM
11566 * po/pl.po: Update Polish translation from translation project.
11567
ddf930c1
AM
11568 * po/ru.po: Update Russian translation from translation project.
11569
1b19c006
AM
11570 * po/uk.po: Update Ukrainian translation from translation project.
11571
9f236c49
BM
115722014-01-08 Brooks Moses <bmoses@google.com>
11573
11574 * elf/dl-load.c: Fix comment typo.
11575
cd6701cf
CD
115762014-01-08 Carlos O'Donell <carlos@redhat.com>
11577
11578 * po/header.pot: Rename to...
11579 * po/pot.header: ... this.
11580 * po/Makefile: Use pot.header.
11581
66671c84
YK
115822014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11583 Maxim Kuvyrkov <maxim@kugelworks.com>
11584
11585 [BZ #16394]
cd6701cf
CD
11586 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11587 SRC and DEST against LEN.
66671c84 11588
38f34581
AZ
115892014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11590
11591 [BZ #16414]
11592 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11593 implementation.
11594 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11595
115962014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11597
11598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11599
4c327f2a
JM
116002014-01-08 Joseph Myers <joseph@codesourcery.com>
11601
11602 [BZ #16408]
11603 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11604 for large positive arguments.
11605
b821f414
JM
116062014-01-07 Joseph Myers <joseph@codesourcery.com>
11607
1f0f2067
JM
11608 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11609
a5a326f6
JM
11610 * math/auto-libm-test-in: Mark various tests with
11611 xfail-rounding:ldbl-128ibm.
11612 * math/auto-libm-test-out: Regenerated.
11613
b821f414
JM
11614 [BZ #16407]
11615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11616 Increase overflow threshold.
11617
94c8a4bc
OB
116182014-01-07 Ondřej Bílka <neleai@seznam.cz>
11619
11620 [BZ #14286]
11621 * stdio-common/vfprintf.c: Check for integer overflow.
11622
87ded0c3
AK
116232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11624
11625 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11626 the first argument and return value of __tls_get_addr_internal.
11627
c5eebdd0
AK
116282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11629
11630 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11631 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11632
05d138ef
AK
116332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11634
11635 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11636 * sysdeps/s390/rtld-global-offsets.sym: New file.
11637 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11638 GLIBC_2.19 symbol.
11639 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11640 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11641 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11642 ... this.
11643 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11644 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11645 ... this.
11646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11647 Regenerate.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11649 Regenerate.
11650 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11651 halfs of GPRs for high_gprs contexts.
11652 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11653 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11654 field.
11655 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11656 uc_flags field.
11657 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11658 64 bit versions:
11659 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11660 for high GPRs (uc_high_gprs) and for future extensions
11661 (__reserved).
11662 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11663 for future extensions (__reserved).
11664 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11665 64 bit versions:
11666 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11667 SC_HIGHGPRS offset definition.
11668 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11669 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11670
93a45ff1
AK
11671 * Versions.def: Add GLIBC_2.19 for libpthread.
11672 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11673 siglongjmp for libpthread with GLIBC_2.19 symver.
11674 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11675 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11676 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11677 * sysdeps/s390/__longjmp.c: New file.
11678 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11679 * sysdeps/s390/longjmp.c: New file.
11680 * sysdeps/s390/setjmp.S: New file.
11681 * sysdeps/s390/sigjmp.S: New file.
11682 * sysdeps/s390/v1-longjmp.c: New file.
11683 * sysdeps/s390/v1-setjmp.h: New file.
11684 * sysdeps/s390/v1-sigjmp.c: New file.
11685 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11686 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11687 GLIBC_2.19 version.
11688 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11689 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11690 versioned symbols for ____longjmp_chk.
11691 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11692 Likewise.
11693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11694 Regenerate.
11695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11696 Regenerate.
11697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11698 Regenerate.
11699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11700 Regenerate.
11701 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11702 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11703 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11704 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11705 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11706 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11707 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11708 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11709 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11710 * sysdeps/s390/rtld-__longjmp.c: New file.
11711 * sysdeps/s390/rtld-setjmp.S: New file.
11712
eb3fc44b
JM
117132014-01-06 Joseph Myers <joseph@codesourcery.com>
11714
11715 [BZ #16400]
11716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11717 Return -__logl (x) for small positive arguments without evaluating
11718 a polynomial.
11719
9341dde4
MF
117202014-01-06 Mike Frysinger <vapier@gentoo.org>
11721
11722 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11723 Rename to ...
11724 (__ptrace_peeksiginfo_args): ... this.
11725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11727 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11728
4cff0293
AM
117292014-01-06 Allan McRae <allan@archlinux.org>
11730
11731 * inet/netinet/in.h: Fix typo in comment.
11732
75595dcf
AJ
117332014-01-05 Andreas Jaeger <aj@suse.de>
11734
11735 * sysdeps/i386/fpu/libm-test-ulps: Update.
11736
79c1e109
AM
117372014-01-05 Allan McRae <allan@archlinux.org>
11738
dd804818
AM
11739 * po/libc.pot: Regenerated.
11740
79c1e109
AM
11741 * malloc/memusagestat.c: Fix gettext call formatting.
11742
0c813d1f
SK
117432014-01-04 Sami Kerola <kerolasa@iki.fi>
11744
11745 * nscd/nscd.c: Improve usage() output.
11746
20f4a8d9
MF
117472014-01-04 Mike Frysinger <vapier@gentoo.org>
11748
11749 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11750 * sysdeps/unix/sysv/linux/configure: Regenerated.
11751 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11752 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11753
22562bb2
JM
117542014-01-03 Joseph Myers <joseph@codesourcery.com>
11755
11756 [BZ #16390]
11757 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11758 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11759
d7ad2d9b
AZ
117602014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11761
11762 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11763 extra tokens at end of #undef directive.
11764 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11765 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11766 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11767
7dd009d8
JM
117682014-01-03 Joseph Myers <joseph@codesourcery.com>
11769
24db925a
JM
11770 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11771
7dd009d8
JM
11772 * math/auto-libm-test-in: Mark various tests with
11773 xfail-rounding:ldbl-128ibm.
11774 * math/auto-libm-test-out: Regenerated.
11775
396e3ecf
JM
117762014-01-02 Joseph Myers <joseph@codesourcery.com>
11777
819e5d50
JM
11778 [BZ #16386]
11779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11780 numbers with subnormal high part when calculating exponent.
11781
90b6a1e5
JM
11782 [BZ #16385]
11783 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11784 fabs.
11785
396e3ecf
JM
11786 [BZ #16384]
11787 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11788 M_LN2l.
11789 (__ieee754_acoshl): Use __log1pl not __log1p.
11790
6c8dbf00
OB
117912013-01-02 Ondřej Bílka <neleai@seznam.cz>
11792
57f41c40
AS
11793 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11794 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11795 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11796 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11797 (reused_arena, arena_get2): Convert to GNU style.
11798 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11799 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11800 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11801 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11802 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11803 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11804 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11805 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11806 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11807 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11808 * malloc/malloc.h: Likewise.
57f41c40
AS
11809 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11810 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11811 * malloc/mcheck.h: Likewise.
57f41c40
AS
11812 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11813 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11814 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11815 * malloc/morecore.c (__default_morecore): Likewise.
11816 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11817 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11818 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11819 (print_and_abort): Likewise.
6c8dbf00
OB
11820 * malloc/obstack.h: Likewise.
11821 * malloc/set-freeres.c (__libc_freeres): Likewise.
11822 * malloc/tst-mallocstate.c (main): Likewise.
11823 * malloc/tst-mtrace.c (main): Likewise.
11824 * malloc/tst-realloc.c (do_test): Likewise.
11825
d4124212
SP
118262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11827
9a3c6a6f
SP
11828 [BZ #16366]
11829 * nscd/netgroupcache.c (do_notfound): New function.
11830 (addgetnetgrentX): Use it.
11831
d4124212
SP
11832 [BZ # 16365]
11833 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11834 NSS_STATUS_NOTFOUND.
11835
97b9a009
JM
118362014-01-01 Joseph Myers <joseph@codesourcery.com>
11837
11838 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11840
d4697bc9
AM
118412014-01-01 Allan McRae <allan@archlinux.org>
11842
ddb3687f
AM
11843 * scripts/update-copyrights: Update configure input file suffix.
11844
88726d48
AM
11845 * NEWS: Update copyright year.
11846 * catgets/gencat.c: Likewise.
11847 * csu/version.c: Likewise.
11848 * debug/catchsegv.sh: Likewise.
11849 * debug/pcprofiledump.c: Likewise.
11850 * debug/xtrace.sh: Likewise.
11851 * elf/ldconfig.c: Likewise.
11852 * elf/ldd.bash.in: Likewise.
11853 * elf/pldd.c: Likewise.
11854 * elf/sotruss.ksh: Likewise.
11855 * elf/sprof.c: Likewise.
11856 * iconv/iconv_prog.c: Likewise.
11857 * iconv/iconvconfig.c: Likewise.
11858 * locale/programs/locale.c: Likewise.
11859 * locale/programs/localedef.c: Likewise.
11860 * login/programs/pt_chown.c: Likewise.
11861 * malloc/memusage.sh: Likewise.
11862 * malloc/memusagestat.c: Likewise.
11863 * malloc/mtrace.pl: Likewise.
11864 * manual/libc.texinfo: Likewise.
11865 * nscd/nscd.c: Likewise.
11866 * nss/getent.c: Likewise.
11867 * nss/makedb.c: Likewise.
11868 * posix/getconf.c: Likewise.
11869 * scripts/test-installation.pl: Likewise.
11870
d4697bc9
AM
11871 * All files with FSF copyright notices: Update copyright dates
11872 using scripts/update-copyrights.
11873 * intl/plural.c: Regenerated.
11874 * locale/programs/charmap-kw.h: Likewise.
11875 * locale/programs/locfile-kw.h: Likewise.
11876
c8590f9d
MF
118772013-12-31 Mike Frysinger <vapier@gentoo.org>
11878
11879 * sysdeps/unix/sysv/linux/configure: Regenerated.
11880 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11881 the linux/fanotify.h header.
11882 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11883 HAVE_LINUX_FANOTIFY_H is defined.
11884
b19221b9
SP
118852013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11886
dd1d85e5
SP
11887 * benchtests/cos-inputs: New inputs.
11888 * benchtests/sin-inputs: Likewise.
11889
1acbb90f
SP
11890 * benchtests/atan-inputs: New inputs. Fix name of multiple
11891 precision fallback inputs.
11892
4c012ed3
SP
11893 * benchtests/atanh-inputs: New inputs.
11894 * benchtests/tanh-inputs: Likewise.
11895
eff98324
SP
11896 * benchtests/acosh-inputs: New inputs.
11897 * benchtests/asinh-inputs: Likewise.
11898
ce641152
SP
11899 * benchtests/cosh-inputs: New inputs.
11900 * benchtests/sinh-inputs: Likewise.
11901
b19221b9
SP
11902 * benchtests/acos-inputs: Add more inputs.
11903 * benchtests/asin-inputs: Likewise.
11904
030a4976 119052013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11906
030a4976 11907 [BZ #16375]
9dcc8f11
VS
11908 * manual/arith.texi: Fix spelling.
11909 * manual/charset.texi: Likewise.
11910 * manual/errno.texi: Likewise.
11911 * manual/filesys.texi: Likewise.
11912 * manual/lang.texi: Likewise.
11913 * manual/llio.texi: Likewise.
11914 * manual/locale.texi: Likewise.
11915 * manual/message.texi: Likewise.
11916 * manual/resource.texi: Likewise.
11917 * manual/search.texi: Likewise.
11918 * manual/setjmp.texi: Likewise.
11919 * manual/stdio.texi: Likewise.
11920 * manual/string.texi: Likewise.
11921 * manual/sysinfo.texi: Likewise.
11922 * manual/time.texi: Likewise.
11923
11520a57
CD
119242013-12-27 Carlos O'Donell <carlos@redhat.com>
11925
11926 * po/sl.po: New file.
11927
471103ae
MF
119282013-12-27 Mike Frysinger <vapier@gentoo.org>
11929
11930 * .gitignore: Add core/.gdbinit/.gdb_history.
11931
6c9642ed
AM
119322013-12-27 Allan McRae <allan@archlinux.org>
11933
11934 [BZ #16369]
11935 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11936 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11937
3f637079
BM
119382013-12-24 Brooks Moses <bmoses@google.com>
11939
11940 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11941 all compilers that claim C++98 compliance, not just GCC.
11942 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11943 Likewise.
11944
abc26e99
MK
119452013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11946
11947 * NEWS: Restore accidentally deleted bug-fix entries.
11948
362b47fe
MK
119492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11950 Ondřej Bílka <neleai@seznam.cz>
11951
11952 [BZ #15073]
11953 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11954 have_lock.
362b47fe 11955
b9bcbbcb
OB
119562013-12-23 Ondřej Bílka <neleai@seznam.cz>
11957
11958 [BZ #12986]
11959 * manual/stdio.texi (String Input Conversions): Clarify that character
11960 classes are not supported.
11961
fb55fcd2
AZ
119622013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11963
11964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11965
ef7344f0
JM
119662013-12-22 Joseph Myers <joseph@codesourcery.com>
11967
4f40e4b3
JM
11968 [BZ #16337]
11969 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11970 Calculate results for small negative arguments directly rather
11971 than using reflection formula with special underflow handling.
11972
ef7344f0
JM
11973 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11974 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11975 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11976 (fchflags): Likewise.
11977 (revoke): Likewise.
11978 (setlogin): Likewise.
11979 (sigaltstack): Likewise.
11980 (wait4): Likewise.
11981 (sigblock): Remove.
11982 (sigsetmask): Likewise.
11983 (wait3): Likewise.
11984 (waitpid): Likewise.
11985 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11986 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11987 file.
11988 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11989 * sysdeps/unix/bsd/Makefile: ... here.
11990 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11991 * sysdeps/unix/bsd/Versions: ... here.
11992 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11993 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11994 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11995 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11996 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11997 * sysdeps/unix/bsd/sigblock.c: ... here.
11998 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11999 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12000 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12001 * sysdeps/unix/bsd/sigvec.c: ... here.
12002 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12003 * sysdeps/unix/bsd/tcdrain.c: ... here.
12004 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12005 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12006 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12007 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12008 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12009 * sysdeps/unix/bsd/wait.c: ... here.
12010 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12011 * sysdeps/unix/bsd/wait3.c: ... here.
12012 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12013 * sysdeps/unix/bsd/waitpid.c: ... here.
12014
5b0626b9
JM
120152013-12-21 Joseph Myers <joseph@codesourcery.com>
12016
12017 [BZ #16356]
12018 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12019 round-to-nearest for [!USE_AS_EXPM1L].
12020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12021 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12022 more tests of exp and exp10. Expect some exp10 tests to miss
12023 exceptions or fail in directed rounding modes.
12024 * math/auto-libm-test-out: Regenerated.
12025 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12026 (exp10_test_tonearest): New function.
12027 (exp10_towardzero_test_data): New array.
12028 (exp10_test_towardzero): New function.
12029 (exp10_downward_test_data): New array.
12030 (exp10_test_downward): New function.
12031 (exp10_upward_test_data): New array.
12032 (exp10_test_upward): New function.
12033 (main): Call the new functions.
12034 * sysdeps/i386/fpu/libm-test-ulps: Update.
12035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036
7fda5682
JM
120372013-12-20 Joseph Myers <joseph@codesourcery.com>
12038
31e3a405
JM
12039 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12040 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12041 * math/auto-libm-test-out: Regenerated.
12042 * math/libm-test.inc (acosh_test_data): Add more tests.
12043 (atanh_test_data): Likewise.
12044 (ceil_test_data): Likewise.
12045 (copysign_test_data): Likewise.
12046 * sysdeps/i386/fpu/libm-test-ulps: Update.
12047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12048
85bff96a
JM
12049 * timezone/checktab.awk: Update from tzcode 2013i.
12050 * timezone/private.h: Likewise.
12051 * timezone/scheck.c: Likewise.
12052 * timezone/tzfile.h: Likewise.
12053 * timezone/tzselect.ksh: Likewise.
12054 * timezone/zdump.c: Likewise.
12055 * timezone/zic.c: Likewise.
12056
b7867a3b
JM
12057 * math/auto-libm-test-in: Add tests of cpow.
12058 * math/auto-libm-test-out: Regenerated.
12059 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12060 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12061 mpc_cc_c.
12062 (func_calc_desc): Add mpc_cc_c union field.
12063 (test_functions): Add cpow.
12064 (special_fill_2pi): New function.
12065 (special_real_inputs): Add 2pi.
12066 (calc_generic_results): Handle mpc_cc_c.
12067 * sysdeps/i386/fpu/libm-test-ulps: Update.
12068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12069
7fda5682
JM
12070 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12071 csqrt, ctan and ctanh.
12072 * math/auto-libm-test-out: Regenerated.
12073 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12074 (TEST_COND_x86): Likewise.
12075 (ccos_test_data): Use AUTO_TESTS_c_c.
12076 (ccosh_test_data): Likewise.
12077 (cexp_test_data): Likewise.
12078 (clog_test_data): Likewise.
12079 (csqrt_test_data): Likewise.
12080 (ctan_test_data): Likewise.
12081 (ctan_tonearest_test_data): Likewise.
12082 (ctan_towardzero_test_data): Likewise.
12083 (ctan_downward_test_data): Likewise.
12084 (ctan_upward_test_data): Likewise.
12085 (ctanh_test_data): Likewise.
12086 (ctanh_tonearest_test_data): Likewise.
12087 (ctanh_towardzero_test_data): Likewise.
12088 (ctanh_downward_test_data): Likewise.
12089 (ctanh_upward_test_data): Likewise.
12090 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12091 mpc_c_c.
12092 (func_calc_desc): Add mpc_c_c union field.
12093 (FUNC_mpc_c_c): New macro.
12094 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12095 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12096 ctanh.
12097 (special_fill_min_subnorm_p120): New function.
12098 (special_real_inputs): Add min_subnorm_p120.
12099 (calc_generic_results): Handle mpc_c_c.
12100 * sysdeps/i386/fpu/libm-test-ulps: Update.
12101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12102
5ff8d60e
SP
121032013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12104
57f41c40
AS
12105 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12106 (do_sin_slow): New functions.
12107 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12108 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12109
84ba214c
SP
12110 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12111 Use M to change sign of result instead of X. Assume X is
12112 positive.
12113 (csloww1): Likewise.
12114 (__sin): Adjust.
12115 (__cos): Adjust.
12116
975195e4
SP
12117 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12118 arguments A and DA.
12119 (__sin): Adjust.
12120 (__cos): Likewise.
12121
5ff8d60e
SP
12122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12123 (__cos): Likewise.
12124 (sloww1): Don't adjust sign of DX.
12125 (csloww1): Likewise.
12126 (sloww2): Use X directly and don't adjust sign of DX.
12127 (csloww2): Likewise.
12128
eb983568
JM
121292013-12-19 Joseph Myers <joseph@codesourcery.com>
12130
64a17f1a
JM
12131 * math/auto-libm-test-in: Add tests of cabs and carg.
12132 * math/auto-libm-test-out: Regenerated.
12133 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12134 (carg_test_data): Likewise.
12135 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12136 mpc_c_f.
12137 (func_calc_desc): Add mpc_c_f union field.
12138 (test_functions): Add cabs and carg.
12139 (calc_generic_results): Handle mpc_c_f.
12140
eb983568
JM
12141 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12142 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12143 as a macro and a compat symbol.
12144 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12145 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12146 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12147 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12148 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12149 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12150 not use .hidden.
12151 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12152 Likewise.
12153 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12154 Likewise.
12155 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12156 Likewise.
12157 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12158 Likewise.
12159 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12160 Likewise.
12161 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12162 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12163 from GLIBC_2.3.2.
12164
6eeb678a
AZ
121652013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12166
12167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12168
6f6fc482
JM
121692013-12-19 Joseph Myers <joseph@codesourcery.com>
12170
21fea2e2
JM
12171 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12172 trailing whitespace removed.
12173 * scripts/config.guess: Update to version 2013-11-29.
12174 * scripts/config.sub: Update to version 2013-10-01.
12175
6f6fc482
JM
12176 * math/auto-libm-test-in: Add tests of sincos.
12177 * math/auto-libm-test-out: Regenerated.
12178 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12179 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12180 mpfr_f_11.
12181 (func_calc_desc): Add mpfr_f_11 union field.
12182 (test_functions): Add sincos.
12183 (calc_generic_results): Handle mpfr_f_11.
12184 * sysdeps/i386/fpu/libm-test-ulps: Update.
12185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12186
83f5c32d
AS
121872013-12-19 Andreas Schwab <schwab@suse.de>
12188
12189 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12190 CALL_MCOUNT.
12191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12192 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12193 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12194
c688b419
JM
121952013-12-19 Joseph Myers <joseph@codesourcery.com>
12196
335ee092
JM
12197 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12198 * sysdeps/i386/fpu/libm-test-ulps: Update.
12199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12200
f88acd39
JM
12201 [BZ #16293]
12202 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12203 round-to-nearest mode when using frndint.
12204 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12205 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12207 Likewise.
12208 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12209 sinh test to fail.
12210 * math/auto-libm-test-out: Regenerated.
12211 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12212 (TEST_COND_x86): Likewise.
12213 (expm1_tonearest_test_data): New array.
12214 (expm1_test_tonearest): New function.
12215 (expm1_towardzero_test_data): New array.
12216 (expm1_test_towardzero): New function.
12217 (expm1_downward_test_data): New array.
12218 (expm1_test_downward): New function.
12219 (expm1_upward_test_data): New array.
12220 (expm1_test_upward): New function.
12221 (main): Run the new test functions.
12222 * sysdeps/i386/fpu/libm-test-ulps: Update.
12223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12224
c688b419
JM
12225 * include/features.h: Update comment documenting feature test
12226 macros. Mention _DEFAULT_SOURCE in comment.
12227 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12228 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12229 _BSD_SOURCE and _SVID_SOURCE.
12230 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12231 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12232 !_SVID_SOURCE]: Likewise.
12233 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12234 (__USE_POSIX_IMPLICITLY): Define.
12235 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12236 (_POSIX_SOURCE): Undefine and redefine.
12237 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12238 (_POSIX_C_SOURCE): Likewise.
12239 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12240 (Feature Test Macros): Update documentation of default features.
12241
9f6e964c
RS
122422013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12243
12244 * benchtests/Makefile: Add bench-strtok.
12245 * benchtests/bench-strtok.c: New file: strtok benchtest.
12246
ee0a148a
AM
122472013-12-19 Allan McRae <allan@archlinux.org>
12248
12249 * manual/install.texi: Suppress menu for plain text output.
12250 * INSTALL: Regenerated.
12251
b9ab448f
BM
122522013-12-18 Brooks Moses <bmoses@google.com>
12253
12254 [BZ #15846]
12255 * misc/getauxval.c: Include errno.h.
12256 (__getauxval): Set errno to ENOENT if the requested type is not
12257 found.
12258 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12259 don't declare with __attribute_const__.
12260 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12261 * manual/startup.texi: Document that getauxval sets errno.
12262
23776487
JM
122632013-12-18 Joseph Myers <joseph@codesourcery.com>
12264
f889953b
JM
12265 * math/auto-libm-test-in: Add tests of jn and yn.
12266 * math/auto-libm-test-out: Regenerated.
12267 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12268 (yn_test_data): Likewise.
12269 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12270 mpfr_if_f.
12271 (func_calc_desc): Add mpfr_if_f union field.
12272 (FUNC_mpfr_if_f): New macro.
12273 (test_functions): Add jn and yn.
12274 (calc_generic_results): Assert type of second input for
12275 mpfr_ff_f. Handle mpfr_if_f.
12276 (output_for_one_input_case): Disable all checking for arguments
12277 fitting floating-point types in case of an integer argument.
12278 * sysdeps/i386/fpu/libm-test-ulps: Update.
12279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12280
23776487
JM
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12282 Don't expect fegetround reference in libm.so.
12283
cb756c6d
MS
122842013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12285
12286 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12287 $(config-cflags-nofma).
12288
2dec468f
JM
122892013-12-18 Joseph Myers <joseph@codesourcery.com>
12290
5953eb3a
JM
12291 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12292 * math/auto-libm-test-out: Regenerated.
12293
2dec468f
JM
12294 [BZ #16338]
12295 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12296 to determine exponent and adjust argument to have exponent of -1.
12297 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12298 log2.
12299 * math/auto-libm-test-out: Regenerated.
12300 * sysdeps/i386/fpu/libm-test-ulps: Update.
12301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12302
4d84e6ad
OB
123032013-12-18 Ondřej Bílka <neleai@seznam.cz>
12304
12305 * manual/probes.texi: Remove cases when per-thread arenas are
12306 disabled.
12307
1818483b
AS
123082013-12-18 Andreas Schwab <schwab@suse.de>
12309
12310 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12311 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12312 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12313 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12314 * sysdeps/i386/i686/multiarch/Makefile: Update.
12315 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12316
25de95bf
JM
123172013-12-17 Joseph Myers <joseph@codesourcery.com>
12318
12319 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12320 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12321
674762d9
PE
123222013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12323
ed27ed83 12324 [BZ #15968]
0748546f
PE
12325 Support TZ transition times < 00:00:00.
12326 This is needed for version-3 tz-format files; it supports time
12327 stamps past 2037 for America/Godthab (the only entry in the tz
12328 database for which this change is relevant).
12329 * manual/time.texi (TZ Variable): Document transition times
12330 from -167:59:59 through -00:00:01.
12331 * time/tzset.c (tz_rule): Time of day is now signed.
12332 (__tzset_parse_tz): Parse negative time of day.
12333
4480e934
PE
12334 Document TZ transition times >= 25:00:00.
12335 * manual/time.texi (TZ Variable): Document transition times from
12336 25:00:00 through 167:59:59. These are already supported, and this
12337 support will help with version-3 tz-format files.
12338
69947401
PE
12339 * manual/time.texi (TZ Variable): Modernize North America example
12340 to reflect current (i.e., 2007-and-later) daylight saving rules.
12341
674762d9
PE
12342 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12343
7011c262
JM
123442013-12-17 Joseph Myers <joseph@codesourcery.com>
12345
2fc6557e
JM
12346 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12347 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12350 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12351 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12352 * sysdeps/unix/bsd/clock.c: Likewise.
12353 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12354 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12355 * sysdeps/unix/bsd/init-posix.c: Likewise.
12356 * sysdeps/unix/bsd/poll.c: Likewise.
12357 * sysdeps/unix/bsd/ptsname.c: Likewise.
12358 * sysdeps/unix/bsd/seekdir.c: Likewise.
12359 * sysdeps/unix/bsd/setegid.c: Likewise.
12360 * sysdeps/unix/bsd/seteuid.c: Likewise.
12361 * sysdeps/unix/bsd/setgid.c: Likewise.
12362 * sysdeps/unix/bsd/setrgid.c: Likewise.
12363 * sysdeps/unix/bsd/setruid.c: Likewise.
12364 * sysdeps/unix/bsd/setsid.c: Likewise.
12365 * sysdeps/unix/bsd/setuid.c: Likewise.
12366 * sysdeps/unix/bsd/sigaction.c: Likewise.
12367 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12368 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12369 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12370 * sysdeps/unix/bsd/telldir.c: Likewise.
12371 * sysdeps/unix/bsd/times.c: Likewise.
12372 * sysdeps/unix/bsd/usleep.c: Likewise.
12373
029c7b25
JM
12374 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12375 ($(objpfx)libbsd-compat.a): Remove rule.
12376
7011c262
JM
12377 * include/features.h (__FAVOR_BSD): Do not define.
12378 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12379 features conflicting with POSIX.
12380 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12381 (_BSD_SOURCE): Remove description of not being a subset of other
12382 feature test macros.
12383 * manual/job.texi (getpgrp): Do not document BSD version.
12384 (getpgid): Do not document by reference to BSD getpgrp.
12385 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12386 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12387 * signal/signal.h [__FAVOR_BSD]: Likewise.
12388 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12389 instead of making contents conditional on [__FAVOR_BSD].
12390 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12391
affb6f78
AZ
123922013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12393
12394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12395
c88769dd
JM
123962013-12-17 Joseph Myers <joseph@codesourcery.com>
12397
6432a540
JM
12398 [BZ #16314]
12399 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12400 values below 2**-450, not 2**-500.
12401 * math/auto-libm-test-in: Don't allow spurious underflow from
12402 hypot.
12403 * math/auto-libm-test-out: Regenerated.
12404
c88769dd
JM
12405 [BZ #16316]
12406 [BZ #16330]
12407 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12408 values of ha and hb and sort them after adjusting subnormal
12409 arguments.
12410 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12411 Likewise.
12412 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12413 values of ea and eb and sort them after adjusting subnormal
12414 arguments.
12415 * math/auto-libm-test-in: Do not expect some hypot tests of
12416 subnormals to fail. Add more hypot tests.
12417 * math/auto-libm-test-out: Regenerated.
12418
29618f6b
KK
124192013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12420
12421 [BZ #13304]
12422 * sysdeps/sh/s_fma.c: New file.
12423 * sysdeps/sh/s_fmaf.c: New file.
12424 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12425 version.
12426 * sysdeps/sh/Implies: Add sh/soft-fp.
12427
eacfdfbf
RM
124282013-12-16 Roland McGrath <roland@hack.frob.com>
12429
12430 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12431 level of indirection to members `objname', `errstring', `malloced'.
12432 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12433 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12434 it as the __longjmp argument (just pass 1 instead).
12435 (_dl_catch_error): Initialize C with argument pointers and address of
12436 volatile local ERRCODE rather than copying values out of C at return.
12437
ff362e5b
JM
124382013-12-16 Joseph Myers <joseph@codesourcery.com>
12439
12440 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12441 * math/auto-libm-test-out: Regenerated.
12442 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12443 (hypot_test_data): Likewise.
12444 (pow_test_data): Likewise.
12445 (pow_tonearest_test_data): Likewise.
12446 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12447 mpfr_ff_f.
12448 (func_calc_desc): Add mpfr_ff_f union field.
12449 (FUNC_mpfr_ff_f): New macro.
12450 (test_functions): Add atan2, hypot and pow.
12451 (special_fill_min): New function.
12452 (special_fill_minus_min): Likewise.
12453 (special_fill_min_subnorm): Likewise.
12454 (special_fill_minus_min_subnorm): Likewise.
12455 (special_real_inputs): Add min, -min, min_subnorm and
12456 -min_subnorm.
12457 (calc_generic_results): Handle mpfr_ff_f.
12458 * sysdeps/i386/fpu/libm-test-ulps: Update.
12459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12460
5764c27f
WN
124612013-12-16 Will Newton <will.newton@linaro.org>
12462
12463 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12464 (Aligned Memory Blocks): Add documentation for aligned_alloc
12465 and suggest it as an alternative to posix_memalign.
12466 (Hooks for Malloc): Document __memalign_hook is also called
12467 for aligned_alloc. (Summary of Malloc): Add summary for
12468 aligned alloc. Document __memalign_hook is also called
12469 for aligned_alloc.
12470
0a096e44
WN
124712013-12-16 Will Newton <will.newton@linaro.org>
12472
12473 * manual/memory.texi (Malloc Examples): Clarify default
12474 alignment documentation. Suggest posix_memalign rather
12475 than memalign or valloc.
12476 (Aligned Memory Blocks): Remove suggestion to use memalign
12477 or valloc. Remove obsolete comment about BSD.
12478 Document memalign errno values and mark the function obsolete.
12479 Document posix_memalign returned error codes. Mark valloc
12480 as obsolete. (Hooks for Malloc): __memalign_hook is also
12481 called for posix_memalign and valloc.
12482 (Summary of Malloc): Add posix_memalign to function summary.
12483 __memalign_hook is also called for posix_memalign and valloc.
12484
8d561986
SP
124852013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12486
12487 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12488 TAYLOR_SIN.
12489 (__sin): Adjust.
12490 (__cos): Likewise.
12491 (sloww): Use mynumber union. Expand ternary operator into
12492 if-else statements.
12493 (cslow): use mynumber union.
12494
73616a74
AM
124952013-12-16 Allan McRae <allan@archlinux.org>
12496
9e8ac24b
AM
12497 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12498 * configure: Regenerated.
12499
6f8e37eb
AM
12500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12501
8894bad3
AM
12502 [BZ #14120]
12503 * configure.ac: Added --enable-maintainer-mode. Check for
12504 autoconf when enabled.
12505 * configure: Regenerated.
12506
73616a74
AM
12507 * nscd/nscd.service: New file.
12508 * nscd/nscd.tmpfiles: New file.
12509
584b18eb
OB
125102013-12-14 Ondřej Bílka <neleai@seznam.cz>
12511
12512 [BZ #12100]
12513 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12514 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12515 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12516 (strstr): Add __strstr_sse2_unaligned ifunc.
12517 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12518 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12519 (strcasestr): Remove __strcasestr_sse42 ifunc.
12520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12523
8a5c7897
KK
125242013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12525
12526 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12527 * sysdeps/sh/bits/fenv.h: ... here.
12528 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12529
fd712ef3
AZ
125302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12531
12532 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12533
42fcb46c
AZ
12534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12535 hypotf multiarch implementations.
12536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12537 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12539 multiarch hypot for PPC64.
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12543 multiarch hypotf for PPC64.
12544
83efded4
AZ
12545 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12546 modff multiarch implementations.
12547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12550 multiarch modf for PPC64.
12551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12554 multiarch modff for PPC64.
12555
43e246d2
AZ
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12557 and logl multiarch implementations.
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12561 multiarch logb for PPC64.
12562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12565 multiarch logb for PPC64.
12566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12569 multiarch logb for PPC64.
12570
8fdad123
AZ
12571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12572 isinff multiarch implementation.
12573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12574 file.
12575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12577 multiarch isinf for PPC64.
12578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12579 file.
12580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12581 multiarch isinff for PPC64.
12582
1481d706
AZ
12583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12584 finitef multiarch implementation.
12585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12586 file.
12587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12589 multiarch finite for PPC64.
12590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12591 file.
12592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12593 multiarch finitef for PPC64.
12594
5ccd5fc8
AZ
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12596 lrint multiarch implementation.
12597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12598 file.
12599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12601 multiarch llrint for PPC64.
12602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12603 multiarch lrint for PPC64.
12604
2568f3fa
AZ
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12606 copysignf multiarch implementation.
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12608 file.
12609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12610 file.
12611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12612 multiarch copysign for PPC64.
12613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12614 multiarch copysignf for PPC64.
12615
1cb341fd
AZ
12616 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12617 multiarch implementation.
12618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12619 file.
12620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12621 file.
12622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12623 file.
12624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12625 file.
12626 multiarch llround for PPC64.
12627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12628 multiarch trunc for PPC64.
12629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12630 multiarch truncf for PPC64.
12631
59a3e194
AZ
12632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12633 multiarch implementation.
12634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12635 file.
12636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12637 file.
12638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12639 file.
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12641 file.
12642 multiarch llround for PPC64.
12643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12644 multiarch round for PPC64.
12645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12646 multiarch roundf for PPC64.
12647
357fd3b4
AZ
12648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12649 multiarch implementation.
12650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12651 file.
12652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12653 file.
12654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12655 file.
12656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12657 file.
12658 multiarch llround for PPC64.
12659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12660 multiarch floor for PPC64.
12661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12662 multiarch floorf for PPC64.
12663
96770f12
AZ
12664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12665 multiarch implementation.
12666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12667 file.
12668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12669 file.
12670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12671 file.
12672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12673 file.
12674 multiarch llround for PPC64.
12675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12676 multiarch ceil for PPC64.
12677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12678 multiarch ceilf for PPC64.
12679
c3627f6e
AZ
12680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12681 multiarch implementation.
12682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12683 file.
12684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12685 file.
12686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12687 file.
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12689 multiarch llround for PPC64.
12690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12691 multiarch lround for PPC64.
12692
b2284ad7
AZ
12693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12694 multiarch implementation.
12695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12698 file.
12699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12702 multiarch isnan for PPC64.
12703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12704 multiarch isnanf for PPC64.
12705
69bbc63d
AZ
12706 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12707 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12708 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12709 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12710 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12712
c24517c9
AZ
12713 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12714 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12717
a52374e8
AZ
12718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12719 multiarch implementations.
12720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12721 (__libc_ifunc_impl_list): Likewise.
12722 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12723 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12724 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12725 multiarch stpcpy for PPC64.
12726
7f5ec113
AZ
12727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12728 multiarch implementations.
12729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12730 (__libc_ifunc_impl_list): Likewise.
12731 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12732 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12733 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12734 multiarch strcpy for PPC64.
12735
e28bcd42
AZ
12736 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12737 redefine function name.
12738 (_wordcopy_fwd_dest_aligned): Likewise.
12739 (_wordcopy_bwd_aligned): Likewise.
12740 (_wordcopy_bwd_dest_aligned): Likewise.
12741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12742 multiarch implementations.
12743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12744 (__libc_ifunc_impl_list): Likewise.
12745 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12746 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12747 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12748 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12749 multiarch wcscpy for PPC64.
12750
92cacfce
AZ
12751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12752 multiarch implementations.
12753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12754 (__libc_ifunc_impl_list): Likewise.
12755 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12756 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12757 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12758 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12759 multiarch wcscpy for PPC64.
12760
7b714620
AZ
12761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12762 multiarch implementations.
12763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12764 (__libc_ifunc_impl_list): Likewise.
12765 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12766 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12767 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12768 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12769 multiarch wcsrchr for PPC64.
12770
16fd2ae3
AZ
12771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12772 multiarch implementations.
12773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12774 (__libc_ifunc_impl_list): Likewise.
12775 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12776 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12777 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12779 multiarch wcschr for PPC64.
12780
9ee2969b
AZ
12781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12782 multiarch implementations.
12783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12784 (__libc_ifunc_impl_list): Likewise.
12785 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12786 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12787 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12788 multiarch strchrnul for PPC64.
12789
372dc060
AZ
12790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12791 implementations.
12792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12793 (__libc_ifunc_impl_list): Likewise.
12794 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12795 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12796 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12797 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12798 strchr for PPC64.
12799
24c2c3b9
AZ
12800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12801 implementations.
12802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12803 (__libc_ifunc_impl_list): Likewise.
12804 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12805 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12806 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12807 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12808 strncmp for PPC64.
12809
1c92d9a0
AZ
12810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12811 multiarch implementations.
12812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12813 (__libc_ifunc_impl_list): Likewise.
12814 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12815 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12816 strncasecmp for PPC64.
12817 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12818 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12819 multiarch strncasecmp_l for PPC64.
12820
17de3ee3
AZ
12821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12822 multiarch implementations.
12823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12824 (__libc_ifunc_impl_list): Likewise.
12825 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12827 multiarch strcasecmp for PPC64.
12828 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12829 file.
12830 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12831 multiarch strcasecmp_l for PPC64.
12832
62982bf9
AZ
12833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12834 implementations.
12835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12836 (__libc_ifunc_impl_list): Likewise.
12837 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12838 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12839 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12840 strnlen for PPC64.
12841
a65f4904
AZ
12842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12843 implementations.
12844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12845 (__libc_ifunc_impl_list): Likewise.
12846 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12847 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12848 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12849 strlen for PPC64.
12850
1fd005ad
AZ
12851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12852 implementations.
12853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12854 (__libc_ifunc_impl_list): Likewise.
12855 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12856 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12857 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12858 rawmemrchr for PPC64.
12859
cd05ba91
AZ
12860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12861 implementation.
12862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12863 (__libc_ifunc_impl_list): Likewise.
12864 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12865 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12866 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12867 memrchr for PPC64.
12868
870f8676
AZ
12869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12870 implementation.
12871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12872 (__libc_ifunc_impl_list): Likewise.
12873 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12874 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12875 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12876 memchr for PPC64.
12877
f00be62b
AZ
12878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12879 implementation.
12880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12881 (__libc_ifunc_impl_list): Likewise.
12882 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12883 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12884 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12885 mempcpy for PPC64.
12886
8a29a3d0
AZ
12887 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12888 avoid cretion of __bzero symbol.
12889 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12890 Likewise.
12891 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12892 Likewise.
12893 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12894 Likewise.
12895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12896 multiarch implementations.
12897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12898 (__libc_ifunc_impl_list): Likewise.
12899 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12900 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12901 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12902 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12903 bzero for PPC32.
12904 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12905 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12906 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12907 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12908 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12909 memset for PPC64.
12910 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12911
07253fcf
AZ
12912 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12914 implementations.
12915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12916 (__libc_ifunc_impl_list): Likewise.
12917 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12918 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12919 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12920 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12921 memcmp for PPC64.
12922
b5beafbc
AZ
12923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12924 multiarch for POWER/PPC64.
12925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12926 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12927 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12929 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12932 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12933 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12934 memcpy for PPC64.
12935
5e6a4d4b
AZ
12936 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12937 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12938 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12939 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12940 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12941 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12942 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12943 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12944 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12945 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12946 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12947 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12948 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12949 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12950 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12958
ddfab6dc
KK
129592013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12960
12961 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12962
19b5525e
SP
129632013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12964
12965 * benchtests/Makefile (bench): Add exp2 and log2.
12966 (LDLIBS-bench-exp2): Add -lm.
12967 (LDLIBS-bench-log2): Likewise.
12968 * benchtests/exp2-inputs: New inputs file.
12969 * benchtests/log2-inputs: New inputs file.
12970 * benchtests/log-inputs: Add new inputs.
12971 * benchtests/tan-inputs: Likewise.
12972
196f7f5d
SP
129732013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12974
7a74607f
SP
12975 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12976 definition...
57f41c40
AS
12977 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12978 (csloww2): ... from here.
7a74607f 12979
196f7f5d
SP
12980 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12981 instead of structures.
12982 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12983 (POLYNOMIAL): Likewise.
12984 (TAYLOR_SLOW): Likewise.
12985 (__sin): Likewise.
12986 (__cos): Likewise.
12987 (slow1): Likewise.
12988 (slow2): Likewise.
12989 (sloww): Likewise.
12990 (sloww1); Likewise.
12991 (sloww2): Likewise.
12992 (bsloww1): Likewise.
12993 (bsloww2): Likewise.
12994 (cslow2): Likewise.
12995 (csloww): Likewise.
12996 (csloww1): Likewise.
12997 (csloww2): Likewise.
12998
0dfa665c
OB
129992013-12-10 Ondřej Bílka <neleai@seznam.cz>
13000
13001 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13002 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13003 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13004 * malloc/hooks.c (realloc_check): Likewise.
13005
5782a80f
OB
13006 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13007 * malloc/arena.c: Remove PER_THREAD conditional.
13008 [!PER_THREAD]: Remove code.
13009 (ptmalloc_unlock_all2): Likewise.
13010 (ptmalloc_init): Likewise.
13011 (_int_new_arena): Likewise.
13012 (arena_get2): Likewise.
13013 * malloc/hooks.c (__malloc_get_state): Likewise.
13014 (__malloc_set_state): Likewise.
13015 * malloc/malloc.c: Likewise.
13016 (struct malloc_state): Likewise.
13017 (struct malloc_par): Likewise.
13018 (__libc_realloc): Likewise.
13019 (__libc_mallopt): Likewise.
13020
aeb95445
AZ
130212013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13022
13023 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13024
e8349efd
OB
130252013-12-09 Ondřej Bílka <neleai@seznam.cz>
13026
13027 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13028 macro to a function. Check for zero perturb_byte.
13029 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13030
f3eeb3fc 13031 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13032 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13033 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13034 force_reg by atomic_forced_read.
13035 * malloc/arena.c (ptmalloc_init): Likewise.
13036 * malloc/hooks.c (top_check): Likewise.
13037
be2f9009
AZ
130382013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13039
13040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13041
e7b914bd
MT
130422013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13043
13044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13045
9f0be4f8
JM
130462013-12-08 Joseph Myers <joseph@codesourcery.com>
13047
13048 * math/auto-libm-test-in: Add tests of lgamma.
13049 * math/auto-libm-test-out: Regenerated.
13050 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13051 (M_LOG_2_SQRT_PIl): Likewise.
13052 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13053 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13054 mpfr_f_f1.
13055 (func_calc_desc): Add mpfr_f_f1 union field.
13056 (ARGS1): New macro.
13057 (ARGS2): Likewise.
13058 (ARGS3): Likewise.
13059 (ARGS4): Likewise.
13060 (RET1): Likewise.
13061 (RET2): Likewise.
13062 (CALC): Likewise.
13063 (FUNC): Likewise.
13064 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13065 (test_functions): Add lgamma.
13066 (calc_generic_results): Handle mpfr_f_f1.
13067 * sysdeps/i386/fpu/libm-test-ulps: Update.
13068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13069
24eeafdb
AZ
130702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13071
13072 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13073 __mpn_add_n for PowerPC64/POWER7.
13074 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13075 __mpn_sub_n for PowerPC64/POWER7.
13076
4a2c0fd4
AZ
13077 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13078 __mpn_addmul_1 for PowerPC64.
13079 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13080 __mpn_submul_1 for PowerPC64.
13081 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13082 for PowerPC64.
13083 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13084 for PowerPC64.
13085
4b5b548c
FS
130862013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13087
13088 [BZ #15089]
13089 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13090
0a3ac0aa
AZ
130912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13092
13093 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13094
ccdc8438
AZ
13095 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13096 add multiarch folders.
13097 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13099 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13100 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13101 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13102 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13103 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13104 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13105 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13106 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13107 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13114
2e973d99
AZ
13115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13116 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13118 New file.
13119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13120 New file.
13121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13122 multiarch __ieee754_hypot for PowerPC32.
13123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13124 New file.
13125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13126 New file.
13127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13128 multiarch __ieee754_hypotf for PowerPC32.
13129
2d9470b2
AZ
13130 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13131 long_double_symbol only if __logbl is defined.
13132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13133 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13135 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13137 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13138 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13139 path for implementation.
13140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13143 logb, and logbl multiarch implementations for PowerPC32.
13144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13145 file.
13146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13147 file.
13148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13149 multiarch logb for PowerPC32.
13150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13151 file.
13152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13153 file.
13154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13155 multiarch logbf for PowerPC32.
13156 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13158 file.
13159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13160 multiarch logbl implementation for PowerPC32.
13161
5212ffce
AZ
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13163 and modff multiarch implementations.
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13165 New file.
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13167 New file.
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13169 multiarch modf for PowerPC32.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13171 New file.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13173 New file.
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13175 multiarch modff for PowerPC32.
13176
79dccf31
AZ
13177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13178 and lrintf multiarch implementations.
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13180 New file.
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13182 New file.
13183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13184 multiarch lrint for PowerPC32.
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13186 file: multiarch lrintf for PowerPC32.
13187
deb66480
AZ
13188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13189 and lroundf multiarch implementations.
13190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13191 New file.
13192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13193 New file.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13195 New file.
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13197 multiarch lround for PowerPC32.
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13199 file: multiarch lroundf for PowerPC32.
13200
264b036b
AZ
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13202 copysign and copysignf multiarch implementations.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13204 New file.
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13206 New file.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13208 file: multiarch copysign for PowerPC32.
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13210 file: multiarch copysignf for PowerPC32.
13211
d47db6c9
AZ
13212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13213 and truncf multiarch implementations.
13214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13215 New file.
13216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13217 file.
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13219 multiarch trunc for PowerPC32.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13221 New file.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13223 New file.
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13225 multiarch truncf for PowerPC32.
13226
ddb60b5a
AZ
13227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13228 and roundf multiarch implementations.
13229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13230 New file.
13231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13232 file.
13233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13234 multiarch round for PowerPC32.
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13236 New file.
13237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13238 New file.
13239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13240 multiarch roundf for PowerPC32.
13241
bedcf49b
AZ
13242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13243 and floorf multiarch implementations.
13244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13245 New file.
13246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13247 file.
13248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13249 multiarch floor for PowerPC32.
13250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13251 New file.
13252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13253 New file.
13254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13255 multiarch floorf for PowerPC32.
13256
35ae5b40
AZ
13257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13258 and ceilf multiarch implementations.
13259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13260 New file.
13261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13262 file.
13263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13264 multiarch ceil for PowerPC32.
13265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13266 New file.
13267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13268 file.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13270 multiarch ceilf for PowerPC32.
13271
ae1a4cd9
AZ
13272 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13273 is defined.
13274 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13275 FINITEF is defined.
13276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13277 and finitef multiarch implementations.
13278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13279 New file.
13280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13281 file.
13282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13283 multiarch finite for PowerPC32.
13284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13285 New file.
13286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13287 file: multiarch finitef for PowerPC32.
13288
64fffd65
AZ
13289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13290 and isinff multiarch implementations.
13291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13292 file.
13293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13294 file.
13295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13296 multiarch isinf for PowerPC32.
13297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13298 New file.
13299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13300 multiarch isinff for PowerPC32.
13301
8e4e7ba2
AZ
13302 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13303 alias when __isnan is defined.
13304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13305 and isnanf multiarch implementations.
13306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13307 file.
13308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13309 file.
13310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13311 file.
13312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13313 file.
13314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13315 multiarch isnan for PowerPC32.
13316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13317 New file.
13318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13319 New file.
13320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13321 multiarch isnanf for PowerPC32.
13322
ddba588e
AZ
13323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13324 and sqrtf multiarch implementations.
13325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13326 file.
13327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13328 file.
13329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13330 multiarch sqrt for PowerPC32.
13331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13332 file.
13333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13334 file.
13335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13336 multiarch sqrtf for PowerPC32.
13337
0f96a2f0
AZ
13338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13339 and llroundf multiarch implementations.
13340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13341 New file.
13342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13343 New file.
13344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13345 New file.
13346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13347 file: multiarch llround for PowerPC32.
13348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13349 file: multiarch llroundf for PowerPC32.
13350
c9b5d79e
AZ
13351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13352 multiarch PowerPC32 fpu implementations.
13353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13354 New file.
13355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13356 New file.
13357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13358 multiarch llrint for PowerPC32.
13359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13360 New file.
13361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13362 New file.
13363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13364 file.
13365
9cbb3aab
AZ
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13367
ea5a72f8
AZ
13368 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13369 file.
13370 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13371 file.
13372 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13373 file.
13374 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13375 multiarch wordcopy for PPC32.
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13377 wordcopy objects.
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13379 (__libc_ifunc_impl_list): Likewise.
13380 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13381 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13382 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13383 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13384 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13385 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13386
93be09e7
AZ
13387 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13389 file.
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13391 file.
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13393 file.
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13395 multiarch wcscpy for PPC32.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13397 multiarch objects.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13399 (__libc_ifunc_impl_list): Likewise.
13400 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13401 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13402 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13403 sysdeps/powerpc/power6/wcscpy.c.
13404
bb04e529
AZ
13405 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13407 file.
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13409 file.
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13411 file.
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13413 multiarch wcsrchr for PPC32.
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13415 multiarch objects.
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13417 (__libc_ifunc_impl_list): Likewise.
13418 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13419 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13420 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13421 sysdeps/powerpc/power6/wcsrchr.c.
13422
05b5cd1c
AZ
13423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13424 file.
13425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13426 file.
13427 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13429 multiarch wcschr for PPc32.
13430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13431 multiarch objects.
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13433 (__libc_ifunc_impl_list): Likewise.
13434 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13435 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13436 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13437 sysdeps/powerpc/power6/wcschr.c.
13438
ba964147
AZ
13439 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13440 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13441 file.
13442 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13443 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13444 file: multiarch strchr for PPC32.
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13446 multiarch objects.
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13448 (__libc_ifunc_impl_list): Likewise.
13449
31c81aaa
AZ
13450 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13451 name.
13452 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13453 file.
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13455 file.
13456 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13457 multiarch strchrnul for PPC32.
13458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13459 multiarch objects.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13461 (__libc_ifunc_impl_list): Likewise.
13462
0d0607d9
AZ
13463 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13464 file.
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13466 multiarch strncasecmp for PPC32.
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13468 file.
13469 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13470 multiarch strncasecmp_l for PPC32.
13471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13472 strncasecmp multiarch objects.
13473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13474 (__libc_ifunc_impl_list): Likewise.
13475
4dfd5c86
AZ
13476 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13477 file.
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13479 multiarch strncasecmp for PPC32.
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13481 New file.
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13483 multiarch strcasecmp_l for PPC32.
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13485 multiarch objects.
13486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13487 (__libc_ifunc_impl_list): Likewise.
13488
a19e01a3
AZ
13489 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13490 file.
13491 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13492 file.
13493 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13494 multiarch strncmp for PPC32.
13495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13496 multiarch objects.
13497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13498 (__libc_ifunc_impl_list): Likewise.
13499
ae9cf7a2
AZ
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13501 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13502 file.
13503 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13504 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13506 multiarch objects.
13507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13508 (__libc_ifunc_impl_list): Likewise.
13509
3148bb7d
AZ
13510 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13511 file.
13512 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13513 file.
13514 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13516 multiarch objects.
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13518 (__libc_ifunc_impl_list): Likewise.
13519
7af8b946
AZ
13520 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13521 file.
13522 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13523 file.
13524 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13525 multiarch rawmemchr for PPC32.
13526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13527 multiarch objects.
13528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13529 (__libc_ifunc_impl_list): Likewise.
13530
03a6aa6a
AZ
13531 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13532 file.
13533 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13534 file.
13535 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13536 file: memrchr multiarch for PPC32.
13537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13538 multiarch objects.
13539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13540 (__libc_ifunc_impl_list): Likewise.
13541
1c62e6d9
AZ
13542 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13543 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13544 file.
13545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13546 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13547 multiarch memchr for PPC32.
13548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13549 multiarch objects.
13550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13551 (__libc_ifunc_impl_list): Likewise.
13552
87da8bdb
AZ
13553 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13554 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13555 file.
13556 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13557 file.
13558 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13559 file: multiarch mempcpy for PPC32.
13560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13561 multiarch objects.
13562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13563 (__libc_ifunc_impl_list): Likewise.
13564
20ed4714
AZ
13565 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13566 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13567 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13569 multiarch bzero for PPC32.
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13571 file.
13572 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13573 file.
13574 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13575 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13576 file: multiarch memset for PPC32.
13577 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13578 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13579 memset multiarch objects.
13580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13581 (__libc_ifunc_impl_list): Likewise.
13582
ab3e3a46
AZ
13583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13584 file.
13585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13587 memcmp for PPC32.
13588 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13589 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13590 multiarch objects.
13591 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13592 (__libc_ifunc_impl_list): Likewise.
13593
930de6f0
AZ
13594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13596 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13597 file.
13598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13599 file.
13600 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13601 file.
13602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13603 multiarch memcpy for PPC32.
13604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13605 multiarch objects.
13606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13607 (__libc_ifunc_impl_list): Likewise.
13608
4c628e00
AZ
13609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13610 support multiarch for POWER/PPC32.
13611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13612 Likewise.
13613 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13615 Implies file to make multiarch folder appers before the fpu and
13616 default folder for power4 configuration.
13617
f4479220
SP
136182013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13619
13620 * scripts/bench.pl: Append volatile keyword to type.
13621
8517800f
KK
136222013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13623
13624 * sysdeps/sh/sotruss-lib.c: New file.
13625 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13626
180138f1
AZ
136272013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13628
13629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13630
bbf37bdc
JM
136312013-12-05 Joseph Myers <joseph@codesourcery.com>
13632
e47cc4e0
JM
13633 [BZ #6810]
13634 * math/w_tgamma.c: Include <errno.h>.
13635 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13636 * math/w_tgammaf.c: Include <errno.h>.
13637 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13638 * math/w_tgammal.c: Include <errno.h>.
13639 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13640 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13641 underflow. Add more tgamma tests.
13642 * math/auto-libm-test-out: Regenerated.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13645
bbf37bdc
JM
13646 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13647 sin, sinh, tan, tanh, tgamma, y0 and y1.
13648 * math/auto-libm-test-out: Regenerated.
13649 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13650 (TEST_COND_x86): Likewise.
13651 (M_E2l): Remove macro.
13652 (M_E3l): Likewise.
13653 (M_2_SQRT_PIl): Likewise.
13654 (M_SQRT_PIl): Likewise.
13655 (M_1_DIV_El): Likewise.
13656 (log_test_data): Use AUTO_TESTS_f_f.
13657 (log10_test_data): Likewise.
13658 (log1p_test_data): Likewise.
13659 (log2_test_data): Likewise.
13660 (sin_test_data): Likewise.
13661 (sin_tonearest_test_data): Likewise.
13662 (sin_towardzero_test_data): Likewise.
13663 (sin_downward_test_data): Likewise.
13664 (sin_upward_test_data): Likewise.
13665 (sinh_test_data): Likewise.
13666 (sinh_tonearest_test_data): Likewise.
13667 (sinh_towardzero_test_data): Likewise.
13668 (sinh_downward_test_data): Likewise.
13669 (sinh_upward_test_data): Likewise.
13670 (tan_test_data): Likewise.
13671 (tan_tonearest_test_data): Likewise.
13672 (tan_towardzero_test_data): Likewise.
13673 (tan_downward_test_data): Likewise.
13674 (tan_upward_test_data): Likewise.
13675 (tanh_test_data): Likewise.
13676 (tgamma_test_data): Likewise.
13677 (y0_test_data): Likewise.
13678 (y1_test_data): Likewise.
13679 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13680 (special_real_inputs): Add pi/4.
13681 * sysdeps/i386/fpu/libm-test-ulps: Update.
13682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13683
eb5ad6b9
AZ
136842013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13685
13686 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13687 "longjmp_target" static probes.
13688 (__longjmp): Rename to __longjmp_symbol.
13689 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13690 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13691 on which longjmp to generate.
13692 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13693 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13694 probe.
13695 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13696 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13697 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13698 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13699 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13700 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13702 __longjmp_symbol based on which __longjmp to generate.
13703 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13704 probe.
13705 (setjmp): Rename to setjmp_symbol.
13706 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13707 (_setjmp): Rename to _setjmp_symbol.
13708 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13709 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13710 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13711 which setjmp to generate.
13712 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13713 "longjmp_target" static probes.
13714
d136c6dc
SP
137152013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13716
9298ecba
SP
13717 * benchtests/README: Add note about output arguments.
13718 * benchtests/bench-sincos.c: Remove file.
13719 * benchtests/sincos-inputs: New file.
13720 * scripts/bench.pl: Identify output arguments and define
13721 static variables for them.
13722
232983e9
SP
13723 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13724
d136c6dc
SP
13725 [BZ #15941]
13726 * Makefile (INSTALL): Add install-plain.texi as the primary
13727 dependency.
13728 * manual/install-plain.texi: New file.
13729 * manual/install.texi: Include node directive only for
13730 non-plaintext output.
13731
699ff837
JM
137322013-12-04 Joseph Myers <joseph@codesourcery.com>
13733
ab07cea8
JM
13734 * stdlib/longlong.h: Update from GCC.
13735
699ff837
JM
13736 [BZ #6807]
13737 [BZ #15901]
13738 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13739 * math/w_j0f.c (y0f): Likewise.
13740 * math/w_j0l.c (__y0l): Likewise.
13741 * math/w_j1.c (y1): Likewise.
13742 * math/w_j1f.c (y1f): Likewise.
13743 * math/w_j1l.c (__y1l): Likewise
13744 * math/w_jn.c (yn): Likewise.
13745 * math/w_jnf.c (ynf): Likewise.
13746 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13747 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13748 value for Bessel function domain errors outside _SVID_ mode.
13749 Adjust sign of return value for yn (negative integer, 0).
13750 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13751 by zero in return for negative x and set sign appropriately for
13752 negative n.
13753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13755 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13756 expectations in error cases.
13757 (y1_test_data): Likewise.
13758 (yn_test_data): Likewise.
13759 * sysdeps/i386/fpu/libm-test-ulps: Update.
13760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13761
5b118558
UW
137622013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13763
13764 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13765 "64" to "64-v1". Add "64-v2".
13766 (abi-64-options): Rename to ...
13767 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13768 (abi-64-condition): Rename to ...
13769 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13770 (abi-64-ld-soname): Rename to ...
13771 (abi-64-v1-ld-soname): ... this.
13772 (abi-64-v2-options): Define.
13773 (abi-64-v2-condition): Likewise.
13774 (abi-64-v2-ld-soname): Likewise.
13775 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13776 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13780
61cd8fe4
UW
137812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13782 Alan Modra <amodra@gmail.com>
13783
13784 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13785 New versions for use with the ELFv2 ABI.
13786 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13787 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13788 declaration.
13789 (struct La_ppc64v2_retval): Likewise.
13790 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13791 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13792 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13793 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13794 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13795 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13796 Do not save or restore CR.
13797 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13798 (_dl_profile_resolve): Do no save or restore CR. Support extended
13799 return values for ELFv2 ABI. Fix location of FPR return registers.
13800 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13801 updated values for _CALL_ELF == 2.
13802 (La_regs, La_retval, int_retval): Likewise.
13803
8b8a692c
UW
138042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13805
13806 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13807 (FRAME_MIN_SIZE_PARM): Likewise.
13808 (FRAME_BACKCHAIN): Likewise.
13809 (FRAME_CR_SAVE): Likewise.
13810 (FRAME_LR_SAVE): Likewise.
13811 (FRAME_TOC_SAVE): Likewise.
13812 (FRAME_PARM_SAVE): Likewise.
13813 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13814 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13815 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13816 (call_mcount_parm_offset): New macro.
13817 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13818 (PROF): Use symbolic stack frame offsets.
13819 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13820 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13821 Redefine in terms of FRAME_MIN_SIZE.
13822 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13823 (_dl_profile_resolve): Likewise. Update comment.
13824 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13825 symbols stack frame offsets.
13826 (__sigsetjmp): Likewise.
13827 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13828 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13829 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13830 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13831
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13833 (FRAME_BACKCHAIN): Remove.
13834 (FRAME_CR_SAVE): Likewise.
13835 (FRAME_LR_SAVE): Likewise.
13836 (FRAME_COMPILER_DW): Likewise.
13837 (FRAME_LINKER_DW): Likewise.
13838 (FRAME_TOC_SAVE): Likewise.
13839 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13840 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13841 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13842 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13844 (CHECK_SP): Use symbolic stack frame offsets.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13846 zone" instead of caller's parameter save area for temp storage.
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13848 Likewise. Also, use symbolic stack frame offsets.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13850 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13851 our own stack frame instead of the caller's.
13852 (__socket): Use symbolic stack frame offsets.
13853
122b66de
UW
138542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13855 Alan Modra <amodra@gmail.com>
13856
13857 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13858 Define.
57f41c40
AS
13859 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13860 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13861 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13862 New function.
13863 (elf_machine_fixup_plt): Call it.
13864 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13865 reloc arguments.
13866 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13867 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13868 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13869 r2 before calling target.
13870
696caf1d
UW
138712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13872 Alan Modra <amodra@gmail.com>
13873
13874 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13875 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13876 versions of macros to support ELFv2 ABI.
13877 (LOCALENTRY): New macro.
13878 (ENTRY, EALIGN): Use it.
13879 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13880 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13881 fall through into ENTRY entry point.
13882 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13883 Only define if _CALL_ELF != 2.
13884
13885 (elf_machine_matches_host): Verify ABI version matches.
13886 (RTLD_START): Use LOCALENTRY.
13887 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13888 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13889 (PLT_ENTRY_WORDS): New macro.
13890 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13891 (elf_machine_runtime_setup): Support ELFv2 ABI.
13892 (elf_machine_fixup_plt): Likewise.
13893 (elf_machine_plt_conflict): Likewise.
13894 (resolve_ifunc): Likewise.
13895 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13897 Likewise.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13899 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13901 (makecontext): Support ELFv2 ABI.
13902 * elf/elf.h (EF_PPC64_ABI): Define.
13903
d31beafa
UW
139042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13905
57f41c40
AS
13906 * sysdeps/powerpc/powerpc64/sysdep.h
13907 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13908 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13909 (ENTRY) [ASSEMBLER]: ... but instead here ...
13910 (EALIGN) [ASSEMBLER]: ... and here.
13911 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13912 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13913 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13914 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13915 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13916 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13917 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13918 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13920 Use PPC64_LOAD_FUNCPTR.
13921
b525166b
UW
13922 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13923
7ec07d9a
AM
139242013-12-04 Alan Modra <amodra@gmail.com>
13925
13926 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13927 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13928 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13929 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13930
13931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13932 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13933 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13934 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13935 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13936 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13937
5162e7dd
UW
139382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13939
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13941 (__makecontext): Fix incorrect CFI when backtracing out of
13942 context created via makecontext.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13944 (__setcontext): Fix incorrect CFI during switch to new context.
13945 (__novec_setcontext): Likewise.
13946
19e3372b
OB
139472013-12-04 Ondřej Bílka <neleai@seznam.cz>
13948
13949 [BZ #4772]
13950 * time/strptime_l.c (__strptime_internal): Allow modifiers
13951 in strptime.
13952 * time/tst-strptime.c (day_tests): Add testcase.
13953
ecaf142d
SP
139542013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13955
13956 * scripts/bench.pl: Skip over blank lines.
13957
fbf964ae
PE
139582013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13959
13960 [BZ #926]
13961 * manual/time.texi (Calendar Time): Clarify what timezone functions
13962 use.
13963
fa60a674
AZ
139642013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13965
13966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13967
d674f0ef
OB
139682013-12-04 Ondřej Bílka <neleai@seznam.cz>
13969
13970 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13971 implementation.
13972 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13973 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13974 * debug/memset_chk.c (__memset_chk): Likewise.
13975 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13976 * debug/strncpy_chk.c: Likewise.
13977
17dea188
JM
139782013-12-03 Joseph Myers <joseph@codesourcery.com>
13979
749008ff
JM
13980 [BZ #15268]
13981 [BZ #15425]
13982 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13983 (__ieee754_exp): For possibly underflowing results, check size of
13984 result and force underflow exception if required.
13985 * math/auto-libm-test-in: Add more tests of exp.
13986 * math/auto-libm-test-out: Regenerated.
13987 * sysdeps/i386/fpu/libm-test-ulps: Update.
13988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13989
17dea188
JM
13990 [BZ #16283]
13991 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13992 * math/w_exp2f.c (__exp2f): Likewise.
13993 * math/w_exp2l.c (__exp2l): Likewise.
13994 * math/auto-libm-test-in: Do not allow missing errno on exp2
13995 underflow.
13996 * math/auto-libm-test-out: Regenerated.
13997
b20de2c3
OB
139982013-12-03 Ondřej Bílka <neleai@seznam.cz>
13999
14000 [BZ #16274]
14001 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14002 handle filename validation.
14003 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14004 (do_open): Delete.
14005
d8e2dbe3
JM
140062013-12-03 Joseph Myers <joseph@codesourcery.com>
14007
34e16df5
JM
14008 [BZ #6786]
14009 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14010 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14011 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14012 <float.h>.
14013 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14014 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14015 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14017 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14018 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14019 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14020 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14021 Add more erfc tests.
14022 * math/auto-libm-test-out: Regenerated.
14023 * sysdeps/i386/fpu/libm-test-ulps: Update.
14024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14025
d8e2dbe3
JM
14026 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14027 exp2, expm1, j0 and j1.
14028 * math/auto-libm-test-out: Regenerated.
14029 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14030 (erfc_test_data): Likewise.
14031 (exp_test_data): Likewise.
14032 (exp_tonearest_test_data): Likewise.
14033 (exp_towardzero_test_data): Likewise.
14034 (exp_downward_test_data): Likewise.
14035 (exp_upward_test_data): Likewise.
14036 (exp10_test_data): Likewise.
14037 (exp2_test_data): Likewise.
14038 (expm1_test_data): Likewise.
14039 (j0_test_data): Likewise.
14040 (j1_test_data): Likewise.
14041 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14042 (input_flag_type): Add flag_xfail_rounding.
14043 (input_flags): Add xfail-rounding.
14044 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14045 (output_for_one_input_case): Handle flag_xfail_rounding.
14046 * sysdeps/i386/fpu/libm-test-ulps: Update.
14047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14048
18d14251
AJ
140492013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14050
3d2e6075 14051 [BZ #16289]
18d14251
AJ
14052 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14053 division by 0.
14054
520d437b
SP
140552013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14056
14057 [BZ #16195]
14058 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14059 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14060 (STAP_PROBE0): New macro.
14061 (STAP_PROBE1): Likewise.
14062 (STAP_PROBE2): Likewise.
14063 (STAP_PROBE3): Likewise.
14064 (STAP_PROBE4): Likewise.
14065
416e0145
OB
140662013-12-02 Ondřej Bílka <neleai@seznam.cz>
14067
14068 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14069
9d17796a
SE
140702013-12-02 Steve Ellcey <sellcey@mips.com>
14071
14072 * benchtests/Makefile (bench): Add sqrt.
14073 (LDLIBS-bench-sqrt): New.
14074 * benchtests/sqrt-input: New.
14075
f524d6a8
PS
140762013-12-02 Pavel Simerda <psimerda@redhat.com>
14077
639a0ef8
PS
14078 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14079 (GAIH_EAI): Likewise.
14080 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14081 (gaih_inet): Likewise.
14082 (getaddrinfo): Don't use GAIH_EAI.
14083
f524d6a8
PS
14084 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14085 (struct gaih): Remove definition.
14086
df3aedaf
SP
140872013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14088
14089 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14090 Use HERRNOP directly.
14091
1ab19dec
AZ
140922013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14093
b42ad38d 14094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14095
176b0c79
JM
140962013-11-30 Joseph Myers <joseph@codesourcery.com>
14097
14098 * math/gen-auto-libm-tests.c (test_functions): Add more
14099 single-argument functions.
14100 (special_fill_pi_2): New function.
14101 (special_fill_minus_pi_2): Likewise.
14102 (special_fill_pi_6): Likewise.
14103 (special_fill_minus_pi_6): Likewise.
14104 (special_fill_pi_3): Likewise.
14105 (special_fill_2pi_3): Likewise.
14106 (special_fill_e): Likewise.
14107 (special_fill_1_e): Likewise.
14108 (special_fill_e_minus_1): Likewise.
14109 (special_real_inputs): Add more special inputs.
14110 (output_for_one_input_case): Do not require ERANGE on underflow to
14111 zero if round-to-nearest result does not underflow to zero, unless
14112 exact results required.
14113 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14114 atan, atanh, cbrt, cos and cosh.
14115 * math/auto-libm-test-out: Regenerated.
14116 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14117 (acos_tonearest_test_data): Likewise.
14118 (acos_towardzero_test_data): Likewise.
14119 (acos_downward_test_data): Likewise.
14120 (acos_upward_test_data): Likewise.
14121 (acosh_test_data): Likewise.
14122 (asin_test_data): Likewise.
14123 (asin_tonearest_test_data): Likewise.
14124 (asin_towardzero_test_data): Likewise.
14125 (asin_upward_test_data): Likewise.
14126 (asinh_test_data): Likewise.
14127 (atan_test_data): Likewise.
14128 (atanh_test_data): Likewise.
14129 (cbrt_test_data): Likewise.
14130 (cos_test_data): Likewise.
14131 (cos_tonearest_test_data): Likewise.
14132 (cos_towardzero_test_data): Likewise.
14133 (cos_downward_test_data): Likewise.
14134 (cos_upward_test_data): Likewise.
14135 (cosh_test_data): Likewise.
14136 (cosh_tonearest_test_data): Likewise.
14137 (cosh_towardzero_test_data): Likewise.
14138 (cosh_downward_test_data): Likewise.
14139 (cosh_upward_test_data): Likewise.
14140 * sysdeps/i386/fpu/libm-test-ulps: Update.
14141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14142
ffb536d0
JM
141432013-11-29 Joseph Myers <joseph@codesourcery.com>
14144
2a77a467
JM
14145 [BZ #6787]
14146 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14147 * math/w_exp10f.c (__exp10f): Likewise.
14148 * math/w_exp10l.c (__exp10l): Likewise.
14149 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14150 errno settings in existing tests.
14151
ea3bc4e8
JM
14152 [BZ #14032]
14153 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14154 precision control set to double precision.
14155 * sysdeps/i386/fpu/w_sqrt.c: New file.
14156 * math/auto-libm-test-in: Add more tests.
14157 * math/auto-libm-test-out: Update.
14158
0712c9d8
JM
14159 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14160 (sqrt_test_tonearest): New function.
14161 (sqrt_towardzero_test_data): New variable.
14162 (sqrt_test_towardzero): New function.
14163 (sqrt_downward_test_data): New variable.
14164 (sqrt_test_downward): New function.
14165 (sqrt_upward_test_data): New variable.
14166 (sqrt_test_upward): New function.
14167 (main): Call the new functions.
14168
ffb536d0
JM
14169 * math/gen-auto-libm-tests.c: New file.
14170 * math/auto-libm-test-in: Likewise.
14171 * math/auto-libm-test-out: New generated file.
14172 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14173 variables.
14174 (%beautify): Add generated representations of zero.
14175 (top level): Set $auto_input and call parse_auto_input.
14176 (beautify): Remove trailing "f" from hex float constants.
14177 (parse_args): Handle XFAIL_TEST.
14178 (convert_condition): New function.
14179 (or_value): Likewise.
14180 (or_cond_value): Likewise.
14181 (generate_testfile): Handle AUTO_TESTS_* lines.
14182 (parse_auto_input): New function.
14183 * math/libm-test.inc (XFAIL_TEST): New macro.
14184 (ERRNO_UNCHANGED): Update value.
14185 (ERRNO_EDOM): Likewise.
14186 (ERRNO_ERANGE): Likewise.
14187 (IGNORE_RESULT): Likewise.
14188 (TEST_COND_flt_32): New macro.
14189 (TEST_COND_dbl_64): Likewise.
14190 (TEST_COND_ldbl_96_intel): Likewise.
14191 (TEST_COND_ldbl_96_m68k): Likewise.
14192 (TEST_COND_ldbl_128): Likewise.
14193 (TEST_COND_ldbl_128ibm): Likewise.
14194 (TEST_COND_long32): Likewise.
14195 (TEST_COND_long64): Likewise.
14196 (TEST_COND_before_rounding): Likewise.
14197 (TEST_COND_after_rounding): Likewise.
14198 (enable_test): Handle XFAIL_TEST flag.
14199 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14200 with finite results.
14201 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14202 auto-libm-test-out.
14203
acd98a8e
AK
142042013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14205 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14206
14207 [BZ #16214]
14208 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14209 __tls_get_addr_internal instead of __tls_get_offset in order to
14210 avoid GOT pointer dependency. Make rtld export
14211 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14212 __tls_get_addr since we are a __tls_get_offset platform.
14213 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14214 GOT pointer being set up before.
14215 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14216
3c1c46a6
JM
142172013-11-28 Joseph Myers <joseph@codesourcery.com>
14218
7475aef5
JM
14219 * manual/math.texi (Errors in Math Functions): Document accuracy
14220 goals.
14221
8bca7cd8
JM
14222 [BZ #15004]
14223 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14224 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14239
91a1f3fe
JM
14240 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14241 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14242 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14243 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14244 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14245 Likewise.
14246 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14247 Likewise.
14248 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14249 Likewise.
14250 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14251 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14252 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14253 atomic-feupdateenv and flt-rounds.
14254 * sysdeps/powerpc/nofpu/Versions (libc): Add
14255 __atomic_feholdexcept, __atomic_feclearexcept,
14256 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14257 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14258 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14259 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14260 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14261 here.
14262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14263 Update.
14264
c5df7609
JM
14265 * manual/arith.texi (FP Exceptions): Document that exceptions may
14266 not be raised when matherr is used.
14267 (Math Error Reporting): Document overflow in directed rounding
14268 modes. Document that errno may not be set when finite values are
14269 returned on overflow. Document intent to set errno on underflow
14270 only for underflow to zero.
14271
3c1c46a6
JM
14272 [BZ #16271]
14273 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14274 round-to-nearest then adjust result for other rounding modes.
14275 * include/fenv.h (fegetround): Use libm_hidden_proto.
14276 * math/fegetround.c (fegetround): Use libm_hidden_def.
14277 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14278 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14279 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14280 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14281 Likewise.
14282 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14284 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14285 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14286
5a4c6d53
SP
142872013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14288
14289 [BZ #16077]
14290 * nss/Versions (libnss_files): Add
14291 _nss_files_gethostbyname3_r.
14292 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14293 New function.
14294 (HOST_DB_LOOKUP): Remove macro.
14295 (_nss_files_gethostbyname_r): Implement function without the
14296 HOST_DB_LOOKUP macro.
14297 (_nss_files_gethostbyname2_r): Likewise.
14298
897b98ba
OB
142992013-11-28 Ondřej Bílka <neleai@seznam.cz>
14300
14301 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14302
6f476861
UB
143032013-11-26 Uros Bizjak <ubizjak@gmail.com>
14304
14305 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14306 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14307 warning.
14308
bd12ab55
AZ
143092013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14310
14311 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14312 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14313 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14314 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14315 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14316 __fe_nomask_env_priv and attribute_hidden.
14317 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14318 (libc_feupdateenv_test_ppc): Likewise.
14319 (libc_feresetround_ppc): Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14321 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14322 compat_symbol macro.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14324 (__fe_nomask_env): Likewise.
14325 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14326
52bb6543
OB
143272013-11-26 Ondřej Bílka <neleai@seznam.cz>
14328
14329 * string/Makefile: Remove ifunc tests.
14330 * string/test-string.h: Define TEST_IFUNC.
14331 * string/test-bcopy-ifunc.c: Remove.
14332 * string/test-bzero-ifunc.c: Likewise.
14333 * string/test-memccpy-ifunc.c: Likewise.
14334 * string/test-memchr-ifunc.c: Likewise.
14335 * string/test-memcmp-ifunc.c: Likewise.
14336 * string/test-memcpy-ifunc.c: Likewise.
14337 * string/test-memmem-ifunc.c: Likewise.
14338 * string/test-memmove-ifunc.c: Likewise.
14339 * string/test-mempcpy-ifunc.c: Likewise.
14340 * string/test-memrchr-ifunc.c: Likewise.
14341 * string/test-memset-ifunc.c: Likewise.
14342 * string/test-rawmemchr-ifunc.c: Likewise.
14343 * string/test-stpcpy-ifunc.c: Likewise.
14344 * string/test-stpncpy-ifunc.c: Likewise.
14345 * string/test-strcasecmp-ifunc.c: Likewise.
14346 * string/test-strcasestr-ifunc.c: Likewise.
14347 * string/test-strcat-ifunc.c: Likewise.
14348 * string/test-strchr-ifunc.c: Likewise.
14349 * string/test-strchrnul-ifunc.c: Likewise.
14350 * string/test-strcmp-ifunc.c: Likewise.
14351 * string/test-strcpy-ifunc.c: Likewise.
14352 * string/test-strcspn-ifunc.c: Likewise.
14353 * string/test-strlen-ifunc.c: Likewise.
14354 * string/test-strncasecmp-ifunc.c: Likewise.
14355 * string/test-strncat-ifunc.c: Likewise.
14356 * string/test-strncmp-ifunc.c: Likewise.
14357 * string/test-strncpy-ifunc.c: Likewise.
14358 * string/test-strnlen-ifunc.c: Likewise.
14359 * string/test-strpbrk-ifunc.c: Likewise.
14360 * string/test-strrchr-ifunc.c: Likewise.
14361 * string/test-strspn-ifunc.c: Likewise.
14362 * string/test-strstr-ifunc.c: Likewise.
14363
ab260039 143642013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14365
14366 * benchtests/Makefile: Remove ifunc tests.
14367 * benchtests/bench-string.h: Define TEST_IFUNC.
14368 * benchtests/bench-bcopy-ifunc.c: Remove.
14369 * benchtests/bench-bzero-ifunc.c: Likewise.
14370 * benchtests/bench-memccpy-ifunc.c: Likewise.
14371 * benchtests/bench-memchr-ifunc.c: Likewise.
14372 * benchtests/bench-memcmp-ifunc.c: Likewise.
14373 * benchtests/bench-memcpy-ifunc.c: Likewise.
14374 * benchtests/bench-memmem-ifunc.c: Likewise.
14375 * benchtests/bench-memmove-ifunc.c: Likewise.
14376 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14377 * benchtests/bench-memrchr-ifunc.c: Likewise.
14378 * benchtests/bench-memset-ifunc.c: Likewise.
14379 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14380 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14381 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14382 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14383 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14384 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14385 * benchtests/bench-strcat-ifunc.c: Likewise.
14386 * benchtests/bench-strchr-ifunc.c: Likewise.
14387 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14388 * benchtests/bench-strcmp-ifunc.c: Likewise.
14389 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14390 * benchtests/bench-strcpy-ifunc.c: Likewise.
14391 * benchtests/bench-strcspn-ifunc.c: Likewise.
14392 * benchtests/bench-strlen-ifunc.c: Likewise.
14393 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14394 * benchtests/bench-strncat-ifunc.c: Likewise.
14395 * benchtests/bench-strncmp-ifunc.c: Likewise.
14396 * benchtests/bench-strncpy-ifunc.c: Likewise.
14397 * benchtests/bench-strnlen-ifunc.c: Likewise.
14398 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14399 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14400 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14401 * benchtests/bench-strspn-ifunc.c: Likewise.
14402 * benchtests/bench-strstr-ifunc.c: Likewise.
14403
144042013-11-26 Ondřej Bílka <neleai@seznam.cz>
14405
ab260039
OB
14406 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14407
d1d9eaf4 144082013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14409
d1d9eaf4
OB
14410 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14411 * rt/aio.h: Likewise.
14412 * sysdeps/gnu/bits/utmp.h: Likewise.
14413 * sysdeps/gnu/bits/utmpx.h: Likewise.
14414 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14415 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14416 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14417 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14418 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14419 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14420 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14421 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14422 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14423 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14424 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14425 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14426 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14428 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14429 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14430 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14431 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14432 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14433 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14435 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14436 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14437 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14438 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14440 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14441 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14442 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14443 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14444 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14445 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14446 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14447 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14448 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14449 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14450 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14451 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14452 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14453 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14454 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14455 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14456
a7624ed9
CD
144572013-11-25 Carlos O'Donell <carlos@redhat.com>
14458
14459 [BZ #16245]
14460 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14461 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14462
63cfe52b
JM
144632013-11-25 Joseph Myers <joseph@codesourcery.com>
14464
14465 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14466 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14467 Likewise.
14468
41e8926a
AZ
144692013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14470
14471 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14472 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14473 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14474 (__fesetround): Remove define.
14475 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14476 rounding and exceptions handling.
14477 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14478 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14479 (__fe_nomask_env): Likewise.
14480 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14481 __fegetround instead of fegetround.
14482 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14483 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14484
6851bd4d
RM
144852013-11-21 Roland McGrath <roland@hack.frob.com>
14486
070906ff
RM
14487 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14488 it's there.
14489
6851bd4d
RM
14490 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14491
84ae135d
MI
144922013-11-21 Meador Inge <meadori@codesourcery.com>
14493
14494 [BZ #11157]
14495 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14496 (encrypt_r): Likewise.
14497 * malloc/obstack.h (obstack_free): Likewise.
14498 * posix/unistd.h (encrypt): Likewise.
14499
daf75146
GM
145002013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14501
14502 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14503 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14504 DL_CALL_DT_FINI() that call the functions directly.
14505 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14506 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14507 * elf/dl-fini.c: Likewise.
14508
10ad46bc
OB
145092013-11-20 Ondřej Bílka <neleai@seznam.cz>
14510
14511 * malloc/hooks.c (memalign_check): Add alignment rounding.
14512 * malloc/malloc.c (_mid_memalign): New function.
14513 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14514 Implement by calling _mid_memalign.
14515 * manual/probes.texi (Memory Allocation Probes): Remove
14516 memory_valloc_retry and memory_pvalloc_retry.
14517
f3fd2628
SP
145182013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14519
4712799f
SP
14520 * locale/programs/locarchive.c (open_archive): Add const
14521 qualifier to ARCHIVEFNAME and copy default fname to
14522 DEFAULT_FNAME.
14523
0417b20f
SP
14524 [BZ #15601]
14525 * libio/tst-widetext.input: Rename Oriya to Odia.
14526 * locale/iso-639.def: Likewise.
14527
f3fd2628
SP
14528 * manual/probes.texi (Mathematical Function Probes): Add
14529 documentation for sin, cos, asin and acos probes.
14530 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14531 (__sin32): Add slowasin probe.
14532 (__cos32): Add slowacos probe.
14533 (__mpsin): Add slowsin probe.
14534 (__mpcos): Add slowcos probe.
14535
73c1ce4f
JM
145362013-11-19 Joseph Myers <joseph@codesourcery.com>
14537
14538 [BZ #15483]
14539 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14540 thread-local __sim_exceptions_thread and global
14541 __sim_exceptions_global.
14542 (__sim_disabled_exceptions): Change to thread-local
14543 __sim_disabled_exceptions_thread and global
14544 __sim_disabled_exceptions_global.
14545 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14546 and global __sim_round_mode_global.
14547 (__simulate_exceptions): Use thread-local floating-point state and
14548 set global state from it as needed.
14549 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14550 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14551 __sim_round_mode_thread.
14552 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14553 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14554 and global __sim_exceptions_global.
14555 (__sim_disabled_exceptions): Change to thread-local
14556 __sim_disabled_exceptions_thread and global
14557 __sim_disabled_exceptions_global.
14558 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14559 and global __sim_round_mode_global.
14560 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14561 (SIM_SET_GLOBAL): Likewise.
14562 * sysdeps/powerpc/soft-fp/sfp-machine.h
14563 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14564 __sim_round_mode_thread.
14565 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14566 __sim_disabled_exceptions_thread.
14567 (__sim_exceptions): Change to __sim_exceptions_thread.
14568 (__sim_disabled_exceptions): Change to
14569 __sim_disabled_exceptions_thread.
14570 (__sim_round_mode): Change to __sim_round_mode_thread.
14571 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14572 thread-local floating-point state and set global state from it as
14573 needed.
14574 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14575 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14576 (__sim_disabled_exceptions): Remove extern declaration.
14577 (feenableexcept): Use thread-local floating-point state and set
14578 global state from it as needed.
14579 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14580 extern declaration.
14581 (__sim_disabled_exceptions): Likewise.
14582 (__sim_round_mode): Likewise.
14583 (__fegetenv): Use thread-local floating-point state.
14584 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14585 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14586 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14587 floating-point state and set global state from it as needed.
14588 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14589 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14590 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14591 Likewise.
14592 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14593 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14594 Likewise.
14595 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14596 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14597 Use __sim_round_mode_thread.
14598 * math/test-fenv-tls.c: New file.
14599 * math/Makefile (tests): Add test-fenv-tls.
14600 ($(objpfx)test-fenv-tls): Depend on
14601 $(common-objpfx)nptl/libpthread.so.
14602
b5449b12
AS
146032013-11-19 Andreas Schwab <schwab@suse.de>
14604
14605 * locale/programs/locale.c (show_info): Decode wordarray elements.
14606 * locale/categories.def (LC_MONETARY): Add element for
14607 _NL_MONETARY_CRNCYSTR.
14608 * locale/C-monetary.c (conversion_rate): New variable.
14609 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14610 element.
14611
e186536b
CM
146122013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14613
14614 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14615 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14616
5c349950
PP
146172013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14618
14619 * elf/Makefile (tst-auxv): New test.
14620 * elf/tst-auxv.c: New
14621 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14622
699df45b
JM
146232013-11-18 Joseph Myers <joseph@codesourcery.com>
14624
14625 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14626 (hidden_proto): Caller changed.
14627 (hidden_tls_proto): New macro.
14628 (libc_hidden_tls_proto): Likewise.
14629 (rtld_hidden_tls_proto): Likewise.
14630 (libm_hidden_tls_proto): Likewise.
14631 (libresolv_hidden_tls_proto): Likewise.
14632 (librt_hidden_tls_proto): Likewise.
14633 (libdl_hidden_tls_proto): Likewise.
14634 (libnss_files_hidden_tls_proto): Likewise.
14635 (libnsl_hidden_tls_proto): Likewise.
14636 (libnss_nisplus_hidden_tls_proto): Likewise.
14637 (libutil_hidden_tls_proto): Likewise.
14638
b7589107
OB
146392013-11-18 Ondřej Bílka <neleai@seznam.cz>
14640
14641 [BZ #10253]
14642 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14643 (decompose_rpath): Defer expansion to fillin_rpath.
14644 (_dl_init_paths): Pass linkmap to fillin_rpath.
14645
250c23bd
RS
146462013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14647
14648 * benchtests/Makefile: Add strsep.
14649 * benchtests/bench-strsep.c: New file: strsep benchtest.
14650 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14651
a7931fcf
AS
146522013-11-18 Andreas Schwab <schwab@suse.de>
14653
14654 * locale/programs/locale.c (show_info) [case byte]: Check for
14655 '\377' instead of '\177'.
14656 * locale/C-monetary.c (not_available): Always use "\377".
14657 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14658 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14659 detect unavailable sign_posn locale elements.
14660 * locale/localeconv.c (__localeconv): For grouping and
14661 mon_grouping handle "\177" and "\377" like no grouping.
14662 (INT_ELEM): New macro. Use it to set all numeric members.
14663 * locale/programs/ld-monetary.c (monetary_read)
14664 <tok_mon_grouping>: Normalize single -1 to the empty string.
14665 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14666 Likewise.
14667
728dab0e
OB
146682013-11-07 Ondřej Bílka <neleai@seznam.cz>
14669
14670 [BZ #16055]
14671 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14672 when we match (nil).
14673 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14674
66294491
JM
146752013-11-16 Joseph Myers <joseph@codesourcery.com>
14676
ce665817
JM
14677 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14678 (NO_TEST_INLINE): Update value.
14679 (ERRNO_UNCHANGED): Likewise.
14680 (ERRNO_EDOM): Likewise.
14681 (ERRNO_ERANGE): Likewise.
14682 (IGNORE_RESULT): Likewise.
14683 (check_float_internal): Check signs of NaN results if
14684 TEST_NAN_SIGN used.
14685 (check_complex): Pass TEST_NAN_SIGN flag through to second
14686 check_float_internal call.
14687 (copysign_test_data): Add tests with quiet NaNs as second
14688 argument. Use TEST_NAN_SIGN.
14689 (fabs_test_data): Add test of negative quiet NaN argument. Use
14690 TEST_NAN_SIGN.
14691 (signbit_test_data): Add tests of quiet NaN argument.
14692 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14693
ee1466a9
JM
14694 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14695 $ignore_result.
14696 (parse_args): Handle function results specified as IGNORE.
14697 * math/libm-test.inc (IGNORE_RESULT): New macro.
14698 (check_float_internal): Do not check numerical result if flag
14699 IGNORE_RESULT set.
14700 (check_complex): Pass through IGNORE_RESULT to second
14701 check_float_internal call.
14702 (check_int): Do not check numerical result if flag IGNORE_RESULT
14703 set.
14704 (check_long): Likewise.
14705 (check_bool): Likewise.
14706 (check_longlong): Likewise.
14707 (lrint_test_data): Add tests of infinite and NaN arguments.
14708 (lrint_tonearest_test_data): Likewise.
14709 (lrint_towardzero_test_data): Likewise.
14710 (lrint_downward_test_data): Likewise.
14711 (lrint_upward_test_data): Likewise.
14712 (llrint_test_data): Likewise.
14713 (llrint_tonearest_test_data): Likewise.
14714 (llrint_towardzero_test_data): Likewise.
14715 (llrint_downward_test_data): Likewise.
14716 (llrint_upward_test_data): Likewise.
14717 (lround_test_data): Likewise.
14718 (llround_test_data): Likewise.
14719
14407b7e
JM
14720 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14721 (ERRNO_UNCHANGED): Update value.
14722 (ERRNO_EDOM): Likewise.
14723 (ERRNO_ERANGE): Likewise.
14724 (NO_TEST_INLINE_FLOAT): New macro.
14725 (NO_TEST_INLINE_DOUBLE): Likewise.
14726 (enable_test): New function.
14727 (RUN_TEST_f_f): Check enable_test before running test.
14728 (RUN_TEST_2_f): Likewise.
14729 (RUN_TEST_fff_f): Likewise.
14730 (RUN_TEST_c_f): Likewise.
14731 (RUN_TEST_f_f1): Likewise.
14732 (RUN_TEST_fF_f1): Likewise.
14733 (RUN_TEST_fI_f1): Likewise.
14734 (RUN_TEST_ffI_f1): Likewise.
14735 (RUN_TEST_c_c): Likewise.
14736 (RUN_TEST_cc_c): Likewise.
14737 (RUN_TEST_f_i): Likewise.
14738 (RUN_TEST_f_i_tg): Likewise.
14739 (RUN_TEST_ff_i_tg): Likewise.
14740 (RUN_TEST_f_b): Likewise.
14741 (RUN_TEST_f_b_tg): Likewise.
14742 (RUN_TEST_f_l): Likewise.
14743 (RUN_TEST_f_L): Likewise.
14744 (RUN_TEST_fFF_11): Likewise.
14745 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14746 conditionals.
14747 (cosh_test_data): Likewise.
14748 (exp_test_data): Likewise.
14749 (expm1_test_data): Likewise.
14750 (hypot_test_data): Likewise.
14751 (pow_test_data): Likewise.
14752 (sinh_test_data): Likewise.
14753 (tanh_test_data): Likewise.
14754 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14755 flags argument.
14756
ca07f197
JM
14757 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14758 tests with quiet NaN input and output.
14759 (acosh_test_data): Likewise.
14760 (asin_test_data): Likewise.
14761 (asinh_test_data): Likewise.
14762 (atan_test_data): Likewise.
14763 (atanh_test_data): Likewise.
14764 (atan2_test_data): Likewise.
14765 (cbrt_test_data): Likewise.
14766 (cos_test_data): Likewise.
14767 (cosh_test_data): Likewise.
14768 (erf_test_data): Likewise.
14769 (erfc_test_data): Likewise.
14770 (exp_test_data): Likewise.
14771 (exp10_test_data): Likewise.
14772 (exp2_test_data): Likewise.
14773 (expm1_test_data): Likewise.
14774 (hypot_test_data): Likewise.
14775 (j0_test_data): Likewise.
14776 (j1_test_data): Likewise.
14777 (jn_test_data): Likewise.
14778 (lgamma_test_data): Likewise.
14779 (log_test_data): Likewise.
14780 (log10_test_data): Likewise.
14781 (log1p_test_data): Likewise.
14782 (log2_test_data): Likewise.
14783 (pow_test_data): Likewise.
14784 (scalb_test_data): Likewise.
14785 (sin_test_data): Likewise.
14786 (sincos_test_data): Likewise.
14787 (sinh_test_data): Likewise.
14788 (tan_test_data): Likewise.
14789 (tanh_test_data): Likewise.
14790 (tgamma_test_data): Likewise.
14791 (y0_test_data): Likewise.
14792 (y1_test_data): Likewise.
14793 (yn_test_data): Likewise.
14794
66294491
JM
14795 [BZ #16167]
14796 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14797 argument being NaN and avoid computations with second argument in
14798 that case.
14799 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14800 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14801 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14802
1820b143
CL
148032013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14804
14805 * locale/iso-639.def: Add Chitwani Tharu (the).
14806
714bd261
AS
148072013-11-14 Andreas Schwab <schwab@suse.de>
14808
14809 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14810 word instead of empty string.
14811
7ab44563
AZ
148122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14813
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14815 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14817 (__fe_nomask_env): Likewise.
14818
e8470ea2
SE
148192013-11-13 Steve Ellcey <sellcey@mips.com>
14820
14821 * benchtests/bench-timing.h: Include time.h.
14822
17c1d9f0
L
148232013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14824
14825 [BZ #15997]
14826 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14827 to 3.4.0 for x32.
14828 * sysdeps/unix/sysv/linux/configure: Regenerated.
14829
9310c284
JM
148302013-11-13 Joseph Myers <joseph@codesourcery.com>
14831
14832 [BZ #16151]
14833 * stdlib/strtod_l.c (round_and_return): Do not consider
14834 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14835 exponent one less than half the least subnormal exponent.
14836 * stdlib/test-strtod-round-data: Add more tests.
14837 * stdlib/tst-strtod-round.c (tests): Regenerated.
14838
7a2ad8cf
AZ
148392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14840
14841 [BZ #14143]
14842 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14843 (__fe_mask_env): Likewise.
14844 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14845 libm_hidden_proto and add function prototype.
14846 (__fe_mask_env): Add function prototype.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14848 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14850 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14852 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14853
50727aa7
MS
148542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14855
b2f386c1 14856 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14857 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14858
a615be46
MS
148592013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14860
14861 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14862 of htab_find_slot().
14863
7ddace62
DM
148642013-11-11 David S. Miller <davem@davemloft.net>
14865
14866 [BZ #16150]
14867 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14868 symbol in the non-vis3 case in static builds.
14869 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14870 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14871 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14872 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14873
9182aa67
JK
148742013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14875
14876 [BZ #387]
14877 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14878 it is empty.
14879
450a2e2d
AZ
148802013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14881
b2f386c1
SP
14882 * benchtests/Makefile: Add bench-strtod.
14883 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14884
8ec3f656
AS
148852013-11-11 Andreas Schwab <schwab@suse.de>
14886
14887 [BZ #16153]
14888 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14889 terminating NUL in key length.
14890
76a9b998
AZ
148912013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14892
14893 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14894 Add artificial ODP entry for vDSO symbol for PPC64.
14895 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14896 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14897
e4368156
OB
148982013-11-07 Ondřej Bílka <neleai@seznam.cz>
14899
14900 [BZ #15374]
14901 * nss/getent.c (services_keys): Recognize services starting with digit.
14902
8d6bb57c
DM
149032013-11-06 David S. Miller <davem@davemloft.net>
14904
14905 [BZ #15985]
14906 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14907 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14908
e256c421
WN
149092013-11-06 Will Newton <will.newton@linaro.org>
14910
14911 * manual/memory.texi (Malloc Examples): Remove register
14912 keyword from examples.
14913
f6e12daa 149142013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14915
f6e12daa 14916 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14917
9d880655
AS
149182013-11-04 Joseph Myers <joseph@codesourcery.com>
14919
fd2f9486 14920 [BZ #6981]
9d880655
AS
14921 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14922 depending on [__GCC_IEC_559 > 0].
14923 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14924 depending on [__GCC_IEC_559_COMPLEX > 0].
14925
ae129d3c
CL
149262013-11-03 Chris Leonard <cjl@sugarlabs.org>
14927
14928 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14929 to iso-639.def.
14930
4a15c2a4 149312013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14932
14933 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14934
8b35e35d
OB
149352013-11-01 Ondřej Bílka <neleai@seznam.cz>
14936
14937 [BZ #16112]
14938 * malloc/malloc (malloc_info): Do not handle first bin as
14939 special case.
14940
1d70fd6c
CL
149412013-11-01 Chris Leonard <cjl@sugarlabs.org>
14942
14943 * locale/iso-639.def: Add Central Nahuatl (nhn).
14944
8c5c2600
BH
149452013-11-01 Bruno Haible <bruno@clisp.org>
14946
14947 [BZ #7003]
14948 * manual/math.texi (BSD Random): Specify range upper bound as
14949 in POSIX.
14950
da5579c2
CL
149512013-10-31 Chris Leonard <cjl@sugarlabs.org>
14952
14953 * locale/iso-639.def: Add Meadow Mari (mhr).
14954
5d30d853
OB
149552013-10-31 Ondřej Bílka <neleai@seznam.cz>
14956
14957 [BZ #14752], [BZ #15763]
14958 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14959 Validate name.
14960 * rt/tst_shm.c: Add test for escaping directory.
14961
a4966c61
AS
149622013-10-31 Andreas Schwab <schwab@suse.de>
14963
8a43e768 14964 [BZ #15917]
a4966c61
AS
14965 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14966 followed by 'x' as part of digit sequence.
14967 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14968
28d708c4
MAP
149692013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14970
14971 [BZ #16037]
14972 * configure.ac: allow GNU Make 4.0 and greater.
14973 * configure: Regenerated.
14974
a56ee40b
WN
149752013-10-30 Will Newton <will.newton@linaro.org>
14976
14977 [BZ #16038]
14978 * malloc/hooks.c (memalign_check): Limit alignment to the
14979 maximum representable power of two.
14980 * malloc/malloc.c (__libc_memalign): Likewise.
14981 * malloc/tst-memalign.c (do_test): Add test for very
14982 large alignment values.
14983 * malloc/tst-posix_memalign.c (do_test): Likewise.
14984
c6e4925d
OB
149852013-10-30 Ondřej Bílka <neleai@seznam.cz>
14986
14987 [BZ #11087]
14988 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14989 (munmap_chunk): Likewise.
14990 (mremap_chunk): Likewise.
14991
149922013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14993
8a43e768 14994 [BZ #15799]
bbea82f7
OB
14995 * stdlib/div.c (div): Remove obsolete code.
14996 * stdlib/ldiv.c (ldiv): Likewise.
14997 * stdlib/lldiv.c (lldiv): Likewise.
14998
977f4b31
SP
149992013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15000
15001 [BZ #16071]
15002 * nss/nss_files/files-XXX.c (get_contents_ret): New
15003 enumerator.
15004 (get_contents): New function.
15005 (internal_getent): Use it. Expand size of LINEBUFLEN.
15006
cb8a6dbd
MF
150072013-10-30 Mike Frysinger <vapier@gentoo.org>
15008
15009 * configure.in: Moved to ...
15010 * configure.ac: ... here. Change reference to configure.in
15011 to configure.ac.
15012 * sysdeps/arm/preconfigure.ac: ... here.
15013 configure.in to configure.ac.
15014 * sysdeps/gnu/configure.in: Moved to ...
15015 * sysdeps/gnu/configure.ac: ... here.
15016 * sysdeps/i386/configure.in: Moved to ...
15017 * sysdeps/i386/configure.ac: ... here.
15018 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15019 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15020 * sysdeps/mach/configure.in: Moved to ...
15021 * sysdeps/mach/configure.ac: ... here.
15022 * sysdeps/mach/hurd/configure.in: Moved to ...
15023 * sysdeps/mach/hurd/configure.ac: ... here.
15024 * sysdeps/powerpc/configure.in: Moved to ...
15025 * sysdeps/powerpc/configure.ac: ... here.
15026 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15027 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15028 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15029 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15030 * sysdeps/s390/s390-32/configure.in: Moved to ...
15031 * sysdeps/s390/s390-32/configure.ac: ... here.
15032 * sysdeps/s390/s390-64/configure.in: Moved to ...
15033 * sysdeps/s390/s390-64/configure.ac: ... here.
15034 * sysdeps/sh/configure.in: Moved to ...
15035 * sysdeps/sh/configure.ac: ... here.
15036 * sysdeps/sparc/configure.in: Moved to ...
15037 * sysdeps/sparc/configure.ac: ... here.
15038 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15039 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15040 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15041 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15042 * sysdeps/x86_64/configure.in: Moved to ...
15043 * sysdeps/x86_64/configure.ac: ... here.
15044 * sysdeps/x86_64/preconfigure.in: Moved to ...
15045 * sysdeps/x86_64/preconfigure.ac: ... here.
15046 * aclocal.m4: Change reference to configure.in to configure.ac.
15047 * config.h.in: Likewise.
15048 * manual/install.texi: Likewise.
15049 * manual/maint.texi: Likewise.
15050 * Makefile: Likewise.
15051 * malloc/Makefile: Likewise.
15052 * nscd/Makefile: Likewise.
15053 * Makeconfig: Change reference to configure.in and
15054 preconfigure.in to configure.ac and preconfigure.ac
15055 respectively.
15056 * INSTALL: Regenerated.
15057 * configure: Likewise.
15058 * sysdeps/gnu/configure: Likewise.
15059 * sysdeps/i386/configure: Likewise.
15060 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15061 * sysdeps/mach/configure: Likewise.
15062 * sysdeps/mach/hurd/configure: Likewise.
15063 * sysdeps/powerpc/configure: Likewise.
15064 * sysdeps/powerpc/powerpc32/configure: Likewise.
15065 * sysdeps/powerpc/powerpc64/configure: Likewise.
15066 * sysdeps/s390/s390-32/configure: Likewise.
15067 * sysdeps/s390/s390-64/configure: Likewise.
15068 * sysdeps/sh/configure: Likewise.
15069 * sysdeps/sparc/configure: Likewise.
15070 * sysdeps/unix/sysv/linux/configure: Likewise.
15071 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15072 * sysdeps/x86_64/configure: Likewise.
15073 * sysdeps/x86_64/preconfigure: Likewise.
15074
36a4953a
AS
150752013-10-29 Andreas Schwab <schwab@suse.de>
15076
15077 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15078
c79a1204
SP
150792013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15080
dfa1b402
SP
15081 * benchtests/pow-inputs: Add new inputs.
15082
54f73d9c
SP
15083 * benchtests/exp-inputs: Add new inputs.
15084
c79a1204
SP
15085 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15086 conditional check for return value.
15087 (__cos32): Likewise.
15088
67beb545 150892013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15090
15091 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15092 to provide a boost for large inputs with word alignment.
15093 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15094 implementation based on optimized PPC64 strcpy.
15095 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15096 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15097 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15098 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15099
151659f6
OB
151002013-10-25 Ondřej Bílka <neleai@seznam.cz>
15101
482a077e 15102 [BZ #2801]
151659f6
OB
15103 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15104
10b0f26b
OB
151052013-10-25 Ondřej Bílka <neleai@seznam.cz>
15106
15107 [BZ #14876]
15108 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15109 * time/tst-strptime.c (day_tests): Add testcase.
15110
ca42d35e
OB
151112013-10-25 Ondřej Bílka <neleai@seznam.cz>
15112
482a077e 15113 [BZ #14029]
ca42d35e
OB
15114 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15115
52e6d801
FB
151162013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15117
15118 [BZ #16074]
15119 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15120 MAP_FAILED on error.
15121
7cbcdb36
SP
151222013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15123
15124 [BZ #16072]
15125 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15126 heap for large requests.
15127
894f3f10
AM
151282013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15129
15130 [BZ #9954]
15131 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15132 result if the result has no associated interface.
15133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15134 interface for all 127.X.Y.Z addresses.
15135
b85545a6
CL
151362013-10-24 Chris Leonard <cjl@sugarlabs.org>
15137
15138 * locale/iso-639.def: Add Ligurian (lij)
15139
d1f23d46
OB
151402013-10-21 Ondřej Bílka <neleai@seznam.cz>
15141
15142 [BZ #15825]
15143 * sunrpc/rpc_main.c: Document rpcgen -5.
15144
4db5b08f
MS
151452013-10-19 Michael Stahl <mstahl@redhat.com>
15146
15147 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15148
a471e96a
OB
151492013-10-19 Ondřej Bílka <neleai@seznam.cz>
15150
d1f23d46 15151 [BZ #10278]
a471e96a
OB
15152 * posix/glob.c: Match only directories when trailing slash is present.
15153 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15154 (main): Add testcase.
15155
45c30c61
OB
151562013-10-19 Ondřej Bílka <neleai@seznam.cz>
15157
15158 [BZ #15670]
15159 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15160
484c12fb
CD
151612013-10-18 Carlos O'Donell <carlos@redhat.com>
15162
3d7dc513
CD
15163 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15164 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15165 AUTH_DES and cindex for FIPS 140-2.
15166 (DES Encryption): Add cindex FIPS 46-3.
15167
484c12fb
CD
15168 * locale/locarchive.h (struct locarhandle): Add fname.
15169 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15170 if an optional argument was specified to --list-archive,
15171 otherwise NULL.
15172 * locale/programs/locarchive.c (show_archive_content): Take new
15173 argument fname and pass it via ah.fname to open_archive.
15174 * locale/programs/localedef.h: Update decl.
15175 (open_archive): If AH->fname is non-null, open that file
15176 rather than the default file name, and don't ignore ENOENT.
15177 (create_archive): Set AH.fname to NULL.
15178 (delete_locales_from_archive): Likewise.
15179 (add_locales_to_archive): Likewise.
15180 * locale/programs/locfile.c (write_all_categories): Likewise.
15181
3c8325fb
JM
151822013-10-18 Joseph Myers <joseph@codesourcery.com>
15183 Aldy Hernandez <aldyh@redhat.com>
15184
15185 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15186 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15187 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15188 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15189 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15190 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15191 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15192 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15193 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15194 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15195 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15196 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15197 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15198 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15199 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15200 Likewise.
15201 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15202 Likewise.
15203 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15204 Likewise.
15205 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15206 Likewise.
15207 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15208 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15209 Likewise.
15210 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15211 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15212 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15213 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15214 Likewise.
15215 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15216 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15217 * sysdeps/powerpc/preconfigure: Likewise.
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15219 Likewise.
15220 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15221 Replace contents of file by #include of <fenv_libc.h>.
15222 * sysdeps/powerpc/soft-fp/sfp-machine.h
15223 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15224 and <sys/prctl.h>.
15225 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15233 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15234 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15235 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15236 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15238 Allow copysignl PLT reference to be missing.
15239
5abe0682
RS
152402013-10-18 Richard Sandiford <richard@codesourcery.com>
15241 Joseph Myers <joseph@codesourcery.com
15242
15243 [BZ #15948]
15244 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15245 single character.
15246 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15247
c7738d08
SP
152482013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15249
15250 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15251 * elf/tst-tls1.c: Likewise.
15252 * elf/tst-tls10.h: Likewise.
15253 * elf/tst-tls14.c: Likewise.
15254 * elf/tst-tls2.c: Likewise.
15255 * elf/tst-tls3.c: Likewise.
15256 * elf/tst-tls4.c: Likewise.
15257 * elf/tst-tls5.c: Likewise.
15258 * elf/tst-tls6.c: Likewise.
15259 * elf/tst-tls7.c: Likewise.
15260 * elf/tst-tls8.c: Likewise.
15261 * elf/tst-tls9.c: Likewise.
15262 * elf/tst-tlsmod1.c: Likewise.
15263 * elf/tst-tlsmod13.c: Likewise.
15264 * elf/tst-tlsmod13a.c: Likewise.
15265 * elf/tst-tlsmod14a.c: Likewise.
15266 * elf/tst-tlsmod16a.c: Likewise.
15267 * elf/tst-tlsmod16b.c: Likewise.
15268 * elf/tst-tlsmod2.c: Likewise.
15269 * elf/tst-tlsmod3.c: Likewise.
15270 * elf/tst-tlsmod4.c: Likewise.
15271 * elf/tst-tlsmod5.c: Likewise.
15272 * elf/tst-tlsmod6.c: Likewise.
15273
0bfcf2c7
OB
152742013-10-18 Ondřej Bílka <neleai@seznam.cz>
15275
15276 [BZ #12486]
15277 * malloc/malloc.c: remove checks for statistics.
15278
264aad1e
OB
152792013-10-17 Ondřej Bílka <neleai@seznam.cz>
15280
15281 [BZ #15277]
15282 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15283 * inet/tst-network.c: Add testcase.
15284
b957ced8
AS
152852013-10-17 Andreas Schwab <schwab@suse.de>
15286
15287 [BZ #15218]
15288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15289 to determine canonical name.
15290
c5d5d574
OB
152912013-10-17 Ondřej Bílka <neleai@seznam.cz>
15292
15293 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15294 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15295 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15317 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15318 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15323 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15351
e5c2c2d0
JM
153522013-10-17 Joseph Myers <joseph@codesourcery.com>
15353
15354 [BZ #16041]
15355 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15356 make result into a quiet NaN.
15357
51ca9e29
JM
153582013-10-16 Joseph Myers <joseph@codesourcery.com>
15359
15360 * soft-fp/adddf3.c: Fix horizontal whitespace.
15361 * soft-fp/addsf3.c: Likewise.
15362 * soft-fp/addtf3.c: Likewise.
15363 * soft-fp/divdf3.c: Likewise.
15364 * soft-fp/divsf3.c: Likewise.
15365 * soft-fp/divtf3.c: Likewise.
15366 * soft-fp/double.h: Likewise.
15367 * soft-fp/eqdf2.c: Likewise.
15368 * soft-fp/eqsf2.c: Likewise.
15369 * soft-fp/eqtf2.c: Likewise.
15370 * soft-fp/extenddftf2.c: Likewise.
15371 * soft-fp/extended.h: Likewise.
15372 * soft-fp/extendsfdf2.c: Likewise.
15373 * soft-fp/extendsftf2.c: Likewise.
15374 * soft-fp/extendxftf2.c: Likewise.
15375 * soft-fp/fixdfdi.c: Likewise.
15376 * soft-fp/fixdfsi.c: Likewise.
15377 * soft-fp/fixdfti.c: Likewise.
15378 * soft-fp/fixsfdi.c: Likewise.
15379 * soft-fp/fixsfsi.c: Likewise.
15380 * soft-fp/fixsfti.c: Likewise.
15381 * soft-fp/fixtfdi.c: Likewise.
15382 * soft-fp/fixtfsi.c: Likewise.
15383 * soft-fp/fixtfti.c: Likewise.
15384 * soft-fp/fixunsdfdi.c: Likewise.
15385 * soft-fp/fixunsdfsi.c: Likewise.
15386 * soft-fp/fixunsdfti.c: Likewise.
15387 * soft-fp/fixunssfdi.c: Likewise.
15388 * soft-fp/fixunssfsi.c: Likewise.
15389 * soft-fp/fixunssfti.c: Likewise.
15390 * soft-fp/fixunstfdi.c: Likewise.
15391 * soft-fp/fixunstfsi.c: Likewise.
15392 * soft-fp/fixunstfti.c: Likewise.
15393 * soft-fp/floatdidf.c: Likewise.
15394 * soft-fp/floatdisf.c: Likewise.
15395 * soft-fp/floatditf.c: Likewise.
15396 * soft-fp/floatsidf.c: Likewise.
15397 * soft-fp/floatsisf.c: Likewise.
15398 * soft-fp/floatsitf.c: Likewise.
15399 * soft-fp/floattidf.c: Likewise.
15400 * soft-fp/floattisf.c: Likewise.
15401 * soft-fp/floattitf.c: Likewise.
15402 * soft-fp/floatundidf.c: Likewise.
15403 * soft-fp/floatundisf.c: Likewise.
15404 * soft-fp/floatunditf.c: Likewise.
15405 * soft-fp/floatunsidf.c: Likewise.
15406 * soft-fp/floatunsisf.c: Likewise.
15407 * soft-fp/floatunsitf.c: Likewise.
15408 * soft-fp/floatuntidf.c: Likewise.
15409 * soft-fp/floatuntisf.c: Likewise.
15410 * soft-fp/floatuntitf.c: Likewise.
15411 * soft-fp/fmadf4.c: Likewise.
15412 * soft-fp/fmasf4.c: Likewise.
15413 * soft-fp/fmatf4.c: Likewise.
15414 * soft-fp/gedf2.c: Likewise.
15415 * soft-fp/gesf2.c: Likewise.
15416 * soft-fp/getf2.c: Likewise.
15417 * soft-fp/ledf2.c: Likewise.
15418 * soft-fp/lesf2.c: Likewise.
15419 * soft-fp/letf2.c: Likewise.
15420 * soft-fp/muldf3.c: Likewise.
15421 * soft-fp/mulsf3.c: Likewise.
15422 * soft-fp/multf3.c: Likewise.
15423 * soft-fp/negdf2.c: Likewise.
15424 * soft-fp/negsf2.c: Likewise.
15425 * soft-fp/negtf2.c: Likewise.
15426 * soft-fp/op-1.h: Likewise.
15427 * soft-fp/op-2.h: Likewise.
15428 * soft-fp/op-4.h: Likewise.
15429 * soft-fp/op-8.h: Likewise.
15430 * soft-fp/op-common.h: Likewise.
15431 * soft-fp/quad.h: Likewise.
15432 * soft-fp/single.h: Likewise.
15433 * soft-fp/soft-fp.h: Likewise.
15434 * soft-fp/sqrtdf2.c: Likewise.
15435 * soft-fp/sqrtsf2.c: Likewise.
15436 * soft-fp/sqrttf2.c: Likewise.
15437 * soft-fp/subdf3.c: Likewise.
15438 * soft-fp/subsf3.c: Likewise.
15439 * soft-fp/subtf3.c: Likewise.
15440 * soft-fp/truncdfsf2.c: Likewise.
15441 * soft-fp/trunctfdf2.c: Likewise.
15442 * soft-fp/trunctfsf2.c: Likewise.
15443 * soft-fp/trunctfxf2.c: Likewise.
15444 * soft-fp/unorddf2.c: Likewise.
15445 * soft-fp/unordsf2.c: Likewise.
15446 * soft-fp/unordtf2.c: Likewise.
15447
9ebb0332
JM
154482013-10-15 Joseph Myers <joseph@codesourcery.com>
15449
15450 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15451 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15452
4b1a6d8b
OB
154532013-10-15 Ondřej Bílka <neleai@seznam.cz>
15454
15455 * elf/dl-libc.c: Clear initfini list after freeing.
15456
1e145589
JM
154572013-10-14 Joseph Myers <joseph@codesourcery.com>
15458
15459 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15460 * soft-fp/addsf3.c: Likewise.
15461 * soft-fp/addtf3.c: Likewise.
15462 * soft-fp/divdf3.c: Likewise.
15463 * soft-fp/divsf3.c: Likewise.
15464 * soft-fp/divtf3.c: Likewise.
15465 * soft-fp/double.h: Likewise.
15466 * soft-fp/eqdf2.c: Likewise.
15467 * soft-fp/eqsf2.c: Likewise.
15468 * soft-fp/eqtf2.c: Likewise.
15469 * soft-fp/extenddftf2.c: Likewise.
15470 * soft-fp/extended.h: Likewise.
15471 * soft-fp/extendsfdf2.c: Likewise.
15472 * soft-fp/extendsftf2.c: Likewise.
15473 * soft-fp/extendxftf2.c: Likewise.
15474 * soft-fp/fixdfdi.c: Likewise.
15475 * soft-fp/fixdfsi.c: Likewise.
15476 * soft-fp/fixdfti.c: Likewise.
15477 * soft-fp/fixsfdi.c: Likewise.
15478 * soft-fp/fixsfsi.c: Likewise.
15479 * soft-fp/fixsfti.c: Likewise.
15480 * soft-fp/fixtfdi.c: Likewise.
15481 * soft-fp/fixtfsi.c: Likewise.
15482 * soft-fp/fixtfti.c: Likewise.
15483 * soft-fp/fixunsdfdi.c: Likewise.
15484 * soft-fp/fixunsdfsi.c: Likewise.
15485 * soft-fp/fixunsdfti.c: Likewise.
15486 * soft-fp/fixunssfdi.c: Likewise.
15487 * soft-fp/fixunssfsi.c: Likewise.
15488 * soft-fp/fixunssfti.c: Likewise.
15489 * soft-fp/fixunstfdi.c: Likewise.
15490 * soft-fp/fixunstfsi.c: Likewise.
15491 * soft-fp/fixunstfti.c: Likewise.
15492 * soft-fp/floatdidf.c: Likewise.
15493 * soft-fp/floatdisf.c: Likewise.
15494 * soft-fp/floatditf.c: Likewise.
15495 * soft-fp/floatsidf.c: Likewise.
15496 * soft-fp/floatsisf.c: Likewise.
15497 * soft-fp/floatsitf.c: Likewise.
15498 * soft-fp/floattidf.c: Likewise.
15499 * soft-fp/floattisf.c: Likewise.
15500 * soft-fp/floattitf.c: Likewise.
15501 * soft-fp/floatundidf.c: Likewise.
15502 * soft-fp/floatundisf.c: Likewise.
15503 * soft-fp/floatunsidf.c: Likewise.
15504 * soft-fp/floatunsisf.c: Likewise.
15505 * soft-fp/floatuntidf.c: Likewise.
15506 * soft-fp/floatuntisf.c: Likewise.
15507 * soft-fp/floatuntitf.c: Likewise.
15508 * soft-fp/fmadf4.c: Likewise.
15509 * soft-fp/fmasf4.c: Likewise.
15510 * soft-fp/fmatf4.c: Likewise.
15511 * soft-fp/gedf2.c: Likewise.
15512 * soft-fp/gesf2.c: Likewise.
15513 * soft-fp/getf2.c: Likewise.
15514 * soft-fp/ledf2.c: Likewise.
15515 * soft-fp/lesf2.c: Likewise.
15516 * soft-fp/letf2.c: Likewise.
15517 * soft-fp/muldf3.c: Likewise.
15518 * soft-fp/mulsf3.c: Likewise.
15519 * soft-fp/multf3.c: Likewise.
15520 * soft-fp/negdf2.c: Likewise.
15521 * soft-fp/negsf2.c: Likewise.
15522 * soft-fp/negtf2.c: Likewise.
15523 * soft-fp/op-1.h: Likewise.
15524 * soft-fp/op-2.h: Likewise.
15525 * soft-fp/op-4.h: Likewise.
15526 * soft-fp/op-8.h: Likewise.
15527 * soft-fp/op-common.h: Likewise.
15528 * soft-fp/quad.h: Likewise.
15529 * soft-fp/single.h: Likewise.
15530 * soft-fp/soft-fp.h: Likewise.
15531 * soft-fp/sqrtdf2.c: Likewise.
15532 * soft-fp/sqrtsf2.c: Likewise.
15533 * soft-fp/sqrttf2.c: Likewise.
15534 * soft-fp/subdf3.c: Likewise.
15535 * soft-fp/subsf3.c: Likewise.
15536 * soft-fp/subtf3.c: Likewise.
15537 * soft-fp/truncdfsf2.c: Likewise.
15538 * soft-fp/trunctfdf2.c: Likewise.
15539 * soft-fp/trunctfsf2.c: Likewise.
15540 * soft-fp/trunctfxf2.c: Likewise.
15541 * soft-fp/unorddf2.c: Likewise.
15542 * soft-fp/unordsf2.c: Likewise.
15543 * soft-fp/unordtf2.c: Likewise.
15544
17c48a60
OB
155452013-10-14 Ondřej Bílka <neleai@seznam.cz>
15546
15547 [BZ #15672]
15548 * misc/error.c (error_tail): Fix possible buffer overflow.
15549
cabba934
OB
155502013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15551
15552 [BZ #13028]
15553 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15554 address.
15555
94bf958a
PM
155562013-10-14 P. J. McDermott <pj@pehjota.net>
15557
15558 [BZ #832]
15559 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15560 testing pipefail option.
15561
71b4dea7
JM
155622013-10-12 Joseph Myers <joseph@codesourcery.com>
15563
15564 * soft-fp/double.h: Indent preprocessor directives inside #if.
15565 * soft-fp/extended.h: Likewise.
15566 * soft-fp/op-2.h: Likewise.
15567 * soft-fp/op-4.h: Likewise.
15568 * soft-fp/op-common.h: Likewise.
15569 * soft-fp/quad.h: Likewise.
15570 * soft-fp/single.h: Likewise.
15571 * soft-fp/soft-fp.h: Likewise.
15572
55602758
YC
155732013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15574
15575 * iconv/iconv_prog.c: Fix typos.
15576 * stdio-common/psiginfo-data.h: Likewise.
15577
9cd83302
RT
155782013-10-12 Reuben Thomas <rrt@sc3d.org>
15579
15580 [BZ #15764]
15581 * locale/setlocale.c: Fix typo.
15582
99fd9f47
JM
155832013-10-12 Joseph Myers <joseph@codesourcery.com>
15584
b7ea74f0
JM
15585 [BZ #16036]
15586 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15587 signaling NaN arguments.
15588 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15589 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15590
8a509447
JM
15591 [BZ #14910]
15592 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15593 unordered operands.
15594 * soft-fp/gesf2.c (__gesf2): Likewise.
15595 * soft-fp/getf2.c (__getf2): Likewise.
15596 * soft-fp/ledf2.c (__ledf2): Likewise.
15597 * soft-fp/lesf2.c (__lesf2): Likewise.
15598 * soft-fp/letf2.c (__letf2): Likewise.
15599
98998e9f
JM
15600 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15601 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15602 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15603 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15604 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15605 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15606 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15607 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15608 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15609 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15610 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15611 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15612 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15613 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15614 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15615 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15616 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15617 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15618 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15619 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15620 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15621 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15622 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15623 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15624 * soft-fp/floattidf.c (__floattidf): Likewise.
15625 * soft-fp/floattisf.c (__floattisf): Likewise.
15626 * soft-fp/floattitf.c (__floattitf): Likewise.
15627 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15628 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15629 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15630 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15631 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15632 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15633 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15634 * soft-fp/gesf2.c (__gesf2): Likewise.
15635 * soft-fp/getf2.c (__getf2): Likewise.
15636 * soft-fp/ledf2.c (__ledf2): Likewise.
15637 * soft-fp/lesf2.c (__lesf2): Likewise.
15638 * soft-fp/letf2.c (__letf2): Likewise.
15639
8edc4a11
JM
15640 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15641 Undefine and redefine.
15642 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15643 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15644 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15645 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15646 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15647 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15648 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15649 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15650 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15651 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15652 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15653 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15654 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15655 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15656 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15657
8399acaf
JM
15658 [BZ #16032]
15659 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15660 without decrementing exponent if mantissa >= that for the
15661 denominator, not >.
15662 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15663 denominator, not >. Decrement exponent in < case instead of
15664 incrementing in >= case.
15665 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15666 without decrementing exponent if mantissa >= that for the
15667 denominator, not >.
15668
99fd9f47
JM
15669 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15670 computing saturated result for unsigned overflow.
15671
10e1cf6b
SP
156722013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15673 Jeff Law <law@redhat.com>
15674
15675 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15676 (atan2Mp): Add systemtap probe marker.
15677 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15678 (__ieee754_log): Add systemtap probe marker.
15679 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15680 (atanMp): Add systemtap probe marker.
15681 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15682 (tanMp): Add systemtap probe marker.
15683 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15684 (__slowexp): Add systemtap probe marker.
15685 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15686 (__slowpow): Add systemtap probe marker.
15687 * manual/probes.texi: Document probes.
15688
3d110c7c
EB
156892013-10-11 Eric Biggers <ebiggers3@gmail.com>
15690
15691 [BZ #15362]
15692 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15693 written.
15694 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15695 written.
15696 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15697 written to buffer but not flushed.
15698 * libio/iofwrite_u.c: Likewise.
15699 * libio/iopadn.c: Return bytes returned even if EOF was
15700 encountered.
15701 * libio/iowpadn.c: Likewise.
15702 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15703 if _IO_padn does not write the whole buffer.
15704 [!COMPILE_WPRINTF] (PAD): Likewise.
15705
75b4202a
DM
157062013-10-10 David S. Miller <davem@davemloft.net>
15707
15708 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15709 directory block.
15710
6c6352e6
JM
157112013-10-10 Joseph Myers <joseph@codesourcery.com>
15712
33b853c3
JM
15713 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15714 instead of FSF address.
15715 * soft-fp/fixdfti.c: Likewise.
15716 * soft-fp/fixsfti.c: Likewise.
15717 * soft-fp/fixtfti.c: Likewise.
15718 * soft-fp/fixunsdfti.c: Likewise.
15719 * soft-fp/fixunssfti.c: Likewise.
15720 * soft-fp/fixunstfti.c: Likewise.
15721 * soft-fp/floattidf.c: Likewise.
15722 * soft-fp/floattisf.c: Likewise.
15723 * soft-fp/floattitf.c: Likewise.
15724 * soft-fp/floatuntidf.c: Likewise.
15725 * soft-fp/floatuntisf.c: Likewise.
15726 * soft-fp/floatuntitf.c: Likewise.
15727 * soft-fp/trunctfxf2.c: Likewise.
15728
6c6352e6
JM
15729 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15730 * soft-fp/fixdfti.c: Likewise.
15731 * soft-fp/fixsfti.c: Likewise.
15732 * soft-fp/fixtfti.c: Likewise.
15733 * soft-fp/fixunsdfti.c: Likewise.
15734 * soft-fp/fixunssfti.c: Likewise.
15735 * soft-fp/fixunstfti.c: Likewise.
15736 * soft-fp/floattidf.c: Likewise.
15737 * soft-fp/floattisf.c: Likewise.
15738 * soft-fp/floattitf.c: Likewise.
15739 * soft-fp/floatuntidf.c: Likewise.
15740 * soft-fp/floatuntisf.c: Likewise.
15741 * soft-fp/floatuntitf.c: Likewise.
15742 * soft-fp/trunctfxf2.c: Likewise.
15743
3bf78b71
DM
157442013-10-10 David S. Miller <davem@davemloft.net>
15745
15746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15747
6f10289e
JM
157482013-10-10 Joseph Myers <joseph@codsourcery.com>
15749
bd878fc0
JM
15750 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15751 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15752 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15753 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15754 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15755 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15756 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15757
6f10289e
JM
15758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15759 for NaNs before doing comparisons on argument.
15760 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15761 Likewise.
15762
321e2684
WN
157632013-10-10 Will Newton <will.newton@linaro.org>
15764
15765 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15766 passed to _int_memalign does not overflow.
15767
40fefba1
TR
157682013-10-10 Torvald Riegel <triegel@redhat.com>
15769
15770 * scripts/bench.pl: Add include-sources directive.
15771 * benchtests/README: Update documentation.
15772
2ae21ed2
JM
157732013-10-10 Joseph Myers <joseph@codesourcery.com>
15774
dcc2dd3f
JM
15775 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15776 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15777 instead of FP_INIT_ROUNDMODE.
15778 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15779 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15780
2ae21ed2
JM
15781 [BZ #16034]
15782 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15783 copy class of input value.
15784 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15785 not handle exceptions.
15786 * soft-fp/negsf2.c (__negsf2): Likewise.
15787 * soft-fp/negtf2.c (__negtf2): Likewise.
15788 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15789
cb8f9562
JM
157902013-10-09 Joseph Myers <joseph@codesourcery.com>
15791
15792 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15793 semicolon. From Linux kernel.
15794
5b60c59d
AB
157952013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15796
15797 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15798
b86835ca
YC
157992013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15800
15801 [BZ #156]
15802 * manual/socket.texi: Added statement about buffer
15803 for gethostbyname2_r.
15804
e7044ea7
OB
158052013-10-08 Ondřej Bílka <neleai@seznam.cz>
15806
15807 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15808 Use .p2align directive instead, throughout.
15809 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15810 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15811 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15812 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15813 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15814 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15815 * sysdeps/x86_64/strchr.S: Likewise.
15816 * sysdeps/x86_64/strrchr.S: Likewise.
15817
09544cbc
SP
158182013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15819
88576635
SP
15820 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15821
e7b2d1dd
SP
15822 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15823
09544cbc
SP
15824 * sysdeps/generic/math_private.h (__mpsin1): Remove
15825 declaration.
15826 (__mpcos1): Likewise.
15827 (__mpsin): New argument __range_reduce.
15828 (__mpcos): Likewise.
15829 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15830 (slow): Use __mpsin and __mpcos.
15831 (slow1): Likewise.
15832 (slow2): Likewise.
15833 (sloww): Likewise.
15834 (sloww1): Likewise.
15835 (sloww2): Likewise.
15836 (bsloww): Likewise.
15837 (bsloww1): Likewise.
15838 (bsloww2): Likewise.
15839 (cslow2): Likewise.
15840 (csloww): Likewise.
15841 (csloww1): Likewise.
15842 (csloww2): Likewise.
15843 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15844 range_reduce. Merge in __mpsin1.
15845 (__mpcos): Likewise.
15846 (__mpsin1): Remove.
15847 (__mpcos1): Likewise.
15848
7602d070
JM
158492013-10-07 Joseph Myers <joseph@codesourcery.com>
15850
15851 * locale/loadlocale.c (_nl_intern_locale_data): Use
15852 LOCFILE_ALIGNED_P.
15853 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15854 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15855 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15856 obstack data is appropriately aligned.
15857 (obstack_int32_grow_fast): Likewise.
15858 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15859 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15860 (add_locale_uint32_array): Likewise.
15861
a357259b
SP
158622013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15863
15864 * benchtests/Makefile: Remove ARGLIST and RET variables.
15865 ($(objpfx)bench-%.c): Pass only function name to the script.
15866 * benchtests/README: Update documentation.
15867 * benchtests/acos-inputs: Add new directives.
15868 * benchtests/acosh-inputs: Likewise.
15869 * benchtests/asin-inputs: Likewise.
15870 * benchtests/asinh-inputs: Likewise.
15871 * benchtests/atan-inputs: Likewise.
15872 * benchtests/atanh-inputs: Likewise.
15873 * benchtests/cos-inputs: Likewise.
15874 * benchtests/cosh-inputs: Likewise.
15875 * benchtests/exp-inputs: Likewise.
15876 * benchtests/log-inputs: Likewise.
15877 * benchtests/pow-inputs: Likewise.
15878 * benchtests/rint-inputs: Likewise.
15879 * benchtests/sin-inputs: Likewise.
15880 * benchtests/sinh-inputs: Likewise.
15881 * benchtests/tan-inputs: Likewise.
15882 * benchtests/tanh-inputs: Likewise.
15883 * scripts/bench.pl: Add support for new directives.
15884
9ec1b13d
AM
158852013-10-07 Alan Modra <amodra@gmail.com>
15886
15887 * README: Fix careless merge.
15888
8b7d57cd
AM
158892013-10-05 Alan Modra <amodra@gmail.com>
15890
15891 * NEWS: Mention powerpc64le support and bugs fixed.
15892 * README: Both big-endian and little-endian powerpc64 supported.
15893
7b7bab13
ST
158942013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15895
57f41c40
AS
15896 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15897 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15898 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15899 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15900
d39baad1
RA
159012013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15902
15903 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15904 match prototype.
15905
cd78f7e7
JM
159062013-10-04 Joseph Myers <joseph@codesourcery.com>
15907
29d73d86
JM
15908 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15909 Move -mhard-float appending from
15910 ports/sysdeps/powerpc/powerpc32/Makefile.
15911 [$(with-fp) = yes] (ASFLAGS): Likewise.
15912 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15913 * sysdeps/powerpc/nofpu: Move directory from
15914 ports/sysdeps/powerpc/nofpu.
15915 * sysdeps/powerpc/soft-fp: Move directory from
15916 ports/sysdeps/powerpc/soft-fp.
15917 * sysdeps/powerpc/powerpc32/405: Move directory from
15918 ports/sysdeps/powerpc/powerpc32/405.
15919 * sysdeps/powerpc/powerpc32/440: Move directory from
15920 ports/sysdeps/powerpc/powerpc32/440.
15921 * sysdeps/powerpc/powerpc32/464: Move directory from
15922 ports/sysdeps/powerpc/powerpc32/464.
15923 * sysdeps/powerpc/powerpc32/476: Move directory from
15924 ports/sysdeps/powerpc/powerpc32/476.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15926 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15928 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15930 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15932 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15934 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15935 * README: Update for powerpc-*-linux-gnu software floating point
15936 support in libc.
15937
e246b347
JM
15938 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15939 case to powerpc/powerpc32*.
15940 * sysdeps/unix/sysv/linux/configure: Regenerated.
15941
89c2003e
JM
15942 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15943 (_FPU_MASK_OM): Define as 0x04.
15944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15946 0x00c10080.
15947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15948 0x0000003c.
15949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15950
cd78f7e7
JM
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15952 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15953 getcontext_e500.
15954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15955 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15956 setcontext_e500.
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15958 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15959 and setcontext_e500.
15960
c755294d
CL
159612013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15962
15963 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15964
e16d221c
SP
159652013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15966
15967 * manual/threads.texi (Default Thread Attributes): Fix typo.
15968
215c7d43
WN
159692013-10-04 Will Newton <will.newton@linaro.org>
15970
15971 * malloc/Makefile: Add tst-memalign.
15972 * malloc/tst-memalign.c: New file.
15973
27d0461b
WN
15974 * malloc/tst-posix_memalign.c: Add comments.
15975 (do_test): Add comments and call free on all potentially
15976 allocated pointers. Add space after cast.
15977
1bc92709
WN
15978 * malloc/tst-pvalloc.c: Add comments.
15979 (do_test): Add comments and call free on all potentially
15980 allocated pointers. Remove duplicate check for NULL pointer.
15981 Add space after cast.
15982
66a9be9d
WN
15983 * malloc/tst-valloc.c: Add comments.
15984 (do_test): Add comments and call free on all potentially
15985 allocated pointers. Remove duplicate check for NULL pointer.
15986 Add space after cast.
15987
4cb81307
AM
159882013-10-04 Alan Modra <amodra@gmail.com>
15989
15990 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15991 Use stdint types in rather than __attribute__((mode())).
15992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15993
f8e3e9f3
AM
159942013-10-04 Alan Modra <amodra@gmail.com>
15995
15996 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15997 Correct handling of unaligned relocs for little-endian.
15998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15999
8f9ebb08
AM
160002013-10-04 Alan Modra <amodra@gmail.com>
16001
16002 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16003 * configure: Regenerate.
16004 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16005 * shlib-versions: Likewise.
16006
0edf96c2
AM
160072013-10-04 Alan Modra <amodra@gmail.com>
16008
16009 * string/tester.c (test_memrchr): Increment reported test cycle.
16010
e0f7a380
AM
160112013-10-04 Alan Modra <amodra@gmail.com>
16012
16013 * string/test-memcpy.c (do_one_test): When reporting errors, print
16014 string address and don't overrun end of string.
16015
466b0393
AM
160162013-10-04 Alan Modra <amodra@gmail.com>
16017
16018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16019 insrdi. Make better use of reg selection to speed exit slightly.
16020 Schedule entry path a little better. Remove useless "are we done"
16021 checks on entry to main loop. Handle wrapping around zero address.
16022 Correct main loop count. Handle single left-over word from main
16023 loop inline rather than by using loop_small. Remove extra word
16024 case in loop_small caused by wrong loop count. Add little-endian
16025 support.
16026 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16027 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16028 cache hint.
16029 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16030 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16031 support. Avoid rlwimi.
16032 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16033
3be87c77
AM
160342013-10-04 Alan Modra <amodra@gmail.com>
16035
16036 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16037 insrdi. Formatting.
3be87c77
AM
16038 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16039 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16040 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16041 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16042 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16043 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16044
759cfef3
AM
160452013-10-04 Alan Modra <amodra@gmail.com>
16046
16047 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16049 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16050 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16056 use of regs. Use power7 mtocrf. Tidy function tails.
16057
fe6e95d7
AM
160582013-10-04 Alan Modra <amodra@gmail.com>
16059
16060 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16061 Formatting. Consistently use rXXX register defines or rN defines.
16062 Use early exit labels that avoid restoring unused non-volatile regs.
16063 Make cr field use more consistent with rWORDn compares. Rename
16064 regs used as shift registers for unaligned loop, using rN defines
16065 for short lifetime/multiple use regs.
16066 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16067 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16068 addi 1,1,64 to pop stack frame. Simplify return value code.
16069 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16070
664318c3
AM
160712013-10-04 Alan Modra <amodra@gmail.com>
16072
16073 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16074 support. Correct typos, formatting. Optimize tail. Use insrdi
16075 rather than rlwimi.
16076 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16077 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16078 little-endian support. Correct typos.
16079 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16080 rather than rlwimi.
16081 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16082 in loop and entry code to keep "and." results.
16083 (strchr): Add little-endian support. Comment. Move cntlzd
16084 earlier in tail.
16085 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16086
43b84013
AM
160872013-10-04 Alan Modra <amodra@gmail.com>
16088
16089 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16090 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16091 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16092 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16093
8a7413f9
AM
160942013-10-04 Alan Modra <amodra@gmail.com>
16095
16096 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16097 (rTMP): Define as r11.
16098 (strcmp): Add little-endian support. Optimise tail.
16099 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16100 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16101 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16102 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16103 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16106
33ee81de
AM
161072013-10-04 Alan Modra <amodra@gmail.com>
16108
16109 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16110 little-endian support. Remove unnecessary "are we done" tests.
16111 Handle "s" wrapping around zero and extremely large "size".
16112 Correct main loop count. Handle single left-over word from main
16113 loop inline rather than by using small_loop. Correct comments.
16114 Delete "zero" tail, use "end_max" instead.
16115 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16116
db9b4570
AM
161172013-10-04 Alan Modra <amodra@gmail.com>
16118
16119 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16120 support. Don't branch over align.
16121 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16122 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16123 support. Rearrange tmp reg use to suit. Comment.
16124 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16125
f7c399cf
AM
161262013-10-04 Alan Modra <amodra@gmail.com>
16127
16128 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16129
0b2c2ace
AM
161302013-10-04 Alan Modra <amodra@gmail.com>
16131
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16133 conditional form of branch and link when obtaining pc.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16135
02f04a6c
AM
161362013-10-04 Alan Modra <amodra@gmail.com>
16137
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16139 HIWORD/LOWORD.
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16142
9b874b2f
AM
161432013-10-04 Alan Modra <amodra@gmail.com>
16144
16145 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16146 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16147 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16148 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16149 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16150 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16151 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16152 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16153 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16154 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16155
be1e5d31
AB
161562013-10-04 Anton Blanchard <anton@au1.ibm.com>
16157 Alistair Popple <alistair@ozlabs.au.ibm.com>
16158 Alan Modra <amodra@gmail.com>
16159
16160 [BZ #15723]
16161 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16162 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16163 _dl_hwcap access for little-endian.
16164 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16165 destroy vmx regs when saving unaligned.
16166 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16167 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16168 destroy vmx regs when saving unaligned.
16169
fef13a78
AM
161702013-10-04 Alan Modra <amodra@gmail.com>
16171
16172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16173 Don't use a union to pack hi/low value.
16174
76a66d51
AB
161752013-10-04 Anton Blanchard <anton@au1.ibm.com>
16176
16177 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16178 for little-endian.
16179 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16181 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16182 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16183 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16184
6a31fe7f
AM
161852013-10-04 Alan Modra <amodra@gmail.com>
16186
16187 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16188 constants to usual value for .cst8 section, and remove redundant
16189 high address load.
16190 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16191 constant for 0x1p52. Load little-endian words of double from
16192 correct stack offsets.
16193
7b88401f
AM
161942013-10-04 Alan Modra <amodra@gmail.com>
16195
16196 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16197 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16198 words of double from correct stack offsets.
16199 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16200 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16201 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16202 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16203 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16204 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16205 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16206 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16207 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16208 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16209 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16210 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16211 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16212 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16213 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16214 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16215 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16216
9c008155
AM
162172013-10-04 Alan Modra <amodra@gmail.com>
16218
16219 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16220 64-bit int/double union.
16221 (_FPU_SETCW): Likewise.
16222 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16223 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16224
da13146d
AM
162252013-10-04 Alan Modra <amodra@gmail.com>
16226
16227 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16228 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16229
603e8410
AM
162302013-10-04 Alan Modra <amodra@gmail.com>
16231
16232 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16233 use vector int constants.
16234 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16235
4a28b3ca
AB
162362013-10-04 Anton Blanchard <anton@au1.ibm.com>
16237
16238 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16239 array with long long.
16240 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16241 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16242 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16243 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16244 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16245 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16246 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16247 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16248 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16249 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16250 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16251 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16252 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16253
2ca85d2b
AB
162542013-10-04 Anton Blanchard <anton@au1.ibm.com>
16255
16256 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16257 (__signbit): Likewise. Correct for little-endian.
16258 (__signbitl): Call __signbit.
16259 (lrint): Correct for little-endian.
16260 (lrintf): Call lrint.
16261
62a728ae
AM
162622013-10-04 Alan Modra <amodra@gmail.com>
16263
16264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16265 union 32-bit int array member with 64-bit int array.
16266 (t515, tm256): Double rather than long double.
16267 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16268
32c301df
AM
162692013-10-04 Alan Modra <amodra@gmail.com>
16270
16271 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16272 Delete.
16273 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16275 version of math_ldbl.h.
16276
650ef4bd
AM
162772013-10-04 Alan Modra <amodra@gmail.com>
16278
16279 [BZ #15734], [BZ #15735]
16280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16281 all uses of ieee875 long double macros and unions. Simplify test
16282 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16283 ldbl_extract_mantissa value for ix,iy exponents. Properly
16284 normalize after ldbl_extract_mantissa, and don't add hidden bit
16285 already handled. Don't treat low word of ieee854 mantissa like
16286 low word of IBM long double and mask off bit when testing for
16287 zero.
16288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16289 all uses of ieee875 long double macros and unions. Simplify tests
16290 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16291 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16292 two1022, instead use their values. Recognise that tests for large
16293 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16294 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16295 Rewrite all uses of ieee875 long double macros and unions. Simplify
16296 test for 0.0L and nan. Correct negation.
16297 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16298 ieee875 long double macros and unions. Correct output for large
16299 magnitude x. Correct absolute value calculation.
16300 (__erfcl): Likewise.
16301 * math/libm-test.inc: Add tests for errors discovered in IBM long
16302 double versions of fmodl, remainderl, erfl and erfcl.
16303
765714ca
AM
163042013-10-04 Alan Modra <amodra@gmail.com>
16305
16306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16307 all uses of ieee854 long double macros and unions. Simplify tests
16308 for long doubles that are fully specified by the high double.
16309 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16310 Likewise.
16311 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16312 Remove dead code too.
16313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16314 (__ieee754_ynl): Likewise.
16315 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16318 Remove dead code too.
16319 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16323 Simplify.
16324 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16325 Simplify.
16326 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16329 Comment on variable precision.
16330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16332 Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16337 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16338
4ebd120c
AM
163392013-10-04 Alan Modra <amodra@gmail.com>
16340
16341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16342 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16343 all uses of ieee854 long double macros and unions.
16344 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16350 Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16357 Simplify sign and nan test too.
16358 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16359 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16362 Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16364 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16365 Likewise.
16366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16367 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16372
1b6adf88
AM
163732013-10-04 Alan Modra <amodra@gmail.com>
16374
16375 * stdio-common/printf_size.c (__printf_size): Don't use
16376 union ieee854_long_double in fpnum union.
16377 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16378 signbit macro to retrieve sign from long double.
16379 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16380 retrieve sign from long double.
16381 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16382 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16383 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16384 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16385 * math/test-misc.c (main): Don't use union ieee854_long_double.
16386
4cf69995
AM
163872013-10-04 Alan Modra <amodra@gmail.com>
16388
16389 [BZ #15680]
16390 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16391 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16392 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16393 calculation. Remove unnecessary test for denormal exponent.
16394 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16395 Correct handling of denormals. Avoid undefined shift behaviour.
16396 Correct normalisation of low mantissa when low double is denormal.
16397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16398 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16399 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16400 Correct normalisation of low mantissa. Test for overflow of high
16401 mantissa and normalise.
16402 (ldbl_nearbyint): Use more readable constant for two52.
16403 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16404 (__mpn_construct_long_double): Fix test for overflow of high
16405 mantissa and correct normalisation. Avoid undefined shift.
16406
9605ca6c
AM
164072013-10-04 Alan Modra <amodra@gmail.com>
16408
16409 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16410 (union ibm_extended_long_double): Define as an array of ieee754_double.
16411 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16412 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16413 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16414 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16419 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16421 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16422
975569d0
JM
164232013-10-03 Joseph Myers <joseph@codesourcery.com>
16424
d3d23756
JM
16425 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16426 page size instead of calling getpagesize.
16427
975569d0
JM
16428 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16429 (LOCFILE_ALIGN_MASK): Likewise.
16430 (LOCFILE_ALIGN_UP): Likewise.
16431 (LOCFILE_ALIGNED_P): Likewise.
16432 * locale/programs/ld-collate.c (collate_output): Use the new
16433 macros instead of __alignof__ (int32_t).
16434 * locale/weight.h (findidx): Likewise.
16435
b1fe1f2b
OB
164362013-10-03 Ondřej Bílka <neleai@seznam.cz>
16437
16438 [BZ #431]
16439 * manual/string.texi: Fix strncat and wcsncat.
16440
5f855e35
BM
164412013-10-03 Brooks Moses <bmoses@google.com>
16442
16443 [BZ #15915]
16444 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16445 * Makerules: ...here, and adjust associated comments.
16446
3cef6009
WN
164472013-10-02 Will Newton <will.newton@linaro.org>
16448
16449 * malloc/Makefile: Add tst-pvalloc.
16450 * malloc/tst-pvalloc.c: New file.
16451
7815420b
WN
164522013-10-02 Will Newton <will.newton@linaro.org>
16453
16454 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16455 improve test coverage.
16456
4868b204
WN
164572013-10-02 Will Newton <will.newton@linaro.org>
16458
16459 * malloc/Makefile: Add tst-posix_memalign.
16460 * malloc/tst-posix_memalign.c: New file.
16461
29c793b3
EB
164622013-10-01 Eric Blake <eblake@redhat.com>
16463
16464 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16465 Use __THROWNL rather than __THROW on static functions.
16466
fd967522
PM
164672013-09-30 Petr Machata <pmachata@redhat.com>
16468
16469 * elf/elf.h (R_AARCH64_ABS16): New macro.
16470 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16471 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16472 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16473 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16474 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16475 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16476 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16477 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16478 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16479 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16480 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16481 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16482 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16483 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16484 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16485 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16486 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16487 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16488 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16489 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16490 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16491 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16492 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16493 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16494 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16495 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16496 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16497 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16498 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16499 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16500 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16501 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16502 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16503 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16504 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16505 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16506 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16507 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16508 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16509 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16510 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16511 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16512 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16513 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16514 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16515 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16516 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16517 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16518 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16519 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16520 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16521 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16522 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16523 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16524 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16525 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16526 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16527 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16528 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16529 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16530 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16531 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16532 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16533 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16534 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16535 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16536 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16537 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16538 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16539 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16540 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16541 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16542 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16543 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16544 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16545 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16546 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16547 (R_AARCH64_TLSDESC_LDR): Likewise.
16548 (R_AARCH64_TLSDESC_ADD): Likewise.
16549 (R_AARCH64_TLSDESC_CALL): Likewise.
16550
b2179107
AS
165512013-09-30 Andreas Schwab <schwab@suse.de>
16552
16553 [BZ #15048]
16554 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16555 the nss database lookup.
16556 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16558
47f28d0a
MF
165592013-09-28 Mike Frysinger <vapier@gentoo.org>
16560
16561 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16562
165632013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16564
16565 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16566 ${Bash-specific parameter/pattern/string} parameter expansion.
16567 * sysdeps/unix/make-syscalls.sh: Likewise.
16568
f4518a17
KK
165692013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16570
16571 * sysdeps/sh/stackguard-macros.h: New file.
16572
dc1a95c7
OB
165732013-09-26 Ondřej Bílka <neleai@seznam.cz>
16574
16575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16577 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16578 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16579 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16580 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16581
5ebbff8f
AZ
165822013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16583
16584 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16585 Fix thread ID register.
16586
4fd2cf9f
JM
165872013-09-25 Joseph Myers <joseph@codesourcery.com>
16588
16589 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16590 [POSIX || UNIX98]: Require rather than permitting all symbols from
16591 <time.h>.
16592 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16593 element of struct sched_param.
16594 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16595 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16596 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16597 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16598 constant.
16599
12c22bc4
OL
166002013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16601
16602 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16603 argument calculation.
16604
a03d8ea7
JM
166052013-09-24 Joseph Myers <joseph@codesourcery.com>
16606
16607 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16608 Expect macro.
16609 [POSIX] (pthread_attr_t): Do not require type.
16610 [POSIX] (pthread_cond_t): Likewise.
16611 [POSIX] (pthread_condattr_t): Likewise.
16612 [POSIX] (pthread_key_t): Likewise.
16613 [POSIX] (pthread_mutex_t): Likewise.
16614 [POSIX] (pthread_mutexattr_t): Likewise.
16615 [POSIX] (pthread_once_t): Likewise.
16616 [POSIX] (pthread_t): Likewise.
16617 [POSIX-based standards] (pthread_atfork): Expect function.
16618
6055173a
JM
166192013-09-24 Joseph Myers <joseph@codesourcery.com>
16620 Richard Sandiford <richard@codesourcery.com>
16621
16622 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16623 (swap_endianness_p): New extern variable.
16624 (set_big_endian): New inline function.
16625 (maybe_swap_uint32): Likewise.
16626 (maybe_swap_uint32_array): Likewise.
16627 (maybe_swap_uint32_obstack): Likewise.
16628 * locale/programs/locfile.c: Include <stdbool.h>.
16629 (swap_endianness_p): New variable.
16630 (add_locale_uint32): Call maybe_swap_uint32.
16631 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16632 (write_locale_data): Call maybe_swap_uint32_array.
16633 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16634 maybe_swap_uint32.
16635 (obstack_int32_grow_fast): Likewise.
16636 (output_weightwc): Call maybe_swap_uint32_obstack.
16637 (collate_output): Likewise.
16638 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16639 (OPT_LITTLE_ENDIAN): Likewise.
16640 (options): Add --little-endian and --big-endian options.
16641 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16642 * locale/programs/locarchive.c: Include "locfile.h".
16643 (GET): New macro.
16644 (SET): Likewise.
16645 (INC): Likewise.
16646 (create_archive): Use the new macros to access fields of
16647 structures directly mapped from or written to locale archives.
16648 (oldlocrecentcmp): Likewise.
16649 (enlarge_archive): Likewise.
16650 (insert_name): Likewise.
16651 (add_alias): Likewise.
16652 (add_locale): Likewise.
16653 (delete_locales_from_archive): Likewise.
16654 (show_archive_content): Likewise.
16655 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16656 locale data.
16657
39bf0bb4
RM
166582013-09-24 Roland McGrath <roland@hack.frob.com>
16659
16660 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16661 http://www.gnu.org/doc/freemanuals.texi.
16662 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16663
f02eed10
WN
166642013-09-24 Will Newton <will.newton@linaro.org>
16665
16666 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16667 macro.
16668
a3a6c312
JM
166692013-09-23 Joseph Myers <joseph@codesourcery.com>
16670
16671 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16672 unsigned char.
16673
107375ac
MR
166742013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16675
16676 * manual/threads.texi (POSIX Threads): Fix a typo.
16677
141f3a77
SP
166782013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16679
303e567a
SP
16680 [BZ #14547]
16681 * string/tst-strcoll-overflow.c: New test case.
16682 * string/Makefile (xtests): Add tst-strcoll-overflow.
16683 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16684 cache if string sizes may cause integer overflow.
16685
141f3a77
SP
16686 [BZ #14547]
16687 * string/strcoll_l.c (coll_seq): New members rule, idx,
16688 save_idx and back_us.
16689 (get_next_seq_nocache): New function.
16690 (do_compare_nocache): New function.
16691 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16692 when malloc fails.
16693
c61b4d41
CD
166942013-09-23 Carlos O'Donell <carlos@redhat.com>
16695
0b1f8e35
CD
16696 [BZ #15754]
16697 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16698 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16699 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16700
c61b4d41
CD
16701 [BZ #15754]
16702 * elf/Makefile (tests): Add tst-ptrguard1.
16703 (tests-static): Add tst-ptrguard1-static.
16704 (tst-ptrguard1-ARGS): Define.
16705 (tst-ptrguard1-static-ARGS): Define.
16706 * elf/tst-ptrguard1.c: New file.
16707 * elf/tst-ptrguard1-static.c: New file.
16708 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16709 * sysdeps/i386/stackguard-macros.h: Likewise.
16710 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16711 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16712 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16713 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16714 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16715 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16716
167172013-09-23 Hector Marco <hecmargi@upv.es>
16718 Ismael Ripoll <iripoll@disca.upv.es>
16719 Carlos O'Donell <carlos@redhat.com>
16720
16721 [BZ #15754]
16722 * sysdeps/generic/stackguard-macros.h: Define
16723 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16724 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16725 Define __pointer_chk_guard_local.
16726 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16727 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16728
f5f4e7b4
VV
167292013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16730
16731 [BZ #15859]
16732 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16733
5bb43a43
AS
167342013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16735
16736 * include/string.h (__ffs): Declare as hidden.
16737 * string/ffs.c (__ffs): Define as hidden.
16738 * sysdeps/i386/ffs.c (__ffs): Likewise.
16739 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16740 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16741 * sysdeps/s390/ffs.c (__ffs): Likewise.
16742 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16743
3ea5be54
AO
167442013-09-20 Alexandre Oliva <aoliva@redhat.com>
16745
ffb89e53
AO
16746 * NEWS: Mention malloc probes.
16747
322dea08
AO
16748 * malloc/arena.c (new_heap): New memory_heap_new probe.
16749 (grow_heap): New memory_heap_more probe.
16750 (shrink_heap): New memory_heap_less probe.
16751 (heap_trim): New memory_heap_free probe.
16752 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16753 (systrim): New memory_sbrk_less probe.
16754 * manual/probes.texi: Document them.
16755
655673f3
AO
16756 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16757 * manual/probes.texi: Document it.
16758
35fed6f1
AO
16759 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16760 (__libc_realloc): Add memory_realloc_retry probe.
16761 (__libc_memalign): Add memory_memalign_retry probe.
16762 (__libc_valloc): Add memory_valloc_retry probe.
16763 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16764 (__libc_calloc): Add memory_calloc_retry probe.
16765 * manual/probes.texi: Document them.
16766
6999d38c
AO
16767 * malloc/arena.c (get_free_list): Add probe
16768 memory_arena_reuse_free_list.
16769 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16770 and memory_arena_reuse.
16771 (arena_get2) [!PER_THREAD]: Likewise.
16772 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16773 memory_arena_reuse_realloc.
16774 * manual/probes.texi: Document them.
16775
0653427f
AO
16776 * malloc/malloc.c (__libc_free): Add
16777 memory_mallopt_free_dyn_thresholds probe.
16778 (__libc_mallopt): Add multiple memory_mallopt probes.
16779 * manual/probes.texi: Document them.
16780
3ea5be54
AO
16781 * malloc/malloc.c: Include stap-probe.h.
16782 (__libc_mallopt): Add memory_mallopt probe.
16783 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16784 * manual/probes.texi: New.
16785 * manual/Makefile (chapters): Add probes.
16786 * manual/threads.texi: Set next node.
16787
e35696c3 167882013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16789
e35696c3
CL
16790 [BZ #15963, #13985]
16791 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16792 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16793 Add `Chinese' to `nan' entry name.
16794
4aafb73c
SP
167952013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16796
16797 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16798 (POLYNOMIAL): Likewise.
16799 (TAYLOR_SINCOS): Likewise.
16800 (TAYLOR_SLOW): Likewise.
16801 (__sin): Use TAYLOR_SINCOS.
16802 (__cos): Likewise.
16803 (slow): Use TAYLOR_SLOW.
16804 (sloww): Likewise.
16805 (bsloww): Likewise.
16806 (csloww): Likewise.
16807
d84f25c7
LD
168082013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16809
16810 * stdlib/strtod_l.c: Fix buffer overrun.
16811
5eea0404
SP
168122013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16813
7849ff93
SP
16814 * benchtests/Makefile (bench): Add sincos.
16815 * benchtests/bench-sincos.c: New file.
16816
cfa3c886
SP
16817 * math/libm-test.inc (cos_test_data): New test inputs.
16818 (sin_test_data): Likewise.
16819
b348e1e3
SP
16820 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16821 macro.
16822 (__sin): Use it.
16823 (__cos): Likewise.
16824 (slow1): Likewise.
16825 (slow2): Likewise.
16826 (sloww1): Likewise.
16827 (sloww2): Likewise.
16828 (bsloww1): Likewise.
16829 (bsloww2): Likewise.
16830 (cslow2): Likewise.
16831 (csloww1): Likewise.
16832 (csloww2): Likewise.
16833
6cce25f8
SP
16834 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16835 function.
16836 (__sin): Use it.
16837 (__cos): Likewise.
16838
5eea0404
SP
16839 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16840 gotos.
16841 (__cos): Likewise.
16842
9c21573c
MR
168432013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16844
16845 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16846 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16847 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16848 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16849 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16850 * elf/cache.c (print_entry): Handle the new cache flags.
16851
24d22e65
JM
168522013-09-18 Joseph Myers <joseph@codesourcery.com>
16853 Aldy Hernandez <aldyh@redhat.com>
16854
16855 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16856 Change condition to [_SOFT_FLOAT].
16857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16869 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16872 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16873 declaration.
16874
d13ef066
JM
168752013-09-18 Joseph Myers <joseph@codesourcery.com>
16876
2e071de0
JM
16877 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16878 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16879 (__longjmp): Use LOAD_GP to load saved GPRs.
16880 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16881 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16882 (__sigsetjmp): Use SAVE_GP to save GPRs.
16883
d13ef066
JM
16884 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16885 Do not append -msoft-float.
16886 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16887
97a0650b
SP
168882013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16889
16890 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16891
11ca09e9
JM
168922013-09-17 Joseph Myers <joseph@codesourcery.com>
16893
16894 [BZ #15966]
16895 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16896 (_FPU_GETCW): Use initial "__" on variable and field names but not
16897 on macro parameter name.
16898 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16899 parentheses around reference to macro parameter.
16900
08ffcf34
RS
169012013-09-13 Richard Sandiford <richard@codesourcery.com>
16902
16903 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16904 prototype.
16905 (ctype_startup): Use uint32_t in cast and sizeof for
16906 ctype->charnames.
16907
ae7080d3
JL
169082013-09-11 Jia Liu <proljc@gmail.com>
16909
16910 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16911 __daddr_t_defined.
16912 [__FreeBSD__]: Likewise.
16913
5905e7b3
OB
169142013-09-11 Ondřej Bílka <neleai@seznam.cz>
16915
16916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16917 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16918 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16919 (strchr): Remove __strchr_sse42 ifunc selection.
16920 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16921 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16922
b987c776
WN
169232013-09-11 Will Newton <will.newton@linaro.org>
16924
16925 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16926 parameter to RES. Remove hardcoded 1000 value.
16927 * benchtests/bench-skeleton.c (main): Pass RES parameter
16928 to TIMING_INIT and multiply result by 1000.
16929
ddf985af
AZ
169302013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16931
16932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16933
ffdd3181
AS
169342013-09-11 Andreas Schwab <schwab@suse.de>
16935
16936 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16937 if not defined.
16938 (O_TMPFILE) [__USE_GNU]: Define.
16939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16940 Define.
16941
b73ed247
WN
169422013-09-11 Will Newton <will.newton@linaro.org>
16943
16944 [BZ #15857]
16945 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16946 does not overflow.
16947
55e17aad
WN
169482013-09-11 Will Newton <will.newton@linaro.org>
16949
16950 [BZ #15856]
16951 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16952 does not overflow.
16953
1159a193
WN
169542013-09-11 Will Newton <will.newton@linaro.org>
16955
16956 [BZ #15855]
16957 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16958 does not overflow.
16959
5905e7b3 169602013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16961
16962 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16963 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16966 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16967
cdfc721b
AM
169682013-09-10 Allan McRae <allan@archlinux.org>
16969
aa04af00
AM
16970 [BZ #15748]
16971 * manual/arith.texi (Parsing of Floats): Clarify
16972 cross-reference.
16973
cdfc721b
AM
16974 [BZ #15849]
16975 * manual/install.texi (Running make install): Mention
16976 --enable-pt-chown.
16977 * INSTALL: Regenerated.
16978
95e7cf29
MR
169792013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16980
16981 * csu/init-first.c (_init): Remove the !SHARED condition around
16982 FPU control word initialization.
16983 * elf/dl-support.c (_dl_fpu_control): New variable.
16984 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16985 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16986 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16987 * math/test-fpucw-static.c: New file.
16988 * math/test-fpucw-ieee.c: New file.
16989 * math/test-fpucw-ieee-static.c: New file.
16990 * math/Makefile (tests): Add `test-fpucw-ieee' and
16991 `$(tests-static)'.
16992 (tests-static): New variable.
16993 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16994 dependency to...
16995 [($(build-shared),yes)]
16996 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16997 ... this.
16998 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16999 New dependency.
17000
83e43bf0
AM
170012013-09-09 Allan McRae <allan@archlinux.org>
17002
a9f5ce09
AM
17003 [BZ #15939]
17004 * manual/string.texi (Collation Functions): Fix typo in
17005 strcoll example.
17006 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17007
34829bc2
AM
17008 [BZ #15893]
17009 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17010
3932737d
AM
17011 [BZ #15892]
17012 * libio/memstream.c (open_memstream): Fix memory leak.
17013 * libio/wmemstream.c (open_wmemstream): Likewise.
17014
83e43bf0
AM
17015 [BZ #15895]
17016 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17017
0c66b8e9
WN
170182013-09-09 Will Newton <will.newton@linaro.org>
17019
17020 * malloc/Makefile: Add tst-realloc to tests.
17021 * malloc/tst-realloc.c: New file.
17022
f6b00fd1
AM
170232013-09-09 Allan McRae <allan@archlinux.org>
17024
17025 [BZ #15844]
17026 * COPYING: Update from GNU website to fix FSF address.
17027 * COPYING.LIB: Likewise.
17028
eec55e16
DM
170292013-09-06 David S. Miller <davem@davemloft.net>
17030
17031 * po/zh_TW.po: Update Chinese (traditional) translation from
17032 translation project.
17033
1ecbb381
RS
170342013-09-06 Richard Sandiford <richard@codesourcery.com>
17035 Joseph Myers <joseph@codesourcery.com>
17036
17037 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17038 "localeinfo.h".
17039 (obstack_chunk_alloc): New macro.
17040 (obstack_chunk_free): Likewise.
17041 (record_offset): New function.
17042 (init_locale_data): Likewise.
17043 (align_locale_data): Likewise.
17044 (add_locale_empty): Likewise.
17045 (add_locale_raw_data): Likewise.
17046 (add_locale_raw_obstack): Likewise.
17047 (add_locale_string): Likewise.
17048 (add_locale_wstring): Likewise.
17049 (add_locale_uint32): Likewise.
17050 (add_locale_uint32_array): Likewise.
17051 (add_locale_char): Likewise.
17052 (start_locale_structure): Likewise.
17053 (end_locale_structure): Likewise.
17054 (start_locale_prelude): Likewise.
17055 (end_locale_prelude): Likewise.
17056 (write_locale_data): Take locale_file structure rather than an
17057 iovec.
17058 * locale/programs/locfile.h: Include "obstack.h".
17059 (struct locale_file): Change to store locale file contents instead
17060 of header.
17061 (init_locale_data): New prototype.
17062 (align_locale_data): Likewise.
17063 (add_locale_empty): Likewise.
17064 (add_locale_raw_data): Likewise.
17065 (add_locale_raw_obstack): Likewise.
17066 (add_locale_string): Likewise.
17067 (add_locale_wstring): Likewise.
17068 (add_locale_uint32): Likewise.
17069 (add_locale_uint32_array): Likewise.
17070 (add_locale_char): Likewise.
17071 (start_locale_structure): Likewise.
17072 (end_locale_structure): Likewise.
17073 (start_locale_prelude): Likewise.
17074 (end_locale_prelude): Likewise.
17075 (write_locale_data): Update prototype.
17076 * locale/programs/3level.h (struct TABLE): Remove result field.
17077 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17078 Use new locale_file interface.
17079 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17080 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17081 * locale/programs/ld-address.c (address_output): Use new
17082 locale_file interface.
17083 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17084 NO_ADD_LOCALE.
17085 (collate_finish): Don't call collseq_table_finalize.
17086 (collate_output): Use new locale_file interface.
17087 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17088 in file.
17089 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17090 (TABLE): Move defines earlier in file.
17091 (ELEMENT): Likewise.
17092 (DEFAULT): Likewise.
17093 (wctrans_table_add): Move macro and inline function earlier in
17094 file.
17095 (struct wctype_table): Move type earlier in file.
17096 (add_locale_wctype_table): New static prototype.
17097 (struct locale_ctype_t): Use logical types instead of struct iovec
17098 pointers for members.
17099 (ctype_output): Use new locale_file interface.
17100 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17101 new locale_file interface.
17102 (allocate_arrays): Update for use of new locale_file interface.
17103 * locale/programs/ld-identification.c (identification_output): Use
17104 new locale_file interface.
17105 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17106 * locale/programs/ld-messages.c (messages_output): Likewise.
17107 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17108 * locale/programs/ld-name.c (name_output): Likewise.
17109 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17110 * locale/programs/ld-paper.c (paper_output): Likewise.
17111 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17112 * locale/programs/ld-time.c (time_output): Likewise.
17113
e029e2e5
AZ
171142013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17115
17116 * benchtests/Makefile: Add memrchr benchmark.
17117 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17118 benchmark as memrchr.
17119 * benchtests/bench-memrchr-ifunc.c: New file.
17120 * benchtests/bench-memrchr.c: New file.
17121
bbf6e8e4
WN
171222013-09-06 Will Newton <will.newton@linaro.org>
17123
17124 * benchtests/Makefile (string-bench): Add memcpy.
17125
6c82a2f8
CD
171262013-09-05 Carlos O'Donell <carlos@redhat.com>
17127 Cong Wang <amwang@redhat.com>
17128
e732c5f0 17129 [BZ #15850]
6c82a2f8
CD
17130 * sysdeps/unix/sysv/linux/bits/in.h
17131 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17132 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17133 before __USE_KERNEL_IPV6_DEFS uses.
17134 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17135 IPPROTO_BEETPH.
17136 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17137 sockaddr_in6, or ipv6_mreq.
17138
5430fc65
AZ
171392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17140
17141 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17142 memory access for final bytes in some large inputs.
17143 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17144
4660856c
AZ
171452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17146
17147 * string/test-memrchr.c: New file.
17148 * string/test-memrchr-ifunc.c: New file.
17149 * string/Makefile: Add new memrchr testcase.
17150
bb8ea713
MF
171512013-09-05 Mike Frysinger <vapier@gentoo.org>
17152
17153 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17154 fanotify_init returns EPERM.
17155
b92a20b5
JM
171562013-09-04 Joseph Myers <joseph@codesourcery.com>
17157
17158 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17159 errors.
17160 (top level): Treat second token from macro or constant entries for
17161 allowed headers as allowed.
17162 * include/complex.h: Condition internal declarations on
17163 [!_ISOMAC].
17164 * include/fenv.h: Condition include of <stdbool.h> and internal
17165 declarations on [!_ISOMAC].
7447ccd9
CL
17166
171672013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17168
3e181dda 17169 [BZ #15923]
7447ccd9
CL
17170 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17171
3f2e46a4
JM
171722013-09-04 Joseph Myers <joseph@codesourcery.com>
17173
17174 * configure.in (--enable-versioning): Remove configure option.
17175 (libc_cv_asm_symver_directive): Remove configure test.
17176 (libc_cv_ld_version_script_option): Likewise.
17177 (VERSIONING): Remove variable and AC_SUBST.
17178 (DO_VERSIONING): Remove AC_DEFINE.
17179 * configure: Regenerated.
17180 * config.h.in (DO_VERSIONING): Remove macro.
17181 * Makerules [$(versioning) = yes]: Change conditionals to
17182 [$(build-shared) = yes].
17183 * config.make.in (versioning): Remove variable.
17184 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17185 [$(build-shared) = yes].
17186 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17187 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17188 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17189 [$(build-shared) = yes].
17190 * extra-lib.mk [$(versioning) = yes]: Likewise.
17191 * hurd/Makefile [$(versioning) = yes]: Likewise.
17192 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17193 [SHARED].
17194 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17195 [SHARED].
17196 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17197 [SHARED && !NO_HIDDEN].
17198 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17199 [SHARED].
17200 [SHARED && DO_VERSIONING]: Likewise..
17201 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17202 [$(build-shared) = yes].
17203 * manual/install.texi (--disable-versioning): Remove
17204 documentation.
17205 * INSTALL: Regenerated.
17206 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17207 to [SHARED].
17208 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17209 [$(build-shared) = yes].
17210 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17211 * sysdeps/i386/i686/multiarch/strstr-c.c
17212 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17213 [SHARED && !NO_HIDDEN].
17214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17215 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17216 * sysdeps/powerpc/powerpc32/dl-machine.c
17217 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17218 * sysdeps/powerpc/powerpc32/sysdep.h
17219 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17220 to [SHARED && PIC && !NO_HIDDEN].
17221 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17222 conditional to [SHARED].
17223
44558701
WN
172242013-09-04 Will Newton <will.newton@linaro.org>
17225
17226 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17227 * benchtests/bench-string.h: Include bench-timing.h instead
17228 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17229 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17230 call to HP_TIMING_DIFF_INIT.
17231 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17232 instead of hp-timing.h macros.
17233 * benchtests/bench-memchr.c: Likewise.
17234 * benchtests/bench-memcmp.c: Likewise.
17235 * benchtests/bench-memcpy.c: Likewise.
17236 * benchtests/bench-memmem.c: Likewise.
17237 * benchtests/bench-memmove.c: Likewise.
17238 * benchtests/bench-memset.c: Likewise.
17239 * benchtests/bench-rawmemchr.c: Likewise.
17240 * benchtests/bench-strcasecmp.c: Likewise.
17241 * benchtests/bench-strcasestr.c: Likewise.
17242 * benchtests/bench-strcat.c: Likewise.
17243 * benchtests/bench-strchr.c: Likewise.
17244 * benchtests/bench-strcmp.c: Likewise.
17245 * benchtests/bench-strcpy.c: Likewise.
17246 * benchtests/bench-strcpy_chk.c: Likewise.
17247 * benchtests/bench-strlen.c: Likewise.
17248 * benchtests/bench-strncasecmp.c: Likewise.
17249 * benchtests/bench-strncat.c: Likewise.
17250 * benchtests/bench-strncmp.c: Likewise.
17251 * benchtests/bench-strncpy.c: Likewise.
17252 * benchtests/bench-strnlen.c: Likewise.
17253 * benchtests/bench-strpbrk.c: Likewise.
17254 * benchtests/bench-strrchr.c: Likewise.
17255 * benchtests/bench-strspn.c: Likewise.
17256 * benchtests/bench-strstr.c: Likewise.
17257
cae16d66
WN
172582013-09-04 Will Newton <will.newton@linaro.org>
17259
17260 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17261
ffa3cd7f
JM
172622013-09-03 Joseph Myers <joseph@codesourcery.com>
17263
17264 [BZ #15427]
17265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17266 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17267 * math/libm-test.inc (lgamma_test_data): Add more tests.
17268 * sysdeps/i386/fpu/libm-test-ulps: Update.
17269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17270
8f02859f
OB
172712013-09-03 Ondřej Bílka <neleai@seznam.cz>
17272
17273 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17275 Add ifunc.
17276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17277 Add strcmp-sse2-unaligned
17278 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17279
18d43716
MF
172802013-09-02 Mike Frysinger <vapier@gentoo.org>
17281
17282 * Versions.def (libc): Add GLIBC_2.19.
17283
ac444012
MF
172842013-09-02 Mike Frysinger <vapier@gentoo.org>
17285
17286 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17287 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17288
b7835e32
JM
172892013-09-02 Joseph Myers <joseph@codesourcery.com>
17290
17291 [BZ #14155]
17292 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17293 intermediate calculations in recurrence.
17294 (__ieee754_ynf): Likewise.
17295 * math/libm-test.inc (jn_test_data): Do not allow spurious
17296 underflow exception. Add more tests.
17297 (yn_test_data): Add more tests.
17298 * sysdeps/i386/fpu/libm-test-ulps: Update.
17299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17300
8220f4f0
OB
173012013-09-02 Ondřej Bílka <neleai@seznam.cz>
17302
17303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17304
f24a6d08
OB
173052013-08-30 Ondřej Bílka <neleai@seznam.cz>
17306
17307 * csu/init-first.c: Fix then/than typos.
17308 * locale/programs/ld-collate.c: Likewise.
17309 * locale/programs/linereader.h: Likewise.
17310 * manual/charset.texi: Likewise.
17311 * manual/filesys.texi: Likewise.
17312 * manual/stdio.texi: Likewise.
17313 * manual/string.texi: Likewise.
17314 * stdlib/fmtmsg.c: Likewise.
17315 * sysdeps/i386/stpncpy.S: Likewise.
17316 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17317 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17318 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17319 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17320
382466e0
OB
173212013-08-30 Ondřej Bílka <neleai@seznam.cz>
17322
17323 * elf/dl-open.c: Fix typos.
17324 * iconvdata/gbbig5.c: Likewise.
17325 * iconvdata/iso-2022-jp.c: Likewise.
17326 * iconv/gconv_int.h: Likewise.
17327 * iconv/loop.c: Likewise.
17328 * nis/rpcsvc/nis.h: Likewise.
17329 * resolv/ns_name.c: Likewise.
17330 * stdio-common/vfscanf.c: Likewise.
17331 * streams/stropts.h: Likewise.
17332 * sunrpc/rpc_thread.c: Likewise.
17333 * sysdeps/i386/strpbrk.S: Likewise.
17334 * sysdeps/ieee754/k_standard.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17337 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17338 * sysdeps/mach/hurd/profil.c: Likewise.
17339 * sysdeps/s390/dl-procinfo.h: Likewise.
17340 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17341 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17342 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17343 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17345
0186c6e9
OB
173462013-08-30 Ondřej Bílka <neleai@seznam.cz>
17347
17348 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17350
d4e16af1
OB
173512013-08-29 Ondřej Bílka <neleai@seznam.cz>
17352
17353 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17354 aix specific files.
17355 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17356 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17357 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17359 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17360 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17361 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17362 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17363
88335980
TS
173642013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17365 Roland McGrath <roland@hack.frob.com>
17366
17367 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17368 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17369
ed479b02
ST
173702013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17371
17372 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17373 __executable_start symbol instead of _start.
17374
f1cc4c86
TS
173752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17376
d821f07c
TS
17377 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17378 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17379 Move macros to...
17380 * sysdeps/gnu/ldsodefs.h: ... this new file.
17381
c54290cf
TS
17382 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17383 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17384 instead of ELFOSABI_LINUX.
17385
0007fc9b 17386 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17387 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17388 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17389 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17390 Likewise.
17391 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17392 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17393 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17394 Likewise.
17395 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17396 (ibm_extended_long_double): Add ieee_nan member.
17397 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17398 (do_test): New function.
17399
f1cc4c86
TS
17400 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17401 TEST_TRUNC.
17402 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17403 functions, renamed from truncdfsf_test, trunctfsf_test,
17404 trunctfdf_test.
17405 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17406 functions.
17407 (do_test): Run all these.
17408
6f65e668
OB
174092013-08-29 Ondřej Bílka <neleai@seznam.cz>
17410
17411 * argp/argp-help.c: Fix typos.
17412 * argp/argp-parse.c: Likewise.
17413 * debug/backtracesyms.c: Likewise.
17414 * elf/elf.h: Likewise.
17415 * malloc/malloc.c: Likewise.
17416 * nis/nis_print.c: Likewise.
17417 * resolv/res_comp.c: Likewise.
17418 * stdlib/stdlib.h: Likewise.
17419 * sunrpc/clnt_tcp.c: Likewise.
17420 * sunrpc/clnt_udp.c: Likewise.
17421 * sunrpc/clnt_unix.c: Likewise.
17422 * sysdeps/unix/bsd/ptsname.c: Likewise.
17423 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17424 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17426 Likewise.
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17428 Likewise.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17430 Likewise.
6f65e668
OB
17431 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17432
3a309239
SP
174332013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17434
17435 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17437
3b813b29
MF
174382013-08-27 Mike Frysinger <vapier@gentoo.org>
17439
17440 [BZ #15897]
17441 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17442 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17443 ($(objpfx)bug-dl-leaf): New rule.
17444 ($(objpfx)bug-dl-leaf.so): Likewise.
17445 ($(objpfx)bug-dl-leaf.out): Likewise.
17446 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17447 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17448 * dlfcn/bug-dl-leaf.c: New test.
17449 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17450 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17451 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17452 (dlclose): Likewise.
17453 (dlmopen): Likewise.
17454
8cc3269f
RM
174552013-08-27 Roland McGrath <roland@hack.frob.com>
17456
7f9d0034
RM
17457 * include/netdb.h [!_ISOMAC]:
17458 Don't include <tls.h>.
17459 (h_errno, __libc_h_errno): Move declaration and macros out of
17460 [_LIBC_REENTRANT].
17461
fb431262
RM
17462 * include/resolv.h [_RESOLV_H_]:
17463 Don't include <tls.h>.
17464 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17465 * resolv/res_libc.c: Don't include <tls.h>.
17466 (_res): Use __attribute__ ((nocommon)) in place of
17467 __attribute__ ((section (".bss"))).
17468
bd81123a
RM
17469 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17470 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17471
c4e42566
RM
17472 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17473
f890a59b
RM
17474 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17475 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17476
17477 * resolv/res_mkquery.c: Include <sys/time.h>.
17478
5d1f0a09
RM
17479 * inet/ifreq.c: Moved to ...
17480 * sysdeps/unix/ifreq.c: ... here.
17481 * inet/ifreq.c: New file, true stub version.
17482
6fcf28b3
RM
17483 * socket/sa_len.c: New file.
17484 * socket/Makefile (aux): Add it.
17485 * sysdeps/unix/sysv/linux/Makefile
17486 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17487 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17488 and #include <socket/sa_len.c>.
17489 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17490 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17491
e041fb8b
RM
17492 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17493 * bits/socket.h: ... here.
17494
8cc3269f
RM
17495 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17496 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17497 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17498
5d228a43
AS
174992013-08-27 Andreas Schwab <schwab@suse.de>
17500
45b8accc
AS
17501 [BZ #15736]
17502 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17503 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17504 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17505 * string/test-strcasecmp.c (test_main): Run tests in several
17506 locales.
17507 * string/test-strncasecmp.c (test_main): Likewise.
17508
5d228a43
AS
17509 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17510 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17511 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17513 (__strncasecmp_ssse3) [PIC]: Likewise.
17514
59d112a4
RM
175152013-08-26 Roland McGrath <roland@hack.frob.com>
17516
53234cc3
RM
17517 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17518
59d112a4
RM
17519 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17520 instead of explicitly declaring xdecrypt.
17521 * nis/nss_nis/nis-publickey.c: Likewise.
17522
595aba70
SP
175232013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17524
17525 [BZ #15890]
17526 * nscd/aicache.c: Include res_hconf.h.
17527 (addhstaiX): Initialize res_hconf.
17528
ffabd393
AS
175292013-08-26 Andreas Schwab <schwab@suse.de>
17530
17531 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17532 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17533
e0a69f5c
SP
175342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17535
17536 * nscd/aicache.c (addhstaiX): Fix indentation.
17537
8c12f01d
MF
175382013-08-25 Mike Frysinger <vapier@gentoo.org>
17539
17540 * configure.ac: Quote $build_pt_chown test.
17541 * configure: Regenerated.
17542
8fe89494
JM
175432013-08-23 Joseph Myers <joseph@codesourcery.com>
17544
17545 [BZ #15532]
17546 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17547 * math/s_cexpf.c (__cexpf): Likewise.
17548 * math/s_cexpl.c (__cexpl): Likewise.
17549 * math/libm-test.inc (cexp_test_data): Correct expected return
17550 value for NaN + i0. Add another test.
17551
75b181d6
DM
175522013-08-22 David S. Miller <davem@davemloft.net>
17553
17554 * po/ca.po: Update Catalan translation from translation project.
936241e4 17555 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17556
acd06bb1
JM
175572013-08-21 Joseph Myers <joseph@codesourcery.com>
17558
17559 [BZ #15797]
17560 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17561 is infinite, not alongside NaN test.
17562 * math/s_fdimf.c (__fdimf): Likewise.
17563 * math/s_fdiml.c (__fdiml): Likewise.
17564 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17565 errno is unchanged.
17566
c0c3f78a
OB
175672013-08-21 Ondřej Bílka <neleai@seznam.cz>
17568
17569 * argp/argp-help.c: Fix typos.
17570 * crypt/speeds.c: Likewise.
17571 * csu/check_fds.c: Likewise.
17572 * elf/dl-load.c: Likewise.
17573 * elf/dl-open.c: Likewise.
17574 * elf/reldep3.c: Likewise.
17575 * elf/reldep.c: Likewise.
17576 * elf/sprof.c: Likewise.
17577 * iconv/iconv_charmap.c: Likewise.
17578 * iconv/skeleton.c: Likewise.
17579 * iconv/strtab.c: Likewise.
17580 * io/lockf64.c: Likewise.
17581 * libio/libioP.h: Likewise.
17582 * resolv/gai_notify.c: Likewise.
17583 * resolv/ns_name.c: Likewise.
17584 * resolv/ns_samedomain.c: Likewise.
17585 * resolv/res_send.c: Likewise.
17586 * stdlib/random.c: Likewise.
17587 * sunrpc/rpc/xdr.h: Likewise.
17588 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17589 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17590 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17591 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17595 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17596 * sysdeps/mach/hurd/check_fds.c: Likewise.
17597 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17598 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17600 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17601 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17602 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17603 * sysdeps/pthread/aio_notify.c: Likewise.
17604 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17605 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17606 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17607 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17608 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17609
46ed1038
LD
176102013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17611
17612 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17613 version if bit_Slow_SSE4_2 is set.
17614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17615 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17616
d400dcac
AZ
176172013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17618
17619 [BZ #15867]
17620 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17621 trampoline stack frame information.
17622 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17624 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17625 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17626 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17627 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17628 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17629 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17630 sa_flags value.
17631 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17632 interrupting a syscall and set with option SA_SIGINFO.
17633
42c8fdd8
JM
176342013-08-20 Joseph Myers <joseph@codesourcery.com>
17635
c980f2f4
JM
17636 [BZ #15531]
17637 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17638 argument is infinite.
17639 * math/s_cprojf.c (__cprojf): Likewise.
17640 * math/s_cprojl.c (__cprojl): Likewise.
17641 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17642 * math/libm-test.inc (cproj_test_data): Add more tests.
17643
0716c4fc
JM
17644 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17645
42c8fdd8
JM
17646 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17647 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17648 size. Use __ffs to determine corresponding shift.
17649
b31469d0
JM
176502013-08-20 Joseph Myers <joseph@codesourcery.com>
17651 Roland McGrath <roland@hack.frob.com>
17652
17653 * Makefile (INSTALL): Remove trailing blank lines from output of
17654 makeinfo.
17655
4e39af6e
AK
176562013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17657
17658 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17659 Align 32 bit compat elf_greg to 8 bytes.
17660
f315524e
AA
176612013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17662
17663 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17664
1326ba1a
SP
176652013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17666
17667 * string/strcoll_l.c (coll_seq): New structure.
17668 (get_next_seq_cached): New function.
17669 (get_next_seq): New function.
17670 (do_compare): New function.
17671 (STRCOLL): Use GNU style definition. Simplify implementation
17672 by using get_next_seq, get_next_seq_cached and do_compare.
17673
91ce4085
FW
176742013-08-16 Florian Weimer <fweimer@redhat.com>
17675
17676 [BZ #14699]
17677 CVE-2013-4237
17678 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17679 member.
17680 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17681 member.
17682 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17683 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17684 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17685 conditional.
17686 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17687 GETDENTS_64BIT_ALIGNED.
17688 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17689 * manual/filesys.texi (Reading/Closing Directory): Document
17690 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17691 strongly.
17692 * manual/conf.texi (Limits for Files): Add portability note to
17693 NAME_MAX, PATH_MAX.
17694 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17695
ca0a6bc4
AS
176962013-08-13 Andreas Schwab <schwab@suse.de>
17697
17698 [BZ #15749]
17699 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17700 of fabs.
17701 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17702 LDBL_MAX_EXP >= 16384]: Add tests for it.
17703
6c1fd795
DM
177042013-08-12 David S. Miller <davem@davemloft.net>
17705
17706 * version.h (RELEASE): Set to "development".
17707 (VERSION): Set to "2.18.90".
17708 * NEWS: Add 2.19 section.
17709
31ad488d
DM
177102013-08-03 David S. Miller <davem@davemloft.net>
17711
17712 * po/ko.po: Update Korean translation from translation project.
17713
db24e684
DM
177142013-08-01 David S. Miller <davem@davemloft.net>
17715
17716 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17717 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17718 Bilka.
17719
f723285b
DM
177202013-07-30 David S. Miller <davem@davemloft.net>
17721
17722 * po/fr.po: Update French translation from translation project.
17723
3cbc52db
DM
177242013-07-28 David S. Miller <davem@davemloft.net>
17725
30bbc0cc
DM
17726 * po/cs.po: Update Czech translation from translation project.
17727
3cbc52db
DM
17728 * po/sv.po: Update Swedish translation from translation project.
17729
d492e6d0
DM
177302013-07-27 David S. Miller <davem@davemloft.net>
17731
f1a7f492
DM
17732 * po/eo.po: Update Esperanto translation from translation project.
17733
90e62a4a
DM
17734 * po/vi.po: Update Vietnamese translation from translation project.
17735
d492e6d0
DM
17736 * po/de.po: Update German translation from translation project.
17737
d4baa62d
DM
177382013-07-26 David S. Miller <davem@davemloft.net>
17739
641aa7b4
DM
17740 * po/bg.po: Update Bulgarian translation from translation project.
17741
d4baa62d
DM
17742 * po/nl.po: Update Dutch translation from translation project.
17743 * po/pl.po: Update Polish translation from translation project.
17744 * po/ru.po: Update Russian translation from translation project.
17745
61a9dcb9
DM
177462013-07-24 David S. Miller <davem@davemloft.net>
17747
17748 * po/libc.pot: Update.
17749
7b1f8b58
AZ
177502013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17751
17752 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17753 variable page size.
17754 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17755 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17756 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17757
a8fc7a03
AK
177582013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17759
17760 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17761
e4608715
CD
177622013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17763 Andreas Schwab <schwab@suse.de>
17764 Roland McGrath <roland@hack.frob.com>
17765 Joseph Myers <joseph@codesourcery.com>
17766 Carlos O'Donell <carlos@redhat.com>
17767
17768 [BZ #15755]
17769 * config.h.in: Define HAVE_PT_CHOWN.
17770 * config.make.in (build-pt-chown): New variable.
17771 * configure.in (--enable-pt_chown): New configure option.
17772 * configure: Regenerate.
17773 * login/Makefile: Include Makeconfig. Build pt_chown only if
17774 build-pt-chown is enabled.
17775 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17776 pt_chown to fix pty ownership.
17777 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17778 CLOSE_ALL_FDS.
17779 * manual/install.texi (Configuring and compiling): Mention
17780 --enable-pt_chown. Add @findex for grantpt.
17781 * INSTALL: Regenerate.
17782
da2d62df
DM
177832013-07-20 David S. Miller <davem@davemloft.net>
17784
17785 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17786 difference between 32-bit and 64-bit.
17787
d7e06450
CD
177882013-07-15 Carlos O'Donell <carlos@redhat.com>
17789
17790 [BZ #15711]
17791 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17792 Avoid system header dependency with -ffreestanding.
17793 ($(objpfx)bits/syscall%d): Likewise.
17794
f959cfd7
DM
177952013-07-13 David S. Miller <davem@davemloft.net>
17796
17797 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17798 underflows from atanl/atan2l due to bug 15319.
17799 (casinh_test_data): Likewise.
17800
c61f8513
DM
178012013-07-07 David S. Miller <davem@davemloft.net>
17802
17803 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17804
72c90ed0
JA
178052013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17806
17807 * sysdeps/i386/fpu/libm-test-ulps: Update.
17808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17809
52dfbe13
SP
178102013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17811
17812 * configure.in (--enable-lock-elision): Fix message text.
17813 * INSTALL: Regenerate.
17814 * configure: Regenerate.
17815
3f169543
AZ
178162013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17817
17818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17819
521c6785
AJ
178202013-07-03 Andreas Jaeger <aj@suse.de>
17821
17822 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17823 define.
17824 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17825 (ptrace_peeksiginfo_args): Add.
17826 (__ptrace_peeksiginfo_flags): Add.
17827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17828 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17830
d2cc15cb
AM
178312013-07-03 Allan McRae <allan@archlinux.org>
17832
17833 * sysdeps/i386/fpu/libm-test-ulps: Update.
17834
3aaeeca7
DM
178352013-07-02 David S. Miller <davem@davemloft.net>
17836
17837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17838
5314ed1a
MT
178392013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17840
17841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17842
67338156
JM
178432013-07-02 Joseph Myers <joseph@codesourcery.com>
17844
17845 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17847
1717da59
AK
178482013-07-02 Andi Kleen <ak@linux.intel.com>
17849
17850 * config.h.in (ENABLE_LOCK_ELISION): Add.
17851 * configure.in (--enable-lock-elision): Add option.
17852 * manual/install.texi: Document --enable lock elision.
17853 * configure: Regenerate
17854 * INSTALL: Regenerate.
17855
1c81621c
L
178562013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17857
17858 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17859 SSE4.2 strcasecmp for libc.a.
17860 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17861
77f01ab5
JM
178622013-07-02 Joseph Myers <joseph@codesourcery.com>
17863
17864 [BZ #13304]
17865 * soft-fp/op-common.h (_FP_FMA): New macro.
17866 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17867 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17868 (_FP_MUL_MEAT_1_imm): ... here.
17869 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17870 (_FP_MUL_MEAT_1_wide): ... here.
17871 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17872 (_FP_MUL_MEAT_1_hard): ... here.
17873 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17874 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17875 (_FP_MUL_MEAT_2_wide): ... here.
17876 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17877 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17878 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17879 (_FP_MUL_MEAT_2_gmp): ... here.
17880 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17881 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17882 (_FP_MUL_MEAT_4_wide): ... here.
17883 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17884 (_FP_MUL_MEAT_4_gmp): ... here.
17885 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17886 (_FP_WFRACBITS_DW_S): Likewise.
17887 (_FP_WFRACXBITS_DW_S): Likewise.
17888 (_FP_HIGHBIT_DW_S): Likewise.
17889 (FP_FMA_S): Likewise.
17890 (_FP_FRAC_HIGH_DW_S): Likewise.
17891 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17892 (_FP_WFRACBITS_DW_D): Likewise.
17893 (_FP_WFRACXBITS_DW_D): Likewise.
17894 (_FP_HIGHBIT_DW_D): Likewise.
17895 (FP_FMA_D): Likewise.
17896 (_FP_FRAC_HIGH_DW_D): Likewise.
17897 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17898 (_FP_WFRACBITS_DW_E): Likewise.
17899 (_FP_WFRACXBITS_DW_E): Likewise.
17900 (_FP_HIGHBIT_DW_E): Likewise.
17901 (FP_FMA_E): Likewise.
17902 (_FP_FRAC_HIGH_DW_E): Likewise.
17903 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17904 (_FP_WFRACBITS_DW_Q): Likewise.
17905 (_FP_WFRACXBITS_DW_Q): Likewise.
17906 (_FP_HIGHBIT_DW_Q): Likewise.
17907 (FP_FMA_Q): Likewise.
17908 (_FP_FRAC_HIGH_DW_Q): Likewise.
17909 * soft-fp/fmasf4.c: New file.
17910 * soft-fp/fmadf4.c: Likewise.
17911 * soft-fp/fmatf4.c: Likewise.
17912
6308fd9a
LD
179132013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17914
17915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17916 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17917 Silvermont.
17918 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17919 macro.
17920 (index_Slow_SSE4_2): Likewise.
17921 (index_Prefer_PMINUB_for_stringop): Likewise.
17922 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17923 bit_Slow_SSE4_2 is set.
17924 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17925 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17926
89cd9569
RA
179272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17928
17929 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17930 rtld_global._dl_hwcap2.
17931 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17932 POWER8.
17933 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17934 POWER8 feature descriptions defined in _dl_hwcap2.
17935 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17936 string handling for POWER8 feature bits.
17937 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17938 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17939 _dl_powerpc_cap_flags.
17940 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17941 * sysdeps/powerpc/rtld-global-offsets.sym
17942 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17943 _dl_hwcap2 in the rtld_global_ro structure.
17944
1ae8bfe0
RA
179452013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17946
17947 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17948 hardware capabilities in support of AT_HWCAP2.
17949 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17950 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17951 GLRO(dl_hwcap2).
17952 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17953 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17954 explicitly the unknown a_type display mechanism is used.
17955 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17956 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17957 struct member.
17958 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17959 to macro prototype for AT_HWCAP2 support.
17960 * sysdeps/i386/dl-procinfo.h: Likewise.
17961 * sysdeps/s390/dl-procinfo.h: Likewise.
17962 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17963 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17964 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17965 return -1 for unknown a_type display fallback.
17966 * sysdeps/sparc/dl-procinfo.h: Likewise.
17967 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17968 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17969
8fbec010
JM
179702013-06-28 Joseph Myers <joseph@codesourcery.com>
17971
17972 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17973 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17974
0432680e
PY
179752013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17976
17977 [BZ #12492]
17978 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17979 mprotect making __stack_prot writable.
17980
ce61a2ad
NF
179812013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17982 Joseph Myers <joseph@codesourcery.com>
17983
17984 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17985 as being properly aligned.
17986
f91f1c0f
MR
179872013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17988
3d0f5d0c
MR
17989 * dlfcn/modstatic5.c: New file.
17990 * dlfcn/tststatic5.c: New file.
17991 * dlfcn/Makefile (tests): Add tststatic5.
17992 (tests-static): Likewise.
17993 (modules-names): Add modstatic5.
17994 (tststatic5-ENV): New variable.
17995 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17996
f91f1c0f
MR
17997 [BZ #15022]
17998 * elf/dl-support.c (_dl_main_map): New variable.
17999 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18000 (_dl_nns, _dl_load_adds): Set to 1.
18001 (_dl_initial_searchlist): Refer to _dl_main_map.
18002 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18003 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18004 call to _dl_get_origin.
18005 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18006 around call_map.
18007 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18008 * dlfcn/modstatic3.c: New file.
18009 * dlfcn/tststatic3.c: New file.
18010 * dlfcn/tststatic4.c: New file.
18011 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18012 (tests-static): Likewise.
18013 (modules-names): Add modstatic3.
18014 (tststatic3-ENV, tststatic4-ENV): New variables.
18015 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18016 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18017
cbe7d24b
JM
180182013-06-26 Joseph Myers <joseph@codesourcery.com>
18019
18020 * configure.in (CC): Require GCC version 4.4 or later.
18021 * configure: Regenerated.
18022 * manual/install.texi (Tools for Compilation): Update GCC version
18023 requirement.
18024 * INSTALL: Regenerated.
18025
11b8a0e1
LD
180262013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18027
18028 [BZ #15674]
bb5bb87c
L
18029 * string/test-memcmp.c (check2): New.
18030 (main): Call check2.
18031
11b8a0e1
LD
18032 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18033
b0037103
MR
180342013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18035
18036 [BZ #15022]
18037 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18038 over to...
18039 (dl_open_worker) [!SHARED]: ... here.
18040
c18c701d
RA
180412013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18042
18043 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18044
1d17fa5f
RH
180452013-06-25 Richard Henderson <rth@redhat.com>
18046
18047 * locale/programs/locarchive.c: Include <libc-internal.h>
18048
8fcb833a
JM
180492013-06-25 Joseph Myers <joseph@codesourcery.com>
18050
18051 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18052 trailing whitespace removed.
18053
17db6e8d
MF
180542013-06-24 Mike Frysinger <vapier@gentoo.org>
18055
18056 [BZ #10283]
17db6e8d
MF
18057 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18058 * locale/programs/locarchive.c: Include libc-mmap.h.
18059 (prepare_address_space): Take two new outputs (the mmap base and len).
18060 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18061 values.
18062 (create_archive): Declare new mmap base and len values for
18063 prepare_address_space, and store the result in ah.
18064 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18065 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18066 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18067 Declare new mmap base and len values for
18068 prepare_address_space, and store the result in new_ah.
18069 (open_archive): Declare new mmap base and len values for
18070 prepare_address_space, and store the result in ah.
18071 (close_archive): If ah->mmap_base is not NULL, use that and
18072 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18073 * sysdeps/generic/libc-mmap.h: New file.
18074
d605071e
MF
180752013-06-24 Mike Frysinger <vapier@gentoo.org>
18076
18077 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18078 (ALIGN_UP): Likewise.
18079 (PTR_ALIGN_DOWN): Likewise.
18080 (PTR_ALIGN_UP): Likewise.
18081
2f063a6e
RA
180822013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18083
18084 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18085 entry mapped to PPC_PLATFORM_POWER8.
18086 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18087 POWER8.
18088 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18089 (_dl_string_platform): Add case for exporting platform position for
18090 POWER8.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18092 search path to sysdeps/powerpc/powerpc32/power8 directory.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18094 search path to sysdeps/powerpc/powerpc64/power8 directory.
18095 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18096 power7 directories.
18097 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18098 power7 directories.
18099
a31ee4b3
SP
181002013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18101
a74ca98f
SP
18102 * INSTALL: Regenerate.
18103
a31ee4b3
SP
18104 * nscd/connections.c (nscd_init): Fix comment.
18105
695c378f
JM
181062013-06-22 Joseph Myers <joseph@codesourcery.com>
18107
d8412221
JM
18108 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18109
695c378f
JM
18110 [BZ #15667]
18111 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18112 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18113
d1d54715
MR
181142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18115
18116 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18117 DL_DST_REQ_STATIC.
18118 (DL_DST_REQ_STATIC): Remove macro.
18119
8fdda7af
JM
181202013-06-21 Joseph Myers <joseph@codesourcery.com>
18121
18122 [BZ #7006]
18123 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18124 with a shift of 0 bits.
18125
f3bc5e5a
MR
181262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18127
18128 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18129 $(tststatic-ENV).
18130
be09e8c9
KK
181312013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18132
18133 [BZ #15655]
18134 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18135
85c2e611
AZ
181362013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18137
18138 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18139 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18140 accepts -fno-tree-loop-distribute-patterns.
18141 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18142 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18143 recursive call.
18144 * string/memset.c (memset): Likewise.
18145 * string/test-memmove.c (simple_memmove): Disable loop transformation
18146 to library calls.
18147 * string/test-memset.c (simple_memset): Likewise.
18148 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18149 * benchtests/bench-memset.c (simple_memset): Likewise.
18150 * configure: Regenerated.
18151
c91e0825
JM
181522013-06-20 Joseph Myers <joseph@codesourcery.com>
18153
b8c792af
JM
18154 * math/test-misc.c (main): Ignore fesetround failure when failures
18155 of subsequent rounding tests would be ignored.
18156
c91e0825
JM
18157 [BZ #15654]
18158 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18159 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18160 * math/fegetenv.c (__fegetenv): Return 0.
18161 * math/fegetexcept.c (fegetexcept): Return 0.
18162 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18163 FE_TONEAREST.
18164 * math/feholdexcpt.c (feholdexcept): Return 0.
18165 * math/fesetenv.c (__fesetenv): Return 0.
18166 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18167 argument FE_TONEAREST.
18168 * math/feupdateenv.c (__feupdateenv): Return 0.
18169 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18170
bfcacbde
RM
181712013-06-18 Roland McGrath <roland@hack.frob.com>
18172
18173 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18174 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18175 ($(objpfx)rtld-%.os rules): Use them.
18176
e55a9b25
AZ
181772013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18178
18179 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18180 fields.
18181
346d65b3
RM
181822013-06-17 Roland McGrath <roland@hack.frob.com>
18183
12086fb4
RM
18184 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18185 length of target pattern, then descending length of dependency pattern.
18186 * configure.in (AWK): Require gawk 3.1.2 or newer.
18187 * manual/install.texi (Tools for Compilation): Say that we do.
18188 * configure: Regenerated.
18189
346d65b3
RM
18190 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18191 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18192 * scripts/sysd-rules.awk: ... this new script.
18193 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18194 than a glob-style pattern.
18195
1a846317
JM
181962013-06-17 Joseph Myers <joseph@codesourcery.com>
18197
18198 * math/test-misc.c (main): Do not treat incorrectly rounded
18199 conversions as failure unless ROUNDING_TESTS passes.
18200
8fc75e6f
JM
182012013-06-15 Joseph Myers <joseph@codesourcery.com>
18202
3711a167
JM
18203 [BZ #15631]
18204 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18205 restore exception state around main square root computation, then
18206 check for inexactness explicitly.
18207
8fc75e6f
JM
18208 * math/libm-test.inc (fma_test_data): Add another test.
18209
61dd6208
SP
182102013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18211
adf23d2c
SP
18212 * manual/threads.texi (Non-POSIX Extensions): New document
18213 node. Document pthread_getattr_default_np and
18214 pthread_setattr_default_np.
18215
61dd6208
SP
18216 * Versions.def (libpthread): Add GLIBC_2.18.
18217 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18219 Likewise.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18221 Likewise.
18222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18223 Likewise.
18224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18225 Likewise.
18226 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18227 Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18229 Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18231 Likewise.
18232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18233 Likewise.
18234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18235 Likewise.
18236
d086fc7b
LD
182372013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18238
18239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18240 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18241
747ef469
SP
182422013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18243 H.J. Lu <hjl.tools@gmail.com>
18244
18245 [BZ #15627]
18246 * sysdeps/x86_64/rtld-memset.c: Remove file.
18247 * sysdeps/x86_64/rtld-memset.S: New file.
18248
1b2feed2
JM
182492013-06-14 Joseph Myers <joseph@codesourcery.com>
18250
18251 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18252 (test_in_one_mode): Take arguments for whether the rounding mode
18253 is supported for each floating-point type.
18254 (do_test): Pass new arguments to test_in_one_mode using
18255 ROUNDING_TESTS.
18256
a58ad3f8
RM
182572013-06-13 Roland McGrath <roland@hack.frob.com>
18258
18259 * posix/tst-waitid.c (do_test): Distinguish different instances of
18260 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18261 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18262 before entering the kernel for waitpid.
18263
c204ab28
SP
182642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18265
18266 * NEWS: Fix note on clock function precision. Text by Roland
18267 McGrath.
18268
f4a29fba
RM
182692013-06-13 Roland McGrath <roland@hack.frob.com>
18270
18271 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18272 it into place only when and if the sanity check passes.
18273
1f24b9ad
JM
182742013-06-13 Joseph Myers <joseph@codesourcery.com>
18275
18276 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18277 output for whether conversion result is exact. Take argument
18278 indicating whether type is IBM long double.
18279 (round_for_all): Change need_exact field to ibm_ld.
18280 * stdlib/tst-strtod-round.c (struct exactness): New type.
18281 (struct test): Change bool ld_ok field to struct exactness exact.
18282 (TEST): Update all definitions for change to field.
18283 (tests): Regenerate array contents.
18284 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18285 field value. Check for IBM long double here.
18286 (do_test): Update calls to test_in_one_mode.
18287
58206c68
SP
182882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18289
18290 [BZ #12515]
18291 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18292 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18293
2d6f4c5b 182942013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18295
18296 [BZ #15605]
18297 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18298 generated by the compiler on loop optimizations.
18299 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18300 general definitions.
18301
94f2c076
JM
183022013-06-12 Joseph Myers <joseph@codesourcery.com>
18303
18304 * math/bug-nextafter.c: Include <math-tests.h>.
18305 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18306 the relevant type.
18307 * math/bug-nexttoward.c: Include <math-tests.h>.
18308 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18309 the relevant type.
18310 * math/test-misc.c: Include <math-tests.h>.
18311 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18312 the relevant type.
18313
e0e50a0a
AJ
183142013-06-12 Andreas Jaeger <aj@suse.de>
18315
18316 * po/ia.po: Update Interlingua translation from translation
18317 project.
18318
25061094
SP
183192013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18320
18321 * include/fenv.h: Include stdbool.h.
18322 (struct rm_ctx): New structure.
18323 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18324 Define macro.
18325 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18326 (SET_RESTORE_ROUNDF): Likewise.
18327 (SET_RESTORE_ROUNDL): Likewise.
18328 (SET_RESTORE_ROUND_NOEX): Likewise.
18329 (SET_RESTORE_ROUND_NOEXF): Likewise.
18330 (SET_RESTORE_ROUND_NOEXL): Likewise.
18331 (SET_RESTORE_ROUND_53BIT): Likewise.
18332 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18333 (libc_feresetround_noexf_ctx): Likewise.
18334 (libc_feresetround_noexl_ctx): Likewise.
18335 (libc_feholdsetround_53bit_ctx): Likewise.
18336 (libc_feresetround_53bit_ctx): Likewise.
18337 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18338 (libc_feholdexcept_setround_sse_ctx): New function.
18339 (libc_fesetenv_sse_ctx): Likewise.
18340 (libc_feupdateenv_sse_ctx): Likewise.
18341 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18342 (libc_feholdexcept_setround_387_ctx): Likewise.
18343 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18344 (libc_feholdsetround_387_prec_ctx): Likewise.
18345 (libc_feholdsetround_387_ctx): Likewise.
18346 (libc_feholdsetround_387_53bit_ctx): Likewise.
18347 (libc_feholdsetround_sse_ctx): Likewise.
18348 (libc_feresetround_sse_ctx): Likewise.
18349 (libc_feresetround_387_ctx): Likewise.
18350 (libc_feupdateenv_387_ctx): Likewise.
18351 (libc_feholdexcept_setroundf_ctx): Define macro.
18352 (libc_fesetenvf_ctx): Likewise.
18353 (libc_feupdateenvf_ctx): Likewise.
18354 (libc_feholdsetroundf_ctx): Likewise.
18355 (libc_feresetroundf_ctx): Likewise.
18356 (libc_feholdexcept_setround_ctx): Likewise.
18357 (libc_fesetenv_ctx): Likewise.
18358 (libc_feupdateenv_ctx): Likewise.
18359 (libc_feholdsetround_ctx): Likewise.
18360 (libc_feresetround_ctx): Likewise.
18361 (libc_feholdexcept_setroundl_ctx): Likewise.
18362 (libc_feupdateenvl_ctx): Likewise.
18363 (libc_feholdsetroundl_ctx): Likewise.
18364 (libc_feresetroundl_ctx): Likewise.
18365 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18366 (libc_feresetround_53bit_ctx): Likewise.
18367
59b30555
SP
183682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18369
18370 * locale/iso-639.def: Convert to UTF-8.
18371
f1d73d30
JM
183722013-06-11 Joseph Myers <joseph@codesourcery.com>
18373
18374 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18375 (EXCEPTION_TESTS_double): Likewise.
18376 (EXCEPTION_TESTS_long_double): Likewise.
18377 (EXCEPTION_TESTS): Likewise.
18378 * math/libm-test.inc (test_exceptions): Only test exceptions if
18379 EXCEPTION_TESTS (FLOAT).
18380
94aca5e7
SP
183812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18382
18383 * benchtests/Makefile (string-bench): Add strcpy_chk and
18384 stpcpy_chk.
18385 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18386 * benchtests/bench-stpcpy_chk.c: New file.
18387 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18388 * benchtests/bench-strcpy_chk.c: New file.
18389 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18390 code.
18391 (do_test): Likewise.
18392
fac0c5f2
RA
183932013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18394
18395 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18396 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18397 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18398 with tabs where appropriate.
18399 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18400 dl-procinfo.h.
18401 [PPC_PLATFORM_PPC440]: Likewise.
18402 [PPC_PLATFORM_PPC464]: Likewise.
18403 [PPC_PLATFORM_PPC476]: Likewise.
18404 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18405 ppc464, and ppc476 platform strings merging from ports/
18406 dl-procinfo.h.
18407
f22bc486
AS
184082013-06-11 Andreas Schwab <schwab@suse.de>
18409
18410 [BZ #14991]
18411 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18412 (from_ucs4_idx): Regenerate.
18413 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18414 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18415 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18416 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18417 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18418 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18419 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18420 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18421 from FROM_LOOP and TO_LOOP specific macros.
18422 (BODY): Handle combining characters.
18423 * iconvdata/BIG5HKSCS.irreversible: Update.
18424 * iconvdata/BIG5HKSCS.precomposed: New file.
18425 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18426 characters.
18427 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18428
c1f75dc3
SP
184292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18430
4eacded2
SP
18431 * include/sys/time.h: Fix indentation and add copyright header.
18432
fec799f8
SP
18433 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18434 (do_test): Likewise.
18435 * string/test-memchr.c (do_one_test): Likewise.
18436 (do_test): Likewise.
18437 * string/test-memcmp.c (do_one_test): Likewise.
18438 (do_test): Likewise.
18439 * string/test-memcpy.c (do_one_test): Likewise.
18440 (do_test): Likewise.
18441 * string/test-memmem.c (do_one_test): Likewise.
18442 (do_test): Likewise.
18443 (do_random_tests): Likewise.
18444 * string/test-memmove.c (do_one_test): Likewise.
18445 (do_test): Likewise.
18446 * string/test-memset.c (do_one_test): Likewise.
18447 (do_test): Likewise.
18448 * string/test-rawmemchr.c (do_one_test): Likewise.
18449 (do_test): Likewise.
18450 * string/test-strcasecmp.c (do_one_test): Likewise.
18451 (do_test): Likewise.
18452 * string/test-strcasestr.c (do_one_test): Likewise.
18453 (do_test): Likewise.
18454 * string/test-strcat.c (do_one_test): Likewise.
18455 (do_test): Likewise.
18456 * string/test-strchr.c (do_one_test): Likewise.
18457 (do_test): Likewise.
18458 * string/test-strcmp.c (do_one_test): Likewise.
18459 (do_test): Likewise.
18460 * string/test-strcpy.c (do_one_test): Likewise.
18461 (do_test): Likewise.
18462 * string/test-string.h: Likewise.
18463 (test_init): Likewise.
18464 * string/test-strlen.c (do_one_test): Likewise.
18465 (do_test): Likewise.
18466 * string/test-strncasecmp.c (do_one_test): Likewise.
18467 (do_test): Likewise.
18468 * string/test-strncat.c (do_one_test): Likewise.
18469 (do_test): Likewise.
18470 * string/test-strncmp.c (do_one_test): Likewise.
18471 (do_test_limit): Likewise.
18472 (do_test): Likewise.
18473 * string/test-strncpy.c (do_one_test): Likewise.
18474 (do_test): Likewise.
18475 * string/test-strnlen.c (do_one_test): Likewise.
18476 (do_test): Likewise.
18477 * string/test-strpbrk.c (do_one_test): Likewise.
18478 (do_test): Likewise.
18479 * string/test-strrchr.c (do_one_test): Likewise.
18480 (do_test): Likewise.
18481 * string/test-strspn.c (do_one_test): Likewise.
18482 (do_test): Likewise.
18483 * string/test-strstr.c (do_one_test): Likewise.
18484 (do_test): Likewise.
18485
97020474
SP
18486 * benchtests/Makefile (string-bench): Add string benchmarks.
18487 * benchtests/bench-bcopy-ifunc.c: New file.
18488 * benchtests/bench-bcopy.c: New file.
18489 * benchtests/bench-bzero-ifunc.c: New file.
18490 * benchtests/bench-bzero.c: New file.
18491 * benchtests/bench-memccpy-ifunc.c: New file.
18492 * benchtests/bench-memccpy.c: New file.
18493 * benchtests/bench-memchr-ifunc.c: New file.
18494 * benchtests/bench-memchr.c: New file.
18495 * benchtests/bench-memcmp-ifunc.c: New file.
18496 * benchtests/bench-memcmp.c: New file.
18497 * benchtests/bench-memmem-ifunc.c: New file.
18498 * benchtests/bench-memmem.c: New file.
18499 * benchtests/bench-memmove-ifunc.c: New file.
18500 * benchtests/bench-memmove.c: New file.
18501 * benchtests/bench-mempcpy-ifunc.c: New file.
18502 * benchtests/bench-mempcpy.c: New file.
18503 * benchtests/bench-memset-ifunc.c: New file.
18504 * benchtests/bench-memset.c: New file.
18505 * benchtests/bench-rawmemchr-ifunc.c: New file.
18506 * benchtests/bench-rawmemchr.c: New file.
18507 * benchtests/bench-stpcpy-ifunc.c: New file.
18508 * benchtests/bench-stpcpy.c: New file.
18509 * benchtests/bench-stpncpy-ifunc.c: New file.
18510 * benchtests/bench-stpncpy.c: New file.
18511 * benchtests/bench-strcasecmp-ifunc.c: New file.
18512 * benchtests/bench-strcasecmp.c: New file.
18513 * benchtests/bench-strcasestr-ifunc.c: New file.
18514 * benchtests/bench-strcasestr.c: New file.
18515 * benchtests/bench-strcat-ifunc.c: New file.
18516 * benchtests/bench-strcat.c: New file.
18517 * benchtests/bench-strchr-ifunc.c: New file.
18518 * benchtests/bench-strchr.c: New file.
18519 * benchtests/bench-strchrnul-ifunc.c: New file.
18520 * benchtests/bench-strchrnul.c: New file.
18521 * benchtests/bench-strcmp-ifunc.c: New file.
18522 * benchtests/bench-strcmp.c: New file.
18523 * benchtests/bench-strcpy-ifunc.c: New file.
18524 * benchtests/bench-strcpy.c: New file.
18525 * benchtests/bench-strcspn-ifunc.c: New file.
18526 * benchtests/bench-strcspn.c: New file.
18527 * benchtests/bench-strlen-ifunc.c: New file.
18528 * benchtests/bench-strlen.c: New file.
18529 * benchtests/bench-strncasecmp-ifunc.c: New file.
18530 * benchtests/bench-strncasecmp.c: New file.
18531 * benchtests/bench-strncat-ifunc.c: New file.
18532 * benchtests/bench-strncat.c: New file.
18533 * benchtests/bench-strncmp-ifunc.c: New file.
18534 * benchtests/bench-strncmp.c: New file.
18535 * benchtests/bench-strncpy-ifunc.c: New file.
18536 * benchtests/bench-strncpy.c: New file.
18537 * benchtests/bench-strnlen-ifunc.c: New file.
18538 * benchtests/bench-strnlen.c: New file.
18539 * benchtests/bench-strpbrk-ifunc.c: New file.
18540 * benchtests/bench-strpbrk.c: New file.
18541 * benchtests/bench-strrchr-ifunc.c: New file.
18542 * benchtests/bench-strrchr.c: New file.
18543 * benchtests/bench-strspn-ifunc.c: New file.
18544 * benchtests/bench-strspn.c: New file.
18545 * benchtests/bench-strstr-ifunc.c: New file.
18546 * benchtests/bench-strstr.c: New file.
18547
c1f75dc3
SP
18548 * benchtests/Makefile: Disable parallel execution of targets.
18549 (string-bench): Add memcpy.
18550 (benchset): New variable to store a list of benchmark sets.
18551 (bench-func): Renamed from bench.
18552 (bench-set): New target.
18553 (bench): Depend on bench-func and bench-set.
18554 * benchtests/README: Add section on benchmark sets.
18555 * benchtests/bench-memcpy-ifunc.c: New file.
18556 * benchtests/bench-memcpy.c: New file.
18557 * benchtests/bench-string.h: New file.
18558
50fd745b
AS
185592013-06-11 Andreas Schwab <schwab@suse.de>
18560
18561 [BZ #15577]
18562 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18563 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18564 values in the triple.
18565 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18566 terminator in the group key.
18567
3ee7e9fe
AJ
185682013-06-11 Andreas Jaeger <aj@suse.de>
18569
18570 * po/zh_TW.po: Update Chinese (traditional) translation from
18571 translation project.
18572
89fb6835
SP
185732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18574
18575 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18576 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18577 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18578 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18579 (clock_getcpuclockid): Likewise.
18580 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18581 Add weak_alias and libc_hidden_def.
18582 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18583 * rt/clock_gettime.c (clock_gettime): Rename to
18584 __clock_gettime. Add weak_alias and libc_hidden_def.
18585 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18586 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18587 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18588 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18589 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18590 Likewise.
18591 * rt/clock_settime.c (clock_settime): Rename to
18592 __clock_settime. Add weak_alias and libc_hidden_def.
18593 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18594
0efa6f8b
JM
185952013-06-10 Joseph Myers <joseph@codesourcery.com>
18596
b8c61b4b
JM
18597 * mach/err_boot.sub: Remove trailing whitespace.
18598 * mach/err_ipc.sub: Likewise.
18599 * mach/err_mach.sub: Likewise.
18600
0efa6f8b
JM
18601 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18602 (ROUNDING_TESTS_double): Likewise.
18603 (ROUNDING_TESTS_long_double): Likewise.
18604 (ROUNDING_TESTS): Likewise.
18605 * math/libm-test.inc: Include <math-tests.h>.
18606 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18607 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18608 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18609 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18610
50b818bf
SP
186112013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18612
18613 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18614 of assigning.
18615
60d2f8f3
JM
186162013-06-08 Joseph Myers <joseph@codesourcery.com>
18617
4902d2c3
JM
18618 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18619 otherwise empty TRANS lines.
18620 * sysdeps/gnu/errlist.c: Regenerated.
18621
60d2f8f3
JM
18622 * catgets/gencat.c (error_print): Use (void) in function
18623 definition.
18624 * crypt/crypt_util.c (__init_des): Likewise.
18625 * crypt/speeds.c (Stop): Likewise.
18626 (main): Likewise.
18627 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18628 * inet/ruserpass.c (token): Likewise.
18629 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18630 * intl/localealias.c (extend_alias_table): Likewise.
18631 * intl/plural-exp.c (init_germanic_plural): Likewise.
18632 * libio/fcloseall.c (__fcloseall): Likewise.
18633 * libio/genops.c (_IO_flush_all): Likewise.
18634 (_IO_flush_all_linebuffered): Likewise.
18635 (_IO_cleanup): Likewise.
18636 (_IO_iter_begin): Likewise.
18637 (_IO_iter_end): Likewise.
18638 (_IO_list_lock): Likewise.
18639 (_IO_list_unlock): Likewise.
18640 (_IO_list_resetlock): Likewise.
18641 * libio/getchar.c (getchar): Likewise.
18642 * libio/getchar_u.c (getchar_unlocked): Likewise.
18643 * libio/getwchar.c (getwchar): Likewise.
18644 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18645 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18646 * login/getpt.c (__getpt): Likewise.
18647 * login/tst-utmp.c (main): Likewise.
18648 * malloc/hooks.c (__malloc_check_init): Likewise.
18649 * malloc/malloc.c (__malloc_stats): Likewise.
18650 * malloc/mtrace.c (tr_break): Likewise.
18651 (mtrace): Likewise.
18652 (muntrace): Likewise.
18653 * misc/fstab.c (endfsent): Likewise.
18654 * misc/getclktck.c (__getclktck): Likewise.
18655 * misc/getdtsz.c (__getdtablesize): Likewise.
18656 * misc/gethostid.c (gethostid): Likewise.
18657 * misc/getpagesize.c (__getpagesize): Likewise.
18658 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18659 (__get_nprocs): Likewise.
18660 (__get_phys_pages): Likewise.
18661 (__get_avphys_pages): Likewise.
18662 * misc/getttyent.c (getttyent): Likewise.
18663 (setttyent): Likewise.
18664 (endttyent): Likewise.
18665 * misc/getusershell.c (getusershell): Likewise.
18666 (endusershell): Likewise.
18667 (setusershell): Likewise.
18668 (initshells): Likewise.
18669 * misc/hsearch.c (__hdestroy): Likewise.
18670 * misc/sync.c (sync): Likewise.
18671 * misc/syslog.c (closelog_internal): Likewise.
18672 (closelog): Likewise.
18673 * misc/ttyslot.c (ttyslot): Likewise.
18674 * misc/vhangup.c (vhangup): Likewise.
18675 * posix/fork.c (__fork): Likewise.
18676 * posix/getegid.c (__getegid): Likewise.
18677 * posix/geteuid.c (__geteuid): Likewise.
18678 * posix/getgid.c (__getgid): Likewise.
18679 * posix/getpid.c (__getpid): Likewise.
18680 * posix/getppid.c (__getppid): Likewise.
18681 * posix/getuid.c (__getuid): Likewise.
18682 * posix/pause.c (pause): Likewise.
18683 * posix/setpgrp.c (setpgrp): Likewise.
18684 * posix/setsid.c (__setsid): Likewise.
18685 * posix/test-vfork.c (noop): Likewise.
18686 * resolv/gethnamaddr.c (_endhtent): Likewise.
18687 (_gethtent): Likewise.
18688 (ht_endhostent): Likewise.
18689 (gethostent): Likewise.
18690 (dns_service): Likewise.
18691 * stdlib/drand48.c (drand48): Likewise.
18692 * stdlib/lrand48.c (lrand48): Likewise.
18693 * stdlib/mrand48.c (mrand48): Likewise.
18694 * stdlib/rand.c (rand): Likewise.
18695 * stdlib/random.c (__random): Likewise.
18696 * stdlib/setenv.c (clearenv): Likewise.
18697 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18698 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18699 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18700 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18701 (__get_nprocs): Likewise.
18702 (__get_phys_pages): Likewise.
18703 (__get_avphys_pages): Likewise.
18704 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18705 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18706 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18707 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18708 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18709 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18710 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18711 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18712 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18713 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18714 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18715 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18716 * sysdeps/posix/clock.c (clock): Likewise.
18717 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18718 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18719 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18720 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18721 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18722 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18723 (__get_nprocs_conf): Likewise.
18724 (__get_phys_pages): Likewise.
18725 (__get_avphys_pages): Likewise.
18726 * time/clock.c (clock): Likewise.
18727 * time/tzset.c (__tzname_max): Likewise.
18728
2e09a79a
JM
187292013-06-07 Joseph Myers <joseph@codesourcery.com>
18730
18731 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18732 (__bswap_32): Do not use "register".
18733 * crypt/crypt.c (_ufc_doit_r): Likewise.
18734 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18735 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18736 * gmon/gmon.c (__monstartup): Likewise.
18737 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18738 * hurd/hurdmalloc.c (more_memory): Likewise.
18739 (malloc): Likewise.
18740 (free): Likewise.
18741 (realloc): Likewise.
18742 (malloc_fork_prepare): Likewise.
18743 (malloc_fork_parent): Likewise.
18744 (malloc_fork_child): Likewise.
18745 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18746 (_svcauth_des): Likewise.
18747 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18748 * inet/inet_net.c (inet_network): Likewise.
18749 * inet/inet_netof.c (inet_netof): Likewise.
18750 * inet/rcmd.c (__validuser2_sa): Likewise.
18751 * io/fts.c (fts_open): Likewise.
18752 (fts_load): Likewise.
18753 (fts_close): Likewise.
18754 (fts_read): Likewise.
18755 (fts_children): Likewise.
18756 (fts_build): Likewise.
18757 (fts_stat): Likewise.
18758 (fts_sort): Likewise.
18759 (fts_alloc): Likewise.
18760 (fts_lfree): Likewise.
18761 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18762 (_IO_file_xsgetn): Likewise.
18763 (_IO_file_xsgetn_mmap): Likewise.
18764 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18765 (_IO_cookie_write): Likewise.
18766 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18767 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18768 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18769 * malloc/obstack.c (_obstack_begin): Likewise.
18770 (_obstack_begin_1): Likewise.
18771 (_obstack_newchunk): Likewise.
18772 (_obstack_allocated_p): Likewise.
18773 (obstack_free): Likewise.
18774 (_obstack_memory_used): Likewise.
18775 * misc/getttyent.c (getttynam): Likewise.
18776 (getttyent): Likewise.
18777 (skip): Likewise.
18778 (value): Likewise.
18779 * misc/getusershell.c (initshells): Likewise.
18780 * misc/syslog.c (__vsyslog_chk): Likewise.
18781 * misc/ttyslot.c (ttyslot): Likewise.
18782 * nis/nis_hash.c (__nis_hash): Likewise.
18783 * posix/fnmatch_loop.c (FCT): Likewise.
18784 * posix/getconf.c (print_all): Likewise.
18785 (main): Likewise.
18786 * posix/getopt.c (exchange): Likewise.
18787 * posix/glob.c (globfree): Likewise.
18788 (prefix_array): Likewise.
18789 (__glob_pattern_type): Likewise.
18790 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18791 (NS_GET32): Likewise.
18792 (NS_PUT16): Likewise.
18793 (NS_PUT32): Likewise.
18794 * resolv/gethnamaddr.c (getanswer): Likewise.
18795 (gethostbyname2): Likewise.
18796 (gethostbyaddr): Likewise.
18797 (_gethtent): Likewise.
18798 (_gethtbyname2): Likewise.
18799 (_gethtbyaddr): Likewise.
18800 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18801 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18802 * resolv/res_init.c (__res_vinit): Likewise.
18803 (net_mask): Likewise.
18804 * resolv/res_mkquery.c (outchar): Likewise.
18805 (PRINT): Likewise.
18806 * stdio-common/printf_fp.c (outchar): Likewise.
18807 (PRINT): Likewise.
18808 * stdio-common/printf_fphex.c (outchar): Likewise.
18809 (PRINT): Likewise.
18810 * stdio-common/printf_size.c (outchar): Likewise.
18811 (PRINT): Likewise.
18812 * stdio-common/test_rdwr.c (main): Likewise.
18813 * stdio-common/tfformat.c (matches): Likewise.
18814 * stdio-common/vfprintf.c (outchar): Likewise.
18815 (printf_unknown): Likewise.
18816 (buffered_vfprintf): Likewise.
18817 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18818 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18819 (ReadFile): Likewise.
18820 * stdlib/qsort.c (SWAP): Likewise.
18821 (_quicksort): Likewise.
18822 * stdlib/setenv.c (__add_to_environ): Likewise.
18823 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18824 * stdlib/strtol_l.c (__strtol_l): Likewise.
18825 * stdlib/tst-strtod.c (main): Likewise.
18826 * stdlib/tst-strtol.c (main): Likewise.
18827 * stdlib/tst-strtoll.c (main): Likewise.
18828 * string/bits/string2.h (__strcmp_cc): Likewise.
18829 (__strcmp_cg): Likewise.
18830 (__strcspn_c1): Likewise.
18831 (__strcspn_c2): Likewise.
18832 (__strcspn_c3): Likewise.
18833 (__strspn_c1): Likewise.
18834 (__strspn_c2): Likewise.
18835 (__strspn_c3): Likewise.
18836 (__strsep_1c): Likewise.
18837 (__strsep_2c): Likewise.
18838 (__strsep_3c): Likewise.
18839 * string/memccpy.c (__memccpy): Likewise.
18840 * string/stpcpy.c (__stpcpy): Likewise.
18841 * string/strcmp.c (strcmp): Likewise.
18842 * string/strrchr.c (strrchr): Likewise.
18843 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18844 Likewise.
18845 * sysdeps/mach/hurd/getcwd.c
18846 (_hurd_canonicalize_directory_name_internal): Likewise.
18847 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18848 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18849 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18850 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18851 Likewise, in both definitions.
18852 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18853 definitions.
18854 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18855 64] (__bswap_64): Likewise.
18856 * time/test_time.c (main): Likewise.
18857 * time/tzfile.c (__tzfile_read): Likewise.
18858 (__tzfile_compute): Likewise.
18859 * time/tzset.c (__tzset_parse_tz): Likewise.
18860 (tzset_internal): Likewise.
18861 (compute_change): Likewise.
18862 * wcsmbs/wcscat.c (__wcscat): Likewise.
18863 * wcsmbs/wcschr.c (wcschr): Likewise.
18864 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18865 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18866 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18867 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18868 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18869 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18870 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18871 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18872 * wcsmbs/wmemset.c (wmemset): Likewise.
18873
9e54314b
JM
188742013-06-06 Joseph Myers <joseph@codesourcery.com>
18875
18876 * scripts/config.guess: Update to version 2013-05-16.
18877 * scripts/config.sub: Update to version 2013-04-24.
18878 * scripts/install-sh: Update to version 2011-11-20.07.
18879 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18880 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18881
350635a5
OB
188822013-06-06 Ondřej Bílka <neleai@seznam.cz>
18883
18884 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18885 * elf/sln.c: Likewise.
18886 * hurd/hurd/ioctl.h: Likewise.
18887 * hurd/hurdmalloc.c: Likewise.
18888 * hurd/xattr.c: Likewise.
18889 * include/shlib-compat.h: Likewise.
18890 * inet/ruserpass.c: Likewise.
18891 * libio/iofgets_u.c: Likewise.
18892 * libio/iofgetws_u.c: Likewise.
18893 * locale/programs/ld-identification.c: Likewise.
18894 * locale/programs/ld-time.c: Likewise.
18895 * mach/msg-destroy.c: Likewise.
18896 * nss/nss_files/files-netgrp.c: Likewise.
18897 * resolv/res_data.c: Likewise.
18898 * soft-fp/op-1.h: Likewise.
18899 * soft-fp/op-2.h: Likewise.
18900 * soft-fp/op-4.h: Likewise.
18901 * soft-fp/op-common.h: Likewise.
18902 * stdio-common/printf_fphex.c: Likewise.
18903 * stdlib/strtod_l.c: Likewise.
18904 * sunrpc/rpc/clnt.h: Likewise.
18905 * sysdeps/generic/framestate.c: Likewise.
18906 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18907 * sysdeps/i386/bsd-setjmp.S: Likewise.
18908 * sysdeps/i386/__longjmp.S: Likewise.
18909 * sysdeps/i386/setjmp.S: Likewise.
18910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18911 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18912 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18928 * sysdeps/ieee754/support.c: Likewise.
18929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18930 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18931 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18932 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18933 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18934 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18935 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18936 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18937 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18938 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18939 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18940 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18941 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18942 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18943 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18944 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18945 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18947
44a988af
OB
189482013-06-05 Ondřej Bílka <neleai@seznam.cz>
18949
25506f09 18950 * posix/transbug.c: Remove executable mode.
44a988af 18951
9c84384c
JM
189522013-06-05 Joseph Myers <joseph@codesourcery.com>
18953
18954 * crypt/speeds.c: Remove trailing whitespace.
18955 * dlfcn/default.c: Likewise.
18956 * elf/ifuncdep2.c: Likewise.
18957 * elf/ifuncmain1.c: Likewise.
18958 * elf/ifuncmain1vis.c: Likewise.
18959 * elf/testobj.h: Likewise.
18960 * elf/tst-stackguard1.c: Likewise.
18961 * gmon/sys/gmon.h: Likewise.
18962 * hurd/hurdmsg.c: Likewise.
18963 * hurd/new-fd.c: Likewise.
18964 * hurd/ports-get.c: Likewise.
18965 * iconvdata/ibm1008_420.c: Likewise.
18966 * inet/tst-getni1.c: Likewise.
18967 * inet/tst-getni2.c: Likewise.
18968 * libio/ioungetc.c: Likewise.
18969 * libio/wfiledoalloc.c: Likewise.
18970 * manual/libm-err-tab.pl: Likewise.
18971 * math/w_dremf.c: Likewise.
18972 * misc/ftruncate.c: Likewise.
18973 * posix/bug-glob2.c: Likewise.
18974 * posix/tst-pcre.c: Likewise.
18975 * posix/wait4.c: Likewise.
18976 * resolv/README: Likewise.
18977 * resolv/res_debug.h: Likewise.
18978 * resolv/tst-inet_ntop.c: Likewise.
18979 * setjmp/bug269-setjmp.c: Likewise.
18980 * soft-fp/extended.h: Likewise.
18981 * soft-fp/op-1.h: Likewise.
18982 * soft-fp/op-2.h: Likewise.
18983 * soft-fp/op-4.h: Likewise.
18984 * soft-fp/op-8.h: Likewise.
18985 * soft-fp/testit.c: Likewise.
18986 * stdio-common/bug16.c: Likewise.
18987 * stdlib/random.c: Likewise.
18988 * sunrpc/rpcsvc/rquota.x: Likewise.
18989 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18990 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18991 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18992 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18993 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18994 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18995 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18996 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18998 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18999 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19018 * sysdeps/ieee754/s_lib_version.c: Likewise.
19019 * sysdeps/mach/hurd/check_fds.c: Likewise.
19020 * sysdeps/mach/hurd/getsockname.c: Likewise.
19021 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19022 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19023 * sysdeps/powerpc/bits/link.h: Likewise.
19024 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19025 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19026 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19027 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19028 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19029 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19030 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19031 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19032 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19033 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19034 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19035 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19036 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19037 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19038 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19039 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19042 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19044 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19045 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19047 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19048 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19051 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19052 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19056 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19057 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19058 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19059 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19060 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19061 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19062 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19063 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19064 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19065 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19066 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19067 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19068 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19069 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19070 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19071 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19072 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19073 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19076 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19077 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19079 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19080 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19081 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19083 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19084 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19085 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19086 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19087 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19088 * sysdeps/powerpc/sysdep.h: Likewise.
19089 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19090 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19091 * sysdeps/sh/dl-trampoline.S: Likewise.
19092 * sysdeps/sh/memset.S: Likewise.
19093 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19094 * sysdeps/sh/strlen.S: Likewise.
19095 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19096 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19097 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19098 * sysdeps/sparc/sparc32/rem.S: Likewise.
19099 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19100 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19101 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19102 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19103 * sysdeps/sparc/sparc32/urem.S: Likewise.
19104 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19105 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19106 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19107 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19109 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19110 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19111 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19112 * sysdeps/unix/bsd/times.c: Likewise.
19113 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19114 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19118 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19119 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19120 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19122 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19123 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19124 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19125 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19126 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19127 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19128 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19129 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19130 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19131 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19132 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19133 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19134 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19135 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19136 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19137 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19138 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19139 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19141 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19142 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19143 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19144 * sysdeps/x86_64/strcspn.S: Likewise.
19145
869378a5
RA
191462013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19147
19148 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19149 generated file. Regenerate properly from gen-translit.pl.
19150 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19151 locale/C-translit.h.
19152
840e2943
AS
191532013-06-05 Andreas Schwab <schwab@suse.de>
19154
19155 [BZ #15100]
19156 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19157 week as 6 instead of -1.
19158 * time/tst-strptime.c (day_tests): Add test case.
19159
4c60cb0c
SP
191602013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19161
19162 * sysdeps/generic/math_private.h
19163 (libc_feholdexcept_setround_53bit): Replace with
19164 libc_feholdsetround_53bit.
19165 (libc_feupdateenv_53bit): Replace with
19166 libc_feresetround_53bit.
19167 (SET_RESTORE_ROUND_53BIT): Adjust.
19168
d180203e
SP
191692013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19170
96df079a
SP
19171 * string/test-strchrnul.c: Add copyright header.
19172
d180203e
SP
19173 * posix/tst-getaddrinfo4.c: Increase test timeout.
19174
8b0ccb2d
CD
191752013-06-03 Carlos O'Donell <carlos@redhat.com>
19176
19177 [BZ #15536]
19178 * math/libm-test.inc (MAX_EXP): Remove
19179 (MIN_EXP): Define.
19180 (ulp): Use MIN_EXP - MANT_DIG.
19181 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19182
3b3c4d40
CD
191832013-05-31 Carlos O'Donell <carlos@redhat.com>
19184
19185 * po/be.po: Revert last change.
19186 * po/zh_CN.po: Likewise.
19187 * po/header.pot: Likewise.
19188
fab7ce3f
JM
191892013-05-31 Joseph Myers <joseph@codesourcery.com>
19190
19191 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19192 link-libc-deps to empty as target-specific variable.
19193 * Makerules (link-libc-args): New variable.
19194 (libc-for-link): Likewise.
19195 (link-libc-deps): Likewise.
19196 (lib%.so): Depend on $(link-libc-deps). Link with
19197 $(link-libc-args).
19198 (build-module): Link with $(link-libc-args).
19199 (build-module-asneeded): Likewise.
19200 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19201 list of objects.
19202 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19203 target-specific variable.
19204 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19205 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19206 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19207 libc.
19208 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19209 libc and ld.so.
19210 ($(objpfx)libpcprofile.so): Likewise.
19211 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19212 libc_nonshared.a.
19213 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19214 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19215 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19216 $(link-libc-deps).
19217 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19218 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19219 * login/Makefile ($(objpfx)libutil.so): Likewise.
19220 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19221 * math/Makefile ($(objpfx)libm.so): Likewise.
19222 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19223 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19224 variable instead of depending directly on libc.
19225 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19226 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19227 $(link-libc-deps).
19228 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19229 libc.
19230 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19231 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19232 ($(objpfx)libanl.so): Likewise.
19233 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19234 ld.so.
19235 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19236 $(link-libc-deps).
19237 * sysdeps/i386/fpu/Makefile: Remove file.
19238 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19239 ($(objpfx)libm.so): Remove dependency on ld.so.
19240
eca5920c
PF
192412013-05-30 Patsy Franklin <pfrankli@redhat.com>
19242
19243 [BZ # 15553]
19244 * nis/yp_xdr.c (XDRMAXNAME): Define.
19245 (XDRMAXRECORD): Define.
19246 (xdr_domainname): Use XDRMAXNAME.
19247 (xdr_mapname): Likewise.
19248 (xdr_peername): Likewise.
19249 (xdr_keydat): Use XDRMAXRECORD.
19250 (xdr_valdat): Likewise.
19251
192522013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19253
19254 [BZ #14256]
19255 * manual/errno.texi (ESTALE): Update to account for more than
19256 just NFS file systems.
19257 * sysdeps/gnu/errlist.c: Regenerated.
19258
b9375348
SP
192592013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19260
19261 [BZ #15465]
19262 * elf/Makefile (tests): Add tst-null-argv.
19263 (modules-names): Add tst-null-argv-lib.
19264 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19265 (tst-null-argv-ENV): Set environment for tst-null-argv.
19266 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19267 (RTLD_PROGNAME): New macro.
19268 * elf/tst-null-argv.c: New test case.
19269 * elf/tst-null-argv-lib.c: Library for test case.
19270 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19271 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19272 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19273 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19274 * elf/dl-init.c (call_init): Likewise.
19275 (_dl_init): Likewise.
19276 * elf/dl-load.c (print_search_path): Likewise.
19277 (_dl_map_object): Likewise.
19278 * elf/dl-lookup.c (do_lookup_x): Likewise.
19279 (add_dependency): Likewise.
19280 (_dl_lookup_symbol_x): Likewise.
19281 (_dl_debug_bindings): Likewise.
19282 * elf/dl-open.c (_dl_show_scope): Likewise.
19283 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19284 * elf/dl-version.c (match_symbol): Likewise.
19285 (_dl_check_map_versions): Likewise.
19286 * elf/rtld.c (dl_main): Likewise.
19287 (print_unresolved): Use RTLD_PROGNAME.
19288 (print_missing_version): Likewise.
19289 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19290 (elf_machine_rela): Likewise.
19291 * sysdeps/powerpc/powerpc32/dl-machine.c
19292 (__process_machine_rela): Likewise.
19293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19294 Likewise.
19295 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19296 Likewise.
19297 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19298 Likewise.
19299 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19301 Likewise.
19302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19303 Likewise.
19304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19305
8a9f20c8
CD
193062013-05-28 Carlos O'Donell <carlos@redhat.com>
19307
19308 * po/be.po: Add descriptive title.
19309 * po/zh_CN.po: Likewise.
19310 * po/header.pot: Likewise.
19311
0e60d68e
MF
193122013-05-28 Mike Frysinger <vapier@gentoo.org>
19313
19314 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19315 error message.
19316 (enlarge_archive): Likewise.
19317
56b672e9
BN
193182013-05-28 Ben North <ben@redfrontdoor.org>
19319
19320 * manual/arith.texi (frexp): It is the magnitude of the return
19321 value which lies in [0.5, 1), not the return value itself.
19322
5e056687
AZ
193232013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19324
19325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19326
2b66ef5d
TS
193272013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19328
528c2405
TS
19329 * stdio-common/bug26.c (main): Correct fscanf template.
19330
07b4c13d
TS
19331 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19332 declare _dl_skip_args.
19333
ec9dd97c
TS
19334 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19335 Don't declare.
19336
2b66ef5d
TS
19337 * manual/platform.texi: Add missing @end deftypefun.
19338
4f8dfe27
JM
193392013-05-24 Joseph Myers <joseph@codesourcery.com>
19340
0323d086
JM
19341 [BZ #15529]
19342 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19343 bit of mantissa of 2^16382.
19344 * math/libm-test.inc (hypot_test_data): Add more tests.
19345
dd4259b9
JM
19346 * math/libm-test.inc: Add drem and pow10 to list of tested
19347 functions.
19348 (pow10_test): New function.
19349 (drem_test): Likewise.
19350 (drem_test_tonearest): Likewise.
19351 (drem_test_towardzero): Likewise.
19352 (drem_test_downward): Likewise.
19353 (drem_test_upward): Likewise.
19354 (main): Call the new functions.
19355
4f8dfe27
JM
19356 * math/libm-test.inc (finite_test_data): Remove.
19357 (finite_test): Run tests from isfinite_test_data.
19358 (gamma_test_data): Remove.
19359 (gamma_test): Run tests from lgamma_test_data.
19360 * sysdeps/i386/fpu/libm-test-ulps: Update.
19361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19362
d116b7c4
AZ
193632013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19364
19365 * manual/platform.texi: Add PowerPC PPR function set documentation.
19366 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19367 implementation.
19368
e96e3767
CD
193692013-05-24 Carlos O'Donell <carlos@redhat.com>
19370
19371 * math/libm-test.inc (MAX_EXP): Define.
19372 (ULPDIFF): Define.
19373 (ulp): New function.
19374 (check_float_internal): Use ULPDIFF.
19375 (cpow_test): Disable failing test.
19376 (check_ulp): Test ulp() implemetnation.
19377 (main): Call check_ulp before starting tests.
19378
b679a606
JM
193792013-05-24 Joseph Myers <joseph@codesourcery.com>
19380
e8bdba36
JM
19381 * math/gen-libm-test.pl (generate_testfile): Do not handle
19382 START_DATA and END_DATA.
19383 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19384 END_DATA.
19385 (acos_tonearest_test_data): Likewise.
19386 (acos_towardzero_test_data): Likewise.
19387 (acos_downward_test_data): Likewise.
19388 (acos_upward_test_data): Likewise.
19389 (acosh_test_data): Likewise.
19390 (asin_test_data): Likewise.
19391 (asin_tonearest_test_data): Likewise.
19392 (asin_towardzero_test_data): Likewise.
19393 (asin_downward_test_data): Likewise.
19394 (asin_upward_test_data): Likewise.
19395 (asinh_test_data): Likewise.
19396 (atan_test_data): Likewise.
19397 (atanh_test_data): Likewise.
19398 (atan2_test_data): Likewise.
19399 (cabs_test_data): Likewise.
19400 (cacos_test_data): Likewise.
19401 (cacosh_test_data): Likewise.
19402 (carg_test_data): Likewise.
19403 (casin_test_data): Likewise.
19404 (casinh_test_data): Likewise.
19405 (catan_test_data): Likewise.
19406 (catanh_test_data): Likewise.
19407 (cbrt_test_data): Likewise.
19408 (ccos_test_data): Likewise.
19409 (ccosh_test_data): Likewise.
19410 (ceil_test_data): Likewise.
19411 (cexp_test_data): Likewise.
19412 (cimag_test_data): Likewise.
19413 (clog_test_data): Likewise.
19414 (clog10_test_data): Likewise.
19415 (conj_test_data): Likewise.
19416 (copysign_test_data): Likewise.
19417 (cos_test_data): Likewise.
19418 (cos_tonearest_test_data): Likewise.
19419 (cos_towardzero_test_data): Likewise.
19420 (cos_downward_test_data): Likewise.
19421 (cos_upward_test_data): Likewise.
19422 (cosh_test_data): Likewise.
19423 (cosh_tonearest_test_data): Likewise.
19424 (cosh_towardzero_test_data): Likewise.
19425 (cosh_downward_test_data): Likewise.
19426 (cosh_upward_test_data): Likewise.
19427 (cpow_test_data): Likewise.
19428 (cproj_test_data): Likewise.
19429 (creal_test_data): Likewise.
19430 (csin_test_data): Likewise.
19431 (csinh_test_data): Likewise.
19432 (csqrt_test_data): Likewise.
19433 (ctan_test_data): Likewise.
19434 (ctan_tonearest_test_data): Likewise.
19435 (ctan_towardzero_test_data): Likewise.
19436 (ctan_downward_test_data): Likewise.
19437 (ctan_upward_test_data): Likewise.
19438 (ctanh_test_data): Likewise.
19439 (ctanh_tonearest_test_data): Likewise.
19440 (ctanh_towardzero_test_data): Likewise.
19441 (ctanh_downward_test_data): Likewise.
19442 (ctanh_upward_test_data): Likewise.
19443 (erf_test_data): Likewise.
19444 (erfc_test_data): Likewise.
19445 (exp_test_data): Likewise.
19446 (exp_tonearest_test_data): Likewise.
19447 (exp_towardzero_test_data): Likewise.
19448 (exp_downward_test_data): Likewise.
19449 (exp_upward_test_data): Likewise.
19450 (exp10_test_data): Likewise.
19451 (exp2_test_data): Likewise.
19452 (expm1_test_data): Likewise.
19453 (fabs_test_data): Likewise.
19454 (fdim_test_data): Likewise.
19455 (finite_test_data): Likewise.
19456 (floor_test_data): Likewise.
19457 (fma_test_data): Likewise.
19458 (fma_towardzero_test_data): Likewise.
19459 (fma_downward_test_data): Likewise.
19460 (fma_upward_test_data): Likewise.
19461 (fmax_test_data): Likewise.
19462 (fmin_test_data): Likewise.
19463 (fmod_test_data): Likewise.
19464 (fpclassify_test_data): Likewise.
19465 (frexp_test_data): Likewise.
19466 (gamma_test_data): Likewise.
19467 (hypot_test_data): Likewise.
19468 (ilogb_test_data): Likewise.
19469 (isfinite_test_data): Likewise.
19470 (isgreater_test_data): Likewise.
19471 (isgreaterequal_test_data): Likewise.
19472 (isinf_test_data): Likewise.
19473 (isless_test_data): Likewise.
19474 (islessequal_test_data): Likewise.
19475 (islessgreater_test_data): Likewise.
19476 (isnan_test_data): Likewise.
19477 (isnormal_test_data): Likewise.
19478 (issignaling_test_data): Likewise.
19479 (isunordered_test_data): Likewise.
19480 (j0_test_data): Likewise.
19481 (j1_test_data): Likewise.
19482 (jn_test_data): Likewise.
19483 (ldexp_test_data): Likewise.
19484 (lgamma_test_data): Likewise.
19485 (lrint_test_data): Likewise.
19486 (lrint_tonearest_test_data): Likewise.
19487 (lrint_towardzero_test_data): Likewise.
19488 (lrint_downward_test_data): Likewise.
19489 (lrint_upward_test_data): Likewise.
19490 (llrint_test_data): Likewise.
19491 (llrint_tonearest_test_data): Likewise.
19492 (llrint_towardzero_test_data): Likewise.
19493 (llrint_downward_test_data): Likewise.
19494 (llrint_upward_test_data): Likewise.
19495 (log_test_data): Likewise.
19496 (log10_test_data): Likewise.
19497 (log1p_test_data): Likewise.
19498 (log2_test_data): Likewise.
19499 (logb_test_data): Likewise.
19500 (logb_downward_test_data): Likewise.
19501 (lround_test_data): Likewise.
19502 (llround_test_data): Likewise.
19503 (modf_test_data): Likewise.
19504 (nearbyint_test_data): Likewise.
19505 (nextafter_test_data): Likewise.
19506 (nexttoward_test_data): Likewise.
19507 (pow_test_data): Likewise.
19508 (pow_tonearest_test_data): Likewise.
19509 (pow_towardzero_test_data): Likewise.
19510 (pow_downward_test_data): Likewise.
19511 (pow_upward_test_data): Likewise.
19512 (remainder_test_data): Likewise.
19513 (remainder_tonearest_test_data): Likewise.
19514 (remainder_towardzero_test_data): Likewise.
19515 (remainder_downward_test_data): Likewise.
19516 (remainder_upward_test_data): Likewise.
19517 (remquo_test_data): Likewise.
19518 (rint_test_data): Likewise.
19519 (rint_tonearest_test_data): Likewise.
19520 (rint_towardzero_test_data): Likewise.
19521 (rint_downward_test_data): Likewise.
19522 (rint_upward_test_data): Likewise.
19523 (round_test_data): Likewise.
19524 (scalb_test_data): Likewise.
19525 (scalbn_test_data): Likewise.
19526 (scalbln_test_data): Likewise.
19527 (signbit_test_data): Likewise.
19528 (sin_test_data): Likewise.
19529 (sin_tonearest_test_data): Likewise.
19530 (sin_towardzero_test_data): Likewise.
19531 (sin_downward_test_data): Likewise.
19532 (sin_upward_test_data): Likewise.
19533 (sincos_test_data): Likewise.
19534 (sinh_test_data): Likewise.
19535 (sinh_tonearest_test_data): Likewise.
19536 (sinh_towardzero_test_data): Likewise.
19537 (sinh_downward_test_data): Likewise.
19538 (sinh_upward_test_data): Likewise.
19539 (sqrt_test_data): Likewise.
19540 (tan_test_data): Likewise.
19541 (tan_tonearest_test_data): Likewise.
19542 (tan_towardzero_test_data): Likewise.
19543 (tan_downward_test_data): Likewise.
19544 (tan_upward_test_data): Likewise.
19545 (tanh_test_data): Likewise.
19546 (tgamma_test_data): Likewise.
19547 (trunc_test_data): Likewise.
19548 (y0_test_data): Likewise.
19549 (y1_test_data): Likewise.
19550 (yn_test_data): Likewise.
19551 (significand_test_data): Likewise.
19552
b679a606
JM
19553 * math/gen-libm-test.pl (@functions): Remove variable.
19554 (generate_testfile): Don't handle START and END lines.
19555 * math/libm-test.inc (START): New macro.
19556 (END): Likewise.
19557 (END_COMPLEX): Likewise.
19558 (acos_test): Use END macro without arguments.
19559 (acos_test_tonearest): Likewise.
19560 (acos_test_towardzero): Likewise.
19561 (acos_test_downward): Likewise.
19562 (acos_test_upward): Likewise.
19563 (acosh_test): Likewise.
19564 (asin_test): Likewise.
19565 (asin_test_tonearest): Likewise.
19566 (asin_test_towardzero): Likewise.
19567 (asin_test_downward): Likewise.
19568 (asin_test_upward): Likewise.
19569 (asinh_test): Likewise.
19570 (atan_test): Likewise.
19571 (atanh_test): Likewise.
19572 (atan2_test): Likewise.
19573 (cabs_test): Likewise.
19574 (cacos_test): Use END_COMPLEX macro without arguments.
19575 (cacosh_test): Likewise.
19576 (carg_test): Use END macro without arguments.
19577 (casin_test): Use END_COMPLEX macro without arguments.
19578 (casinh_test): Likewise.
19579 (catan_test): Likewise.
19580 (catanh_test): Likewise.
19581 (cbrt_test): Use END macro without arguments.
19582 (ccos_test): Use END_COMPLEX macro without arguments.
19583 (ccosh_test): Likewise.
19584 (ceil_test): Use END macro without arguments.
19585 (cexp_test): Use END_COMPLEX macro without arguments.
19586 (cimag_test): Use END macro without arguments.
19587 (clog_test): Use END_COMPLEX macro without arguments.
19588 (clog10_test): Likewise.
19589 (conj_test): Likewise.
19590 (copysign_test): Use END macro without arguments.
19591 (cos_test): Likewise.
19592 (cos_test_tonearest): Likewise.
19593 (cos_test_towardzero): Likewise.
19594 (cos_test_downward): Likewise.
19595 (cos_test_upward): Likewise.
19596 (cosh_test): Likewise.
19597 (cosh_test_tonearest): Likewise.
19598 (cosh_test_towardzero): Likewise.
19599 (cosh_test_downward): Likewise.
19600 (cosh_test_upward): Likewise.
19601 (cpow_test): Use END_COMPLEX macro without arguments.
19602 (cproj_test): Likewise.
19603 (creal_test): Use END macro without arguments.
19604 (csin_test): Use END_COMPLEX macro without arguments.
19605 (csinh_test): Likewise.
19606 (csqrt_test): Likewise.
19607 (ctan_test): Likewise.
19608 (ctan_test_tonearest): Likewise.
19609 (ctan_test_towardzero): Likewise.
19610 (ctan_test_downward): Likewise.
19611 (ctan_test_upward): Likewise.
19612 (ctanh_test): Likewise.
19613 (ctanh_test_tonearest): Likewise.
19614 (ctanh_test_towardzero): Likewise.
19615 (ctanh_test_downward): Likewise.
19616 (ctanh_test_upward): Likewise.
19617 (erf_test): Use END macro without arguments.
19618 (erfc_test): Likewise.
19619 (exp_test): Likewise.
19620 (exp_test_tonearest): Likewise.
19621 (exp_test_towardzero): Likewise.
19622 (exp_test_downward): Likewise.
19623 (exp_test_upward): Likewise.
19624 (exp10_test): Likewise.
19625 (exp2_test): Likewise.
19626 (expm1_test): Likewise.
19627 (fabs_test): Likewise.
19628 (fdim_test): Likewise.
19629 (finite_test): Likewise.
19630 (floor_test): Likewise.
19631 (fma_test): Likewise.
19632 (fma_test_towardzero): Likewise.
19633 (fma_test_downward): Likewise.
19634 (fma_test_upward): Likewise.
19635 (fmax_test): Likewise.
19636 (fmin_test): Likewise.
19637 (fmod_test): Likewise.
19638 (fpclassify_test): Likewise.
19639 (frexp_test): Likewise.
19640 (gamma_test): Likewise.
19641 (hypot_test): Likewise.
19642 (ilogb_test): Likewise.
19643 (isfinite_test): Likewise.
19644 (isgreater_test): Likewise.
19645 (isgreaterequal_test): Likewise.
19646 (isinf_test): Likewise.
19647 (isless_test): Likewise.
19648 (islessequal_test): Likewise.
19649 (islessgreater_test): Likewise.
19650 (isnan_test): Likewise.
19651 (isnormal_test): Likewise.
19652 (issignaling_test): Likewise.
19653 (isunordered_test): Likewise.
19654 (j0_test): Likewise.
19655 (j1_test): Likewise.
19656 (jn_test): Likewise.
19657 (ldexp_test): Likewise.
19658 (lgamma_test): Likewise.
19659 (lrint_test): Likewise.
19660 (lrint_test_tonearest): Likewise.
19661 (lrint_test_towardzero): Likewise.
19662 (lrint_test_downward): Likewise.
19663 (lrint_test_upward): Likewise.
19664 (llrint_test): Likewise.
19665 (llrint_test_tonearest): Likewise.
19666 (llrint_test_towardzero): Likewise.
19667 (llrint_test_downward): Likewise.
19668 (llrint_test_upward): Likewise.
19669 (log_test): Likewise.
19670 (log10_test): Likewise.
19671 (log1p_test): Likewise.
19672 (log2_test): Likewise.
19673 (logb_test): Likewise.
19674 (logb_test_downward): Likewise.
19675 (lround_test): Likewise.
19676 (llround_test): Likewise.
19677 (modf_test): Likewise.
19678 (nearbyint_test): Likewise.
19679 (nextafter_test): Likewise.
19680 (nexttoward_test): Likewise.
19681 (pow_test): Likewise.
19682 (pow_test_tonearest): Likewise.
19683 (pow_test_towardzero): Likewise.
19684 (pow_test_downward): Likewise.
19685 (pow_test_upward): Likewise.
19686 (remainder_test): Likewise.
19687 (remainder_test_tonearest): Likewise.
19688 (remainder_test_towardzero): Likewise.
19689 (remainder_test_downward): Likewise.
19690 (remainder_test_upward): Likewise.
19691 (remquo_test): Likewise.
19692 (rint_test): Likewise.
19693 (rint_test_tonearest): Likewise.
19694 (rint_test_towardzero): Likewise.
19695 (rint_test_downward): Likewise.
19696 (rint_test_upward): Likewise.
19697 (round_test): Likewise.
19698 (scalb_test): Likewise.
19699 (scalbn_test): Likewise.
19700 (scalbln_test): Likewise.
19701 (signbit_test): Likewise.
19702 (sin_test): Likewise.
19703 (sin_test_tonearest): Likewise.
19704 (sin_test_towardzero): Likewise.
19705 (sin_test_downward): Likewise.
19706 (sin_test_upward): Likewise.
19707 (sincos_test): Likewise.
19708 (sinh_test): Likewise.
19709 (sinh_test_tonearest): Likewise.
19710 (sinh_test_towardzero): Likewise.
19711 (sinh_test_downward): Likewise.
19712 (sinh_test_upward): Likewise.
19713 (sqrt_test): Likewise.
19714 (tan_test): Likewise.
19715 (tan_test_tonearest): Likewise.
19716 (tan_test_towardzero): Likewise.
19717 (tan_test_downward): Likewise.
19718 (tan_test_upward): Likewise.
19719 (tanh_test): Likewise.
19720 (tgamma_test): Likewise.
19721 (trunc_test): Likewise.
19722 (y0_test): Likewise.
19723 (y1_test): Likewise.
19724 (yn_test): Likewise.
19725 (significand_test): Likewise.
19726
bae143d2
OB
197272013-05-24 Ondřej Bílka <neleai@seznam.cz>
19728
19729 [BZ #15381]
19730 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19731
9323d39b
EM
197322013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19733
d4ea44a0 19734 [BZ #14894]
9323d39b
EM
19735 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19736 __ppc_mdoio and __ppc_mdoom.
19737 * manual/platform.texi: Document new functions __ppc_yield,
19738 __ppc_mdoio and __ppc_mdoom.
19739
13e23af7
CD
197402013-05-22 Carlos O'Donell <carlos@redhat.com>
19741
19742 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19743 (main): Mention "tls" pseudo-hwcap is legacy.
19744 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19745
351fe550
JM
197462013-05-22 Joseph Myers <joseph@codesourcery.com>
19747
19748 * math/gen-libm-test.pl (parse_args): Output only string of
19749 arguments as text for test name, not full call or descriptions of
19750 tests for extra outputs.
19751 (generate_testfile): Do not pass function name to parse_args.
19752 Generate this_func variable from START.
19753 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19754 field to arg_str.
19755 (struct test_ff_f_data): Likewise.
19756 (test_ff_f_data_nexttoward): Likewise.
19757 (struct test_fi_f_data): Likewise.
19758 (struct test_fl_f_data): Likewise.
19759 (struct test_if_f_data): Likewise.
19760 (struct test_fff_f_data): Likewise.
19761 (struct test_c_f_data): Likewise.
19762 (struct test_f_f1_data): Likewise. Remove field extra_name.
19763 (struct test_fF_f1_data): Likewise.
19764 (struct test_ffI_f1_data): Likewise.
19765 (struct test_c_c_data): Rename test_name field to arg_str.
19766 (struct test_cc_c_data): Likewise.
19767 (struct test_f_i_data): Likewise.
19768 (struct test_ff_i_data): Likewise.
19769 (struct test_f_l_data): Likewise.
19770 (struct test_f_L_data): Likewise.
19771 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19772 and extra2_name.
19773 (COMMON_TEST_SETUP): New macro.
19774 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19775 (COMMON_TEST_CLEANUP): Likewise.
19776 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19777 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19778 macros.
19779 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19780 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19781 macros.
19782 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19783 (RUN_TEST_fff_f): Take argument string. Call new setup and
19784 cleanup macros.
19785 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19786 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19787 macros.
19788 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19789 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19790 macros.
19791 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19792 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19793 cleanup macros.
19794 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19795 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19796 cleanup macros.
19797 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19798 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19799 cleanup macros.
19800 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19801 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19802 macros.
19803 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19804 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19805 macros.
19806 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19807 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19808 macros.
19809 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19810 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19811 cleanup macros.
19812 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19813 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19814 cleanup macros.
19815 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19816 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19817 macros.
19818 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19819 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19820 cleanup macros.
19821 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19822 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19823 macros.
19824 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19825 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19826 macros.
19827 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19828 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19829 cleanup macros.
19830 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19831
85118d4d
EBM
198322013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19833
19834 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19835 to _sifields.sigfault.
19836 (si_addr_lsb): Define new macro.
19837 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19838 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19839 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19840
7a44c18f
CD
198412013-05-03 Carlos O'Donell <carlos at redhat.com>
19842
19843 [BZ #15441]
19844 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19845 returns -1.
19846 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19847 null return -1.
19848 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19849 loading the domain.
19850
b50a7181
JM
198512013-05-22 Joseph Myers <joseph@codesourcery.com>
19852
19853 * math/gen-libm-test.pl (parse_args): Do not include expected
19854 result in test name.
19855 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19857 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19858 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19859 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19861
051063c8
SP
198622013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19863
3ce9e010
SP
19864 * benchtests/Makefile: Sort function entries.
19865
051063c8
SP
19866 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19867 tanh, asinh, acosh, atanh.
19868 * benchtests/acos-inputs: New file.
19869 * benchtests/acosh-inputs: New file.
19870 * benchtests/asin-inputs: New file.
19871 * benchtests/asinh-inputs: New file.
19872 * benchtests/atanh-inputs: New file.
19873 * benchtests/cosh-inputs: New file.
19874 * benchtests/log-inputs: New file.
19875 * benchtests/sinh-inputs: New file.
19876 * benchtests/tanh-inputs: New file.
19877
47c22455
DL
198782013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19879
19880 [BZ #15339]
19881 * posix/tst-getaddrinfo4.c: New test.
19882 * posix/Makefile (tests): Add it.
19883
3d04f5db
SP
198842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19885
19886 [BZ #15339]
19887 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19888 when no services were used.
19889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19890 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19891
d5dd6189
AS
198922013-05-21 Andreas Schwab <schwab@suse.de>
19893
19894 [BZ #15014]
19895 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19896 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19897 successful.
19898 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19899 redundant variable declarations and reallocation of buffer when
19900 parsing as IPv6 address. Always set NSS status when called from
19901 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19902 buffer too small. Correct computation of needed size.
19903 * nss/Makefile (tests): Add test-digits-dots.
19904 * nss/test-digits-dots.c: New test.
19905
fef94eab
SP
199062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19907
19908 * benchtests/Makefile: Remove instructions for adding
19909 benchmark tests.
19910 * benchtests/README: New file to explain how to execute and
19911 enhance the benchmark tests.
19912
e39adf43
AS
199132013-05-21 Andreas Schwab <schwab@suse.de>
19914
19915 [BZ #15493]
19916 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19917 * setjmp/tst-sigsetjmp.c: New test.
19918
b2b671b6
OB
199192013-05-20 Ondřej Bílka <neleai@seznam.cz>
19920
19921 * sysdeps/x86_64/memset.S (memset): New implementation.
19922 (__bzero): Likewise.
19923 (__memset_tail): New function.
19924
2d48b41c
OB
199252013-05-20 Ondřej Bílka <neleai@seznam.cz>
19926
19927 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19928 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19929 __memcpy_sse2_unaligned ifunc selection.
19930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19931 Add memcpy-sse2-unaligned.S.
19932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19933 Add: __memcpy_sse2_unaligned.
19934
f16cc3eb
JM
199352013-05-19 Joseph Myers <joseph@codesourcery.com>
19936
3e694268
JM
19937 [BZ #15490]
19938 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19939 math_force_eval before restoring floating-point envrionment.
19940 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19942 Likewise.
19943 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19944 <math_private.h>.
19945 (__nearbyintl): Use math_force_eval before restoring
19946 floating-point environment.
19947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19948
db62a907
JM
19949 * math/gen-libm-test.pl (special_functions): Remove.
19950 (parse_args): Don't handle TEST_extra. Handle functions with no
19951 return value.
19952 * math/libm-test.inc (struct test_sincos_data): Replace with
19953 struct test_fFF_11_data.
19954 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19955 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19956 (sincos_test_data): Change element type to struct
19957 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19958 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19959 RUN_TEST_LOOP_sincos.
19960 * math/README.libm-test: Don't mention special handling of
19961 individual functions.
19962 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19964 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19965 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19966 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19968
f16cc3eb
JM
19969 * math/gen-libm-test.pl (get_variable): Remove function.
19970 (parse_args): Don't show pointer parameters to call in test
19971 names. Use "extra output N" in test names for extra outputs
19972 rather than naming variables.
19973
3779b5b6
JM
199742013-05-18 Joseph Myers <joseph@codesourcery.com>
19975
2ee094ff
JM
19976 [BZ #15488]
19977 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19978 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19979 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19980 double tests.
19981 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19982 disable.
19983 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19984 check_long_double.
19985
3779b5b6
JM
19986 * math/gen-libm-test.pl (@tests): Remove variable.
19987 ($count): Likewise.
19988 (new_test): Remove function.
19989 (show_exceptions): New function.
19990 (special_functions): Use show_exceptions instead of new_test.
19991 (parse_args): Likewise.
19992 (generate_testfile): Pass only function name in generated call to
19993 print_max_error or print_complex_max_error.
19994 (get_ulps): Do not handle complex tests specially.
19995 (output_test): Rename to ...
19996 (get_all_ulps_for_test): ... this. Return a string rather than
19997 printing to a file. Require ulps to be present.
19998 (output_ulps): Generate arrays rather than #defines.
19999 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20000 (struct ulp_data): New type.
20001 (BUILD_COMPLEX_ULP): Remove macro.
20002 (compare_ulp_data): New function.
20003 (find_ulps): Likewise.
20004 (find_test_ulps): Likewise.
20005 (find_function_ulps): Likewise.
20006 (find_complex_function_ulps): Likewise.
20007 (print_max_error): Determine allowed ulps using
20008 find_function_ulps.
20009 (print_complex_max_error): Determine allowed ulps using
20010 find_complex_function_ulps.
20011 (check_float_internal): Determine max ulps using find_test_ulps.
20012 (check_float): Do not take max_ulp parameter. Update call to
20013 check_float_internal.
20014 (check_complex): Likewise.
20015 (check_int): Do not take max_ulp parameter.
20016 (check_long): Likewise.
20017 (check_bool): Likewise.
20018 (check_longlong): Likewise.
20019 (struct test_f_f_data): Remove max_ulp field.
20020 (struct test_ff_f_data): Likewise.
20021 (struct test_ff_f_data_nexttoward): Likewise.
20022 (struct test_fi_f_data): Likewise.
20023 (struct test_fl_f_data): Likewise.
20024 (struct test_if_f_data): Likewise.
20025 (struct test_fff_f_data): Likewise.
20026 (struct test_c_f_data): Likewise.
20027 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20028 (struct test_fF_f1_data): Likewise.
20029 (struct test_ffI_f1_data): Likewise.
20030 (struct test_c_c_data): Remove max_ulp field.
20031 (struct test_cc_c_data): Likewise.
20032 (struct test_f_i_data): Likewise.
20033 (struct test_ff_i_data): Likewise.
20034 (struct test_f_l_data): Likewise.
20035 (struct test_f_L_data): Likewise.
20036 (struct test_sincos_data): Likewise.
20037 (RUN_TEST_f_f): Do not handle ulps.
20038 (RUN_TEST_LOOP_f_f): Likewise.
20039 (RUN_TEST_2_f): Likewise.
20040 (RUN_TEST_LOOP_2_f): Likewise.
20041 (RUN_TEST_fff_f): Likewise.
20042 (RUN_TEST_LOOP_fff_f): Likewise.
20043 (RUN_TEST_c_f): Likewise.
20044 (RUN_TEST_LOOP_c_f): Likewise.
20045 (RUN_TEST_f_f1): Likewise.
20046 (RUN_TEST_LOOP_f_f1): Likewise.
20047 (RUN_TEST_fF_f1): Likewise.
20048 (RUN_TEST_LOOP_fF_f1): Likewise.
20049 (RUN_TEST_fI_f1): Likewise.
20050 (RUN_TEST_LOOP_fI_f1): Likewise.
20051 (RUN_TEST_ffI_f1): Likewise.
20052 (RUN_TEST_LOOP_ffI_f1): Likewise.
20053 (RUN_TEST_c_c): Likewise.
20054 (RUN_TEST_LOOP_c_c): Likewise.
20055 (RUN_TEST_cc_c): Likewise.
20056 (RUN_TEST_LOOP_cc_c): Likewise.
20057 (RUN_TEST_f_i): Likewise.
20058 (RUN_TEST_LOOP_f_i): Likewise.
20059 (RUN_TEST_f_i_tg): Likewise.
20060 (RUN_TEST_LOOP_f_i_tg): Likewise.
20061 (RUN_TEST_ff_i_tg): Likewise.
20062 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20063 (RUN_TEST_f_b): Likewise.
20064 (RUN_TEST_LOOP_f_b): Likewise.
20065 (RUN_TEST_f_b_tg): Likewise.
20066 (RUN_TEST_LOOP_f_b_tg): Likewise.
20067 (RUN_TEST_f_l): Likewise.
20068 (RUN_TEST_LOOP_f_l): Likewise.
20069 (RUN_TEST_f_L): Likewise.
20070 (RUN_TEST_LOOP_f_L): Likewise.
20071 (RUN_TEST_sincos): Likewise.
20072 (RUN_TEST_LOOP_sincos): Likewise.
20073
8269107f
JM
200742013-05-17 Joseph Myers <joseph@codesourcery.com>
20075
bb38759d
JM
20076 [BZ #15480]
20077 [BZ #15485]
20078 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20079 main case of finite arguments, set rounding mode to FE_TONEAREST
20080 and discard exceptions.
20081 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20082 exceptions.
20083 (remainder_tonearest_test_data): New variable.
20084 (remainder_test_tonearest): New function.
20085 (remainder_towardzero_test_data): New variable.
20086 (remainder_test_towardzero): New function.
20087 (remainder_downward_test_data): New variable.
20088 (remainder_test_downward): New function.
20089 (remainder_upward_test_data): New variable.
20090 (remainder_test_upward): New function.
20091 (main): Call the new test functions.
20092
a00bdcf0
JM
20093 * math/libm-test.inc (struct test_f_f1_data): Remove field
20094 extra_init.
20095 (struct test_fF_f1_data): Likewise.
20096 (struct test_ffI_f1_data): Likewise.
20097 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20098 based on value of EXTRA_EXPECTED.
20099 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20100 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20101 EXTRA_VAR based on value of EXTRA_EXPECTED.
20102 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20103 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20104 EXTRA_VAR based on value of EXTRA_EXPECTED.
20105 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20106 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20107 EXTRA_VAR based on value of EXTRA_EXPECTED.
20108 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20109 * math/gen-libm-test.pl (parse_args): Don't output initializers
20110 for extra output values.
20111
de407f79
JM
20112 * math/libm-test.inc (check_int): Expect result to be exactly
20113 equal to expected value and do not handle ulps.
20114 (check_long): Likewise.
20115 (check_longlong): Likewise.
20116
8269107f
JM
20117 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20118 exceptions.
20119 (cimag_test_data): Likewise.
20120 (conj_test_data): Likewise.
20121 (copysign_test_data): Likewise.
20122 (cproj_test_data): Likewise.
20123 (creal_test_data): Likewise.
20124 (fabs_test_data): Likewise.
20125 (fdim_test_data): Likewise.
20126 (finite_test_data): Likewise.
20127 (floor_test_data): Likewise.
20128 (fmax_test_data): Likewise.
20129 (fmin_test_data): Likewise.
20130 (fmod_test_data): Likewise.
20131 (fpclassify_test_data): Likewise.
20132 (frexp_test_data): Likewise.
20133 (ilogb_test_data): Likewise.
20134 (isfinite_test_data): Likewise.
20135 (isgreater_test_data): Likewise.
20136 (isgreaterequal_test_data): Likewise.
20137 (isinf_test_data): Likewise.
20138 (isless_test_data): Likewise.
20139 (islessequal_test_data): Likewise.
20140 (islessgreater_test_data): Likewise.
20141 (isnan_test_data): Likewise.
20142 (isnormal_test_data): Likewise.
20143 (issignaling_test_data): Likewise.
20144 (isunordered_test_data): Likewise.
20145 (ldexp_test_data): Likewise.
20146 (lrint_test_data): Likewise.
20147 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20148 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20149 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20150 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20151 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20152 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20153 test input.
20154 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20155 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20156 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20157 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20158 that test input.
20159 (lrint_downward_test_data): Test for "inexact" exceptions.
20160 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20161 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20162 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20163 test input.
20164 (lrint_upward_test_data): Test for "inexact" exceptions.
20165 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20166 test input.
20167 (llrint_test_data): Test for "inexact" exceptions.
20168 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20169 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20170 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20171 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20172 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20173 (llrint_downward_test_data): Test for "inexact" exceptions.
20174 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20175 (llrint_upward_test_data): Test for "inexact" exceptions.
20176 (logb_test_data): Likewise.
20177 (logb_downward_test_data): Likewise.
20178 (nextafter_test_data): Likewise.
20179 (nexttoward_test_data): Likewise.
20180 (remainder_test_data): Likewise.
20181 (remquo_test_data): Likewise.
20182 (scalbn_test_data): Likewise.
20183 (scalbln_test_data): Likewise.
20184 (signbit_test_data): Likewise.
20185 (sqrt_test_data): Likewise.
20186 (significand_test_data): Likewise.
20187
48a18de1
SP
201882013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20189
20190 [BZ #15424]
20191 * benchtests/bench-modf.c (struct args): Mark arg0 as
20192 volatile.
20193 * scripts/bench.pl: Mark members of struct args as volatile.
20194
13d3b41a
AZ
201952013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20196
68191c1d 20197 [BZ # 15497]
13d3b41a
AZ
20198 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20199 negative infinity on POWER6 or lower.
20200 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20201
2848b105
MR
202022013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20203
20204 [BZ #15442]
20205 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20206 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20207 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20208 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20209 (_FP_SETQNAN): New macro.
20210 (_FP_SETQNAN_SEMIRAW): Likewise.
20211 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20212 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20213 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20214 (FP_EXTEND): Use _FP_FRAC_SNANP.
20215 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20216 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20217 into account.
20218 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20219 New macro.
20220 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20221 Likewise.
20222
323e5cb7
JM
202232013-05-16 Joseph Myers <joseph@codesourcery.com>
20224
c58b274f
JM
20225 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20226 with DIVIDE_BY_ZERO_EXCEPTION.
20227 (gamma_test_data): Likewise.
20228 (lgamma_test_data): Likewise.
20229 (log_test_data): Likewise.
20230 (log10_test_data): Likewise.
20231 (log2_test_data): Likewise.
20232 (tgamma_test_data): Likewise.
20233
0ab34904
JM
20234 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20235 (acos_test_tonearest): Likewise.
20236 (acos_test_towardzero): Likewise.
20237 (acos_test_downward): Likewise.
20238 (acos_test_upward): Likewise.
20239 (acosh_test): Likewise.
20240 (asin_test): Likewise.
20241 (asin_test_tonearest): Likewise.
20242 (asin_test_towardzero): Likewise.
20243 (asin_test_downward): Likewise.
20244 (asin_test_upward): Likewise.
20245 (asinh_test): Likewise.
20246 (atan_test): Likewise.
20247 (atanh_test): Likewise.
20248 (atan2_test): Likewise.
20249 (cabs_test): Likewise.
20250 (cacos_test): Likewise.
20251 (cacosh_test): Likewise.
20252 (casin_test): Likewise.
20253 (casinh_test): Likewise.
20254 (catan_test): Likewise.
20255 (catanh_test): Likewise.
20256 (cbrt_test): Likewise.
20257 (ccos_test): Likewise.
20258 (ccosh_test): Likewise.
20259 (cexp_test): Likewise.
20260 (clog_test): Likewise.
20261 (clog10_test): Likewise.
20262 (cos_test): Likewise.
20263 (cos_test_tonearest): Likewise.
20264 (cos_test_towardzero): Likewise.
20265 (cos_test_downward): Likewise.
20266 (cos_test_upward): Likewise.
20267 (cosh_test): Likewise.
20268 (cosh_test_tonearest): Likewise.
20269 (cosh_test_towardzero): Likewise.
20270 (cosh_test_downward): Likewise.
20271 (cosh_test_upward): Likewise.
20272 (cpow_test): Likewise.
20273 (csin_test): Likewise.
20274 (csinh_test): Likewise.
20275 (csqrt_test): Likewise.
20276 (ctan_test): Likewise.
20277 (ctan_test_tonearest): Likewise.
20278 (ctan_test_towardzero): Likewise.
20279 (ctan_test_downward): Likewise.
20280 (ctan_test_upward): Likewise.
20281 (ctanh_test): Likewise.
20282 (ctanh_test_tonearest): Likewise.
20283 (ctanh_test_towardzero): Likewise.
20284 (ctanh_test_downward): Likewise.
20285 (ctanh_test_upward): Likewise.
20286 (erf_test): Likewise.
20287 (erfc_test): Likewise.
20288 (exp_test): Likewise.
20289 (exp_test_tonearest): Likewise.
20290 (exp_test_towardzero): Likewise.
20291 (exp_test_downward): Likewise.
20292 (exp_test_upward): Likewise.
20293 (exp10_test): Likewise.
20294 (exp2_test): Likewise.
20295 (expm1_test): Likewise.
20296 (fmod_test): Likewise.
20297 (gamma_test): Likewise.
20298 (hypot_test): Likewise.
20299 (j0_test): Likewise.
20300 (j1_test): Likewise.
20301 (jn_test): Likewise.
20302 (lgamma_test): Likewise.
20303 (log_test): Likewise.
20304 (log10_test): Likewise.
20305 (log1p_test): Likewise.
20306 (log2_test): Likewise.
20307 (logb_test_downward): Likewise.
20308 (pow_test): Likewise.
20309 (pow_test_tonearest): Likewise.
20310 (pow_test_towardzero): Likewise.
20311 (pow_test_downward): Likewise.
20312 (pow_test_upward): Likewise.
20313 (remainder_test): Likewise.
20314 (remquo_test): Likewise.
20315 (sin_test): Likewise.
20316 (sin_test_tonearest): Likewise.
20317 (sin_test_towardzero): Likewise.
20318 (sin_test_downward): Likewise.
20319 (sin_test_upward): Likewise.
20320 (sincos_test): Likewise.
20321 (sinh_test): Likewise.
20322 (sinh_test_tonearest): Likewise.
20323 (sinh_test_towardzero): Likewise.
20324 (sinh_test_downward): Likewise.
20325 (sinh_test_upward): Likewise.
20326 (sqrt_test): Likewise.
20327 (tan_test): Likewise.
20328 (tan_test_tonearest): Likewise.
20329 (tan_test_towardzero): Likewise.
20330 (tan_test_downward): Likewise.
20331 (tan_test_upward): Likewise.
20332 (tanh_test): Likewise.
20333 (tgamma_test): Likewise.
20334 (y0_test): Likewise.
20335 (y1_test): Likewise.
20336 (yn_test): Likewise.
20337
323e5cb7
JM
20338 * math/gen-libm-test.pl (adjust_arg): Remove function.
20339 (special_function): Remove argument $in_func. Only handle
20340 generating output for tables of tests, not inside functions.
20341 (parse_args): Likewise.
20342 (generate_testfile): Remove variable $in_func. Update call to
20343 parse_args.
20344 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20345 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20346 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20347 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20348 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20349 (MAX_VALUE_INIT): Rename macro to max_value.
20350 (MIN_VALUE_INIT): Rename macro to min_value.
20351 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20352 (plus_zero): Remove variable.
20353 (minus_zero): Likewise.
20354 (plus_infty): Likewise.
20355 (minus_infty): Likewise.
20356 (qnan_value): Likewise.
20357 (max_value): Likewise.
20358 (min_value): Likewise.
20359 (min_subnorm_value): Likewise.
20360
e054f494
RA
203612013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20362
20363 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20364 uint64_t or uint32_t usage.
20365 * crypt/sha256-block.c: Likewise.
20366 * crypt/sha256-crypt.c: Likewise.
20367 * crypt/sha256.c: Likewise.
20368 * crypt/sha512-block.c: Likewise.
20369 * crypt/sha512-crypt.c: Likewise.
20370 * crypt/sha512.c: Likewise.
20371 * debug/backtrace-tst.c: Likewise.
20372 * debug/pcprofiledump.c: Likewise.
20373 * elf/cache.c: Likewise.
20374 * elf/dl-cache.c: Likewise.
20375 * elf/dl-misc.c: Likewise.
20376 * elf/dl-profile.c: Likewise.
20377 * elf/dl-support.c: Likewise.
20378 * elf/ldconfig.c: Likewise.
20379 * elf/sprof.c: Likewise.
20380 * iconv/dummy-repertoire.c: Likewise.
20381 * iconv/iconv_charmap.c: Likewise.
20382 * iconv/skeleton.c: Likewise.
20383 * iconvdata/8bit-generic.c: Likewise.
20384 * iconvdata/cp737.h: Likewise.
20385 * iconvdata/cp775.h: Likewise.
20386 * iconvdata/ibm1008.h: Likewise.
20387 * iconvdata/ibm1025.h: Likewise.
20388 * iconvdata/ibm1046.h: Likewise.
20389 * iconvdata/ibm1097.h: Likewise.
20390 * iconvdata/ibm1112.h: Likewise.
20391 * iconvdata/ibm1122.h: Likewise.
20392 * iconvdata/ibm1123.h: Likewise.
20393 * iconvdata/ibm1124.h: Likewise.
20394 * iconvdata/ibm1129.h: Likewise.
20395 * iconvdata/ibm1130.h: Likewise.
20396 * iconvdata/ibm1132.h: Likewise.
20397 * iconvdata/ibm1133.h: Likewise.
20398 * iconvdata/ibm1137.h: Likewise.
20399 * iconvdata/ibm1140.h: Likewise.
20400 * iconvdata/ibm1141.h: Likewise.
20401 * iconvdata/ibm1142.h: Likewise.
20402 * iconvdata/ibm1143.h: Likewise.
20403 * iconvdata/ibm1144.h: Likewise.
20404 * iconvdata/ibm1145.h: Likewise.
20405 * iconvdata/ibm1146.h: Likewise.
20406 * iconvdata/ibm1147.h: Likewise.
20407 * iconvdata/ibm1148.h: Likewise.
20408 * iconvdata/ibm1149.h: Likewise.
20409 * iconvdata/ibm1153.h: Likewise.
20410 * iconvdata/ibm1154.h: Likewise.
20411 * iconvdata/ibm1155.h: Likewise.
20412 * iconvdata/ibm1156.h: Likewise.
20413 * iconvdata/ibm1157.h: Likewise.
20414 * iconvdata/ibm1158.h: Likewise.
20415 * iconvdata/ibm1160.h: Likewise.
20416 * iconvdata/ibm1161.h: Likewise.
20417 * iconvdata/ibm1162.h: Likewise.
20418 * iconvdata/ibm1163.h: Likewise.
20419 * iconvdata/ibm1164.h: Likewise.
20420 * iconvdata/ibm1166.h: Likewise.
20421 * iconvdata/ibm1167.h: Likewise.
20422 * iconvdata/ibm12712.h: Likewise.
20423 * iconvdata/ibm1390.h: Likewise.
20424 * iconvdata/ibm1399.h: Likewise.
20425 * iconvdata/ibm16804.h: Likewise.
20426 * iconvdata/ibm4517.h: Likewise.
20427 * iconvdata/ibm4899.h: Likewise.
20428 * iconvdata/ibm4909.h: Likewise.
20429 * iconvdata/ibm4971.h: Likewise.
20430 * iconvdata/ibm5347.h: Likewise.
20431 * iconvdata/ibm803.h: Likewise.
20432 * iconvdata/ibm856.h: Likewise.
20433 * iconvdata/ibm901.h: Likewise.
20434 * iconvdata/ibm902.h: Likewise.
20435 * iconvdata/ibm9030.h: Likewise.
20436 * iconvdata/ibm9066.h: Likewise.
20437 * iconvdata/ibm921.h: Likewise.
20438 * iconvdata/ibm922.h: Likewise.
20439 * iconvdata/ibm9448.h: Likewise.
20440 * iconvdata/isiri-3342.h: Likewise.
20441 * iconvdata/jis0201.h: Likewise.
20442 * include/link.h: Likewise.
20443 * include/netdb.h: Likewise.
20444 * inet/check_native.c: Likewise.
20445 * inet/check_pf.c: Likewise.
20446 * inet/getipv4sourcefilter.c: Likewise.
20447 * inet/getnameinfo.c: Likewise.
20448 * inet/getsourcefilter.c: Likewise.
20449 * inet/htonl.c: Likewise.
20450 * inet/setipv4sourcefilter.c: Likewise.
20451 * inet/setsourcefilter.c: Likewise.
20452 * inet/test-inet6_opt.c: Likewise.
20453 * inet/tst-network.c: Likewise.
20454 * locale/C-collate.c: Likewise.
20455 * locale/C-ctype.c: Likewise.
20456 * locale/C-time.c: Likewise.
20457 * locale/C-translit.h: Likewise.
20458 * locale/loadarchive.c: Likewise.
20459 * locale/programs/3level.h: Likewise.
20460 * locale/programs/charmap.c: Likewise.
20461 * locale/programs/charmap.h: Likewise.
20462 * locale/programs/ld-address.c: Likewise.
20463 * locale/programs/ld-collate.c: Likewise.
20464 * locale/programs/ld-ctype.c: Likewise.
20465 * locale/programs/ld-identification.c: Likewise.
20466 * locale/programs/ld-measurement.c: Likewise.
20467 * locale/programs/ld-messages.c: Likewise.
20468 * locale/programs/ld-monetary.c: Likewise.
20469 * locale/programs/ld-name.c: Likewise.
20470 * locale/programs/ld-numeric.c: Likewise.
20471 * locale/programs/ld-paper.c: Likewise.
20472 * locale/programs/ld-telephone.c: Likewise.
20473 * locale/programs/ld-time.c: Likewise.
20474 * locale/programs/linereader.c: Likewise.
20475 * locale/programs/locale.c: Likewise.
20476 * locale/programs/locarchive.c: Likewise.
20477 * locale/programs/locfile.h: Likewise.
20478 * locale/programs/repertoire.c: Likewise.
20479 * locale/programs/simple-hash.c: Likewise.
20480 * locale/programs/simple-hash.h: Likewise.
20481 * malloc/memusage.c: Likewise.
20482 * malloc/memusagestat.c: Likewise.
20483 * nis/nis_defaults.c: Likewise.
20484 * nis/nis_hash.c: Likewise.
20485 * nis/nis_print.c: Likewise.
20486 * nis/nis_xdr.c: Likewise.
20487 * nscd/connections.c: Likewise.
20488 * nscd/hstcache.c: Likewise.
20489 * nscd/nscd_gethst_r.c: Likewise.
20490 * nscd/nscd_getserv_r.c: Likewise.
20491 * nscd/nscd_helper.c: Likewise.
20492 * nscd/servicescache.c: Likewise.
20493 * nss/makedb.c: Likewise.
20494 * nss/nss_db/db-XXX.c: Likewise.
20495 * nss/nss_db/db-initgroups.c: Likewise.
20496 * nss/nss_db/db-netgrp.c: Likewise.
20497 * nss/nss_files/files-network.c: Likewise.
20498 * nss/nss_files/files-parse.c: Likewise.
20499 * posix/bug-regex5.c: Likewise.
20500 * posix/fnmatch_loop.c: Likewise.
20501 * posix/regcomp.c: Likewise.
20502 * posix/regexec.c: Likewise.
20503 * posix/tst-rfc3484-2.c: Likewise.
20504 * posix/tst-rfc3484-3.c: Likewise.
20505 * posix/tst-rfc3484.c: Likewise.
20506 * resolv/nss_dns/dns-canon.c: Likewise.
20507 * resolv/nss_dns/dns-network.c: Likewise.
20508 * resolv/res_init.c: Likewise.
20509 * resolv/res_mkquery.c: Likewise.
20510 * resolv/tst-aton.c: Likewise.
20511 * stdlib/cxa_atexit.c: Likewise.
20512 * stdlib/cxa_finalize.c: Likewise.
20513 * stdlib/gen-fpioconst.c: Likewise.
20514 * stdlib/strtol_l.c: Likewise.
20515 * string/tst-endian.c: Likewise.
20516 * sunrpc/auth_des.c: Likewise.
20517 * sunrpc/clnt_udp.c: Likewise.
20518 * sunrpc/rtime.c: Likewise.
20519 * sunrpc/svcauth_des.c: Likewise.
20520 * sunrpc/xdr.c: Likewise.
20521 * sunrpc/xdr_intXX_t.c: Likewise.
20522 * sunrpc/xdr_rec.c: Likewise.
20523 * sysdeps/generic/ldconfig.h: Likewise.
20524 * sysdeps/generic/ldsodefs.h: Likewise.
20525 * sysdeps/generic/memusage.h: Likewise.
20526 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20532 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20534 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20536 * sysdeps/posix/getaddrinfo.c: Likewise.
20537 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20538 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20539 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20541 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20542 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20543 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20544 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20545 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20546 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20547 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20548 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20549 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20550 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20551 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20552 * sysdeps/x86_64/dl-tls.h: Likewise.
20553 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20554 * time/alt_digit.c: Likewise.
20555 * time/era.c: Likewise.
20556 * wcsmbs/tst-c16c32-1.c: Likewise.
20557
8c75f674
JM
205582013-05-16 Joseph Myers <joseph@codesourcery.com>
20559
20560 * math/libm-test.inc (struct test_sincos_data): New type.
20561 (RUN_TEST_LOOP_sincos): New macro.
20562 (sincos_test_data): New variable.
20563 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20564
e6e49e59
RH
205652013-05-16 Richard Henderson <rth@redhat.com>
20566
20567 * math/atest-exp2.c (LIMB64): New macro.
20568 (CONSTSZ): New macro.
20569 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20570 (hexdig): Move ...
20571 (print_mpn_fp): ... to function scope.
20572 (read_mpn_hex): Remove.
20573 (get_log2): Remove.
20574 (exp2_mpn): Use mp_log2.
20575 (main): Use mp_exp1.
20576
15c7c18d
JM
205772013-05-16 Joseph Myers <joseph@codesourcery.com>
20578
105a07df
JM
20579 * math/libm-test.inc: Remove comment about not testing "inexact"
20580 exceptions.
20581 (INEXACT_EXCEPTION): New macro.
20582 (NO_INEXACT_EXCEPTION): Likewise.
20583 (INVALID_EXCEPTION_OK): Update value.
20584 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20585 (OVERFLOW_EXCEPTION_OK): Likewise.
20586 (UNDERFLOW_EXCEPTION_OK): Likewise.
20587 (IGNORE_ZERO_INF_SIGN): Likewise.
20588 (ERRNO_UNCHANGED): Likewise.
20589 (ERRNO_EDOM): Likewise.
20590 (ERRNO_ERANGE): Likewise.
20591 (test_exceptions): Handle testing "inexact" exceptions.
20592 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20593 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20594 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20595 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20596 INEXACT_EXCEPTION.
20597 (rint_towardzero_test_data): Likewise.
20598 (rint_downward_test_data): Likewise.
20599 (rint_upward_test_data): Likewise.
20600
e9eee333
JM
20601 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20602 with OVERFLOW_EXCEPTION.
20603 (exp10_test_data): Likewise.
20604 (exp2_test_data): Likewise.
20605 (expm1_test_data): Likewise.
20606 (lgamma_test_data): Likewise.
20607 (pow_test_data): Likewise.
20608 (tgamma_test_data): Likewise.
20609 (yn_test_data): Remove duplicate test of overflow.
20610
1c38ff73
JM
20611 * math/libm-test.inc (struct test_cc_c_data): New type.
20612 (RUN_TEST_LOOP_cc_c): New macro.
20613 (cpow_test_data): New variable.
20614 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20615
15c7c18d
JM
20616 * math/libm-test.inc (struct test_f_L_data): New type.
20617 (RUN_TEST_LOOP_f_L): New macro.
20618 (llrint_test_data): New variable.
20619 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20620 (llrint_tonearest_test_data): New variable.
20621 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20622 (llrint_towardzero_test_data): New variable.
20623 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20624 (llrint_downward_test_data): New variable.
20625 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20626 (llrint_upward_test_data): New variable.
20627 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20628 (llround_test_data): New variable.
20629 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20630
f137ff13
PC
206312013-05-13 Peter Collingbourne <pcc@google.com>
20632
20633 * math/atest-exp2.c (get_log2): Remove const attribute.
20634
3608cb24
JM
206352013-05-15 Joseph Myers <joseph@codesourcery.com>
20636
20637 * math/libm-test.inc (struct test_f_l_data): New type.
20638 (RUN_TEST_LOOP_f_l): New macro.
20639 (lrint_test_data): New variable.
20640 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20641 (lrint_tonearest_test_data): New variable.
20642 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20643 (lrint_towardzero_test_data): New variable.
20644 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20645 (lrint_downward_test_data): New variable.
20646 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20647 (lrint_upward_test_data): New variable.
20648 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20649 (lround_test_data): New variable.
20650 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20651
39b1f617
PC
206522013-05-15 Peter Collingbourne <pcc@google.com>
20653
1deff3dc
PC
20654 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20655 (EXTRACT_WORDS64) Use where appropriate.
20656 (INSERT_WORDS64) Likewise.
20657
791f3ba0
PC
20658 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20659 constraints with x constraints.
20660 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20661
39b1f617
PC
20662 * malloc/obstack.c (_obstack_compat): Add initializer.
20663
12fba011
EM
206642013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20665
20666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20667 si_trapno and add si_addr_lsb to _sifields.sigfault.
20668 (si_trapno): Remove macro.
20669 (si_addr_lsb): Define new macro.
20670 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20671
d369f531
JM
206722013-05-15 Joseph Myers <joseph@codesourcery.com>
20673
b861c6c4
JM
20674 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20675 instead of TEST_f_l.
20676 (llrint_test_tonearest): Likewise.
20677 (llrint_test_towardzero): Likewise.
20678 (llrint_test_downward): Likewise.
20679 (llrint_test_upward): Likewise.
20680 (llround_test): Likewise.
20681
7abeee12
JM
20682 * math/libm-test.inc (struct test_f_i_data): Add comment.
20683 (RUN_TEST_LOOP_f_b): New macro.
20684 (RUN_TEST_LOOP_f_b_tg): Likewise.
20685 (finite_test_data): New variable.
20686 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20687 (isfinite_test_data): New variable.
20688 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20689 (isinf_test_data): New variable.
20690 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20691 (isnan_test_data): New variable.
20692 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20693 (isnormal_test_data): New variable.
20694 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20695 (issignaling_test_data): New variable.
20696 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20697 (signbit_test_data): New variable.
20698 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20699
cbe8c4d3
JM
20700 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20701 with INVALID_EXCEPTION.
20702 (acosh_test_data): Likewise.
20703 (asin_test_data): Likewise.
20704 (atanh_test_data): Likewise.
20705 (fmod_test_data): Likewise.
20706 (log_test_data): Likewise.
20707 (log10_test_data): Likewise.
20708 (log2_test_data): Likewise.
20709 (pow_test_data): Likewise.
20710 (sqrt_test_data): Likewise.
20711 (y0_test_data): Likewise.
20712 (y1_test_data): Likewise.
20713 (yn_test_data): Likewise.
20714
5575c0e5
JM
20715 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20716 function contents.
20717
d369f531
JM
20718 * math/libm-test.inc (struct test_ff_i_data): New type.
20719 (RUN_TEST_LOOP_ff_i_tg): New macro.
20720 (isgreater_test_data): New variable.
20721 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20722 (isgreaterequal_test_data): New variable.
20723 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20724 (isless_test_data): New variable.
20725 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20726 (islessequal_test_data): New variable.
20727 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20728 (islessgreater_test_data): New variable.
20729 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20730 (isunordered_test_data): New variable.
20731 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20732
781fd748
DM
207332013-05-14 David S. Miller <davem@davemloft.net>
20734
20735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20736
87aa21df
JM
207372013-05-14 Joseph Myers <joseph@codesourcery.com>
20738
5e908270
JM
20739 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20740
f71172e5
JM
20741 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20742 extra_test to int.
20743 (struct test_f_i_data): Change type of max_ulp to int.
20744
8cfa635a
JM
20745 * math/libm-test.inc (test_ffI_f1_data): New type.
20746 (RUN_TEST_LOOP_ffI_f1): New macro.
20747 (remquo_test_data): New variable.
20748 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20749
2bcb36b2
JM
20750 * setjmp/tst-setjmp-fp.c: New file.
20751 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20752 (link-libm): New variable.
20753 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20754
acbd839a
JM
20755 * math/libm-test.inc (struct test_f_i_data): New type.
20756 (RUN_TEST_LOOP_f_i): New macro.
20757 (RUN_TEST_LOOP_f_i_tg): Likewise.
20758 (fpclassify_test_data): New variable.
20759 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20760 (ilogb_test_data): New variable.
20761 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20762
e414d745
JM
20763 * math/libm-test.inc (scalbln_test): Correct function name in END
20764 call.
20765
d9c2a0fd
JM
20766 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20767 (RUN_TEST_LOOP_fI_f1): New macro.
20768 (frexp_test_data): New variable.
20769 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20770
9dc9095d
JM
20771 * math/libm-test.inc (struct test_fF_f1_data): New type.
20772 (RUN_TEST_LOOP_fF_f1): New macro.
20773 (modf_test_data): New variable.
20774 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20775
87aa21df
JM
20776 * math/libm-test.inc (struct test_f_f1_data): New type.
20777 (RUN_TEST_LOOP_f_f1): New macro.
20778 (gamma_test_data): New variable.
20779 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20780 (lgamma_test_data): New variable.
20781 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20782
141af660
CD
207832013-05-13 Carlos O'Donell <carlos@redhat.com>
20784
20785 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20786 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20787 (main): Comment "tls" pseudo-hwcap.
20788
6d33265c
JM
207892013-05-13 Joseph Myers <joseph@codesourcery.com>
20790
68fc074c
JM
20791 * math/libm-test.inc (struct test_fl_f_data): New type.
20792 (RUN_TEST_LOOP_fl_f): New variable.
20793 (scalbln_test_data): New variable.
20794 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20795
243216e1
JM
20796 * math/libm-test.inc (struct test_fi_f_data): New type.
20797 (RUN_TEST_LOOP_fi_f): New macro.
20798 (ldexp_test_data): New variable.
20799 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20800 (scalbn_test_data): New variable.
20801 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20802
6a1992e2
JM
20803 * math/libm-test.inc (struct test_c_f_data): New type.
20804 (RUN_TEST_LOOP_c_f): New macro.
20805 (cabs_test_data): New variable.
20806 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20807 (carg_test_data): New variable.
20808 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20809 (cimag_test_data): New variable.
20810 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20811 (creal_test_data): New variable.
20812 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20813
0e400df5
JM
20814 * math/libm-test.inc (struct test_if_f_data): New type.
20815 (RUN_TEST_LOOP_if_f): New macro.
20816 (jn_test_data): New variable.
20817 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20818 (yn_test_data): New variable.
20819 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20820
6d33265c
JM
20821 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20822
f98ece5f
AZ
208232013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20824
20825 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20826 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20827
0f7d347b
SP
208282013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20829
43fe811b
SP
20830 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20831 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20832 (bench-deps): Add bench-timing.h.
20833 * benchtests-bench-skeleton.c: Include bench-timing.h.
20834 (main): Use TIMING_* macros instead of clock_gettime.
20835 * benchtests/bench-timing.h: New file.
20836
0f7d347b
SP
20837 [BZ #14582]
20838 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20839 Renamed from _LIB_VERSION.
20840 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20841
601a3a5f
JM
208422013-05-12 Joseph Myers <joseph@codesourcery.com>
20843
4f184d30
JM
20844 * math/libm-test.inc (struct test_fff_f_data): New type.
20845 (RUN_TEST_LOOP_fff_f): New macro.
20846 (fma_test_data): New variable.
20847 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20848 (fma_towardzero_test_data): New variable.
20849 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20850 (fma_downward_test_data): New variable.
20851 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20852 (fma_upward_test_data): New variable.
20853 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20854
08198877
JM
20855 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20856 (struct test_c_c_data): New type.
20857 (RUN_TEST_LOOP_c_c): New macro.
20858 (cacos_test_data): New variable.
20859 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20860 (cacosh_test_data): New variable.
20861 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20862 (casin_test_data): New variable.
20863 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20864 (casinh_test_data): New variable.
20865 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20866 (catan_test_data): New variable.
20867 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20868 (catanh_test_data): New variable.
20869 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20870 (ccos_test_data): New variable.
20871 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20872 (ccosh_test_data): New variable.
20873 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20874 (cexp_test_data): New variable.
20875 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20876 (clog_test_data): New variable.
20877 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20878 (clog10_test_data): New variable.
20879 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20880 (conj_test_data): New variable.
20881 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20882 (cproj_test_data): New variable.
20883 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20884 (csin_test_data): New variable.
20885 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20886 (csinh_test_data): New variable.
20887 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20888 (csqrt_test_data): New variable.
20889 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20890 (ctan_test_data): New variable.
20891 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20892 (ctan_tonearest_test_data): New variable.
20893 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20894 (ctan_towardzero_test_data): New variable.
20895 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20896 (ctan_downward_test_data): New variable.
20897 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20898 (ctan_upward_test_data): New variable.
20899 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20900 (ctanh_test_data): New variable.
20901 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20902 (ctanh_tonearest_test_data): New variable.
20903 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20904 (ctanh_towardzero_test_data): New variable.
20905 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20906 (ctanh_downward_test_data): New variable.
20907 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20908 (ctanh_upward_test_data): New variable.
20909 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20910 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20911 of BUILD_COMPLEX.
20912
601a3a5f
JM
20913 * math/libm-test.inc (struct test_ff_f_data): New type.
20914 (struct test_ff_f_data_nexttoward): Likewise.
20915 (RUN_TEST_LOOP_2_f): New macro.
20916 (RUN_TEST_LOOP_ff_f): Likewise.
20917 (atan2_test_data): New variable.
20918 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20919 (copysign_test_data): New variable.
20920 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20921 (fdim_test_data): New variable.
20922 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20923 (fmax_test_data): New variable.
20924 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20925 (fmin_test_data): New variable.
20926 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20927 (fmod_test_data): New variable.
20928 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20929 (hypot_test_data): New variable.
20930 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20931 (nextafter_test_data): New variable.
20932 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20933 (nexttoward_test_data): New variable.
20934 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20935 (pow_test_data): New variable.
20936 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20937 (pow_tonearest_test_data): New variable.
20938 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20939 (pow_towardzero_test_data): New variable.
20940 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20941 (pow_downward_test_data): New variable.
20942 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20943 (pow_upward_test_data): New variable.
20944 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20945 (remainder_test_data): New variable.
20946 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20947 (scalb_test_data): New variable.
20948 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20949 * sysdeps/i386/fpu/libm-test-ulps: Update.
20950
74c57478
JM
209512013-05-11 Joseph Myers <joseph@codesourcery.com>
20952
8329e4da
JM
20953 * math/libm-test.inc (fma_test): Use max_value instead of local
20954 variable fltmax.
20955 (nextafter_test): Likewise.
20956
74c57478
JM
20957 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20958 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20959 (acos_downward_test_data): New variable.
20960 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20961 (acos_upward_test_data): New variable.
20962 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20963 (acosh_test_data): New variable.
20964 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20965 (asin_test_data): New variable.
20966 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20967 (asin_tonearest_test_data): New variable.
20968 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20969 (asin_towardzero_test_data): New variable.
20970 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20971 (asin_downward_test_data): New variable.
20972 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20973 (asin_upward_test_data): New variable.
20974 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20975 (asinh_test_data): New variable.
20976 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20977 (atan_test_data): New variable.
20978 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20979 (atanh_test_data): New variable.
20980 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20981 (cbrt_test_data): New variable.
20982 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20983 (ceil_test_data): New variable.
20984 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20985 (cos_test_data): New variable.
20986 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20987 (cos_tonearest_test_data): New variable.
20988 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20989 (cos_towardzero_test_data): New variable.
20990 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20991 (cos_downward_test_data): New variable.
20992 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20993 (cos_upward_test_data): New variable.
20994 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20995 (cosh_test_data): New variable.
20996 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20997 (cosh_tonearest_test_data): New variable.
20998 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20999 (cosh_towardzero_test_data): New variable.
21000 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21001 (cosh_downward_test_data): New variable.
21002 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21003 (cosh_upward_test_data): New variable.
21004 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21005 (erf_test_data): New variable.
21006 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21007 (erfc_test_data): New variable.
21008 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21009 (exp_test_data): New variable.
21010 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21011 (exp_tonearest_test_data): New variable.
21012 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21013 (exp_towardzero_test_data): New variable.
21014 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21015 (exp_downward_test_data): New variable.
21016 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21017 (exp_upward_test_data): New variable.
21018 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21019 (exp10_test_data): New variable.
21020 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21021 (exp2_test_data): New variable.
21022 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21023 (expm1_test_data): New variable.
21024 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21025 (fabs_test_data): New variable.
21026 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21027 (floor_test_data): New variable.
21028 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21029 (j0_test_data): New variable.
21030 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21031 (j1_test_data): New variable.
21032 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21033 (log_test_data): New variable.
21034 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21035 (log10_test_data): New variable.
21036 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21037 (log1p_test_data): New variable.
21038 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21039 (log2_test_data): New variable.
21040 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21041 (logb_test_data): New variable.
21042 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21043 (logb_downward_test_data): New variable.
21044 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21045 (nearbyint_test_data): New variable.
21046 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21047 (rint_test_data): New variable.
21048 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21049 (rint_tonearest_test_data): New variable.
21050 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21051 (rint_towardzero_test_data): New variable.
21052 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21053 (rint_downward_test_data): New variable.
21054 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21055 (rint_upward_test_data): New variable.
21056 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21057 (round_test_data): New variable.
21058 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21059 (sin_test_data): New variable.
21060 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21061 (sin_tonearest_test_data): New variable.
21062 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21063 (sin_towardzero_test_data): New variable.
21064 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21065 (sin_downward_test_data): New variable.
21066 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21067 (sin_upward_test_data): New variable.
21068 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21069 (sinh_test_data): New variable.
21070 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21071 (sinh_tonearest_test_data): New variable.
21072 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21073 (sinh_towardzero_test_data): New variable.
21074 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21075 (sinh_downward_test_data): New variable.
21076 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21077 (sinh_upward_test_data): New variable.
21078 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21079 (sqrt_test_data): New variable.
21080 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21081 (tan_test_data): New variable.
21082 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21083 (tan_tonearest_test_data): New variable.
21084 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21085 (tan_towardzero_test_data): New variable.
21086 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21087 (tan_downward_test_data): New variable.
21088 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21089 (tan_upward_test_data): New variable.
21090 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21091 (tanh_test_data): New variable.
21092 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21093 (tgamma_test_data): New variable.
21094 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21095 (trunc_test_data): New variable.
21096 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21097 (y0_test_data): New variable.
21098 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21099 (y1_test_data): New variable.
21100 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21101 (significand_test_data): New variable.
21102 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21103
7187d844
CG
211042013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21105
21106 [BZ #12387]
21107 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21108
f63fae73
PT
211092013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21110
21111 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21112
8a67a4b3
AJ
211132013-05-10 Andreas Jaeger <aj@suse.de>
21114
21115 [BZ #15448]
21116 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21117 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21118
51df539d
JM
211192013-05-10 Joseph Myers <joseph@codesourcery.com>
21120
21121 * math/gen-libm-test.pl (adjust_arg): New function.
21122 (special_functions): Handle generating output in both functions
21123 and arrays.
21124 (parse_args): Likewise.
21125 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21126 $in_func argument to parse_args.
21127 * math/libm-test.inc (struct test_f_f_data): New type.
21128 (IF_ROUND_INIT_): New macro.
21129 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21130 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21131 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21132 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21133 (ROUND_RESTORE_): Likewise.
21134 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21135 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21136 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21137 (ROUND_RESTORE_FE_UPWARD): Likewise.
21138 (RUN_TEST_LOOP_f_f): New macro.
21139 (acos_test_data): New variable.
21140 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21141 (acos_tonearest_test_data): New variable.
21142 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21143
5c637fe5
SP
211442013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21145
21146 * benchtests/bench-skeleton.c (startup): Fix coding style.
21147
ab2b9461
JM
211482013-05-10 Joseph Myers <joseph@codesourcery.com>
21149
21150 [BZ #6809]
21151 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21152 negative infinity argument.
21153 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21154 negative infinity argument.
21155 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21156 negative infinity argument.
21157 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21158 domain errors.
21159
4c0fe6fe
FW
211602013-05-10 Florian Weimer <fweimer@redhat.com>
21161
21162 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21163 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21164 * iconv/iconv_prog.c (main): Likewise.
21165 * locale/programs/charmap-dir.c (charmap_readdir)
21166 (fopen_uncompressed): Likewise.
21167 * locale/programs/locfile.c (siblings_uncached)
21168 (write_locale_data): Use lstat64 instead of lstat.
21169 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21170 stat.
21171
a3375d29
AJ
211722013-05-10 Andreas Jaeger <aj@suse.de>
21173
21174 [BZ #15395]
21175 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21176 localization.
21177 Include <locale.h>.
21178
36129722
CD
211792013-05-09 Carlos O'Donell <carlos@redhat.com>
21180
21181 * elf/dl-close.c (_dl_close_worker): Add comments.
21182
faa7f811
JM
211832013-05-09 Joseph Myers <joseph@codesourcery.com>
21184
ed41ffef
JM
21185 [BZ #15359]
21186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21187 high part of pi/2.
21188 (__ieee754_rem_pio2l): Update comments.
21189
d0213cd0
JM
21190 [BZ #15429]
21191 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21192 high part of pi/2.
21193 (__ieee754_rem_pio2l): Update comments.
21194
0d3e777a
JM
21195 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21196 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21197
24f56066
JM
21198 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21199 M_PI_4l.
21200
faa7f811
JM
21201 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21202 (M_PI_34_LOG10El): Likewise.
21203 (M_PI2_LOG10El): Likewise.
21204 (M_PI4_LOG10El): Likewise.
21205 (M_PI_LOG10El): Likewise.
21206
e9a5e0fd
AZ
212072013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21208
21209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21210
d8cd06db
JM
212112013-05-08 Joseph Myers <joseph@codesourcery.com>
21212
a0d9f9d7
JM
21213 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21214 (MINUS_ZERO_INIT): Likewise.
21215 (PLUS_INFTY_INIT): Likewise.
21216 (MINUS_INFTY_INIT): Likewise.
21217 (QNAN_VALUE_INIT): Likewise.
21218 (MAX_VALUE_INIT): Likewise.
21219 (MIN_VALUE_INIT): Likewise.
21220 (MIN_SUBNORM_VALUE_INIT): Likewise.
21221 (plus_zero): Initialize with PLUS_ZERO_INIT.
21222 (minus_zero): Initialize with MINUS_ZERO_INIT.
21223 (plus_infty): Initialize with PLUS_INFTY_INIT.
21224 (minus_infty): Initialize with MINUS_INFTY_INIT.
21225 (qnan_value): Initialize with QNAN_VALUE_INIT.
21226 (max_value): Initialize with MAX_VALUE_INIT.
21227 (min_value): Initialize with MIN_VALUE_INIT.
21228 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21229
ae08db3b
JM
21230 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21231 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21232 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21233 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21234
f44bf14a
JM
21235 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21236 (RUN_TEST_2_f): Likewise.
21237 (RUN_TEST_ff_f): Likewise.
21238 (RUN_TEST_fi_f): Likewise.
21239 (RUN_TEST_fl_f): Likewise.
21240 (RUN_TEST_fff_f): Likewise.
21241 (RUN_TEST_c_f): Likewise.
21242 (RUN_TEST_f_f1): Likewise.
21243 (RUN_TEST_fF_f1): Likewise.
21244 (RUN_TEST_fI_f1): Likewise.
21245 (RUN_TEST_ffI_f1): Likewise.
21246 (RUN_TEST_c_c): Likewise.
21247 (RUN_TEST_cc_c): Likewise.
21248 (RUN_TEST_f_i): Likewise.
21249 (RUN_TEST_f_i_tg): Likewise.
21250 (RUN_TEST_ff_i_tg): Likewise.
21251 (RUN_TEST_f_b): Likewise.
21252 (RUN_TEST_f_b_tg): Likewise.
21253 (RUN_TEST_f_l): Likewise.
21254 (RUN_TEST_f_L): Likewise.
21255 (RUN_TEST_sincos): Likewise.
21256 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21257 whether to show exceptions. Do not include ");\n" in return
21258 value.
21259 (special_functions): Output call to RUN_TEST_sincos instead of
21260 check_float calls. Update calls to new_test.
21261 (parse_args): Output call to single RUN_TEST_* macro instead of
21262 check_* calls and other assignments. Update calls to new_test.
21263
d8cd06db
JM
21264 [BZ #2546]
21265 [BZ #2560]
21266 [BZ #5159]
21267 [BZ #15426]
21268 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21269 input to result for tgamma overflow.
21270 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21271 (gamma_coeff): New variable.
21272 (NCOEFF): New macro.
21273 (gamma_positive): New function.
21274 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21275 underflow here. Use gamma_positive instead of exp (lgamma) for
21276 other arguments.
21277 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21278 (gamma_coeff): New variable.
21279 (NCOEFF): New macro.
21280 (gammaf_positive): New function.
21281 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21282 underflow here. Use gamma_positive instead of exp (lgamma) for
21283 other arguments.
21284 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21285 (gamma_coeff): New variable.
21286 (NCOEFF): New macro.
21287 (gammal_positive): New function.
21288 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21289 underflow here. Use gamma_positive instead of exp (lgamma) for
21290 other arguments.
21291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21292 (gamma_coeff): New variable.
21293 (NCOEFF): New macro.
21294 (gammal_positive): New function.
21295 (__ieee754_gammal_r): Handle positive infinity, overflow and
21296 underflow here. Handle NaN the same as positive infinity. Remove
21297 check x < 0xffffffff for negative integers. Use gamma_positive
21298 instead of exp (lgamma) for other arguments.
21299 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21300 (gamma_coeff): New variable.
21301 (NCOEFF): New macro.
21302 (gammal_positive): New function.
21303 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21304 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21305 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21306 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21307 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21308 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21309 * sysdeps/generic/math_private.h (__gamma_productf): New
21310 prototype.
21311 (__gamma_product): Likewise.
21312 (__gamma_productl): Likewise.
21313 * math/Makefile (libm-calls): Add gamma_product.
21314 * math/libm-test.inc (tgamma_test): Add more tests.
21315 * sysdeps/i386/fpu/libm-test-ulps: Update.
21316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21317
bb7cf681
OB
213182013-05-08 Ondřej Bílka <neleai@seznam.cz>
21319
21320 * benchtests/bench-skeleton.c (main): Preheat CPU.
21321
ba853947
AJ
213222013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21323
21324 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21325
8347c74c
RM
213262013-05-07 Roland McGrath <roland@hack.frob.com>
21327
21328 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21329 and _dl_skip_args_internal.
21330
e8dd4791
CD
213312013-05-07 Carlos O'Donell <carlos@redhat.com>
21332
21333 * manual/message.texi (Message Translation): Talk about users.
21334 Message to key mapping impacts design.
21335
c7405830
RM
213362013-05-06 Roland McGrath <roland@hack.frob.com>
21337
a9173057
RM
21338 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21339
976e2f03
RM
21340 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21341
9723ffc5
RM
21342 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21343 * sysdeps/wordsize-64/glob64.c: ... here.
21344
962e6658
RM
21345 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21346 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21347 New macros.
21348
ee586a6d
RM
21349 * debug/getlogin_r_chk.c: Moved to ...
21350 * login/getlogin_r_chk.c: ... here.
21351 * debug/Makefile (routines): Move getlogin_r_chk to ...
21352 * login/Makefile (routines): ... here.
21353 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21354 * login/Versions (libc: GLIBC_2.4): ... here.
21355
355f9165
RM
21356 * io/poll.c (__poll): Renamed from poll.
21357 Add libc_hidden_def.
21358 (poll): Define as weak alias.
21359
bd9ffde6
RM
21360 * debug/ptsname_r_chk.c: Moved to ...
21361 * login/ptsname_r_chk.c: ... here.
21362 * debug/Makefile (routines): Move ptsname_r_chk to ...
21363 * login/Makefile (routines): ... here.
21364 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21365 * login/Versions (libc: GLIBC_2.4): ... here.
21366
8fb16a04
RM
21367 * posix/getlogin.c: Moved to ...
21368 * login/getlogin.c: ... here.
21369 * posix/getlogin_r.c: Moved to ...
21370 * login/getlogin_r.c: ... here.
21371 * posix/getlogin_r.c: Moved to ...
21372 * login/getlogin_r.c: ... here.
21373 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21374 * login/Makefile (routines): ... here.
21375 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21376 * login/Versions (libc: GLIBC_2.0): ... here.
21377
b99b892f
RM
21378 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21379 (setrlimit): Define as weak alias.
21380
c7405830
RM
21381 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21382 Call __ names for open, ftruncate, and close.
21383 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21384 (truncate): Define as weak alias.
21385
5bf96de5
JM
213862013-05-06 Joseph Myers <joseph@codesourcery.com>
21387
9ea3513c
JM
21388 * math/gen-libm-test.pl (parse_args): Initialize x before each
21389 test of frexp, modf and remquo.
21390
5bf96de5
JM
21391 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21392 test signgam value.
21393
16e616a7
AZ
213942013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21395
21396 [BZ #15418]
21397 [BZ #15419]
21398 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21399 internal tests.
21400 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21401
d5e82754
RM
214022013-05-06 Roland McGrath <roland@hack.frob.com>
21403
21404 * elf/dl-writev.h: New file.
21405 * elf/dl-misc.c: Include it.
21406 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21407 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21408
a7548d41
JM
214092013-05-04 Joseph Myers <joseph@codesourcery.com>
21410
b7dab1e4
JM
21411 * math/libm-test.inc (noXFails): Remove variable.
21412 (noXPasses): Likewise.
21413 (BUILD_COMPLEX_INT): Remove macro.
21414 (print_screen): Remove xfail argument.
21415 (print_screen_max_error): Likewise.
21416 (update_stats): Likewise.
21417 (print_max_error): Likewise. Update calls to other affected
21418 functions.
21419 (print_complex_max_error): Likewise.
21420 (test_single_exception): Update calls to print_screen.
21421 (test_single_errno): Likewise.
21422 (check_float_internal): Remove xfail argument. Update calls to
21423 other affected functions.
21424 (check_float): Likewise.
21425 (check_complex): Likewise.
21426 (check_int): Likewise.
21427 (check_long): Likewise.
21428 (check_bool): Likewise.
21429 (check_longlong): Likewise.
21430 (main): Don't print noXFails and noXPasses.
21431 * math/gen-libm-test.pl (top level): Don't mention expected
21432 failure handling in comment.
21433 (new_test): Don't handle expected failures.
21434 (parse_args): Don't mention expected failure handling in comment.
21435 (generate_testfile): Don't handle expected failures.
21436 (parse_ulps): Likewise.
21437 (print_ulps_file): Likewise.
21438 (get_failure): Remove function.
21439 (output_test): Don't handle expected failures.
21440 * make/README.libm-test: Don't mention expected failure handling.
21441
a7548d41
JM
21442 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21443 (minus_zero): Likewise.
21444 (plus_infty): Likewise.
21445 (minus_infty): Likewise.
21446 (qnan_value): Likewise.
21447 (max_value): Likewise.
21448 (min_value): Likewise.
21449 (min_subnorm_value): Likewise.
21450 (initialize): Do not initialize those variables dynamically.
21451
60bfd54c
RM
214522013-05-03 Roland McGrath <roland@hack.frob.com>
21453
cc0e6ed8
RM
21454 * io/open.c (__open_2): Moved to ...
21455 * io/open_2.c: ... this new file.
21456 * io/open64.c (__open64_2): Moved to ...
21457 * io/open64_2.c: ... this new file.
21458 * io/openat.c (__openat_2): Moved to ...
21459 * io/openat_2.c: ... this new file.
21460 * io/openat64.c (__openat64_2): Moved to ...
21461 * io/openat64_2.c: ... this new file.
21462 * io/Makefile (routines): Add them.
21463 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21464 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21465 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21466 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21467 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21468 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21469 (__openat64): Add hidden_ver.
21470 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21471 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21472
60bfd54c
RM
21473 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21474 Separately conditionalize setting of GLRO(dl_sysinfo) so
21475 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21476 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21477
83e7640f
AZ
214782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21479
21480 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21481 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21482 definition.
21483 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21484 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21485 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21486 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21487 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21488
d5dc2af3
JM
214892013-05-03 Joseph Myers <joseph@codesourcery.com>
21490
c31a5b1e
JM
21491 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21492 test signgam value.
21493
d5dc2af3
JM
21494 * math/libm-test.inc (hypot_test): Do not use
21495 IGNORE_ZERO_INF_SIGN.
21496
164fd39d
AJ
214972013-05-03 Andreas Jaeger <aj@suse.de>
21498
21499 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21500 Linux 3.9.
21501 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21502 (PF_MAX): Adjust for VSOCK change.
21503
8237f48c
AZ
215042013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21505
21506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21507
9df02941
CD
215082013-05-02 Carlos O'Donell <carlos@redhat.com>
21509
21510 [BZ #15264]
21511 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21512 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21513 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21514
d422395e
DM
215152013-05-02 David S. Miller <davem@davemloft.net>
21516
21517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21518
a07c5731
OB
215192013-05-01 Ondřej Bílka <neleai@seznam.cz>
21520
21521 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21522
1324e37f
RM
215232013-05-01 Roland McGrath <roland@hack.frob.com>
21524
21525 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21526
0695940b
RS
215272013-05-01 Richard Smith <richard@metafoo.co.uk>
21528
bb5f27ad 21529 [BZ #14952]
0695940b
RS
21530 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21531 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21532 Use __attribute__ ((__gnu_inline__)).
21533 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21534 Don't use __attribute__ ((__gnu_inline__)).
21535
10de07f5
JM
215362013-05-01 Joseph Myers <joseph@codesourcery.com>
21537
21538 [BZ #15423]
21539 * math/s_catan.c (__catan): Handle small real or imaginary part of
21540 input specially to avoid spurious underflow.
21541 * math/s_catanf.c (__catanf): Likewise.
21542 * math/s_catanh.c (__catanh): Likewise.
21543 * math/s_catanhf.c (__catanhf): Likewise.
21544 * math/s_catanhl.c (__catanhl): Likewise.
21545 * math/s_catanl.c (__catanl): Likewise.
21546 * math/libm-test.inc (catan_test): Add more tests.
21547 (catanh_test): Likewise.
21548 * sysdeps/i386/fpu/libm-test-ulps: Update.
21549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21550
cb4d5414
AZ
215512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552
21553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21554
caf84319
JM
215552013-04-30 Joseph Myers <joseph@codesourcery.com>
21556
21557 [BZ #15416]
21558 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21559 accurately for denominator in atan2.
21560 * math/s_catanf.c (__catanf): Likewise.
21561 * math/s_catanh.c (__catanh): Likewise.
21562 * math/s_catanhf.c (__catanhf): Likewise.
21563 * math/s_catanhl.c (__catanhl): Likewise.
21564 * math/s_catanl.c (__catanl): Likewise.
21565 * math/libm-test.inc (catan_test): Add more tests.
21566 (catanh_test): Likewise.
21567 * sysdeps/i386/fpu/libm-test-ulps: Update.
21568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21569
d569c6ee
SP
215702013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21571
6dbe713d
SP
21572 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21573
f0ee064b
SP
21574 * benchtests/Makefile (bench): Remove slow benchmarks.
21575 * benchtests/atan-inputs: Add slow benchmark inputs.
21576 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21577 (BENCH_FUNC): Accept variant offset.
21578 (VARIANT): Define.
21579 * benchtests/bench-skeleton.c (main): Run benchmark for each
21580 variant.
21581 * benchtests/cos-inputs: Add slow benchmark inputs.
21582 * benchtests/exp-inputs: Likewise.
21583 * benchtests/pow-inputs: Likewise.
21584 * benchtests/sin-inputs: Likewise.
21585 * benchtests/slowatan-inputs: Remove.
21586 * benchtests/slowatan.c: Remove.
21587 * benchtests/slowcos-inputs: Remove.
21588 * benchtests/slowcos.c: Remove.
21589 * benchtests/slowexp-inputs: Remove.
21590 * benchtests/slowexp.c: Remove.
21591 * benchtests/slowpow-inputs: Remove.
21592 * benchtests/slowpow.c: Remove.
21593 * benchtests/slowsin-inputs: Remove.
21594 * benchtests/slowsin.c: Remove.
21595 * benchtests/slowtan-inputs: Remove.
21596 * benchtests/slowtan.c: Remove.
21597 * benchtests/tan-inputs: Add slow benchmark inputs.
21598 * scripts/bench.pl: Parse comments and directives.
21599
d569c6ee
SP
21600 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21601 in CPPFLAGS.
21602 ($(objpfx)bench-%.c): Remove *-ITER.
21603 * benchtests/bench-modf.c: Remove definition of ITER.
21604 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21605 (main): Loop for DURATION seconds instead of fixed number of
21606 iterations.
21607 * scripts/bench.pl: Don't expect iterations in parameters.
21608
a6a242fe
RM
216092013-04-29 Roland McGrath <roland@hack.frob.com>
21610
21611 * io/fchdir.c (__fchdir): Renamed from fchdir.
21612 (fchdir): Define as weak alias.
21613
f2da7793
JM
216142013-04-29 Joseph Myers <joseph@codesourcery.com>
21615
21616 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21617 (ERRNO_EDOM): Likewise.
21618 (ERRNO_ERANGE): Likewise.
21619 (noErrnoTests): New variable.
21620 (init_max_error): Set errno to 0.
21621 (test_single_errno): New function.
21622 (test_errno): Likewise.
21623 (check_float_internal): Call test_errno. Set errno to 0.
21624 (check_complex): Refer to errno tests in comment.
21625 (check_int): Call test_errno. Set errno to 0.
21626 (check_long): Likewise.
21627 (check_bool): Likewise.
21628 (check_longlong): Likewise.
21629 (cos_test): Use ERRNO_* flags for errno tests instead of
21630 check_int.
21631 (expm1_test): Likewise.
21632 (fmod_test): Likewise.
21633 (ilogb_test): Likewise.
21634 (lgamma_test): Likewise.
21635 (pow_test): Likewise.
21636 (remainder_test): Likewise.
21637 (sin_test): Likewise.
21638 (tan_test): Likewise.
21639 (yn_test): Likewise.
21640 (initialize): Set errno to 0.
21641 (main): Print number of errno tests.
21642 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21643
b1a36ceb
AJ
216442013-04-29 Andreas Jaeger <aj@suse.de>
21645
c3ed8088
AJ
21646 [BZ #15084]
21647 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21648 and RES_USEVC.
21649
f1a24198
AJ
21650 [BZ #15085]
21651 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21652 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21653 unimplemented.
21654
9ce3b2cb
AJ
21655 [BZ #15380]
21656 * stdlib/random.c (__initstate): Return NULL if
21657 __initstate fails.
21658
f1a24198 21659 [BZ #15086]
b1a36ceb
AJ
21660 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21661 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21662 RES_SNGLKUPREOP.
21663
7e7b6f36
AZ
216642013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21665
21666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21667
4d14f449
JM
216682013-04-29 Joseph Myers <joseph@codesourcery.com>
21669
21670 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21671 of individual tests.
21672 (casin_test): Likewise.
21673 (casinh_test): Likewise.
21674
5b4217d7
JM
216752013-04-27 Joseph Myers <joseph@codesourcery.com>
21676
21677 [BZ #15409]
21678 * math/s_catan.c (__catan): Handle arguments with large real or
21679 imaginary part separately without squaring.
21680 * math/s_catanf.c (__catanf): Likewise.
21681 * math/s_catanh.c (__catanh): Likewise.
21682 * math/s_catanhf.c (__catanhf): Likewise.
21683 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21684 and redefine.
21685 (__catanhl): Handle arguments with large real or imaginary part
21686 separately without squaring.
21687 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21688 and redefine.
21689 (__catanl): Handle arguments with large real or imaginary part
21690 separately without squaring.
21691 * math/libm-test.inc (catan_test): Add more tests.
21692 (catanh_test): Likewise.
21693 * sysdeps/i386/fpu/libm-test-ulps: Update.
21694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21695
4220c3ef
AJ
216962013-04-27 Andreas Jaeger <aj@suse.de>
21697
21698 [BZ #15007]
21699 * stdlib/stdlib.h: Update guards for qecvt.
21700 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21701 <stdlib.h>.
21702
4721b2d1
AM
217032013-04-27 Allan McRae <allan@archlinux.org>
21704
21705 * sysdeps/i386/fpu/libm-test-ulps: Update.
21706
f0302940
JM
217072013-04-26 Joseph Myers <joseph@codesourcery.com>
21708
9457fd95
JM
21709 [BZ #15406]
21710 * math/s_catan.c: Include <float.h>.
21711 (__catan): Ensure underflow exception occurs for underflowed
21712 result.
21713 * math/s_catanf.c: Include <float.h>.
21714 (__catanf): Ensure underflow exception occurs for underflowed
21715 result.
21716 * math/s_catanh.c: Include <float.h>.
21717 (__catanh): Ensure underflow exception occurs for underflowed
21718 result.
21719 * math/s_catanhf.c: Include <float.h>.
21720 (__catanhf): Ensure underflow exception occurs for underflowed
21721 result.
21722 * math/s_catanhl.c: Include <float.h>.
21723 (__catanhl): Ensure underflow exception occurs for underflowed
21724 result.
21725 * math/s_catanl.c: Include <float.h>.
21726 (__catanl): Ensure underflow exception occurs for underflowed
21727 result.
21728 * math/libm-test.inc (catan_test): Add more tests.
21729 (catanh_test): Likewise.
21730
f0302940
JM
21731 [BZ #15405]
21732 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21733 underflowed result.
21734 * math/s_ccoshf.c (__ccoshf): Likewise.
21735 * math/s_ccoshl.c (__ccoshl): Likewise.
21736 * math/s_csin.c (__csin): Likewise.
21737 * math/s_csinf.c (__csinf): Likewise.
21738 * math/s_csinh.c (__csinh): Likewise.
21739 * math/s_csinhf.c (__csinhf): Likewise.
21740 * math/s_csinhl.c (__csinhl): Likewise.
21741 * math/s_csinl.c (__csinl): Likewise.
21742 * math/libm-test.inc (ccos_test): Add more tests.
21743 (ccosh_test): Likewise.
21744 (csin_test): Likewise.
21745 (csinh_test): Likewise.
21746
aa630f59
AZ
217472013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21748
21749 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21750 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21751 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21752 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21753 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21754 powerpc/power5+/fpu folders.
21755 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21756
21757
1b835983
MT
217582013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21759
21760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21761
73709b26
JM
217622013-04-25 Joseph Myers <joseph@codesourcery.com>
21763
21764 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21765 additions to variable.
21766 [$(config-machine) = x86_64] (modules-names): Likewise.
21767 ($(objpfx)tst-audit3): Remove dependency.
21768 ($(objpfx)tst-audit3.out): Likewise.
21769 ($(objpfx)tst-audit4): Likewise.
21770 ($(objpfx)tst-audit4.out): Likewise.
21771 ($(objpfx)tst-audit5): Likewise.
21772 ($(objpfx)tst-audit5.out): Likewise.
21773 ($(objpfx)tst-audit6): Likewise.
21774 ($(objpfx)tst-audit6.out): Likewise.
21775 ($(objpfx)tst-audit7): Likewise.
21776 ($(objpfx)tst-audit7.out): Likewise.
21777 (tst-audit3-ENV): Remove variable.
21778 (tst-audit4-ENV): Likewise.
21779 (tst-audit5-ENV): Likewise.
21780 (tst-audit6-ENV): Likewise.
21781 (tst-audit7-ENV): Likewise.
21782 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21783 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21784 addition to variable.
21785 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21786 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21787 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21788 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21789 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21790 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21791 tst-audit3, tst-audit4 and tst-audit5.
21792 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21793 tst-audit6 and tst-audit7.
21794 [$(subdir) = elf] (modules-names): Add audit modules for those
21795 tests.
21796 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21797 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21798 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21799 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21800 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21801 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21802 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21803 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21804 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21805 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21806 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21807 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21808 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21809 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21810 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21811 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21812 Likewise.
21813 [$(subdir) = elf && $(config-cflags-avx) = yes]
21814 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21815 [$(subdir) = elf && $(config-cflags-avx) = yes]
21816 (CFLAGS-tst-auditmod4a.c): Likewise.
21817 [$(subdir) = elf && $(config-cflags-avx) = yes]
21818 (CFLAGS-tst-auditmod4b.c): Likewise.
21819 [$(subdir) = elf && $(config-cflags-avx) = yes]
21820 (CFLAGS-tst-auditmod6b.c): Likewise.
21821 [$(subdir) = elf && $(config-cflags-avx) = yes]
21822 (CFLAGS-tst-auditmod6c.c): Likewise.
21823 [$(subdir) = elf && $(config-cflags-avx) = yes]
21824 (CFLAGS-tst-auditmod7b.c): Likewise.
21825 * elf/tst-audit3.c: Move to ...
21826 * sysdeps/x86_64/tst-audit3.c: ... here.
21827 * elf/tst-audit4.c: Move to ...
21828 * sysdeps/x86_64/tst-audit4.c: ... here.
21829 * elf/tst-audit5.c: Move to ...
21830 * sysdeps/x86_64/tst-audit5.c: ... here.
21831 * elf/tst-audit6.c: Move to ...
21832 * sysdeps/x86_64/tst-audit6.c: ... here.
21833 * elf/tst-audit7.c: Move to ...
21834 * sysdeps/x86_64/tst-audit7.c: ... here.
21835 * elf/tst-auditmod3a.c: Move to ...
21836 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21837 * elf/tst-auditmod3b.c: Move to ...
21838 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21839 * elf/tst-auditmod4a.c: Move to ...
21840 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21841 * elf/tst-auditmod4b.c: Move to ...
21842 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21843 * elf/tst-auditmod5a.c: Move to ...
21844 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21845 * elf/tst-auditmod5b.c: Move to ...
21846 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21847 * elf/tst-auditmod6a.c: Move to ...
21848 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21849 * elf/tst-auditmod6b.c: Move to ...
21850 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21851 * elf/tst-auditmod6c.c: Move to ...
21852 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21853 * elf/tst-auditmod7a.c: Move to ...
21854 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21855 * elf/tst-auditmod7b.c: Move to ...
21856 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21857
1ef74943
PP
218582013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21859
21860 [BZ #15366]
21861 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21862 define unconditionally.
21863 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21864 define unconditionally.
21865 (INT8_C, INT16_C, etc.): Likewise.
21866
93fd48c5
MR
218672013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21868
ae9552cf
MR
21869 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21870 __ehdr_start with hidden visibility.
21871
93fd48c5
MR
21872 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21873
418601aa
CD
218742013-04-24 Carlos O'Donell <carlos@redhat.com>
21875
21876 * math/libm-test.inc (cos_test): Use accurate hex constants.
21877 (sincost_test): Likewise.
21878
2f38fbfe
JM
218792013-04-24 Joseph Myers <joseph@codesourcery.com>
21880
5e221800
JM
21881 * math/libm-test.inc (catan_test): Add more tests.
21882 (catanh_test): Likewise.
21883
77f143fd
JM
21884 * math/s_catanf.c (__catanf): Use suffixed floating-point
21885 constants.
21886 * math/s_catanhf.c (__catanhf): Likewise.
21887 * math/s_catanhl.c (__catanhl): Likewise.
21888 * math/s_catanl.c (__catanl): Likewise.
21889
2f38fbfe
JM
21890 [BZ #15394]
21891 * math/s_catan.c (__catan): Calculate imaginary part of result
21892 with log1p not log unless computing log of number close to 0.
21893 * math/s_catanf.c (__catanf): Likewise.
21894 * math/s_catanl.c (__catanl): Likewise.
21895 * math/s_catanh.c (__catanh): Calculate real part of result with
21896 log1p not log unless computing log of number close to 0.
21897 * math/s_catanhf.c (__catanhf): Likewise.
21898 * math/s_catanhl.c (__catanhl): Likewise.
21899 * math/libm-test.inc (catan_test): Add more tests.
21900 (catanh_test): Likewise.
21901 * sysdeps/i386/fpu/libm-test-ulps: Update.
21902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21903
45d69176
SP
219042013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21905
21906 * benchtests/Makefile: Mention files in which fast and slow
21907 paths of math functions are implemented.
21908
87f51853
RM
219092013-04-23 Roland McGrath <roland@hack.frob.com>
21910
21911 * sysdeps/posix/timespec_get.c: New file.
21912
3c026539
AZ
219132013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21914
21915 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21916 POWER.
21917 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21918 for POWER.
21919 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21920 powerpc/power5/fpu folders.
21921 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21922 * benchtests/Makefile: Add modf testcase.
21923 * benchtests/bench-modf.c: New file: Benchmark test for mo
21924
ff491d14
SP
219252013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21926
21927 [BZ #14888]
21928 * time/Makefile (tests): Add tst-strptime-whitespace.
21929 * time/strptime_l.c (get_number): Use ISSPACE.
21930 (__strptime_internal): Likewise.
21931 * time/tst-strptime-whitespace.c: New test case.
21932
7ed3f4e8
AS
219332013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21934
21935 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21936 member.
21937 (_nss_files_init): Set it here.
21938
5c95f7b6
HC
219392013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21940
21941 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21942 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21943 unsigned.
21944
d34c9158
JBG
219452013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21946
21947 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21948
2169712d
SP
219492013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
21951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21952 size just once.
21953
29c5de99
DM
219542013-04-21 David S. Miller <davem@davemloft.net>
21955
21956 * po/ru.po: Update Russion translation from translation project.
21957
ccdad15d
AC
219582013-04-17 Adam Conrad <adconrad@0c3.net>
21959
21960 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21961 and setfsgid.
21962
0f122b8d
CD
219632013-04-17 Carlos O'Donell <carlos@redhat.com>
21964
5c5b07da 21965 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21966 * configure: Regenerate.
5c5b07da 21967 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21968 Add example to error message.
21969 * sysdeps/i386/configure: Regenerate.
21970
037714dd
SP
219712013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21972
21973 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21974 slowtan.
21975 * benchtests/cos-inputs: New file.
21976 * benchtests/slowcos-inputs: New file.
21977 * benchtests/slowcos.c: New file.
21978 * benchtests/slowtan-inputs: New file.
21979 * benchtests/slowtan.c: New file.
21980 * benchtests/tan-inputs: New file.
21981
e913141d
RM
219822013-04-16 Roland McGrath <roland@hack.frob.com>
21983
21984 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21985 considered kosher.
21986
a2964074
SP
219872013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21988
4856bcd2
SP
21989 * benchtests/Makefile: Include cppflags-iterator.mk to add
21990 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21991
a2964074
SP
21992 * Makefile.in (bench-clean): New target.
21993 * benchtests/Makefile (bench-clean): Likewise.
21994
9fbf9aca
DH
219952013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21996
21997 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21998
207d1e2a
TS
219992013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22000
22001 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22002
306dfba9
AS
220032013-04-15 Andreas Schwab <schwab@suse.de>
22004
22005 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22007 * nscd/pwdcache.c (cache_addpw): Likewise.
22008 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22009 more than recsize.
22010
206a6699
SP
220112013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22012
22013 * benchtests/Makefile (bench): Write all output to
22014 bench-out.tmp together.
22015
0582f6b3
AS
220162013-04-15 Andreas Schwab <schwab@suse.de>
22017
22018 * nscd/nscd.c (main): Don't fork again after closing files.
22019
acb4325f
SP
220202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22021
5cb26d0a
SP
22022 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22023
acb4325f
SP
22024 * benchtests/Rules (bench-deps): Collect dependencies into a
22025 single variable. Add Makefile to dependencies.
22026 ($(objpfx)bench-%.c): Depend on bench-deps.
22027
47792506
RM
220282013-04-12 Roland McGrath <roland@hack.frob.com>
22029 Xavier Roche <roche+kml2@exalead.com>
22030
22031 [BZ #15361]
22032 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22033 just that it's a file descriptor.
22034 * manual/llio.texi (Synchronizing AIO Operations): Update description
22035 for EBADF error from aio_fsync.
22036
8fc1bee5
SP
220372013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22038
22039 * Rules (bench): Move target definition...
22040 * benchtests/Makefile: ... here.
22041
aba5e333
CD
220422013-04-11 Carlos O'Donell <carlos@redhat.com>
22043
22044 * math/libm-test.inc (cos_test): Fix PI/2 test.
22045 (sincos_test): Likewise.
22046 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22047 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22048
273cdee8
AS
220492013-04-11 Andreas Schwab <schwab@suse.de>
22050
6ecec3b6
AS
22051 [BZ #13988]
22052 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22053 accept exponent character only when digits were seen.
22054 * stdio-common/Makefile (tests): Add bug26.
22055 * stdio-common/bug26.c: New file.
22056
273cdee8
AS
22057 [BZ #14293]
22058 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22059 non-freeable.
22060
8da491f5
SP
220612013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22062
01dc6df9
SP
22063 * Makeconfig (rtld-prefix): Define built linker prefix.
22064 * Rules (run-bench): Use it.
22065 * math/Makefile (run-regen-ulps): Likewise.
22066
8da491f5
SP
22067 * Rules (bench): Remove eval.
22068
abe7f530
SP
220692013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22070 Roland McGrath <roland@hack.frob.com>
22071 Ondrej Bilka <neleai@seznam.cz>
22072
22073 [BZ #15346]
22074 * time/getdate.c: Include ctype.h and alloca.h.
22075 (__getdate_r): Trim leading and trailing spaces of input.
22076 * time/tst-getdate.c (tests): Add tests with leading and
22077 trailing spaces.
22078
61c23e62
RM
220792013-04-08 Roland McGrath <roland@hack.frob.com>
22080
22081 [BZ #14280]
22082 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22083 when computing value.
22084
7208a313
CD
220852013-04-06 Carlos O'Donell <carlos@redhat.com>
22086
085b2d41
CD
22087 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22088 Use testrun.sh to run libm tests.
22089
7208a313
CD
22090 [BZ #15309]
22091 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22092
872c0acd
MM
220932013-04-06 Marko Myllynen <myllynen@redhat.com>
22094
22095 [BZ #15264]
22096 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22097
26510bdd
CD
220982013-04-06 Carlos O'Donell <carlos@redhat.com>
22099
22100 * Makefile.in (regen-ulps): New target.
22101 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22102 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22103 [ifneq (no,$(PERL)] (regen-ulps): New target.
22104 [ifeq (no,$(PERL)] (regen-ulps): New target.
22105 * math/libm-test.inc (ulps_file_name): Define.
22106 (output_dir): New variable.
22107 (options): Add "output-dir" option.
22108 (parse_opt): Handle 'o' case.
22109 (main): If output_dir is non-NULL use it as a prefix
22110 otherwise use "".
22111 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22112
a01f19c8
CD
221132013-04-06 Carlos O'Donell <carlos@redhat.com>
22114
22115 [BZ #10060, #10062]
22116 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22117 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22118 fail configure if __sync_val_compare_and_swap is not inlined.
22119 * sysdeps/i386/configure: Regenerate.
22120 * configure.in: Build for i686 when configured for i386.
22121 * configure: Regenerate.
22122 * README: Remove i386 reference.
22123
b7a329a5
CD
221242013-04-06 Carlos O'Donell <carlos@redhat.com>
22125
22126 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22128
bf0f50df
TS
221292013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22130
ee091edf
TS
22131 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22132 (lmsnanval): New variables.
22133 (F): Add conversion tests.
22134 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22135 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22136
a8b792d6
TS
22137 * stdio-common/tstdiomisc.c (F): Properly collect individual
22138 tests' results.
22139
a1cbf437
TS
22140 [BZ #14686, #15336]
22141 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22142 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22143 Instead, use input NaN values or generate a qNaN by arithmetic
22144 operation. Also fix bugs to comply with the standard.
22145 * math/libm-test.inc (remainder_test): Add more tests.
22146
8b43a0c9
TS
22147 [BZ #15335, #15342]
22148 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22150 input NaN values or generate a qNaN by arithmetic operation.
22151
d91da4ce
TS
22152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22153 unreachable code.
22154
bf0f50df
TS
22155 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22156 definitions.
22157
05e166c8
JM
221582013-04-03 Joseph Myers <joseph@codesourcery.com>
22159
22160 [BZ #14478]
22161 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22162 underflowed result.
22163 * math/s_cexpf.c (__cexpf): Likewise.
22164 * math/s_cexpl.c (__cexpl): Likewise.
22165 * math/libm-test.inc (cexp_test): Add more tests.
22166
1cef1b19
AS
221672013-04-03 Andreas Schwab <schwab@suse.de>
22168
22169 [BZ #15330]
22170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22171 order arrays from heap if bigger than alloca cutoff.
22172
74d87055
TS
221732013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22174
22175 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22176 (SNAN_TESTS_double): Refer to GCC PR56831.
22177 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22178 GCC PR56828.
22179
d755bba4
SP
221802013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22181
90d5d5bb
SP
22182 * Rules (bench): Move bench.out after the run is complete.
22183
73e0cd5d
SP
22184 * Rules (bench): Echo currently running benchmark.
22185
64aabd4b
SP
22186 * benchtests/Makefile (bench): Add atan and slowatan.
22187 * benchtests/atan-inputs: New file.
22188 * benchtests/slowatan-inputs: New file.
22189 * benchtests/slowatan.c: New file.
22190
c871eccd
SP
22191 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22192 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22193 its value.
22194
d755bba4
SP
22195 [BZ #15305]
22196 * sysdeps/unix/sysv/linux/kernel-features.h
22197 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22198 __ASSUME_XFS_RESTRICTED_CHOWN.
22199 * sysdeps/unix/sysv/linux/pathconf.c
22200 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22201 Save and restore errno.
22202
52ce4860
JM
222032013-04-02 Joseph Myers <joseph@codesourcery.com>
22204
22205 [BZ #15327]
22206 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22207 arguments using __kernel_casinh.
22208 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22209 arguments using __kernel_casinhf.
22210 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22211 arguments using __kernel_casinhl.
22212 * math/libm-test.inc (cacosh_test): Add more tests.
22213 * sysdeps/i386/fpu/libm-test-ulps: Update.
22214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22215
81f311c2
SP
222162013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22217
e7906a47
SP
22218 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22220
92e3664b
SP
22221 * bench/Makefile (bench): Add sin and slowsin.
22222 * benchtests/sin-inputs: New file.
22223 * benchtests/slowsin-inputs: New file.
22224 * benchtests/slowsin.c: New file.
22225
81f311c2
SP
22226 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22227 (bench): Add slowexp and slowpow.
22228 (exp-ITER): Increase iterations.
22229 (pow-ITER): Likewise.
22230 * benchtests/exp-inputs: Change input.
22231 * benchtests/pow-inputs: Likewise.
22232 * benchtests/slowexp-inputs: New file.
22233 * benchtests/slowexp.c: New file.
22234 * benchtests/slowpow-inputs: New file.
22235 * benchtests/slowpow.c: New file.
22236
ab0f1aa9
AZ
222372013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22238
22239 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22240 instructions.
22241 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22242 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22243 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22244 * benchtests/Makefile: Add rint benchtest.
22245 * benchtests/rint-inputs: Input for rint benchtest.
22246
57267616
TS
222472013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22248
22249 * Versions.def (libm): Add GLIBC_2.18.
22250 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22251 hidden libm prototypes.
22252 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22253 * math/Makefile (libm-calls): Add s_issignaling.
22254 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22255 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22256 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22257 declaration.
22258 * math/math.h [__USE_GNU] (issignaling): New macro.
22259 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22260 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22261 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22262 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22265 * manual/arith.texi (issignaling): New section.
22266 * manual/libm-err-tab.pl (@all_functions): Update comment.
22267 * math/gen-libm-test.pl (parse_args): Apply special handling for
22268 issignaling.
22269 * math/libm-test.inc (print_float, issignaling_test): New
22270 functions.
22271 (check_float_internal): Add issignaling checks.
22272 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22273 default definition.
22274 * sysdeps/powerpc/math-tests.h: New file.
22275 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22276 tests.
22277 * math/test-snan.c (TEST_FUNC): Likewise.
22278
6142896d
DM
222792013-03-30 David S. Miller <davem@davemloft.net>
22280
22281 * po/de.po: Update from translation team.
22282
ccc8cadf
JM
222832013-03-30 Joseph Myers <joseph@codesourcery.com>
22284
22285 [BZ #10357]
22286 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22287 imaginary part less than 1.0 and real part less than 0.5
22288 specially.
22289 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22290 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22291 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22292 (cacos_test): Add more tests.
22293 (casin_test): Likewise.
22294 (casinh_test): Likewise.
22295 * sysdeps/i386/fpu/libm-test-ulps: Update.
22296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22297
0f6a8d4b
SP
222982013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22299
0d1029de
SP
22300 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22301 ONE with its value.
22302
c2d94018
SP
22303 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22304 (__pow_mp): Replace ONE and MONE with their values.
22305 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22308 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22309 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22310 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22311
27ec37f1
SP
22312 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22313
a64d7e0e
SP
22314 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22315 (__pow_mp): Replace ZERO and MZERO with their values.
22316 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22320 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22321 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22322 (__sqr): Likewise.
22323
d26dd3eb
SP
22324 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22325
0f6a8d4b
SP
22326 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22327
e57b0c61
RM
223282013-03-28 Roland McGrath <roland@hack.frob.com>
22329
22330 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22331 Declare with __attribute__ ((weak)).
22332 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22333 Call __call_tls_dtors only if it's not NULL.
22334
356b3480
RM
223352013-03-28 Roland McGrath <roland@hack.frob.com>
22336
288f7d79
RM
22337 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22338 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22339 magic __ehdr_start linker symbol if it's defined.
22340 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22341 them up here if it was already done.
22342
dc0a0263
RM
22343 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22344 (_dl_aux_init): Use const in cast when setting it.
22345 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22346 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22347 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22348
3d3436ae
RM
22349 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22350 Declare them here.
22351 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22352 * csu/libc-tls.c: Nor here.
22353 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22354
356b3480
RM
22355 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22356 (__libc_message): Never call vsyslog.
22357
b0f1246a
AM
223582013-03-28 Alan Modra <amodra@gmail.com>
22359
22360 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22361 Define as empty.
22362 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22363 Likewise.
22364
fbbe2b9a
AZ
223652013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22366
22367 [BZ #15214]
22368 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22369 underflow.
22370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22371
1728ab37
SP
223722013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22373
7a86be6e
SP
22374 [BZ #15304]
22375 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22376 Don't add gid passed as argument.
22377
1728ab37
SP
22378 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22379
3a7182a1
JM
223802013-03-27 Joseph Myers <joseph@codesourcery.com>
22381
22382 [BZ #15307]
22383 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22384 imaginary part between 1.0 and 1.5 and real part less than 0.5
22385 specially.
22386 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22387 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22388 * math/libm-test.inc (cacos_test): Add more tests.
22389 (casin_test): Likewise.
22390 (casinh_test): Likewise.
22391 * sysdeps/i386/fpu/libm-test-ulps: Update.
22392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22393
6f2e90e7
SP
223942013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22395
5739f705
SP
22396 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22397 constants.
22398 (norm): Likewise.
22399 (denorm): Likewise.
22400 (__dbl_mp): Likewise.
22401 (add_magnitudes): Likewise.
22402 (sub_magnitudes): Likewise.
22403 (__add): Likewise.
22404 (__sub): Likewise.
22405 (__mul): Likewise.
22406 (__sqr): Likewise.
22407 (__inv): Likewise.
22408 (__dvd): Likewise.
22409
e375e83d
SP
22410 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22411 commented code.
22412 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22413 (__dubcos): Likewise.
22414 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22415 (__ieee754_acos): Likewise.
22416 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22417 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22418 (__exp1): Likewise.
22419 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22421 (log1): Likewise.
22422 (my_log2): Likewise.
22423 (checkint): Likewise.
22424 * sysdeps/ieee754/dbl-64/e_remainder.c
22425 (__ieee754_remainder): Likewise.
22426 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22428 (bsloww): Likewise.
22429 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22430
6f2e90e7
SP
22431 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22432 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22433 MANTISSA_STORE_T to store computations on mantissa. Use
22434 macros for rounding and division.
22435 (denorm): Likewise.
22436 (__dbl_mp): Likewise.
22437 (add_magnitudes): Likewise.
22438 (sub_magnitudes): Likewise.
22439 (__mul): Likewise.
22440 (__sqr): Likewise.
22441 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22442 powers of two in terms of TWOPOW macro.
22443 (mp_no): Make type of mantissa as MANTISSA_T.
22444 [!RADIXI]: Define RADIXI.
22445 [!TWO52]: Define TWO52.
22446 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22447
fce14d4e
AZ
224482013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22449
22450 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22451 llroundl symbol when building for PPC32.
22452
9ad027fb
MW
224532013-03-24 Mark H Weaver <mhw@netris.org>
22454
22455 * manual/arith.texi (Normalization Functions): Fix prototypes for
22456 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22457
e42a38dd
AZ
224582013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22459
22460 [BZ #13889]
22461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22462 high value to check if expl overflow.
22463 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22464 to check for underflow and overflow.
22465 * math/libm-test.inc: Add exp test.
22466
2e0fb521
DL
224672013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22468
22469 [BZ #11120]
22470 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22471 with NOT_IN_libc.
22472
b5784d95
AZ
224732013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22474
22475 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22476 symbol.
22477
5aa4a1a1
TS
224782013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22479
bdef0be7
TS
22480 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22481 wrap blocks consisting of several statements.
22482
5aa4a1a1
TS
22483 * sysdeps/generic/math-tests.h: New file.
22484 * sysdeps/i386/fpu/math-tests.h: Likewise.
22485 * math/test-snan.c: Include it.
22486 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22487
98c48fe5
JM
224882013-03-21 Joseph Myers <joseph@codesourcery.com>
22489
22490 [BZ #15285]
22491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22492 (__ieee754_j0l): Do not improve calculations using cos of twice
22493 input for inputs above LDBL_MAX / 2.0L.
22494 (__ieee754_y0l): Likewise.
22495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22496 (__ieee754_j1l): Do not improve calculations using cos of twice
22497 input for inputs above LDBL_MAX / 2.0L.
22498 (__ieee754_y1l): Likewise.
22499 * math/libm-test.inc (j0_test): Add another test.
22500 (j1_test): Likewise.
22501 (y0_test): Likewise.
22502 (y1_test): Likewise.
22503 * sysdeps/i386/fpu/libm-test-ulps: Update.
22504
3775a8bc
SP
225052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22506
22507 * Rules ($(objpfx)bench-%.c): Include code from a C source
22508 file.
22509
0a1b2ae6
JM
225102013-03-21 Joseph Myers <joseph@codesourcery.com>
22511
22512 [BZ #15287]
22513 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22514 imaginary part 1.0 and real part less than 0.5 specially.
22515 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22516 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22517 * math/libm-test.inc (cacos_test): Add more tests.
22518 (casin_test): Likewise.
22519 (casinh_test): Likewise.
22520 * sysdeps/i386/fpu/libm-test-ulps: Update.
22521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22522
b33d4ce4
SP
225232013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22524
22525 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22526 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22527
bef0b507
JM
225282013-03-20 Joseph Myers <joseph@codesourcery.com>
22529
22530 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22531 * config.make.in (config-cflags-sse4): Remove variable.
22532 (config-cflags-avx): Likewise.
22533 (config-cflags-sse2avx): Likewise.
22534 (config-cflags-novzeroupper): Likewise.
22535 (config-asflags-i686): Likewise.
22536 (have-mfma4): Likewise.
22537 (have-as-vis3): Likewise.
22538 (MIG): Likewise.
22539 * configure.in (MIG): Do not AC_SUBST.
22540 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22541 (libc_cv_cc_sse4): Do not AC_SUBST.
22542 (libc_cv_cc_avx): Likewise.
22543 (libc_cv_cc_sse2avx): Likewise.
22544 (libc_cv_cc_novzeroupper): Likewise.
22545 (libc_cv_cc_fma4): Likewise.
22546 (libc_cv_as_i686): Likewise.
22547 (libc_cv_sparc_as_vis3): Likewise.
22548 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22549 LIBC_CONFIG_VAR.
22550 (config-asflags-i686): Likewise.
22551 (config-cflags-avx): Likewise.
22552 (config-cflags-sse2avx): Likewise.
22553 (have-mfma4): Likewise.
22554 (config-cflags-novzeroupper): Likewise.
22555 * sysdeps/mach/configure.in (MIG): Likewise.
22556 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22557 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22558 LIBC_CONFIG_VAR.
22559 (config-cflags-avx): Likewise.
22560 (config-cflags-sse2avx): Likewise.
22561 (have-mfma4): Likewise.
22562 (config-cflags-novzeroupper): Likewise.
22563 * configure: Regenerated.
22564 * sysdeps/i386/configure: Likewise.
22565 * sysdeps/mach/configure: Likewise.
22566 * sysdeps/sparc/configure: Likewise.
22567 * sysdeps/x86_64/configure: Likewise.
22568
912cc4b3
RM
225692013-03-20 Roland McGrath <roland@hack.frob.com>
22570
22571 [BZ #14812]
22572 * locale/programs/localedef.c (options): Put N_ translation marker
22573 on argument names, not just descriptions.
22574
04eed2b0
MS
225752013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22576
22577 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22578
a065ceff
OB
225792013-03-20 Ondřej Bílka <neleai@seznam.cz>
22580
9bb2a810 22581 [BZ #14176]
a065ceff
OB
22582 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22583
a600e5ce
RM
225842013-03-19 Roland McGrath <roland@hack.frob.com>
22585
22586 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22587 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22588 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22589 [!BEFORE_ABORT] (before_abort): New function.
22590 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22591 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22592 (writev_for_fatal): New function.
22593 (WRITEV_FOR_FATAL): New macro; call that.
22594 (backtrace_and_maps): New function.
22595 (BEFORE_ABORT): New macro; call that.
22596 (struct str_list): Type removed.
22597 (__libc_message, __libc_fatal): Functions removed.
22598 Include <sysdeps/posix/libc_fatal.c> instead.
22599
6b18bea6
JM
226002013-03-19 Joseph Myers <joseph@codesourcery.com>
22601
22602 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22603 constants.
22604 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22605 double constants.
22606
aaa8cb4b
AS
226072013-03-19 Andreas Schwab <schwab@suse.de>
22608
44673770
AS
22609 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22610 * sysdeps/gnu/configure: Regenerate.
22611
aaa8cb4b
AS
22612 * configure.in: Substitute libc_cv_rtlddir.
22613 * configure: Regenerate.
22614 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22615 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22616 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22617 * elf/Makefile (install-others, CFLAGS-interp.c)
22618 (ldso_install, common-ldd-rewrite): Likewise.
22619 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22620 $(inst_slibdir)/$(rtld-installed-name).
22621 * scripts/rellns-sh: Add -p option.
22622 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22623 for source.
22624
d3cfc668
SP
226252013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22626
22627 * manual/nptl.texi: Renamed to ...
22628 * manual/threads.texi: ... this.
22629 * manual/Makefile (chapters): Update.
22630
0e2b9cdd
RM
226312013-03-18 Roland McGrath <roland@hack.frob.com>
22632
22633 [BZ #14812]
22634 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22635 on argument names, not just descriptions.
0e2b9cdd
RM
22636 * malloc/memusagestat.c (options): Likewise.
22637 * nss/getent.c (options): Likewise.
63270c24
RM
22638
226392013-03-18 Benno Schulenberg <bensberg@justemail.net>
22640
22641 [BZ #14812]
22642 * iconv/iconv_prog.c (options): Put N_ translation marker
22643 on argument names, not just descriptions.
22644 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22645
b2e1393c
OB
226462013-03-18 Ondrej Bilka <neleai@seznam.cz>
22647
22648 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22649 implementation which is faster on all x86_64 architectures.
22650 Tested on AMD, Intel Nehalem, SNB, IVB.
22651 * sysdeps/x86_64/strnlen.S: Likewise.
22652
22653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22654 Remove all multiarch strlen and strnlen versions.
22655 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22656 Remove strlen and strnlen related parts.
22657
22658 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22659 Inline strlen part.
22660 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22661
22662 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22663 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22664 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22665 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22666 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22667 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22668
ec4ff04d
CD
226692013-03-17 Carlos O'Donell <carlos@redhat.com>
22670
22671 * manual/memory.texi (Malloc Tunable Parameters):
22672 Sort parameters alphabetically. Add comments for missing entries.
22673
cd18e90a
DM
226742013-03-17 David S. Miller <davem@davemloft.net>
22675
22676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22677
2a185d32
JM
226782013-03-16 Joseph Myers <joseph@codesourcery.com>
22679
d2f9799e
JM
22680 [BZ #15283]
22681 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22682 for arguments at most half maximum finite value.
22683 * math/libm-test.inc (j0_test): Add more tests.
22684 (j1_test): Likewise.
22685 (y0_test): Likewise.
22686 (y1_test): Likewise.
22687 * sysdeps/i386/fpu/libm-test-ulps: Update.
22688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22689
2a185d32
JM
22690 [BZ #14155]
22691 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22692 1 / x and functions P and Q for arguments above 0x1p256L.
22693 (__ieee754_y0l): Likewise.
22694 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22695 (__ieee754_y1l): Likewise.
22696 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22697 (j1_test): Likewise.
22698 (y0_test): Likewise.
22699 (y1_test): Likewise.
22700
6cbec759
TS
227012013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22702
22703 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22704 variable.
22705
bc16e260
RM
227062013-03-15 Roland McGrath <roland@hack.frob.com>
22707
aefc9b8c
RM
22708 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22709 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22710 zero since it's initialized to EXEC_PAGESIZE.
22711
bc16e260
RM
22712 * sysdeps/unix/sysv/linux/ldsodefs.h
22713 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22714 * sysdeps/generic/ldsodefs.h: ... here.
22715
a57da955
TS
227162013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22717
af00a34d
TS
22718 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22719
495ded2c
TS
22720 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22721 math/test-snan.c.
22722 * math/test-snan.c: Renamed from
22723 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22724 * math/Makefile (tests): Add test-snan.
22725 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22726 test-powerpc-snan.
22727
777b0332
TS
22728 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22729 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22730 functions.
22731 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22732 __builtin_nan family of functions.
22733 * math/libm-test.inc (initialize): Initialize qnan_value with
22734 __builtin_nan family of functions.
22735 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22736 Remove variables.
22737 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22738 Remove functions.
22739 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22740 storage class. Initialize qNaN_var and sNaN_var with
22741 __builtin_nan and __builtin_nans families of functions,
22742 respectively.
22743
64d063b8
TS
22744 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22745 (sqrt_test): Remove duplicate test with qNaN input.
22746 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22747 (round_test, signbit_test, significand_test): Note missing +/-Inf
22748 as well as qNaN tests.
22749
67e971f1
TS
22750 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22751 qNaN_var. Fix a few strings, too.
22752 * math/libm-test.inc (nan_value): Rename to qnan_value.
22753 * math/gen-libm-test.pl (%beautify): Adjust to that.
22754 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22755 * math/test-misc.c (main): Likewise.
22756 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22757 to __qnan_bytes, and __qnan_union, respectively.
22758 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22759 Likewise.
22760 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22761 and lqnanval, respectively.
22762 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22763 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22764 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22765 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22766
64487e12
TS
22767 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22768 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22769 doubles.
22770
e015e27b
TS
22771 * math/test-misc.c (main): Fix copy'n'pastos.
22772 * misc/tst-efgcvt.c (special): Likewise.
22773
a57da955
TS
22774 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22775 Remove declarations.
22776
1e380345
SP
227772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22778
22779 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22780 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22781 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22782 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22783
ef26eece
AZ
227842013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22785
22786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22787 macro to return vdso values correctly in IFUNC implementations.
22788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22789 Optimization by using IFUNC.
22790
8cfdb7e0
SP
227912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22792 Richard Henderson <rth@redhat.com>
22793 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22794
22795 * Makefile.in (bench): New target.
22796 * NEWS: Mention the benchmark framework.
22797 * Rules (bench): Likewise.
22798 (binaries-bench): Generate binaries for functions to
22799 benchmark.
22800 * benchtests/Makefile: New makefile for benchmark tests.
22801 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22802 programs.
22803 * benchtests/exp-inputs: New input file for EXP function.
22804 * benchtests/pow-inputs: New input file for POW function.
22805 * scripts/bench.pl: New script to generate source files for
22806 benchmark programs.
22807
bcda9880
SP
228082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22809
d22ca8cd
SP
22810 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22811 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22812 computations on mantissa. Use macros for rounding and
22813 division.
22814 (denorm): Likewise.
22815 (__dbl_mp): Likewise.
22816 (add_magnitudes): Likewise.
22817 (sub_magnitudes): Likewise.
22818 (__mul): Likewise.
22819 (__sqr): Likewise.
22820 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22821 powers of two in terms of TWOPOW macro.
22822 (mp_no): Make type of mantissa as MANTISSA_T.
22823 [!RADIXI]: Define RADIXI.
22824 [!TWO52]: Define TWO52.
22825 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22826
bcda9880
SP
22827 * manual/nptl.texi (cindex): Modify threads to pthreads.
22828
06d5adfb
JM
228292013-03-15 Joseph Myers <joseph@codesourcery.com>
22830
22831 * sysdeps/x86_64/preconfigure: Regenerated.
22832
41c7328e
JM
228332013-03-14 Joseph Myers <joseph@codesourcery.com>
22834
22835 [BZ #14155]
22836 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22837 0x1p28 and above.
22838 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22839 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22840 0x1p28 and above.
22841 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22842 * math/libm-test.inc (j0_test): Do not allow one spurious
22843 underflow exception.
22844 (y1_test): Likewise.
22845
e25cfa60
SP
228462013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22847
0409959c
SP
22848 * manual/Makefile (chapters): Add nptl.
22849 * manual/debug.texi (Debugging Support): Add link to Threads
22850 chapter.
22851 * manual/nptl.texi: New file.
22852
e25cfa60
SP
22853 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22854
58a1335e
PB
228552013-03-14 Petr Baudis <pasky@ucw.cz>
22856
22857 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22858 for non-NULL pointer before the memory validity test. Pointed
22859 out by Holger Brunck <holger.brunck@keymile.com>.
22860
9dc7c64f
AS
228612013-03-13 Andreas Schwab <schwab@suse.de>
22862
22863 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22864 instead of .os.
22865
54206aa6
JM
228662013-03-13 Joseph Myers <joseph@codesourcery.com>
22867
22868 * timezone/zic.c: Update from tzcode 2013b.
22869
e98cdb38
CD
228702013-03-12 Carlos O'Donell <carlos@redhat.com>
22871
22872 * manual/install.texi (Configuring and compiling):
22873 Mention i686 and i586.
22874 * INSTALL: Regenerate.
22875
9967e003
RM
228762013-03-12 Roland McGrath <roland@hack.frob.com>
22877
22878 * sysdeps/init_array/elf-init.c: New file.
22879 * csu/elf-init.c
22880 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22881 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22882
22883 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22884 __gmon_start__ as global, but as static with a .preinit_array pointer.
22885 * sysdeps/init_array/gmon-start.c: New file. Use that.
22886 * sysdeps/init_array/crti.S: New file, empty except for comments.
22887 * sysdeps/init_array/crtn.S: Likewise.
22888
e6b5a293 228892013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22890
22891 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22892 definining bcopy.
80f844c9
OB
22893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22894 Remove Prefer_SSE_for_memop.
22895 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22896 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22897 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22899 memset-x86-64.
80f844c9 22900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22901 Remove bzero, memset ifunc support.
80f844c9
OB
22902 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22903 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22904 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22905 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22906
fb6b0fcb
AS
229072013-03-11 Andreas Schwab <schwab@suse.de>
22908
22909 [BZ #15234]
22910 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22911 by SHLIB_COMPAT.
22912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22913 (GLIBC_2.16): Remove pthread_atfork.
22914
3e6bd4b1
PP
229152013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22916
22917 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22918 (ptestcases.h): Likewise.
22919
222d7f00
RM
229202013-03-08 Roland McGrath <roland@hack.frob.com>
22921
22922 * Makeconfig ($(common-objpfx)config.status): Depend on
22923 sysdeps/*/preconfigure{,.in} too.
22924
1ba4f030
JM
229252013-03-08 Joseph Myers <joseph@codesourcery.com>
22926
a222d91a
JM
22927 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22928 (__free_hook): Use void * instead of __malloc_ptr_t.
22929 (__malloc_hook): Likewise.
22930 (__realloc_hook): Likewise.
22931 (__memalign_hook): Likewise.
22932 (__after_morecore_hook): Likewise.
22933 * malloc/arena.c (save_malloc_hook): Likewise.
22934 (save_free_hook): Likewise.
22935 * malloc/hooks.c (malloc_hook_ini): Likewise.
22936 (realloc_hook_ini): Likewise.
22937 (memalign_hook_ini): Likewise.
22938 * malloc/malloc.c (malloc_hook_ini): Likewise.
22939 (realloc_hook_ini): Likewise.
22940 (memalign_hook_ini): Likewise.
22941 (__free_hook): Likewise.
22942 (__malloc_hook): Likewise.
22943 (__realloc_hook): Likewise.
22944 (__memalign_hook): Likewise.
22945 (__libc_malloc): Likewise.
22946 (__libc_free): Likewise.
22947 (__libc_realloc): Likewise.
22948 (__libc_memalign): Likewise.
22949 (__libc_valloc): Likewise.
22950 (__libc_pvalloc): Likewise.
22951 (__libc_calloc): Likewise.
22952 (__posix_memalign): Likewise.
22953 * malloc/morecore.c (__sbrk): Likewise.
22954 (__default_morecore): Likewise.
22955
5cc45e10
JM
22956 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22957
dd54b864
JM
22958 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22959 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22960 __malloc_ptrdiff_t.
22961
1ba4f030
JM
22962 * malloc/malloc.h (__malloc_size_t): Remove macro.
22963 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22964 __malloc_size_t.
22965 (old_memalign_hook): Likewise.
22966 (old_realloc_hook): Likewise.
22967 (struct hdr): Likewise.
22968 (flood): Likewise.
22969 (mallochook): Likewise.
22970 (memalignhook): Likewise.
22971 (reallochook): Likewise.
22972 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22973 (tr_old_realloc_hook): Likewise.
22974 (tr_old_memalign_hook): Likewise.
22975 (tr_mallochook): Likewise.
22976 (tr_reallochook): Likewise.
22977 (tr_memalignhook): Likewise.
22978
edf66e57
AZ
229792013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22980
22981 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22982 default_ldbl_pack and using as default implementation.
22983 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22984 implementation.
22985 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22986 redundant definition.
22987 (ldbl_insert_mantissa): Likewise.
22988 (ldbl_canonicalize): Likewise.
22989 (ldbl_nearbyint): Likewise.
22990 (ldbl_pack): Rename to ldbl_pack_ppc.
22991 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22992 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22993 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22994
6d9145d8
SP
229952013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22996
22997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22998 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22999 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23000 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23002 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23003 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23004 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23005
4dd4e157
AJ
230062013-03-07 Andreas Jaeger <aj@suse.de>
23007
23008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23009 bits/mman-linux.h.
23010
adbb8027
SP
230112013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23012
ce544b5b
SP
23013 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23014 Include mpa.h and declare __MPEXP.
23015 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23016 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23017 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23018 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23019 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23020 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23021 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23022
4cc149fd
SP
23023 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23024 (__slowpow): Use long double EXPL and LOGL functions to
23025 compute POW.
23026 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23027 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23028 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23029 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23030 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23031 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23032
e6ebd4a7
SP
23033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23034 intermediate variable to calculate exponent.
23035 (__sqr): Likewise.
23036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23037 Likewise.
23038 (__sqr): Likewise.
23039
82a9811d
SP
23040 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23041 [!NO__SQR]: Define __sqr.
23042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23043 and NO__SQR. Remove all code except __mul and __sqr. Include
23044 sysdeps/ieee754/dbl-64/mpa.c.
23045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23046
adbb8027
SP
23047 [BZ #12723]
23048 * posix/Makefile (tests): Add tst-pathconf.
23049 * posix/tst-pathconf.c: New test case.
23050 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23051 _PC_PIPE_BUF.
23052 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23053
39120df9
PF
230542013-03-06 Patsy Franklin <pfrankli@redhat.com>
23055
23056 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23057
67525cb8
AJ
230582013-03-06 Andreas Jaeger <aj@suse.de>
23059
664a9ce4
AJ
23060 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23061 definition via __MAP_ANONYMOUS.
23062
8e39047d
AJ
23063 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23064 it's not part of Linux headers.
23065
67525cb8
AJ
23066 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23067 (MAP_HUGE_MASK): Define.
23068
23069 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23070 Define.
23071 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23073 Define.
23074 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23075 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23076 Define.
23077 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23078 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23079 Define.
23080 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23081
23082 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23083 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23084 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23085 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23086 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23087 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23088
23089 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23090 Handle f2fs.
23091
23092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23093 Handle f2fs and efivarfs.
23094
23095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23096 f2fs.
23097
23098 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23099 (EFIVARFS_MAGIC): Add.
23100 (F2FS_LINK_MAX): Add.
23101
e1b42695
PP
231022013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23103
23104 * stdio-common/vfprintf.c: Replace __builtin_expect with
23105 __glibc_unlikely.
23106
2d67d91a
JM
231072013-03-06 Joseph Myers <joseph@codesourcery.com>
23108
23109 [BZ #13550]
23110 * sysdeps/generic/bp-sym.h: Remove file.
23111 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23112 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23113 <bp-sym.h> and <bp-asm.h>.
23114 (__longjmp): Don't use BP_SYM.
23115 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23116 and <bp-asm.h>.
23117 (memcpy): Don't use BP_SYM.
23118 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23119 <bp-sym.h> and <bp-asm.h>.
23120 (memcpy): Don't use BP_SYM.
23121 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23122 <bp-asm.h>.
23123 (memcpy): Don't use BP_SYM.
23124 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23125 <bp-asm.h>.
23126 (memset): Don't use BP_SYM.
23127 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23128 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23129 (__bzero): Don't use BP_SYM.
23130 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23131 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23132 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23133 <bp-sym.h> and <bp-asm.h>.
23134 (memcmp): Don't use BP_SYM. Remove comment about bounded
23135 pointers.
23136 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23137 <bp-sym.h> and <bp-asm.h>.
23138 (memcpy): Don't use BP_SYM.
23139 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23140 <bp-sym.h> and <bp-asm.h>.
23141 (memset): Don't use BP_SYM.
23142 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23143 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23144 (__bzero): Don't use BP_SYM.
23145 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23146 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23147 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23148 <bp-sym.h> and <bp-asm.h>.
23149 (strncmp): Don't use BP_SYM. Remove comment about bounded
23150 pointers.
23151 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23152 <bp-sym.h> and <bp-asm.h>.
23153 (memcpy): Don't use BP_SYM.
23154 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23155 <bp-sym.h> and <bp-asm.h>.
23156 (memset): Don't use BP_SYM.
23157 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23158 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23159 (__bzero): Don't use BP_SYM.
23160 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23161 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23163 <bp-sym.h> and <bp-asm.h>.
23164 (__memchr): Don't use BP_SYM.
23165 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23166 <bp-sym.h> and <bp-asm.h>.
23167 (memcmp): Don't use BP_SYM. Remove comment about bounded
23168 pointers.
23169 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23170 <bp-sym.h> and <bp-asm.h>.
23171 (memcpy): Don't use BP_SYM.
23172 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23173 <bp-sym.h> and <bp-asm.h>.
23174 (__mempcpy): Don't use BP_SYM.
23175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23176 <bp-sym.h> and <bp-asm.h>.
23177 (__memrchr): Don't use BP_SYM.
23178 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23179 <bp-sym.h> and <bp-asm.h>.
23180 (memset): Don't use BP_SYM.
23181 (__bzero): Likewise.
23182 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23183 <bp-sym.h> and <bp-asm.h>.
23184 (__rawmemchr): Don't use BP_SYM.
23185 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23186 <bp-sym.h> and <bp-asm.h>.
23187 (__STRCMP): Don't use BP_SYM.
23188 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23189 <bp-sym.h> and <bp-asm.h>.
23190 (strchr): Don't use BP_SYM.
23191 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23192 <bp-sym.h> and <bp-asm.h>.
23193 (__strchrnul): Don't use BP_SYM.
23194 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23195 <bp-sym.h> and <bp-asm.h>.
23196 (strlen): Don't use BP_SYM.
23197 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23198 <bp-sym.h> and <bp-asm.h>.
23199 (strncmp): Don't use BP_SYM. Remove comment about bounded
23200 pointers.
23201 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23202 <bp-sym.h> and <bp-asm.h>.
23203 (__strnlen): Don't use BP_SYM.
23204 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23205 <bp-sym.h> and <bp-asm.h>.
23206 (__GI__setjmp): Don't use BP_SYM.
23207 (_setjmp): Likewise.
23208 (__sigsetjmp): Likewise.
23209 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23210 (L(start_addresses)): Don't use BP_SYM.
23211 (_start): Likewise.
23212 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23213 <bp-asm.h>.
23214 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23215 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23216 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23217 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23218 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23219 <bp-asm.h>.
23220 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23221 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23222 about bounded pointers.
23223 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23224 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23225 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23226 <bp-asm.h>.
23227 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23228 about bounded pointers. Remove GKM FIXME comments.
23229 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23230 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23231 <bp-asm.h>.
23232 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23233 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23234 Remove GKM FIXME comments.
23235 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23236 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23237 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23238 <bp-asm.h>.
23239 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23240 about bounded pointers. Remove GKM FIXME comment.
23241 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23242 and <bp-asm.h>.
23243 (strncmp): Don't use BP_SYM. Remove comment about bounded
23244 pointers.
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23246 <bp-sym.h> and <bp-asm.h>.
23247 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23249 <bp-sym.h> and <bp-asm.h>.
23250 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23251 comment.
23252
cdcf361f
PP
232532013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23254
23255 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23256 call free(NULL).
23257
3c4a2b15
DM
232582013-03-05 David S. Miller <davem@davemloft.net>
23259
23260 * po/es.po: Update from translation team.
23261
cdcf361f 232622013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23263
23264 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23265 <bits/mman-linux.h>.
23266 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23267 is fine.
23268 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23269 <bits/mman-linux.h> to end of file.
23270 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23271 is fine.
23272 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23273 <bits/mman-linux.h> to end of file.
23274 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23275 is fine.
23276 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23277 <bits/mman-linux.h> to end of file.
23278
23279 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23280 (MCL_CURRENT, MCL_FUTURE): Define here.
23281
5f67c04f
AK
232822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23283
8a4473cc 23284 [BZ #15232]
5f67c04f
AK
23285 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23286 attribute_hidden.
23287 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23288
c3e94a95
AK
232892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23290
23291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23292 fourth parameter needed for rt_sigprocmask syscall.
23293 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23294 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23295 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23296 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23297 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23298 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23299
cfb6382a
JM
233002013-03-04 Joseph Myers <joseph@codesourcery.com>
23301
23302 [BZ #13550]
23303 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23304 comment about bounded pointers.
23305 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23306 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23307
539d8e01
AJ
233082013-03-04 Andreas Jaeger <aj@suse.de>
23309
23310 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23311 common definitions.
23312
23313 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23314 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23315 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23316 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23318 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23319
2e167a70 233202013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23321
23322 [BZ #15055]
23323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23324 __ieee754_sqrl instead of __sqrl.
23325
68508633
JM
233262013-03-01 Joseph Myers <joseph@codesourcery.com>
23327
23328 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23329 * sysdeps/powerpc/fpu_control.h: ... here.
23330 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23331 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23332 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23333 * sysdeps/powerpc/bits/mathinline.h: ... here.
23334
7775448e
RM
233352013-03-01 Roland McGrath <roland@hack.frob.com>
23336
23337 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23338 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23339 to just [NEED_DL_SYSINFO_DSO].
23340 * elf/dl-support.c: Likewise.
23341 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23342 * elf/rtld.c (dl_main): Likewise.
23343 * elf/setup-vdso.h (setup_vdso): Likewise.
23344 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23345 * sysdeps/unix/sysv/linux/dl-sysdep.c
23346 (_dl_discover_osversion): Likewise.
23347
4e9b5995
CD
233482013-03-01 Carlos O'Donell <carlos@redhat.com>
23349
23350 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23351 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23352
e23872c8
SP
233532013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23354
e5c74c63
SP
23355 * NEWS: Mention libm performance improvements and non-x86 PI
23356 futex support.
23357
e23872c8
SP
23358 * csu/libc-start.c (__pthread_initialize_minimal): Change
23359 function arguments.
23360 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23361
b5510883
JM
233622013-02-28 Joseph Myers <joseph@codesourcery.com>
23363
23364 [BZ #13550]
23365 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23366 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23367 <bp-sym.h> and <bp-asm.h>.
23368 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23369 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23370 and <bp-asm.h>.
23371 (memcpy): Don't use BP_SYM.
23372 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23373 <bp-asm.h>.
23374 (__mpn_add_n): Don't use BP_SYM.
23375 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23376 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23377 and <bp-asm.h>.
23378 (__mpn_addmul_1): Don't use BP_SYM.
23379 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23380 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23381 <bp-sym.h>.
23382 (_setjmp): Don't use BP_SYM.
23383 (__novmx_setjmp): Likewise.
23384 (__GI__setjmp): Likewise.
23385 (__vmx_setjmp): Likewise.
23386 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23387 <bp-sym.h>.
23388 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23389 (__bzero): Don't use BP_SYM.
23390 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23391 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23392 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23393 <bp-sym.h> and <bp-asm.h>.
23394 (memcpy): Don't use BP_SYM.
23395 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23396 <bp-sym.h> and <bp-asm.h>.
23397 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23398 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23399 <bp-sym.h> and <bp-asm.h>.
23400 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23401 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23402 <bp-asm.h>.
23403 (__mpn_lshift): Don't use BP_SYM.
23404 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23405 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23406 <bp-asm.h>.
23407 (memset): Don't use BP_SYM.
23408 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23409 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23410 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23411 <bp-asm.h>.
23412 (__mpn_mul_1): Don't use BP_SYM.
23413 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23415 <bp-sym.h> and <bp-asm.h>.
23416 (memcmp): Don't use BP_SYM.
23417 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23418 <bp-sym.h> and <bp-asm.h>.
23419 (memcpy): Don't use BP_SYM.
23420 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23421 <bp-sym.h> and <bp-asm.h>.
23422 (memset): Don't use BP_SYM.
23423 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23424 <bp-sym.h> and <bp-asm.h>.
23425 (strncmp): Don't use BP_SYM.
23426 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23427 <bp-sym.h> and <bp-asm.h>.
23428 (memcpy): Don't use BP_SYM.
23429 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23430 <bp-sym.h> and <bp-asm.h>.
23431 (memset): Don't use BP_SYM.
23432 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23433 <bp-sym.h> and <bp-asm.h>.
23434 (__memchr): Don't use BP_SYM.
23435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23436 <bp-sym.h> and <bp-asm.h>.
23437 (memcmp): Don't use BP_SYM.
23438 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23439 <bp-sym.h> and <bp-asm.h>.
23440 (memcpy): Don't use BP_SYM.
23441 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23442 <bp-sym.h> and <bp-asm.h>.
23443 (__mempcpy): Don't use BP_SYM.
23444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23445 <bp-sym.h> and <bp-asm.h>.
23446 (__memrchr): Don't use BP_SYM.
23447 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23448 <bp-sym.h> and <bp-asm.h>.
23449 (memset): Don't use BP_SYM.
23450 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23451 <bp-sym.h> and <bp-asm.h>.
23452 (__rawmemchr): Don't use BP_SYM.
23453 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23454 <bp-sym.h> and <bp-asm.h>.
23455 (__STRCMP): Don't use BP_SYM.
23456 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23457 <bp-sym.h> and <bp-asm.h>.
23458 (strchr): Don't use BP_SYM.
23459 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23460 <bp-sym.h> and <bp-asm.h>.
23461 (__strchrnul): Don't use BP_SYM.
23462 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23463 <bp-sym.h> and <bp-asm.h>.
23464 (strlen): Don't use BP_SYM.
23465 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23466 <bp-sym.h> and <bp-asm.h>.
23467 (strncmp): Don't use BP_SYM.
23468 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23469 <bp-sym.h> and <bp-asm.h>.
23470 (__strnlen): Don't use BP_SYM.
23471 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23472 <bp-asm.h>.
23473 (__mpn_rshift): Don't use BP_SYM.
23474 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23475 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23476 <bp-sym.h> and <bp-asm.h>.
23477 (__sigsetjmp): Don't use BP_SYM.
23478 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23479 (L(start_addresses)): Don't use BP_SYM.
23480 (_start): Likewise.
23481 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23482 <bp-asm.h>.
23483 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23484 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23485 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23486 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23487 <bp-asm.h>.
23488 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23489 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23490 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23491 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23492 <bp-asm.h>.
23493 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23494 comments.
23495 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23496 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23497 <bp-asm.h>.
23498 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23499 FIXME comments.
23500 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23501 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23502 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23503 <bp-asm.h>.
23504 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23505 comment.
23506 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23507 and <bp-asm.h>.
23508 (strncmp): Don't use BP_SYM,
23509 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23510 <bp-asm.h>.
23511 (__mpn_sub_n): Don't use BP_SYM.
23512 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23513 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23514 and <bp-asm.h>.
23515 (__mpn_submul_1): Don't use BP_SYM.
23516 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23518 <bp-sym.h> and <bp-asm.h>.
23519 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23521 <bp-sym.h> and <bp-asm.h>.
23522 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23523 comment.
23524
8d19fe64
SP
235252013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23526
23527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23528 Use ZK to minimize writes to Z.
23529 (sub_magnitudes): Simplify code a bit.
23530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23531 Use ZK to minimize writes to Z.
23532 (sub_magnitudes): Simplify code a bit.
23533
85bd816a
RM
235342013-02-27 Roland McGrath <roland@hack.frob.com>
23535
23536 * csu/gmon-start.c: Add special exception to license text.
23537
b5977bf2
RH
235382013-02-27 Richard Henderson <rth@redhat.com>
23539
23540 * scripts/config.guess: Update from config.git.
23541 * scripts/config.sub: Likewise.
23542
11d6e2f2
SP
235432013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23544
09c14ed2
SP
23545 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23546
a688864e
SP
23547 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23548
6295157a
SP
23549 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23550
b8de2202
SP
23551 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23552
11d6e2f2
SP
23553 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23554
7e80ddb8
RM
235552013-02-26 Roland McGrath <roland@hack.frob.com>
23556
23557 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23558 [$(build-shared = yes].
7e80ddb8 23559
7da6d9ed
SP
235602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23561
45f05884
SP
23562 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23563 (__mul): Reduce iterations for calculating mantissa.
23564
2236d359
SP
23565 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23566 MPTWO.
23567 (__mpranred): Likewise.
23568
7da6d9ed
SP
23569 [BZ #15160]
23570 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23571 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23572
b7688c42
PE
235732013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23574
23575 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23576 Define __attribute__.
23577
53a5c423
SP
235782013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23579
23580 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23581 unused.
23582 * posix/regex_internal.h (__attribute): Remove.
23583 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23584 (re_string_context_at): Likewise.
23585 (bitset_not): Use __attribute__ and mark function as possibly
23586 unused.
23587 (bitset_merge): Likewise.
23588 (bitset_mask): Likewise.
23589 (re_string_char_size_at): Likewise.
23590 (re_string_wchar_at): Likewise.
23591 (re_string_elem_size_at): Likewise.
23592
60f5a8b5
SP
235932013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23594
2a983a2e
SP
23595 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23596 code.
23597 (cc32): Likewise.
23598
e69804d1
SP
23599 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23600 (__acr): Likewise.
23601 (__cpy): Likewise.
23602 (norm): Likewise.
23603 (denorm): Likewise.
23604 (__dbl_mp): Likewise.
23605 (add_magnitudes): Likewise.
23606 (sub_magnitudes): Likewise.
23607 (__mul): Likewise.
23608 (__inv): Likewise.
23609
2f22a1e8
SP
23610 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23611 style.
23612
8930ddc7
SP
23613 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23614 style.
23615
dc60cb11
SP
23616 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23617 code.
23618
60f5a8b5
SP
23619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23620 up changes with default code.
23621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23622 Likewise.
23623
b4d1fd33
AM
236242013-02-24 Allan McRae <allan@archlinux.org>
23625
faf6f8bc
AM
23626 * manual/socket.texi (The Internet Namespace): Order menu items
23627 to match that in the file.
23628
b4d1fd33
AM
23629 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23630 node listing of the info page menu.
23631
2366713d
JM
236322013-02-21 Joseph Myers <joseph@codesourcery.com>
23633
23634 [BZ #13550]
23635 * sysdeps/i386/bp-asm.h: Remove file.
23636 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23637 (PARMS): Do not use macros from bp-asm.h.
23638 (S1): Likewise.
23639 (S2): Likewise.
23640 (SIZE): Likewise.
23641 (__mpn_add_n): Do not use BP_SYM
23642 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23643 "bp-asm.h".
23644 (PARMS): Do not use macros from bp-asm.h.
23645 (S1): Likewise.
23646 (SIZE): Likewise.
23647 (__mpn_addmul_1): Do not use BP_SYM
23648 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23649 "bp-asm.h".
23650 (PARMS): Do not use macros from bp-asm.h.
23651 (SIGMSK): Likewise.
23652 (_setjmp): Likewise. Do not use BP_SYM.
23653 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23654 "bp-asm.h".
23655 (PARMS): Do not use macros from bp-asm.h.
23656 (SIGMSK): Likewise.
23657 (setjmp): Likewise. Do not use BP_SYM.
23658 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23659 "bp-asm.h".
23660 (PARMS): Do not use macros from bp-asm.h.
23661 (__frexp): Do not use BP_SYM.
23662 (frexp): Likewise.
23663 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23664 "bp-asm.h".
23665 (PARMS): Do not use macros from bp-asm.h.
23666 (__frexpf): Do not use BP_SYM.
23667 (frexpf): Likewise.
23668 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23669 "bp-asm.h".
23670 (PARMS): Do not use macros from bp-asm.h.
23671 (__frexpl): Do not use BP_SYM.
23672 (frexpl): Likewise.
23673 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23674 "bp-asm.h".
23675 (PARMS): Do not use macros from bp-asm.h.
23676 (__remquo): Do not use BP_SYM.
23677 (remquo): Likewise.
23678 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23679 "bp-asm.h".
23680 (PARMS): Do not use macros from bp-asm.h.
23681 (__remquof): Do not use BP_SYM.
23682 (remquof): Likewise.
23683 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23684 "bp-asm.h".
23685 (PARMS): Do not use macros from bp-asm.h.
23686 (__remquol): Do not use BP_SYM.
23687 (remquol): Likewise.
23688 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23689 "bp-asm.h".
23690 (PARMS): Do not use macros from bp-asm.h.
23691 (DEST): Likewise.
23692 (SRC): Likewise.
23693 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23694 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23695 "bp-asm.h".
23696 (PARMS): Do not use macros from bp-asm.h.
23697 (strlen): Do not use BP_SYM.
23698 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23699 "bp-asm.h".
23700 (PARMS): Do not use macros from bp-asm.h.
23701 (S1): Likewise.
23702 (S2): Likewise.
23703 (SIZE): Likewise.
23704 (__mpn_add_n): Do not use BP_SYM.
23705 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23706 "bp-asm.h".
23707 (PARMS): Do not use macros from bp-asm.h.
23708 (S1): Likewise.
23709 (SIZE): Likewise.
23710 (__mpn_addmul_1): Do not use BP_SYM.
23711 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23712 weak_alias.
23713 (bzero): Likewise.
23714 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23715 "bp-asm.h".
23716 (PARMS): Do not use macros from bp-asm.h.
23717 (S): Likewise.
23718 (SIZE): Likewise.
23719 (__mpn_lshift): Do not use BP_SYM.
23720 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23721 "bp-asm.h".
23722 (PARMS): Do not use macros from bp-asm.h.
23723 (DEST): Likewise.
23724 (SRC): Likewise.
23725 (LEN): Likewise.
23726 (memcpy): Likewise. Do not use BP_SYM.
23727 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23728 libc_hidden_def and weak_alias.
23729 (mempcpy): Do not use BP_SYM in weak_alias.
23730 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23731 "bp-asm.h".
23732 (PARMS): Do not use macros from bp-asm.h.
23733 (DEST): Likewise.
23734 (LEN): Likewise.
23735 [!BZERO_P] (CHR): Likewise.
23736 (memset): Likewise. Do not use BP_SYM.
23737 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23738 "bp-asm.h".
23739 (PARMS): Do not use macros from bp-asm.h.
23740 (S1): Likewise.
23741 (SIZE): Likewise.
23742 (__mpn_mul_1): Do not use BP_SYM.
23743 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23744 "bp-asm.h".
23745 (PARMS): Do not use macros from bp-asm.h.
23746 (S): Likewise.
23747 (SIZE): Likewise.
23748 (__mpn_rshift): Do not use BP_SYM.
23749 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23750 "bp-asm.h".
23751 (PARMS): Do not use macros from bp-asm.h.
23752 (STR): Likewise.
23753 (CHR): Likewise.
23754 (strchr): Likewise. Do not use BP_SYM.
23755 (index): Do not use BP_SYM in weak_alias.
23756 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23757 "bp-asm.h".
23758 (PARMS): Do not use macros from bp-asm.h.
23759 (DEST): Likewise.
23760 (SRC): Likewise.
23761 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23762 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23763 "bp-asm.h".
23764 (PARMS): Do not use macros from bp-asm.h.
23765 (strlen): Do not use BP_SYM.
23766 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23767 "bp-asm.h".
23768 (PARMS): Do not use macros from bp-asm.h.
23769 (S1): Likewise.
23770 (S2): Likewise.
23771 (SIZE): Likewise.
23772 (__mpn_sub_n): Do not use BP_SYM.
23773 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23774 "bp-asm.h".
23775 (PARMS): Do not use macros from bp-asm.h.
23776 (S1): Likewise.
23777 (SIZE): Likewise.
23778 (__mpn_submul_1): Do not use BP_SYM.
23779 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23780 "bp-asm.h".
23781 (PARMS): Do not use macros from bp-asm.h.
23782 (S1): Likewise.
23783 (S2): Likewise.
23784 (SIZE): Likewise.
23785 (__mpn_add_n): Do not use BP_SYM.
23786 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23787 weak_alias.
23788 (bzero): Likewise.
23789 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23790 "bp-asm.h".
23791 (PARMS): Do not use macros from bp-asm.h.
23792 (BLK2): Likewise.
23793 (LEN): Likewise.
23794 (memcmp): Do not use BP_SYM.
23795 (bcmp): Do not use BP_SYM in weak_alias.
23796 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23797 "bp-asm.h".
23798 (PARMS): Do not use macros from bp-asm.h.
23799 (DEST): Likewise.
23800 (SRC): Likewise.
23801 (LEN): Likewise.
23802 (memcpy): Likewise. Do not use BP_SYM.
23803 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23804 "bp-asm.h".
23805 (PARMS): Do not use macros from bp-asm.h.
23806 (DEST): Likewise.
23807 (SRC): Likewise.
23808 (LEN): Likewise.
23809 (memmove): Likewise. Do not use BP_SYM.
23810 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23811 "bp-asm.h".
23812 (PARMS): Do not use macros from bp-asm.h.
23813 (DEST): Likewise.
23814 (SRC): Likewise.
23815 (LEN): Likewise.
23816 (__mempcpy): Likewise. Do not use BP_SYM.
23817 (mempcpy): Do not use BP_SYM in weak_alias.
23818 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
23823 [!BZERO_P] (CHR): Likewise.
23824 (memset): Likewise. Do not use BP_SYM.
23825 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23826 "bp-asm.h".
23827 (PARMS): Do not use macros from bp-asm.h.
23828 (STR2): Likewise.
23829 (strcmp): Do not use BP_SYM.
23830 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23831 "bp-asm.h".
23832 (PARMS): Do not use macros from bp-asm.h.
23833 (STR): Likewise.
23834 (DELIM): Likewise.
23835 [USE_AS_STRTOK_R] (SAVE): Likewise.
23836 (FUNCTION): Likewise. Do not use BP_SYM.
23837 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23838 aliases.
23839 (strtok_r): Likewise.
23840 (__GI___strtok_r): Likewise.
23841 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23842 (PARMS): Do not use macros from bp-asm.h.
23843 (S): Likewise.
23844 (SIZE): Likewise.
23845 (__mpn_lshift): Do not use BP_SYM.
23846 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23847 (PARMS): Do not use macros from bp-asm.h.
23848 (STR): Likewise.
23849 (CHR): Likewise.
23850 (__memchr): Do not use BP_SYM.
23851 (memchr): Do not use BP_SYM in weak_alias.
23852 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23853 (PARMS): Do not use macros from bp-asm.h.
23854 (BLK2): Likewise.
23855 (LEN): Likewise.
23856 (memcmp): Do not use BP_SYM.
23857 (bcmp): Do not use BP_SYM in weak_alias.
23858 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23859 (PARMS): Do not use macros from bp-asm.h.
23860 (S1): Likewise.
23861 (SIZE): Likewise.
23862 (__mpn_mul_1): Do not use BP_SYM.
23863 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23864 "bp-asm.h".
23865 (PARMS): Do not use macros from bp-asm.h.
23866 (STR): Likewise.
23867 (CHR): Likewise.
23868 (__rawmemchr): Do not use BP_SYM.
23869 (rawmemchr): Do not use BP_SYM in weak_alias.
23870 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23871 (PARMS): Do not use macros from bp-asm.h.
23872 (S): Likewise.
23873 (SIZE): Likewise.
23874 (__mpn_rshift): Do not use BP_SYM.
23875 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23876 (PARMS): Do not use macros from bp-asm.h.
23877 (SIGMSK): Likewise.
23878 (__sigsetjmp): Likewise. Do not use BP_SYM.
23879 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23880 (_start): Do not use BP_SYM.
23881 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23882 (PARMS): Do not use macros from bp-asm.h.
23883 (DEST): Likewise.
23884 (SRC): Likewise.
23885 (__stpcpy): Likewise. Do not use BP_SYM.
23886 (stpcpy): Do not use BP_SYM in weak_alias.
23887 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23888 "bp-asm.h".
23889 (PARMS): Do not use macros from bp-asm.h.
23890 (DEST): Likewise.
23891 (SRC): Likewise.
23892 (LEN): Likewise.
23893 (__stpncpy): Likewise. Do not use BP_SYM.
23894 (stpncpy): Do not use BP_SYM in weak_alias.
23895 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23896 (PARMS): Do not use macros from bp-asm.h.
23897 (STR): Likewise.
23898 (CHR): Likewise.
23899 (strchr): Likewise. Do not use BP_SYM.
23900 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23901 "bp-asm.h".
23902 (PARMS): Do not use macros from bp-asm.h.
23903 (STR): Likewise.
23904 (CHR): Likewise.
23905 (__strchrnul): Likewise. Do not use BP_SYM.
23906 (strchrnul): Do not use BP_SYM in weak_alias.
23907 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23908 "bp-asm.h".
23909 (PARMS): Do not use macros from bp-asm.h.
23910 (STOP): Likewise.
23911 (strcspn): Do not use BP_SYM.
23912 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23913 "bp-asm.h".
23914 (PARMS): Do not use macros from bp-asm.h.
23915 (STR): Likewise.
23916 (STOP): Likewise.
23917 (strpbrk): Likewise. Do not use BP_SYM.
23918 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23919 "bp-asm.h".
23920 (PARMS): Do not use macros from bp-asm.h.
23921 (STR): Likewise.
23922 (CHR): Likewise.
23923 (strrchr): Likewise. Do not use BP_SYM.
23924 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23925 (PARMS): Do not use macros from bp-asm.h.
23926 (SKIP): Likewise.
23927 (strspn): Do not use BP_SYM.
23928 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23929 (PARMS): Do not use macros from bp-asm.h.
23930 (STR): Likewise.
23931 (DELIM): Likewise.
23932 (SAVE): Likewise.
23933 (FUNCTION): Likewise. Do not use BP_SYM.
23934 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23935 aliases.
23936 (strtok_r): Likewise.
23937 (__GI___strtok_r): Likewise.
23938 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23939 (PARMS): Do not use macros from bp-asm.h.
23940 (S1): Likewise.
23941 (S2): Likewise.
23942 (SIZE): Likewise.
23943 (__mpn_sub_n): Do not use BP_SYM.
23944 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23945 "bp-asm.h".
23946 (PARMS): Do not use macros from bp-asm.h.
23947 (S1): Likewise.
23948 (SIZE): Likewise.
23949 (__mpn_submul_1): Do not use BP_SYM.
23950 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23951 <bp-sym.h>.
23952 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23953 and <bp-asm.h>.
23954 (PARMS): Do not use macros from bp-asm.h.
23955 (FLAGS): Likewise.
23956 (PTID): Likewise.
23957 (TLS): Likewise.
23958 (CTID): Likewise.
23959 (__clone): Do not use BP_SYM.
23960 (clone): Do not use BP_SYM in weak_alias.
23961 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23962 and <bp-asm.h>.
23963 (PARMS): Do not use macros from bp-asm.h.
23964 (LEN): Likewise.
23965 (__mmap64): Do not use BP_SYM.
23966 (mmap64): Do not use BP_SYM in weak_alias.
23967 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23968 <bp-sym.h> and <bp-asm.h>.
23969 (PARMS): Do not use macros from bp-asm.h.
23970 (__posix_fadvise64_l64): Do not use BP_SYM.
23971 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23972 (PARMS): Do not use macros from bp-asm.h.
23973 (NSOPS): Likewise.
23974 (semtimedop): Do not use BP_SYM.
23975 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23976 and <bp-asm.h>.
23977
582a3cff
AM
239782013-02-21 Allan McRae <allan@archlinux.org>
23979
23980 * manual/message.texi (Charset conversion in gettext):
23981 Move @end statement to beginning of line.
23982
bab8a695
SP
239832013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23984
80945231
SP
23985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23986 static.
23987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23988 Likewise.
23989
bab8a695
SP
23990 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23991 (denorm): Likewise.
23992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23994
e21d7aa7
AK
239952013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23996
23997 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23998 tail-call to the resolved function if pltexit isn't needed.
23999
4c7a4263
SP
240002013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24001
24002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24003 or Y being zero as being unlikely.
24004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24005 Likewise.
24006
41f49342
CD
240072013-02-20 Carlos O'Donell <carlos@redhat.com>
24008
24009 * manual/nss.texi (System Databases and Name Service Switch):
24010 Remove frobnicate @pxref.
24011
50022a93
TS
240122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24013
24014 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24015 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24016
08cbd996
PM
240172013-02-20 Petr Machata <pmachata@redhat.com>
24018
24019 * elf/elf.h (R_ARM_TARGET1): New macro.
24020 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24021 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24022 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24023 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24024 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24025 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24026 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24027 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24028 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24029 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24030 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24031 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24032 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24033 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24034 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24035 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24036 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24037 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24038 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24039 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24040 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24041 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24042 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24043 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24044 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24045 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24046 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24047 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24048 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24049 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24050 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24051 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24052 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24053 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24054 (R_ARM_THM_GOT_BREL12): Likewise.
24055 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24056 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24057 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24058 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24059 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24060 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24061 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24062 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24063 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24064
c7b275d6
TS
240652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24066
24067 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24068 __attribute_used__ to __attribute__ ((unused)).
24069
20cd7fb3
SP
240702013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24071
24072 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24073 powerpc mpa.c.
24074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24075 comment formatting.
24076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24077
92945b52
JM
240782013-02-19 Joseph Myers <joseph@codesourcery.com>
24079
24080 [BZ #13550]
24081 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24082 Remove macro.
24083 (ENTER): Remove both macro definitions.
24084 (LEAVE): Likewise.
24085 (CHECK_BOUNDS_LOW): Likewise.
24086 (CHECK_BOUNDS_HIGH): Likewise.
24087 (CHECK_BOUNDS_BOTH): Likewise.
24088 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24089 (RETURN_BOUNDED_POINTER): Likewise.
24090 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24091 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24092 (POP_ERRNO_LOCATION_RETURN): Likewise.
24093 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24094 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24095 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24096 macros.
24097 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24098 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24099 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24100 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24101 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24102 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24103 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24104 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24105 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24106 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24107 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24108 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24109 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24110 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24111 removed macros.
24112 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24113 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24114 macros.
24115 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24116 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24117 * sysdeps/i386/i586/memset.S (memset): Likewise.
24118 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24119 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24120 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24121 macros.
24122 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24123 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24124 Change uses of L(2) to L(out).
24125 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24126 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24127 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24128 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24129 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24130 removed macros.
24131 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24132 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24133 macros.
24134 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24135 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24136 (RETURN): Do not use macro LEAVE.
24137 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24138 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24139 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24140 * sysdeps/i386/i686/memset.S (memset): Likewise.
24141 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24142 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24143 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24144 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24145 Likewise.
24146 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24147 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24148 L(1_2) and L(1_3) into L(1).
24149 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24150 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24151 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24152 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24153 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24154 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24155 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24156 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24157 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24158 macros.
24159 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24160 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24161 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24162 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24163 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24164 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24165 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24166 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24167 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24168 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24169 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24170 * sysdeps/i386/strspn.S (strspn): Likewise.
24171 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24172 conditional code.
24173 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24174 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24175 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24176 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24177 L(1_3) into L(1_1).
24178 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24179 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24180 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24181 macros.
24182 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24183
2389741a
JJ
241842013-02-19 Jakub Jelinek <jakub@redhat.com>
24185
24186 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24187 macro.
24188
2016b3cd
SP
241892013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24190
e4f22324
SP
24191 * math/atest-exp.c (exp_mpn): Remove ROUND.
24192 * math/atest-exp2.c (exp_mpn): Likewise.
24193 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24194
2016b3cd
SP
24195 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24196 * stdlib/tst-tls-atexit-lib.c: Likewise.
24197 * stdlib/tst-tls-atexit.c: Likewise.
24198
4be9b544
MF
241992013-02-18 Mike Frysinger <vapier@gentoo.org>
24200
24201 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24202 and __attribute_alloc_size__.
24203
2f62b9ee
MF
242042013-02-18 Mike Frysinger <vapier@gentoo.org>
24205
24206 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24207 __attribute_alloc_size__.
24208 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24209 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24210
6ff444c4
MF
242112013-02-18 Mike Frysinger <vapier@gentoo.org>
24212
24213 * include/programs/xmalloc.h: New file.
24214 * catgets/gencat.c: Include it.
24215 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24216 * elf/pldd.c: Likewise.
24217 * iconv/iconv_charmap.c: Likewise.
24218 * iconv/iconvconfig.c: Likewise.
24219 * iconv/strtab.c: Likewise.
24220 * locale/programs/locale.c: Likewise.
24221 * locale/programs/localedef.h: Likewise.
24222 * locale/programs/simple-hash.c: Likewise.
24223 * nscd/nscd.h: Likewise.
24224 * nss/makedb.c: Likewise.
24225 * sysdeps/generic/ldconfig.h: Likewise.
24226
be179c8a
SP
242272013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24228
ba384f6e
SP
24229 * Versions.def: Add GLIBC_2.18.
24230 * include/link.h (struct link_map): New member l_tls_dtor_count.
24231 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24232 (__call_tls_dtors): Likewise.
24233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24234 __cxa_thread_atexit_impl.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24236 Likewise.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24238 Likewise.
24239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24240 Likewise.
24241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24242 Likewise.
24243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24245 Likewise.
24246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24247 Likewise.
24248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24250 Likewise.
24251 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24252 (tests): Add test case tst-tls-atexit.
24253 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24254 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24255 (GLIBC_PRIVATE): Add __call_tls_dtors.
24256 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24257 for libstdc++.
24258 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24259 * stdlib/tst-tls-atexit.c: New test case.
24260 * stdlib/tst-tls-atexit-lib.c: New test case.
24261
ffaa74cf 24262 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24263
be179c8a
SP
24264 * elf/Versions (ld): Add _dl_find_dso_for_object.
24265 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24266 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24267 (dl_open_worker): Use _dl_find_dso_for_object.
24268 * elf/dl-sym.c (do_sym): Likewise.
24269 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24270
f78b5caa
AK
242712013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24272
24273 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24274 Syntactic changes only.
24275 (_dl_runtime_profile): Do a tail-call to the resolved function.
24276
29691210
JM
242772013-02-17 Joseph Myers <joseph@codesourcery.com>
24278
24279 [BZ #13550]
24280 * sysdeps/x86_64/bp-asm.h: Remove file.
24281 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24282 <bp-sym.h> and <bp-asm.h>.
24283 (__clone): Do not use BP_SYM.
24284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24285 <bp-sym.h> and <bp-asm.h>.
24286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24287 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24288 "bp-asm.h".
24289 (_setjmp): Do not use BP_SYM.
24290 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24291 "bp-asm.h".
24292 (setjmp): Do not use BP_SYM.
24293 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24294 libc_hidden_def.
24295 (mempcpy): Do not use BP_SYM in weak_alias.
24296 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24297 "bp-asm.h".
24298 (strchr): Do not use BP_SYM.
24299 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24300 "bp-asm.h".
24301 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24302 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24303 (_start): Do not use BP_SYM.
24304 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24305 "bp-asm.h".
24306 (strcat): Do not use BP_SYM.
24307 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24308 "bp-asm.h".
24309 (STRCMP): Do not use BP_SYM.
24310 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24311 "bp-asm.h".
24312 (STRCPY): Do not use BP_SYM.
24313 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24314 "bp-asm.h".
24315 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24316 "bp-asm.h".
24317 (FUNCTION): Do not use BP_SYM.
24318 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24319 weak_alias.
24320 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24321
f238fd19
AJ
243222013-02-17 Andreas Jaeger <aj@suse.de>
24323
24324 * time/Versions: Sort entries.
24325 * string/Versions: Likewise.
24326 * resolv/Versions: Likewise.
24327 * posix/Versions: Likewise.
24328 * iconv/Versions: Likewise.
24329 * elf/Versions: Likewise.
24330 * wcsmbs/Versions: Likewise.
24331
bd07f23c 243322013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24333
22af19f9
SP
24334 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24335 loop termination condition.
24336
4709fe76
SP
24337 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24338 variable to calculate EZ.
24339 (__sqr): Likewise.
2d0e0f29
SP
24340
24341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24342 the lower precision input.
24343
daaa7713
JM
243442013-02-15 Joseph Myers <joseph@codesourcery.com>
24345
24346 [BZ #13550]
24347 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24348 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24349 (run-via-rtld-prefix): Do not handle %-bp tests.
24350 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24351 (all-object-suffixes): Remove .ob.
24352 (bppfx): Remove variable.
24353 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24354 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24355 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24356 [$(build-bounded) = yes] (libtype.ob): Likewise.
24357 * Makerules (elide-routines.ob): Remove variable.
24358 (do-tests-clean): Do not handle *-bp.out.
24359 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24360 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24361 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24362 (tests): Do not include $(tests-bp.out).
24363 (xtests): Do not include $(xtests-bp.out).
24364 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24365 [$(build-bounded) = yes] ($(addprefix
24366 $(objpfx),$(binaries-bounded))): Remove rule.
24367 ($(objpfx)%-bp.out): Remove rule.
24368 * config.make.in (build-bounded): Remove variable.
24369 * crypt/Makefile [$(build-bounded) = yes]
24370 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24371 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24372 append to variable.
24373 [$(build-bounded) = yes] (install-lib): Likewise.
24374 [$(build-bounded) = yes] (generated): Likewise.
24375 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24376 Remove rule.
24377 * intl/Makefile [$(build-bounded) = yes]
24378 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24379 * math/Makefile [$(build-bounded) = yes]
24380 ($(tests:%=$(objpfx)%-bp): Likewise.
24381 * misc/Makefile [$(build-bounded) = yes]
24382 ($(objpfx)tst-tsearch-bp): Likewise.
24383 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24384 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24385 Remove dependency.
24386 * string/Makefile (o-objects.ob): Remove variable.
24387 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24388 (CFLAGS-.ob): Remove variable.
24389 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24390 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24391 both definitions of variable.
24392 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24393 (ASFLAGS-.ob): Remove variable.
24394
e97ed6dd
JM
243952013-02-14 Joseph Myers <joseph@codesourcery.com>
24396
2bdd4ca6
JM
24397 [BZ #13550]
24398 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24399 Remove __BOUNDED_POINTERS__ from condition.
24400 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24401 * string/bits/string2.h [!__NO_STRING_INLINES &&
24402 !__BOUNDED_POINTERS__]: Likewise.
24403 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24404 Likewise.
24405 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24406 Remove conditional code.
24407 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24408 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24409 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24410 condition.
24411
e97ed6dd
JM
24412 [BZ #13550]
24413 * csu/libc-start.c: Do not include <bp-sym.h>.
24414 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24415 * elf/dl-open.c: Do not include <bp-sym.h>.
24416 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24417 * math/fegetenv.c: Do not include <bp-sym.h>.
24418 (fegetenv): Do not use BP_SYM in versioned symbols.
24419 * nptl/sysdeps/pthread/bits/libc-lockP.h
24420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24421 <bp-sym.h>.
24422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24423 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24425 (__pthread_mutex_destroy): Likewise.
24426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24427 (__pthread_mutex_lock): Likewise.
24428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24429 (__pthread_mutex_trylock): Likewise.
24430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24431 (__pthread_mutex_unlock): Likewise.
24432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24433 (__pthread_mutexattr_init): Likewise.
24434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24435 (__pthread_mutexattr_destroy): Likewise.
24436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24437 (__pthread_mutexattr_settype): Likewise.
24438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24439 (__pthread_rwlock_init): Likewise.
24440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24441 (__pthread_rwlock_destroy): Likewise.
24442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24443 (__pthread_rwlock_rdlock): Likewise.
24444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24445 (__pthread_rwlock_tryrdlock): Likewise.
24446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24447 (__pthread_rwlock_wrlock): Likewise.
24448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24449 (__pthread_rwlock_trywrlock): Likewise.
24450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24451 (__pthread_rwlock_unlock): Likewise.
24452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24453 (__pthread_key_create): Likewise.
24454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24455 (__pthread_setspecific): Likewise.
24456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24457 (__pthread_getspecific): Likewise.
24458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24459 Likewise.
24460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24461 (_pthread_cleanup_push_defer): Likewise.
24462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24463 (_pthread_cleanup_pop_restore): Likewise.
24464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24465 (pthread_setcancelstate): Likewise.
24466 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24467 <bp-sym.h>.
24468 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24469 (memchr): Do not use BP_SYM in weak_alias.
24470 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24471 (fegetenv): Do not use BP_SYM in versioned symbols.
24472 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24473 (fesetenv): Do not use BP_SYM in versioned symbols.
24474 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24475 (feupdateenv): Do not use BP_SYM in versioned symbols.
24476 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24477 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24478 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24479 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24480 (open64): Do not use BP_SYM in weak_alias.
24481 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24482 (fegetenv): Do not use BP_SYM in versioned symbols.
24483 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24484 (fesetenv): Do not use BP_SYM in versioned symbols.
24485 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24486 (feupdateenv): Do not use BP_SYM in versioned symbols.
24487 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24488 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24489 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24490 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24491 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24492 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24493 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24494 <bp-sym.h>.
24495 (__libc_start_main): Do not use BP_SYM.
24496
d6752ccd
SP
244972013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24498
cb57ce60
SP
24499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24500 redundant return line.
24501 (norm): Likewise.
24502 (denorm): Likewise.
24503 (dbl_mp): Likewise.
24504 (sub_magnitudes): Likewise.
24505 (__add): Likewise.
24506 (__sub): Likewise.
24507 (__mul): Likewise.
24508 (__inv): Likewise.
24509 (__dvd): Likewise.
24510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24511 (norm): Likewise.
24512 (denorm): Likewise.
24513 (dbl_mp): Likewise.
24514 (sub_magnitudes): Likewise.
24515 (__add): Likewise.
24516 (__sub): Likewise.
24517 (__mul): Likewise.
24518 (__inv): Likewise.
24519 (__dvd): Likewise.
24520
f414520d
SP
24521 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24522 instead of __mul.
24523 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24524 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24525 (cc32): Likewise.
24526
d6752ccd
SP
24527 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24528 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24530 of __mul for squares.
24531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24532 function
24533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24534 Likewise.
24535 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24536 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24537
70d9946a
JM
245382013-02-13 Joseph Myers <joseph@codesourcery.com>
24539
24540 [BZ #13550]
24541 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24542 code.
24543 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24544 prototype or function definition. Rename ubp_* variables and
24545 parameters. Remove argv definitions conditional on
24546 [__BOUNDED_POINTERS__].
24547 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24548 * elf/dl-runtime.c (_dl_fixup): Likewise.
24549 * include/set-hooks.h (RUN_HOOK): Likewise.
24550 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24551 definition.
24552 * string/strcpy.c (strcpy): Do not use __unbounded.
24553 * sysdeps/generic/frame.h (struct layout): Likewise.
24554 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24555 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24556 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24557 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24558 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24559 (__backtrace): Likewise.
24560 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24561 use __ptrvalue.
24562 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24563 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24564 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24565 Likewise.
24566 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24567 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24568 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24569 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24570 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24571 Do not use __unbounded.
24572 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24573 Rename __unboundedrlimits parameter to rlimits in prototype.
24574 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24575 Do not use __unbounded.
24576 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24577 not use __ptrvalue.
24578 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24579 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24580 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24581 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24582 __ptrvalue or __unbounded.
24583 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24584 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24585 use __unbounded.
24586 (__new_msgctl): Do not use __ptrvalue.
24587 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24588 __unbounded.
24589 (__libc_msgrcv): Do not use __ptrvalue.
24590 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24591 startup_info): Do not use __unbounded.
24592 (__libc_start_main): Likewise. Rename ubp_* variables and
24593 parameters. Remove argv definitions conditional on
24594 [__BOUNDED_POINTERS__].
24595 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24596 __ptrvalue.
24597 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24598 use __unbounded.
24599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24600 or __ptrvalue.
24601 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24602 use __unbounded.
24603 (__new_shmctl): Do not use __ptrvalue.
24604 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24605 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24606 Likewise.
24607 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24609 (__libc_sigaction): Likewise.
24610 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24611 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24612 Likewise.
24613 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24614
cc7834d6
OB
246152013-02-13 Ondřej Bílka <neleai@seznam.cz>
24616
ffb1ec7b 24617 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24618
24619 * string/mempcpy.c: Implement by calling memcpy.
24620
bdf02814
SP
246212013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24622
c2af38aa
SP
24623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24624
4e92d59e
SP
24625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24626 evaluation.
24627
909279a5
SP
24628 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24629 values in the mantissa.
24630
bdf02814
SP
24631 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24632 minimize writes to Z.
24633 (sub_magnitudes): Simplify code a bit.
24634
cd525923
RM
246352013-02-12 Roland McGrath <roland@hack.frob.com>
24636
24637 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24638 from the message. The linker prefixes all warnings with that already.
24639
7e2f0d2d
AS
246402013-02-12 Andreas Schwab <schwab@suse.de>
24641
a445af0b
AS
24642 [BZ #15078]
24643 * posix/regexec.c (extend_buffers): Add parameter min_len.
24644 (check_matching): Pass minimum needed length.
24645 (clean_state_log_if_needed): Likewise.
24646 (get_subexp): Likewise.
24647 * posix/Makefile (tests): Add bug-regex34.
24648 (bug-regex34-ENV): Define.
24649 * posix/bug-regex34.c: New file.
24650
7e2f0d2d
AS
24651 [BZ #11561]
24652 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24653 elements compare against the byte sequence of it, not its name.
24654 * posix/Makefile (tests): Add bug-regex35.
24655 (bug-regex35-ENV): Define.
24656 * posix/bug-regex35.c: New file.
24657
a175b684
TV
246582013-02-11 Tom de Vries <tom@codesourcery.com>
24659
24660 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24661 comment.
24662 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24663 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24664 (CHECK_EOL): Add undef.
24665
310998fe 246662013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24667
24668 * bits/stdlib-bsearch.h: New file.
24669 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24670 * stdlib/stdlib.h: Likewise.
41eda41d 24671
8ded91fb
RM
246722013-02-11 Roland McGrath <roland@hack.frob.com>
24673
24674 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24675 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24676 declaration.
24677 * manual/search.texi (Array Search Function): Add missing const in
24678 lfind prototype.
24679 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24680 declaration to use rlim_t.
24681 (Basic Scheduling Functions): Remove erroneous const from
24682 sched_getparam prototype. Remove erroneous * from
24683 sched_get_priority_max and sched_get_priority_min prototypes.
24684 (Resource Usage): Fix summary @comment on vtimes to refer to
24685 sys/vtimes.h rather than vtimes.h.
24686 Add missing *s in vtimes prototype.
24687 (Limits on Resources): Fix ulimit prototype to return long int.
24688 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24689 prototypes to use long int rather than double.
24690 (BSD Random): Fix initstate and setstate to use char *, not void *.
24691 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24692 prototype to make second argument 'struct aiocb64 *const[]'.
24693 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24694 (Status of AIO Operations): Remove erroneous const in aio_return and
24695 aio_return64 prototypes.
24696 (Synchronizing I/O): Fix sync prototype to return void.
24697 * manual/startup.texi (Suboptions): Remove an erroneous const in
24698 getsubopt prototype.
24699 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24700 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24701 use size_t rather than int.
24702 (Scanning All Users): Likewise for getpwent_r.
24703 (Setting Groups): Add missing const to setgroups prototype.
24704 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24705 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24706 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24707 'const void *' rather than 'const char *'.
24708 (Host Address Functions): Likewise for inet_ntop.
24709 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24710 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24711 ssize_t for return value.
24712 (Sending Data): Likewise for send, sendto, sendmsg.
24713 (Socket Option Functions): Add a missing const in setsockopt prototype.
24714 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24715 use wchar_t for the argument.
24716 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24717 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24718 take no arguments.
24719 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24720 double/float/long double for second argument.
24721 Fix return types of significand, significandf, significandl.
24722 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24723 argument in fchmod prototype.
24724 (File Owner): Use uid_t and gid_t in fchown prototype.
24725 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24726 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24727 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24728 use 'const struct dirent **' as argument types to CMP function pointer
24729 argument.
24730 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24731 (File Times): Fix summary magic @comment for struct utimbuf and utime
24732 to refer to utime.h, not time.h.
24733 * manual/string.texi (Argz Functions): Add missing const in
24734 argz_extract and argz_next prototypes.
24735 (Finding Tokens in a String): Likewise for basename.
24736 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24737 (Copying and Concatenation): Fix typo in wmemmove prototype.
24738 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24739 (Signal Stack): Remove erroneous const in sigstack prototype.
24740 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24741 prototype.
24742 (Simple Calendar Time): Likewise for stime.
24743 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24744 prototype.
24745 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24746 say sys/sysctl.h instead.
24747 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24748 and vsyslog prototypes.
24749
fe77fe6d
TV
247502013-02-11 Tom de Vries <tom@codesourcery.com>
24751
24752 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24753 Remove.
24754
3a09b620
RM
247552013-02-11 Roland McGrath <roland@hack.frob.com>
24756
24757 * misc/sys/mman.h: Fix typo in mremap comment.
24758
550a0b89
RM
247592013-02-08 Roland McGrath <roland@hack.frob.com>
24760
24761 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24762 the '\0' terminator.
24763
a2da1673
JM
247642013-02-08 Joseph Myers <joseph@codesourcery.com>
24765
24766 [BZ #13550]
24767 * debug/segfault.c: Don't include <bp-checks.h>.
24768 * sysdeps/generic/bp-checks.h: Remove file.
24769 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24770 (__GETDENTS): Don't use CHECK_N.
24771 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24772 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24773 (__getgroups): Don't use CHECK_N.
24774 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24775 (setgroups): Don't use CHECK_N.
24776 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24777 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24778 (__libc_msgrcv): Don't use CHECK_N.
24779 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24780 (__libc_msgsnd): Don't use CHECK_N.
24781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24782 <bp-checks.h>.
24783 (__libc_pread): Don't use CHECK_N.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24785 include <bp-checks.h>.
24786 (__libc_pread64): Don't use CHECK_N.
24787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24788 include <bp-checks.h>.
24789 (__libc_pwrite): Don't use CHECK_N.
24790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24791 include <bp-checks.h>.
24792 (__libc_pwrite64): Don't use CHECK_N.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24794 <bp-checks.h>.
24795 (__libc_pread): Don't use CHECK_N.
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24797 include <bp-checks.h>.
24798 (__libc_pread64): Don't use CHECK_N.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24800 include <bp-checks.h>.
24801 (__libc_pwrite): Don't use CHECK_N.
24802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24803 include <bp-checks.h>.
24804 (__libc_pwrite64): Don't use CHECK_N.
24805 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24806 (do_pread): Don't use CHECK_N.
24807 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24808 (do_pread64): Don't use CHECK_N.
24809 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24810 (do_pwrite): Don't use CHECK_N.
24811 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24812 (do_pwrite64): Don't use CHECK_N.
24813 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24814 (__libc_readv): Don't use CHECK_N.
24815 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24816 (semop): Don't use CHECK_N.
24817 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24818 <bp-checks.h>.
24819 (semtimedop): Don't use CHECK_N.
24820 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24821 (__libc_pread): Don't use CHECK_N.
24822 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24823 <bp-checks.h>.
24824 (__libc_pread64): Don't use CHECK_N.
24825 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24826 <bp-checks.h>.
24827 (__libc_pwrite): Don't use CHECK_N.
24828 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24829 <bp-checks.h>.
24830 (__libc_pwrite64): Don't use CHECK_N.
24831 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24832 <bp-checks.h>.
24833 (__libc_msgrcv): Don't use CHECK_N.
24834 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24835 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24836 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24837 (__libc_writev): Don't use CHECK_N.
24838
b84660a8
RM
248392013-02-08 Roland McGrath <roland@hack.frob.com>
24840
7f3e75f8
RM
24841 * string/strcpy.c: Removed unused variable.
24842
b84660a8
RM
24843 * Makeconfig (+sysdep-includes): Define with := rather than =.
24844 Use an existing include/ subdir of each sysdeps dir before it.
24845
471514d3
CD
248462013-02-08 Carlos O'Donell <carlos@redhat.com>
24847
24848 * nscd/connection.c (register_traced_file): Comment function.
24849 [HAVE_INOTIFY] (union __inev): Define.
24850 [HAVE_INOTIFY] (inotify_check_files): New function.
24851 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24852 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24853 clear_db_cache.
24854 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24855
b2d3c3be
CD
248562013-02-08 Carlos O'Donell <carlos@redhat.com>
24857
24858 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24859 loaded if not already and that a failure is permanent.
24860
b39949d2
CD
248612013-02-08 Carlos O'Donell <carlos@redhat.com>
24862
ddacd1db 24863 [BZ #15006]
b39949d2
CD
24864 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24865 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24866
b2c9eff4
JM
248672013-02-08 Joseph Myers <joseph@codesourcery.com>
24868
f3aae3f3
JM
24869 [BZ #13550]
24870 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24871 (CHECK_1_NULL_OK): Likewise.
24872 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24873 (__fxstat): Do not use CHECK_1.
24874 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24875 <bp-checks.h>.
24876 (___fxstat64): Do not use CHECK_1.
24877 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24878 <bp-checks.h>.
24879 (__fxstatat): Do not use CHECK_1.
24880 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24881 <bp-checks.h>.
24882 (__fxstatat64): Do not use CHECK_1.
24883 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24884 <bp-checks.h>.
24885 (__fxstat): Do not use CHECK_1.
24886 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24887 <bp-checks.h>.
24888 (__fxstatat): Do not use CHECK_1.
24889 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24890 <bp-checks.h>.
24891 (__getresgid): Do not use CHECK_1.
24892 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24893 <bp-checks.h>.
24894 (__getresuid): Do not use CHECK_1.
24895 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24896 <bp-checks.h>.
24897 (__lxstat): Do not use CHECK_1.
24898 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24899 <bp-checks.h>.
24900 (__old_msgctl): Do not use CHECK_1.
24901 (__new_msgctl): Likewise.
24902 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24903 <bp-checks.h>.
24904 (__new_setrlimit): Do not use CHECK_1.
24905 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24906 <bp-checks.h>.
24907 (__old_shmctl): Do not use CHECK_1.
24908 (__new_shmctl): Likewise.
24909 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24910 <bp-checks.h>.
24911 (__xstat): Do not use CHECK_1.
24912 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24913 (__lxstat): Do not use CHECK_1.
24914 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24915 <bp-checks.h>.
24916 (___lxstat64): Do not use CHECK_1.
24917 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24918 (__old_msgctl): Do not use CHECK_1.
24919 (__new_msgctl): Likewise.
24920 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24921 <bp-checks.h>.
24922 (__gettimeofday): Do not use CHECK_1.
24923 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24924 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24925 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24926 <bp-checks.h>.
24927 (__gettimeofday): Do not use CHECK_1.
24928 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24929 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24930 (__new_shmctl): Do not use CHECK_1.
24931 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24932 <bp-checks.h>.
24933 (do_sigtimedwait): Do not use CHECK_1.
24934 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24935 <bp-checks.h>.
24936 (do_sigwaitinfo): Do not use CHECK_1.
24937 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24938 <bp-checks.h>.
24939 (msgctl): Do not use CHECK_1.
24940 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24941 <bp-checks.h>.
24942 (shmctl): Do not use CHECK_1.
24943 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24944 (ustat): Do not use CHECK_1.
24945 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24946 <bp-checks.h>.
24947 (__fxstat): Do not use CHECK_1.
24948 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24949 <bp-checks.h>.
24950 (__fxstatat): Do not use CHECK_1.
24951 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24952 <bp-checks.h>.
24953 (__lxstat): Do not use CHECK_1.
24954 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24955 <bp-checks.h>.
24956 (__xstat): Do not use CHECK_1.
24957 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24958 (__xstat): Do not use CHECK_1.
24959 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24960 (___xstat64): Do not use CHECK_1.
24961
b2c9eff4
JM
24962 [BZ #13550]
24963 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24964 definitions.
24965 (CHECK_BOUNDS_HIGH): Likewise.
24966 * string/strcpy.c: Do not include <bp-checks.h>.
24967 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24968
f1d70dad
RM
249692013-02-07 Roland McGrath <roland@hack.frob.com>
24970
24971 * nscd/nscd-client.h (__nscd_drop_map_ref):
24972 Add __attribute__ ((unused)).
24973 * nis/nss-nisplus.h (niserr2nss): Likewise.
24974
24975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24976 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24977
24978 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24979 Remove inline keyword.
24980 * include/rounding-mode.h (round_away): Likewise.
24981 * libio/wfileops.c (adjust_wide_data): Likewise.
24982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24983 (__m128i_strloadu_tolower): Likewise.
24984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24985 (__m128i_strloadu_tolower): Likewise.
24986 * time/mktime.c (ydhms_diff): Likewise.
24987 * locale/elem-hash.h (elem_hash): Likewise.
24988 * locale/setlocale.c (setdata): Likewise.
24989 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24990 (re_string_wchar_at): Likewise.
24991 (bitset_not, bitset_merge, bitset_mask): Likewise.
24992 [!(__GNUC__ > 3)] (inline): Remove macro.
24993 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24994 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24995 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24996 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24997 * string/memcmp.c (memcmp_bytes): Likewise.
24998 * locale/programs/locarchive.c (compute_hashval): Likewise.
24999 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25000 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25001 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25002 * nss/getent.c (print_rpc, print_protocols): Likewise.
25003 (print_passwd, print_group, print_aliases): Likewise.
25004 * nis/nss-nisplus.h (niserr2nss): Likewise.
25005 * nscd/connections.c (restart_p): Likewise.
25006 Change return type to bool.
25007
eab55bfb
RM
250082013-02-05 Roland McGrath <roland@hack.frob.com>
25009
7bd642f5
RM
25010 * Makeconfig (all-Depend-files): Add existing
25011 $(sorted-subdirs:=/Depend) files.
25012 (all-subdirs): Remove nss.
25013 * sysdeps/unix/inet/Subdirs: Add it here instead.
25014 * hesiod/Depend: New file.
25015
573c29b2
RM
25016 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25017 instead of calling alloca.
25018
b2e25af0
RM
25019 * io/lseek.c (__lseek): Rename to __libc_lseek.
25020 Define __lseek as an alias.
25021
eab55bfb
RM
25022 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25023
9a0d1941
CD
250242013-02-04 Carlos O'Donell <carlos@redhat.com>
25025
25026 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25027 else clause and remove check for non-standard endianness.
25028
b83bbec4
DM
250292013-02-04 David S. Miller <davem@davemloft.net>
25030
25031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25032
6277fdab
JM
250332013-02-04 Joseph Myers <joseph@codesourcery.com>
25034
25035 [BZ #13550]
25036 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25037 (__ubp_memchr): Remove prototype.
25038 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25039 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25040 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25041 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25042 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25043 Remove alias.
25044 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25045 (__ubp_memchr): Likewise.
25046 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25047 (__ubp_memchr): Likewise.
25048 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25049 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25050 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25051 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25052 CHECK_STRING.
25053 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25054 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25055 (__getcwd): Do not use CHECK_STRING.
25056 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25057 <bp-checks.h>.
25058 (__real_chown): Do not use CHECK_STRING.
25059 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25060 <bp-checks.h>.
25061 (fchownat): Do not use CHECK_STRING.
25062 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25063 CHECK_STRING.
25064 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25065 <bp-checks.h>.
25066 (__lchown): Do not use CHECK_STRING.
25067 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25068 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25069 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25070 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25072 include <bp-checks.h>.
25073 (truncate64): Do not use CHECK_STRING.
25074 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25075 <bp-checks.h>.
25076 (__real_chown): Do not use CHECK_STRING.
25077 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25078 <bp-checks.h>.
25079 (__lchown): Do not use CHECK_STRING.
25080 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25081 <bp-checks.h>.
25082 (__chown): Do not use CHECK_STRING.
25083 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25084 <bp-checks.h>.
25085 (truncate64): Do not use CHECK_STRING.
25086 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25087 Likewise.
25088 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25089 (__xmknod): Do not use CHECK_STRING.
25090 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25091 <bp-checks.h>.
25092 (__xmknodat): Do not use CHECK_STRING.
25093 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25094 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25095
903ae060
AS
250962013-02-04 Andreas Schwab <schwab@suse.de>
25097
25098 [BZ #14142]
25099 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25100 * include/netdb.h: Likewise for h_errno.
25101 * elf/tst-stackguard1.c: Include <tls.h>.
25102
542f9466
JK
251032013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25104
25105 * elf/link.h (struct link_map): Extend the l_addr comment.
25106 * include/link.h (struct link_map): Likewise.
25107
e782a927
JM
251082013-02-01 Joseph Myers <joseph@codesourcery.com>
25109
25110 [BZ #13550]
25111 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25112 (BOUNDED_1): Remove macro.
25113 * debug/backtrace.c: Don't include <bp-checks.h>.
25114 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25115 (__backtrace): Likewise.
25116 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25117 <bp-checks.h>.
25118 (__backtrace): Don't use BOUNDED_1.
25119 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25120 <bp-checks.h>.
25121 (__backtrace): Don't use BOUNDED_1.
25122 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25123 (__backtrace): Don't use BOUNDED_1.
25124 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25125 (shmat): Don't use BOUNDED_N.
25126
8cf28c5e
JM
251272013-01-31 Joseph Myers <joseph@codesourcery.com>
25128
3a7ac8a0
JM
25129 [BZ #13550]
25130 * sysdeps/generic/bp-start.h: Remove file.
25131 * csu/libc-start.c: Don't include <bp-start.h>.
25132 (LIBC_START_MAIN): Set up __environ directly instead of using
25133 INIT_ARGV_and_ENVIRON.
25134 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25135 <bp-start.h>.
25136
f3499f95
JM
25137 [BZ #13550]
25138 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25139 definitions.
25140 (CHECK_FCNTL): Likewise.
25141 (CHECK_N_PAGES): Likewise.
25142
32a45bea
JM
25143 [BZ #13550]
25144 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25145 definitions.
25146 (CHECK_SIGSET_NULL_OK): Likewise.
25147 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25148 <bp-checks.h>.
25149 (sigpending): Don't use CHECK_SIGSET.
25150 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25151 <bp-checks.h>.
25152 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25153 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25154 <bp-checks.h>.
25155 (do_sigsuspend): Don't use CHECK_SIGSET.
25156 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25157 use CHECK_SIGSET.
25158 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25159 (do_sigwait): Don't use CHECK_SIGSET.
25160 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25161 use CHECK_SIGSET.
25162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25163 include <bp-checks.h>.
25164 (sigpending): Don't use CHECK_SIGSET.
25165 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25166 include <bp-checks.h>.
25167 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25168 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25169 <bp-checks.h>.
25170 (sigpending): Don't use CHECK_SIGSET.
25171 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25172 <bp-checks.h>.
25173 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25174
2e8a5c8c
JM
25175 [BZ #13550]
25176 * sysdeps/generic/bp-semctl.h: Remove file.
25177 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25178 <bp-checks.h> and <bp-semctl.h>.
25179 (__old_semctl): Don't use CHECK_SEMCTL.
25180 (__new_semctl): Likewise.
25181 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25182 and <bp-semctl.h>.
25183 (__old_semctl): Don't use CHECK_SEMCTL.
25184 (__new_semctl): Likewise.
25185 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25186 <bp-checks.h> and <bp-semctl.h>.
25187 (__old_semctl): Don't use CHECK_SEMCTL.
25188 (__new_semctl): Likewise.
25189 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25190 <bp-checks.h> and <bp-semctl.h>.
25191 (semctl): Don't use CHECK_SEMCTL.
25192
c2d54929
JM
25193 [BZ #13550]
25194 * Makerules (elide-bp-thunks): Remove variable.
25195 (elide-routines.oS): Don't use $(elide-bp-thunks).
25196 (elide-routines.os): Likewise.
25197 (elide-routines.o): Likewise.
25198 (elide-routines.op): Likewise.
25199 (elide-routines.og): Likewise.
25200 (objects): Don't use $(bp-thunks).
25201 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25202 include.
25203 (common-generated): Do not add s-proto-bp.d.
25204 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25205 (int): Likewise.
25206 (typ): Likewise.
25207 Do not generate makefile rules for bounded-pointer thunks.
25208 * sysdeps/generic/bp-thunks.h: Remove file.
25209 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25210 * sysdeps/unix/s-proto-bp.S: Likewise.
25211
8cf28c5e
JM
25212 [BZ #15062]
25213 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25214 parts of result separately when argument is not close to line from
25215 -i to i and one part of argument is small.
25216 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25217 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25218 * math/libm-test.inc (cacos_test): Add more tests.
25219 (casin_test): Likewise.
25220 (casinh_test): Likewise.
25221 * sysdeps/i386/fpu/libm-test-ulps: Update.
25222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25223
c4e33b8d
DM
252242013-01-31 David S. Miller <davem@davemloft.net>
25225
25226 * po/de.po: Update from translation team.
25227
3b60b421
MK
252282013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25229
25230 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25231
bb931195
TS
252322013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25233
b5a5da23
TS
25234 * configure.in (_AC_PROG_CC_C89): New definition.
25235 * configure: Regenerate.
25236
bb931195
TS
25237 * configure.in (AC_PROG_CPP): New definition.
25238 * configure: Regenerate.
25239
8c53a12c
JM
252402013-01-23 Joseph Myers <joseph@codesourcery.com>
25241
25242 * debug/tst-backtrace.h: New file.
25243 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25244 (ret): Remove variable.
25245 (x): Likewise.
25246 (FAIL): Remove macro.
25247 (NO_INLINE): Likewise.
25248 (fn1): Use match function instead of strstr.
25249 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25250 (ret): Remove variable.
25251 (x): Likewise.
25252 (FAIL): Remove macro.
25253 (NO_INLINE): Likewise.
25254 (fn): Use match function instead of strstr.
25255 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25256 (ret): Remove variable.
25257 (x): Likewise.
25258 (FAIL): Remove macro.
25259 (NO_INLINE): Likewise.
25260 (handle_signal): Use match function instead of strstr.
25261 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25262 (ret): Remove variable.
25263 (x): Likewise.
25264 (FAIL): Remove macro.
25265 (NO_INLINE): Likewise.
25266 (handle_signal): Use match function instead of strstr.
25267
4858fa2a
RM
252682013-01-23 Roland McGrath <roland@hack.frob.com>
25269
25270 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25271
bae8e7f5
DM
252722013-01-23 David S. Miller <davem@davemloft.net>
25273
25274 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25275 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25276 argument of CAS if possible.
25277 * sysdeps/sparc/sparc64/bits/atomic.h
25278 (__arch_compare_and_exchange_val_32_acq): Likewise.
25279 (__arch_compare_and_exchange_val_64_acq): Likewise.
25280
9cbbc4ae
PT
252812013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25282
25283 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25284 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25285 Include <limits.h>.
67b3f58c 25286 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25287
5655a0b5
AC
252882013-01-23 Adam Conrad <adconrad@0c3.net>
25289
25290 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25291 (LDFLAGS-tst-array5): Likewise.
25292
052aff95
JM
252932013-01-23 Joseph Myers <joseph@codesourcery.com>
25294
25295 [BZ #15036]
25296 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25297 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25298 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25299 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25300
7c1e01aa
DM
253012013-01-21 David S. Miller <davem@davemloft.net>
25302
25303 * sysdeps/sparc/backtrace.c: New file.
25304 * sysdeps/sparc/sparc32/backtrace.h: New file.
25305 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25306 * sysdeps/sparc/sparc64/backtrace.h: New file.
25307 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25308 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25309 -funwind-tables.
25310
ab087e0a
AS
253112013-01-21 Andreas Schwab <schwab@suse.de>
25312
25313 [BZ #15020]
25314 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25315 closed its stdout.
25316
ed689c2f
AS
253172013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25318
25319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25320 "mpa2.h".
25321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25322
31d470ac
JM
253232013-01-18 Joseph Myers <joseph@codesourcery.com>
25324 Mark Mitchell <mark@codesourcery.com>
25325 Tom de Vries <tom@codesourcery.com>
25326 Paul Pluzhnikov <ppluzhnikov@google.com>
25327
25328 * debug/tst-backtrace2.c: New file.
25329 * debug/tst-backtrace3.c: Likewise.
25330 * debug/tst-backtrace4.c: Likewise.
25331 * debug/tst-backtrace5.c: Likewise.
25332 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25333 (CFLAGS-tst-backtrace3.c): Likewise.
25334 (CFLAGS-tst-backtrace4.c): Likewise.
25335 (CFLAGS-tst-backtrace5.c): Likewise.
25336 (LDFLAGS-tst-backtrace2): Likewise.
25337 (LDFLAGS-tst-backtrace3): Likewise.
25338 (LDFLAGS-tst-backtrace4): Likewise.
25339 (LDFLAGS-tst-backtrace5): Likewise.
25340 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25341 tst-backtrace4 and tst-backtrace5.
25342
90567f30 253432013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25344 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25345
25346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25347 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25348 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25349 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25351 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25352 "+r" and remove output regs list as redundant. Add explicit inline
25353 asm to specify register of return val to work around compiler codegen
25354 bug. Remove (int) cast on return value. Add return type parameter to
25355 use in macro so that this macro does not truncate return value for
25356 64-bit values.
25357 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25358 pass to INTERNAL_VSYSCALL_NCS.
25359 (INLINE_VSYSCALL): Add 'long int' as return type to
25360 INTERNAL_VSYSCALL_NCS macro invocation.
25361 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25362 INTERNAL_VSYSCALL_NCS macro invocation.
25363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25364
d3b9ea61
SP
253652013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25366
0b57daeb
SP
25367 [BZ #14496]
25368 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25369 Fix application of SIMD FP exception mask.
25370
caa99d06
SP
25371 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25372 mp_no from a power of two.
25373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25374 __mpexp_twomm1. Use __pow_mp.
25375
d3b9ea61
SP
25376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25377 multiplication.
25378
1dbaee3c
DM
253792013-01-17 David S. Miller <davem@davemloft.net>
25380
25381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25382
728d7b43
JM
253832013-01-17 Joseph Myers <joseph@codesourcery.com>
25384
25385 [BZ #15023]
25386 * include/complex.h: Condition contents on [!_COMPLEX_H].
25387 (__kernel_casinhf): New prototype.
25388 (__kernel_casinh): Likewise.
25389 (__kernel_casinhl): Likewise.
25390 * math/Makefile (libm_calls): Add k_casinh.
25391 * math/k_casinh.c: New file.
25392 * math/k_casinhf.c: Likewise.
25393 * math/k_casinhl.c: Likewise.
25394 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25395 finite nonzero arguments.
25396 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25397 finite nonzero arguments.
25398 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25399 finite nonzero arguments.
25400 * math/s_casinh.c: Do not include <float.h>.
25401 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25402 * math/s_casinhf.c: Do not include <float.h>.
25403 (__casinhf): Move code for finite nonzero arguments to
25404 k_casinhf.c.
25405 * math/s_casinhl.c: Do not include <float.h>.
25406 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25407 redefine.
25408 (__casinhl): Move code for finite nonzero arguments to
25409 k_casinhl.c.
25410 * math/libm-test.inc (cacos_test): Add more tests.
25411 * sysdeps/i386/fpu/libm-test-ulps: Update.
25412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25413
2a26ef3a
PT
254142013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25415
25416 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25417 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25418 [!HAVE_MREMAP]: Remove [defined linux] case.
25419 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25420
a897655d
SP
254212013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25422
25423 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25424
881ebe89 254252013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25426
25427 * elf/elf.h (R_386_SIZE32): New relocation.
25428 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25429 R_386_SIZE32.
25430 (elf_machine_rela): Likewise.
25431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25432 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25433
59981e9b
JM
254342013-01-17 Joseph Myers <joseph@codesourcery.com>
25435
25436 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25437 (FP_FAST_FMA): Do not define.
25438 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25439 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25440 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25441 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25442 !_SOFT_FLOAT]: Likewise.
25443 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25444 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25445 value.
25446 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25447 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25448 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25449 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25450 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25451 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25452 file.
25453
cfa8054f
AS
254542013-01-16 Andreas Schwab <schwab@suse.de>
25455
25456 [BZ #14327]
25457 * include/stdlib.h (__mktemp): Add declaration.
25458 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25459 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25460
dd930cc5
SP
254612013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25462
881ebe89
SP
25463 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25464 definitions.
25465 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25466 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25467 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25468 definitions here.
25469 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25470 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25471 definitions.
25472 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25473 and ONE.
25474 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25475 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25476 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25477 definitions.
25478 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25479 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25480 definitions.
25481 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25482
dd930cc5
SP
25483 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25484
c19a9f89
DM
254852013-01-15 David S. Miller <davem@davemloft.net>
25486
1aa61767
DM
25487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25488 trunc{,f} to libm-sysdep_routes.
25489 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25491 file.
25492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25494 file.
25495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25496 file.
25497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25499 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25500 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25501 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25502 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25503 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25504 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25505
c42d5e98
DM
25506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25507 nearbyint{,f} to libm-sysdep_routes.
25508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25510 New file.
25511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25512 file.
25513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25514 New file.
25515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25516 file.
25517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25520 file.
25521 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25522 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25523 file.
25524 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25525 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25526 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25527
c19a9f89
DM
25528 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25529 libc_feholdexcept and libc_fesetenv.
25530
357679d2
MF
255312013-01-15 Mike Frysinger <vapier@gentoo.org>
25532
25533 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25534
65a82e3d
DM
255352013-01-14 David S. Miller <davem@davemloft.net>
25536
8b954ab9
DM
25537 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25538 (SPARC_ASM_VIS2_IFUNC): Likewise.
25539 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25541 use of 'siam' instruction.
25542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25543 Likewise.
25544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25545 Likewise.
25546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25547 Likewise.
25548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25553 file.
25554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25555 file.
25556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25557 file.
25558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25559 file.
25560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25565 new VIS2 routines.
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25569 Likewise.
25570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25575 routines to libm-sysdep_routines.
25576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25577
65a82e3d
DM
25578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25579 fdim/fdimf to libm-sysdep_routines.
25580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25581 file.
25582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25584 file.
25585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25588 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25589 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25590 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25591 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25592
e34ab705
SP
255932013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
2a91b573
SP
25595 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25596 to optimize copies.
25597
1066a534
SP
25598 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25601
e34ab705
SP
25602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25603 local variable MPTWO.
25604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25605 Likewise.
25606
aba5e596
MF
256072013-01-13 Mike Frysinger <vapier@gentoo.org>
25608
25609 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25610 GLOB_NOESCAPE.
25611
e557e9e5
MF
256122013-01-13 Mike Frysinger <vapier@gentoo.org>
25613
25614 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25615
0428cec9
MF
256162013-01-13 Mike Frysinger <vapier@gentoo.org>
25617
25618 * manual/pattern.texi (glob_t): Document gl_flags.
25619 (glob64_t): Likewise.
25620
8794a964
DM
256212013-01-11 David S. Miller <davem@davemloft.net>
25622
66438c3f
RM
25623 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25624 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25625 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25626 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25627 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25628 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25629 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25630 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25631 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25632 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25633 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25634 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25635 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25636
4ae4244d
DM
25637 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25638 sparc V9 rather than using V8 code.
25639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25641
8794a964
DM
25642 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25643 Move to...
25644 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25645 Here.
25646
6270516e
RM
256472013-01-11 Roland McGrath <roland@hack.frob.com>
25648
25649 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25650 not in the main loop.
25651 * configure: Regenerated.
25652
6a57d931
JM
256532013-01-11 Joseph Myers <joseph@codesourcery.com>
25654
25655 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25656 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25657 to just #else.
25658 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25659 [!__GLIBC_HAVE_LONG_LONG] case.
25660 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25661 condition to just #else.
25662 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25663 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25664 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25665 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25666 unconditional.
25667 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25668 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25669 #elif condition to just #else.
25670 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25671 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25672 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25673 #elif condition to just #else.
25674
0e8529e9
SE
256752013-01-11 Steve Ellcey <sellcey@mips.com>
25676
25677 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25678 (EF_MIPS_ARCH_64): Fix value.
25679 (EF_MIPS_ARCH_32R2): New.
25680 (EF_MIPS_ARCH_64R2): New.
25681
740b3dbe
L
256822013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 * Makeconfig (+link-pie-before-libc): New.
25685 (+link-pie-after-libc): Likewise.
25686 (+link-pie-tests): Likewise.
25687 (+link-pie): Rewritten.
25688 (link-before-libc): Remove $(config-LDFLAGS).
25689 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25690 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25691 (config-LDFLAGS): Renamed to ...
25692 (rtld-LDFLAGS): This.
25693 (rtld-tests-LDFLAGS): New macro.
25694 (link-libc-rpath-link): Likewise.
25695 (link-libc-tests-rpath-link): Likewise.
25696 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25697 (link-libc): Prepand $(link-libc-rpath-link).
25698 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25699 (test-program-prefix): New macro.
25700 (test-via-rtld-prefix): Likewise.
25701 (test-program-cmd): Likewise.
25702 (host-test-program-cmd): Likewise.
25703 * Makefile ($(common-objpfx)testrun.sh): Replace
25704 $(run-program-prefix) with $(test-program-prefix).
25705 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25706 $(rtld-LDFLAGS).
25707 ($(common-objpfx)shlib.lds): Likewise.
25708 (build-module-helper): Likewise.
25709 ($(common-objpfx)format.lds): Likewise.
25710 * Rules (binaries-pie-tests): New.
25711 (binaries-pie-notests): Likewise.
25712 (binaries-pie): Rewritten.
25713 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25714 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25715 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25716 (make-test-out): Replace $(host-built-program-cmd) with
25717 $(host-test-program-cmd).
25718 * config.make.in (build-hardcoded-path-in-tests): New variable.
25719 * configure.in (--enable-hardcoded-path-in-tests): New configure
25720 option.
25721 (hardcoded_path_in_tests): New AC_SUBST.
25722 * configure: Regenerated.
25723 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25724 $(built-program-cmd) with $(test-program-cmd).
25725 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25726 (test_program_cmd): This.
25727 * elf/Makefile ($(objpfx)order.out): Run test with
25728 $(test-program-prefix).
25729 ($(objpfx)order2.out): Likewise.
25730 ($(objpfx)tst-initorder.out): Likewise.
25731 ($(objpfx)tst-initorder2.out): Likewise.
25732 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25733 $(test-program-cmd).
25734 ($(objpfx)tst-array1-static.out): Likewise.
25735 ($(objpfx)tst-array2.out): Likewise.
25736 ($(objpfx)tst-array3.out): Likewise.
25737 ($(objpfx)tst-array4.out): Likewise.
25738 ($(objpfx)tst-array5.out): Likewise.
25739 ($(objpfx)tst-array5-static.out): Likewise.
25740 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25741 $(test-program-cmd).
25742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25743 $(run-program-prefix) with $(test-program-prefix).
25744 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25745 (test_program_prefix): This.
25746 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25747 $(run-program-prefix) with $(test-program-prefix).
25748 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25749 (test_program_prefix): This.
25750 * iconvdata/tst-tables.sh: Likewise.
25751 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25752 $(run-program-prefix) with $(test-program-prefix).
25753 ($(objpfx)tst-translit.out): Likewise.
25754 ($(objpfx)tst-gettext2.out): Likewise.
25755 ($(objpfx)tst-gettext4.out): Likewise.
25756 ($(objpfx)tst-gettext6.out): Likewise.
25757 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25758 (test_program_prefix): This.
25759 * intl/tst-gettext2.sh: Likewise.
25760 * intl/tst-gettext4.sh Likewise.
25761 * intl/tst-gettext6.sh: Likewise.
25762 * intl/tst-translit.sh: Likewise.
25763 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25764 with $(test-program-cmd).
25765 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25766 $(run-program-prefix) with $(test-program-prefix).
25767 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25768 (test_program_prefix): This.
25769 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25770 $(run-program-prefix) with $(test-program-prefix).
25771 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25772 (test_program_prefix): This.
25773 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25774 * posix/Makefile ($(objpfx)globtest.out): Replace
25775 $(run-via-rtld-prefix) and $(test-wrapper) with
25776 $(test-program-prefix) and $(test-via-rtld-prefix).
25777 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25778 $(test-program-prefix).
25779 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25780 $(host-test-program-cmd).
25781 (tst-spawn-ARGS): Likewise.
25782 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25783 $(test-program-prefix).
25784 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25785 (test_via_rtld_prefix): This.
25786 (test_wrapper): Renamed to ...
25787 (test_program_prefix): This.
25788 (run_program_prefix): Replaced by test_program_prefix.
25789 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25790 (test_program_prefix): This.
25791 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25792 with $(host-test-program-cmd).
25793 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25794 $(run-program-prefix) with $(test-program-prefix).
25795 ($(objpfx)tst-printf.out): Likewise.
25796 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25797 $(test-program-cmd).
25798 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25799 (test_program_prefix): This.
25800 * stdio-common/tst-unbputc.sh: Likewise.
25801 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25802 $(run-program-prefix) with $(test-program-prefix).
25803 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25804 (test_program_prefix): This.
25805 * string/Makefile ($(objpfx)tst-svc.out): Replace
25806 $(built-program-cmd) with $(test-program-cmd).
25807
c6fe55cf
AJ
258082013-01-11 Andreas Jaeger <aj@suse.de>
25809
25810 [BZ #15003]
25811 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25812 value. Sync with Linux 3.7.
25813
9e6919c8
DM
258142013-01-10 David S. Miller <davem@davemloft.net>
25815
25816 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25817 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25818 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25819
1c9f1a02
RM
258202013-01-10 Roland McGrath <roland@hack.frob.com>
25821
25822 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25823 never set.
25824 * configure: Regenerated.
25825
b9de2dde
DM
258262013-01-10 David S. Miller <davem@davemloft.net>
25827
25828 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25829 sparc V9 rather than using V8 code.
25830 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25831 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25832
e7f68ef4
RM
258332013-01-10 Roland McGrath <roland@hack.frob.com>
25834
25835 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25836 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25837 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25838 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25839 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25840 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25841 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25842 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25843 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25844 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25845 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25846 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25847 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25848 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25849 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25850 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25851 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25852 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25853 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25854 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25855 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25856 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25857 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25858 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25859 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25860 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25861 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25862
5a47cc9c
DM
258632013-01-10 David S. Miller <davem@davemloft.net>
25864
25865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25866
4cf8f209
L
258672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 * posix/Makefile (tests-static): New variable.
25870 (tests): Add $(tests-static).
25871 (tst-exec-static-ARGS): New variable.
25872 (tst-spawn-static-ARGS): Likewise.
25873 * posix/tst-exec-static.c: New file.
25874 * posix/tst-spawn-static.c: Likewise.
25875 * posix/tst-exec.c: Support run directly.
25876 * posix/tst-spawn.c: Likewise.
25877
fed0faa1
JM
258782013-01-10 Joseph Myers <joseph@codesourcery.com>
25879
828beb13
JM
25880 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25881 long.
25882 * math/bits/mathcalls.h (llrint): Likewise.
25883 (llround): Likewise.
25884 * stdlib/stdlib.h (struct drand48_data): Likewise.
25885 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25886 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25887 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25888 Likewise.
25889 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25890 Likewise.
25891 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25892 (elf_greg_t): Likewise.
25893 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25894 (__jmp_buf): Likewise.
25895 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25896 definitions.
25897 (llrint): Likewise, for all definitions.
25898 (llrintl): Likewise.
25899
fed0faa1
JM
25900 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25901 Remove [__GNUC__] condition.
25902 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25903 condition to just [__USE_ISOC99].
25904 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25905
1a20cb20
L
259062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25907
25908 [BZ #14200]
25909 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25910 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25911 defined.
25912 (_POSIX_V6_ILP32_OFF32): Likewise.
25913 (_XBS5_ILP32_OFF32): Likewise.
25914 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25915 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25916
751b85f7
SP
259172013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25918
7490eb81
SP
25919 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25920
751b85f7
SP
25921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25922 doubles __mpexp_twomm1. Adjust usage.
25923 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25924 Remove.
25925
988197f0
AS
259262013-01-10 Andreas Schwab <schwab@suse.de>
25927
25928 [BZ #14964]
25929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25930 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25931
e83d7298
DM
259322013-01-09 David S. Miller <davem@davemloft.net>
25933
034ed64b 25934 [BZ #15003]
57f41c40
AS
25935 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25936 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25937 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25938 (TCP_FASTOPEN): Define.
e83d7298
DM
25939 (tcp_repair_opt): New structure.
25940 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25941 enum values.
57f41c40
AS
25942 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25943 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25944 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25945 (tcp_cookie_transactions): New structure.
25946
d5e0b9bd
AB
259472013-01-09 Anton Blanchard <anton@samba.org>
25948
25949 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25950 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25951 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25952 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25953
0c07e3ea
JM
259542013-01-09 Joseph Myers <joseph@codesourcery.com>
25955
25956 * include/features.h (__USE_ANSI): Remove.
25957
232f7002
RM
259582013-01-09 Roland McGrath <roland@hack.frob.com>
25959
ad98e30c
RM
25960 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25961
232f7002
RM
25962 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25963
950c99ca
SP
259642013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25965
b5792741
SP
25966 * sysdeps/s390/fpu/libm-test-ulps: Update.
25967
47cf2278
SP
25968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25969
950c99ca
SP
25970 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25971 (__acr): Likewise.
25972 (__cpy): Likewise.
25973 (norm): Likewise.
25974 (denorm): Likewise.
25975 (__mp_dbl): Likewise.
25976 (__dbl_mp): Likewise.
25977 (add_magnitudes): Likewise.
25978 (sub_magnitudes): Likewise.
25979 (__add): Likewise.
25980 (__sub): Likewise.
25981 (__mul): Likewise.
25982 (__inv): Likewise.
25983 (__dvd): Likewise.
25984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25985 (__acr): Likewise.
25986 (__cpy): Likewise.
25987 (norm): Likewise.
25988 (denorm): Likewise.
25989 (__mp_dbl): Likewise.
25990 (__dbl_mp): Likewise.
25991 (add_magnitudes): Likewise.
25992 (sub_magnitudes): Likewise.
25993 (__add): Likewise.
25994 (__sub): Likewise.
25995 (__mul): Likewise.
25996 (__inv): Likewise.
25997 (__dvd): Likewise.
25998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25999 (__acr): Likewise.
26000 (__cpy): Likewise.
26001 (norm): Likewise.
26002 (denorm): Likewise.
26003 (__mp_dbl): Likewise.
26004 (__dbl_mp): Likewise.
26005 (add_magnitudes): Likewise.
26006 (sub_magnitudes): Likewise.
26007 (__add): Likewise.
26008 (__sub): Likewise.
26009 (__mul): Likewise.
26010 (__inv): Likewise.
26011 (__dvd): Likewise.
26012
eede9df9
JM
260132013-01-08 Joseph Myers <joseph@codesourcery.com>
26014
26015 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26016 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26017 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26018 2 && __USE_EXTERN_INLINES]: Likewise.
26019
c40ea3d9
AJ
260202013-01-08 Andreas Jaeger <aj@suse.de>
26021
26022 [BZ# 14985]
26023 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26024 Remove.
26025 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26026 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26027
2ccdea26
AB
260282013-01-07 Anton Blanchard <anton@samba.org>
26029
26030 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26031 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26032 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26033 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26034 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26035 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26036 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26037 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26040 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26041 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26043 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26044 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26047 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26048 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26049 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26051 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26053 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26054 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26055 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26056 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26057 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26059 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26060 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26065 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26068 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26069 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26070 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26072 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26073
a9708fed
JM
260742013-01-07 Joseph Myers <joseph@codesourcery.com>
26075
375607b9
JM
26076 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26077 (__MALLOC_PMT): Likewise.
26078 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26079 [__GNUC__], only on [_LIBC].
26080 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26081 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26082 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26083 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26084 forward declaration.
26085 (realloc_hook_ini): Likewise.
26086 (memalign_hook_ini): Likewise.
26087 (__libc_memalign): Do not use __MALLOC_PMT in variable
26088 declaration.
26089 (__libc_valloc): Likewise.
26090 (__libc_pvalloc): Likewise.
26091 (__libc_calloc): Likewise.
26092 (__posix_memalign): Likewise.
26093
a9708fed
JM
26094 [BZ #14996]
26095 * math/s_casinh.c: Include <float.h>.
26096 (__casinh): Do not do computation with squaring and square root
26097 for large arguments.
26098 * math/s_casinhf.c: Include <float.h>.
26099 (__casinhf): Do not do computation with squaring and square root
26100 for large arguments.
26101 * math/s_casinhl.c: Include <float.h>.
26102 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26103 (__casinhl): Do not do computation with squaring and square root
26104 for large arguments.
26105 * math/libm-test.inc (casin_test): Add more tests.
26106 (casinh_test): Likewise.
26107 * sysdeps/i386/fpu/libm-test-ulps: Update.
26108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26109
afec409a
L
261102013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26111
26112 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26113 (__x86_64_raw_data_cache_size): Likewise.
26114 (__x86_64_data_cache_size_half): Likewise.
26115 (__x86_64_raw_data_cache_size_half): Likewise.
26116 (__x86_64_shared_cache_size): Likewise.
26117 (__x86_64_raw_shared_cache_size): Likewise.
26118 (__x86_64_shared_cache_size_half): Likewise.
26119 (__x86_64_raw_shared_cache_size_half): Likewise.
26120 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26121 to ...
26122 (__x86_data_cache_size): This.
26123 (__x86_64_raw_data_cache_size): Renamed to ...
26124 (__x86_raw_data_cache_size): This.
26125 (__x86_64_data_cache_size_half): Renamed to ...
26126 (__x86_data_cache_size_half): This.
26127 (__x86_64_raw_data_cache_size_half): Renamed to ...
26128 (__x86_raw_data_cache_size_half): This.
26129 (__x86_64_shared_cache_size): Renamed to ...
26130 (__x86_shared_cache_size): This.
26131 (__x86_64_raw_shared_cache_size): Renamed to ...
26132 (__x86_raw_shared_cache_size): This.
26133 (__x86_64_shared_cache_size_half): Renamed to ...
26134 (__x86_shared_cache_size_half): This.
26135 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26136 (__x86_raw_shared_cache_size_half): This.
26137 * sysdeps/x86_64/memcpy.S: Updated.
26138 * sysdeps/x86_64/memset.S: Likewise.
26139 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26142
0b3986d0
DM
261432013-01-04 David S. Miller <davem@davemloft.net>
26144
26145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26146
e47686e9
AS
261472013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26148
d643bac1
AS
26149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26150 1 to avoid redefinition warning.
26151 (__USE_GNU): Don't define.
26152 (init_signaling_nan): Protoize.
26153
e47686e9
AS
26154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26155
b18decba
SP
261562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26157
fffb407f
SP
26158 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26160 (__cpymn): Likewise.
26161 (norm): Remove commented code.
26162 (denorm): Likewise.
26163 (__mp_dbl): Likewise.
26164 (__inv): Likewise.
26165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26166 (__cpymn): Likewise.
26167 (norm): Remove commented code.
26168 (denorm): Likewise.
26169 (__mp_dbl): Likewise.
26170 (__inv): Likewise.
26171
b18decba
SP
26172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26173 mp_no value for 1.0 and 2.0.
26174 (norm): Use RADIXI instead of radixi.d.
26175 (denorm): Likewise.
26176 (__mul): Use 0.0 instead of zero.d.
26177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26178 mp_no value for 1.0 and 2.0.
26179 (norm): Use RADIXI instead of radixi.d.
26180 (denorm): Likewise.
26181 (__mul): Use 0.0 instead of zero.d.
26182
cdc1c96f
JM
261832013-01-04 Joseph Myers <joseph@codesourcery.com>
26184
26185 [BZ #14994]
26186 * math/s_casinh.c (__casinh): Reduce finite argument to first
26187 quadrant then set signs of results at the end.
26188 * math/s_casinhf.c (__casinhf): Likewise.
26189 * math/s_casinhl.c (__casinhl): Likewise.
26190 * math/libm-test.inc (casin_test): Add more tests.
26191 (casinh_test): Likewise.
26192 * sysdeps/i386/fpu/libm-test-ulps: Update.
26193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26194
302913e1
SP
261952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26196
6420d207
SP
26197 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26198
a9e48ab4
SP
26199 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26200
b7837264
SP
26201 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26202 declarations.
26203 (denorm): Likewise.
26204 (__mp_dbl): Likewise.
26205 (__inv): Likewise.
26206
f8af25d2
SP
26207 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26208 and adjust the header comment.
26209
302913e1
SP
26210 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26211 variable name from declaration.
26212
5d7dd1ca
L
262132013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26214
26215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26216 Initialize COMMON_CPUID_INDEX_7 element.
26217 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26218 (CPUID_RTM): Likewise.
26219 (HAS_RTM): Likewise.
26220 (COMMON_CPUID_INDEX_7): New enum.
26221
2f5f40f4
AS
262222013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26223
26224 [BZ #14981]
26225 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26226 size is zero, record memory as freed.
26227
4056f4a0
AJ
262282013-01-03 Andreas Jaeger <aj@suse.de>
26229
26230 * po/ia.po: Add new Interlingua translation.
26231
ab15736f 262322012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26233
26234 * locale/programs/localedef.c: Fix description of '--posix' flag.
26235
568035b7
JM
262362013-01-02 Joseph Myers <joseph@codesourcery.com>
26237
e6898b8d
JM
26238 * NEWS: Update dates in second copyright notice.
26239 * README: Update copyright dates in example.
26240 * manual/libc.texinfo: Update copyright dates.
26241 * scripts/test-installation.pl: Update copyright date in --version
26242 output.
26243
0e2f9562
JM
26244 * hurd/ctty-input.c: Fix copyright notice formatting.
26245 * hurd/ctty-output.c: Likewise.
26246 * hurd/dtable.c: Likewise.
26247 * hurd/hurd-raise.c: Likewise.
26248 * hurd/hurdprio.c: Likewise.
26249 * hurd/msgportdemux.c: Likewise.
26250 * misc/sys/file.h: Likewise.
26251 * misc/sys/ioctl.h: Likewise.
26252 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26253 * sysdeps/mach/hurd/chdir.c: Likewise.
26254 * sysdeps/mach/hurd/fchdir.c: Likewise.
26255 * sysdeps/mach/hurd/rename.c: Likewise.
26256 * sysdeps/mach/hurd/rmdir.c: Likewise.
26257 * sysdeps/mach/hurd/seekdir.c: Likewise.
26258 * sysdeps/mach/hurd/setsid.c: Likewise.
26259 * sysdeps/posix/wait3.c: Likewise.
26260
568035b7
JM
26261 * All files with FSF copyright notices: Update copyright dates
26262 using scripts/update-copyrights.
26263 * intl/plural.c: Regenerated.
26264 * locale/programs/charmap-kw.h: Likewise.
26265 * locale/programs/locfile-kw.h: Likewise.
26266
da08f647
SP
262672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26268
0f5477af
SP
26269 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26270 four values.
26271
44e0d4c2
SP
26272 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26273 calculation loop and add branch prediction.
26274
4d55b4e5
SP
26275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26276 check access beyond bounds of m1np.
26277
da08f647
SP
26278 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26279 MPTWO.
26280 (__inv): Remove local variable MPTWO to use the global
26281 constant.
26282 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26284 variable MPTWO.
26285 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26286 MP3HALFS static const.
26287
8e051029
DM
262882013-01-01 David S. Miller <davem@davemloft.net>
26289
26290 * po/ca.po: Update from translation team.
26291
f4cf5f2d
JM
262922013-01-01 Joseph Myers <joseph@codesourcery.com>
26293
26294 * scripts/update-copyrights: New file.
26295 * Makeconfig: Reformat copyright notice.
26296 * ctype/ctype.h: Likewise.
26297 * debug/swprintf_chk.c: Likewise.
26298 * elf/dl-cache.c: Likewise.
26299 * elf/dl-debug.c: Likewise.
26300 * elf/dl-object.c: Likewise.
26301 * grp/initgroups.c: Likewise.
26302 * hurd/Makefile: Likewise.
26303 * hurd/hurd/signal.h: Likewise.
26304 * hurd/hurdfault.c: Likewise.
26305 * hurd/hurdioctl.c: Likewise.
26306 * hurd/hurdlookup.c: Likewise.
26307 * hurd/intr-msg.c: Likewise.
26308 * iconv/gconv_open.c: Likewise.
26309 * libio/swprintf.c: Likewise.
26310 * locale/lc-ctype.c: Likewise.
26311 * locale/nl_langinfo.c: Likewise.
26312 * mach/Machrules: Likewise.
26313 * mach/Makefile: Likewise.
26314 * malloc/obstack.h: Likewise.
26315 * manual/Makefile: Likewise.
26316 * manual/tsort.awk: Likewise.
26317 * misc/bits/stab.def: Likewise.
26318 * nis/nis_print_group_entry.c: Likewise.
26319 * nis/nis_table.c: Likewise.
26320 * nis/nss_compat/compat-pwd.c: Likewise.
26321 * nis/nss_compat/compat-spwd.c: Likewise.
26322 * po/Makefile: Likewise.
26323 * posix/fnmatch.c: Likewise.
26324 * posix/regex.h: Likewise.
26325 * resolv/Makefile: Likewise.
26326 * resolv/nss_dns/dns-network.c: Likewise.
26327 * resolv/res_hconf.c: Likewise.
26328 * scripts/gen-sorted.awk: Likewise.
26329 * soft-fp/soft-fp.h: Likewise.
26330 * stdio-common/printf.h: Likewise.
26331 * stdlib/monetary.h: Likewise.
26332 * stdlib/random.c: Likewise.
26333 * stdlib/random_r.c: Likewise.
26334 * sysdeps/generic/Makefile: Likewise.
26335 * sysdeps/gnu/Makefile: Likewise.
26336 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26356 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26357 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26358 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26364 * sysdeps/mach/hurd/errnos.awk: Likewise.
26365 * sysdeps/mach/hurd/fork.c: Likewise.
26366 * sysdeps/mach/hurd/getcwd.c: Likewise.
26367 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26368 * sysdeps/mach/hurd/mmap.c: Likewise.
26369 * sysdeps/mach/hurd/utimes.c: Likewise.
26370 * sysdeps/mach/hurd/xmknod.c: Likewise.
26371 * sysdeps/posix/profil.c: Likewise.
26372 * sysdeps/posix/readdir_r.c: Likewise.
26373 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26374 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26375 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26376 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26378 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26379 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26380 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26382 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26383 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26384 * sysdeps/pthread/lio_listio.c: Likewise.
26385 * sysdeps/sparc/dl-procinfo.h: Likewise.
26386 * sysdeps/unix/i386/sysdep.S: Likewise.
26387 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26388 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26389 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26390 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26392 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26393 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26394 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26395 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26396 * sysdeps/wordsize-32/divdi3.c: Likewise.
26397 * time/sys/time.h: Likewise.
26398 * wcsmbs/Makefile: Likewise.
26399
0549fbba
DM
264002013-01-01 David S. Miller <davem@davemloft.net>
26401
a141f1a7
DM
26402 * po/fr.po: Update from translation team.
26403
0549fbba
DM
26404 * catgets/gencat.c: Update copyright year.
26405 * csu/version.c: Likewise.
26406 * debug/catchsegv.sh: Likewise.
26407 * debug/pcprofiledump.c: Likewise.
26408 * debug/xtrace.sh: Likewise.
26409 * elf/ldconfig.c: Likewise.
26410 * elf/ldd.bash.in: Likewise.
26411 * elf/pldd.c: Likewise.
26412 * elf/sotruss.ksh: Likewise.
26413 * elf/sprof.c: Likewise.
26414 * iconv/iconv_prog.c: Likewise.
26415 * iconv/iconvconfig.c: Likewise.
26416 * locale/programs/locale.c: Likewise.
26417 * locale/programs/localedef.c: Likewise.
26418 * login/programs/pt_chown.c: Likewise.
26419 * malloc/memusage.sh: Likewise.
26420 * malloc/memusagestat.c: Likewise.
26421 * malloc/mtrace.pl: Likewise.
26422 * nscd/nscd.c: Likewise.
26423 * nss/getent.c: Likewise.
26424 * nss/makedb.c: Likewise.
26425 * posix/getconf.c: Likewise.
26426
18ea052c
SP
264272012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26428
26429 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26430 numbers.
26431
9c89fca6
MF
264322012-12-30 Mike Frysinger <vapier@gentoo.org>
26433
26434 * math/bits/mathcalls.h (modf): Use __nonnull.
26435
085ec079
SP
264362012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26437
26438 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26439 (split): Use macro CN instead of the bare value.
26440 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26441 could be used.
26442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26443 instead of the bare value.
26444 (power1): Likewise.
26445
6d9f97e1
SP
264462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26447
d63f73be
SP
26448 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26449 __ATAN_TWOM.
26450 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26451
6d9f97e1
SP
26452 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26453 their values.
26454 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26455 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26456 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26457 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26458
4c4febf5
AJ
264592012-12-28 Andreas Jaeger <aj@suse.de>
26460
af5843ef
AJ
26461 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26462 values are from Linux 3.7.
26463
4c4febf5
AJ
26464 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26465 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26466
99136f82
SP
264672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26468
2f216c3c 26469 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26470 TRUE case.
26471
99136f82
SP
26472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26473 (norm): Likewise.
26474 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26475 variables with preprocessor constants.
26476 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26477 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26478 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26479
7fffbdff
BH
264802012-12-27 Bruno Haible <bruno@clisp.org>
26481
26482 [BZ #14317]
26483 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26484 only if needed.
26485
b76eb5f0
SP
264862012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26487
31a7fe5c
SP
26488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26489 and use variable directly.
26490 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26491
b76eb5f0
SP
26492 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26493 MPONE.
26494 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26495 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26496 variable MPONE.
26497 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26498 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26499 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26500 include directive. Remove local variable MPONE.
26501 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26502 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26504
2c8bfe7d
DM
265052012-12-25 David S. Miller <davem@davemloft.net>
26506
26507 * version.h (RELEASE): Set to "development".
26508 (VERSION): Set to "2.17.90".
26509 * NEWS: Add 2.18 section.
26510
147d03b0
DM
265112012-12-21 David S. Miller <davem@davemloft.net>
26512
26513 * po/hr.po: Update from translation team.
26514
a8ebb2b9
AK
265152012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26516
26517 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26518
95b4f1b6
SE
265192012-12-19 Steve Ellcey <sellcey@mips.com>
26520
b2d94007 26521 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26522
cedb2a90
MS
265232012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26524
26525 * manual/contrib.texi (Contributors): Spelling correction.
26526
bbf527d6
DM
265272012-12-15 David S. Miller <davem@davemloft.net>
26528
26529 * po/ru.po: Update from translation team.
26530
bc38c906
DM
265312012-12-13 David S. Miller <davem@davemloft.net>
26532
85429b1a
DM
26533 * NEWS: Mention IFUNC testsuite enhancements.
26534
d283e353
DM
26535 * po/pl.po: Update from translation team.
26536 * po/bg.po: Likewise.
26537
bc38c906
DM
26538 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26539 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26540
a181b0d7
DM
265412012-12-11 David S. Miller <davem@davemloft.net>
26542
4641d57e
DM
26543 * po/sv.po: Update from translation team.
26544
f7bc6495
DM
26545 * po/vi.po: Update from translation team.
26546
6fc9048f
DM
26547 * po/cs.po: Update from translation team.
26548
a181b0d7
DM
26549 * po/de.po: Update from translation team.
26550 * po/eo.po: Likewise.
26551 * po/nl.po: Likewise.
26552
f70bfe80
SP
265532012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26554
3c8b4190
SP
26555 [BZ #14246]
26556 * manual/argp.texi (Argp Helper Functions): Move node to follow
26557 Argp Parsing State.
26558
f70bfe80
SP
26559 [BZ #14872]
26560 * manual/conf.texi (Limits on File System Capacity): Mention if
26561 terminating null is included in the max size.
26562
188f0adf
AJ
265632012-12-10 Andreas Jaeger <aj@suse.de>
26564
26565 * po/cs.po: Update from translation team.
26566
56e7d3ad
SP
265672012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26568
26569 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26570 void pointer and cast to uintptr_t.
26571 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26572 path.
26573 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26574 * sysdeps/s390/s390-64/memset.S: Likewise.
26575
76f2d2ea 265762012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26577
26578 [BZ #14833]
26579 * menual/message.texi (Message Translation): Fix typos.
26580 (Helper programs for gettext): Likewise.
26581
67cbf9a2
AS
265822012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26583
26584 [BZ #14898]
26585 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26586 Change to -1.
26587
682d0e9a
DM
265882012-12-07 David S. Miller <davem@davemloft.net>
26589
26590 * po/libc.pot: Update.
26591
573cd484
RH
265922012-12-07 Richard Henderson <rth@redhat.com>
26593
7e9da188 26594 [BZ #10114]
573cd484
RH
26595 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26596 normal/normal case to before the switch.
26597 (_FP_DIV): Likewise.
26598
e933a943
MF
265992012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26600 Mike Frysinger <vapier@gentoo.org>
26601
26602 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26603 check for __NR_fadvise64_64.
26604
82123268
CM
266052012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26606
26607 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26608 0, not just to plain "0" as a statement.
26609 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26610 with cw.
26611
d9814526
JM
266122012-12-06 Joseph Myers <joseph@codesourcery.com>
26613
26614 * NEWS: Use sourceware.org in Bugzilla URL.
26615
7728c574
SP
266162012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26617
f16946dd
SP
26618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26619 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26620
5704bbcb
SP
26621 * stdio-common/tst-put-error.c (do_test): Add newline to the
26622 padded test to ensure flush.
26623
17aa0516
JL
266242012-12-05 Jeff Law <law@redhat.com>
26625
26626 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26627
363313b5
JM
266282012-12-05 Joseph Myers <joseph@codesourcery.com>
26629
effbd42a
JM
26630 * README: Don't refer to ports add-on as distributed separately.
26631 Mention AArch64 in list of systems supported in the ports add-on.
26632
87600365
JM
26633 * LICENSES: Add more non-FSF copyright and license notices.
26634
a0d7066a
JM
26635 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26636 ((unused)).
26637
66ca5a5b
JM
26638 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26639
363313b5
JM
26640 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26641 10000 as width of padded output.
26642
b37984ad
JM
266432012-12-04 Joseph Myers <joseph@codesourcery.com>
26644
9003570a
JM
26645 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26646
b37984ad
JM
26647 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26648 variable LX with __attribute__ ((unused)).
26649 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26650 Likewise.
26651 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26653 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26654 with __attribute__ ((unused)).
26655
c8df52ec
DM
266562012-12-04 David S. Miller <davem@abraco.davemloft.net>
26657
26658 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26659
b3b099af
JM
266602012-12-04 Joseph Myers <joseph@codesourcery.com>
26661
c33aa6e3
JM
26662 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26663 (CFLAGS-nldbl-acos.c): New variable.
26664 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26665 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26666 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26667 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26668 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26669 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26670 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26671 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26672 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26673 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26674 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26675 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26676 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26677 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26678 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26679 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26680 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26681 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26682 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26683 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26684 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26685 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26686 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26687 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26688 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26689 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26690 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26691 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26692 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26693 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26694 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26695 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26696 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26697 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26698 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26699 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26700 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26701 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26702 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26703 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26704 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26705 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26706 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26707 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26708 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26709 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26710 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26711 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26712 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26713 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26714 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26715 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26716 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26717 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26718 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26719 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26720 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26721 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26722 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26723 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26724 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26725 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26726 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26727 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26728 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26729 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26730 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26731 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26732 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26733 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26734 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26735 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26736 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26737 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26738 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26739 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26740 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26741 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26742 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26743 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26744 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26745 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26746 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26747 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26748 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26749 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26750 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26751 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26752 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26753 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26754 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26755 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26756 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26757 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26758 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26759 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26760 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26761
20f0018d
JM
26762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26763 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26764
b3b099af
JM
26765 [BZ #14914]
26766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26767 whole low double instead of just low 47 bits when splitting values
26768 into two parts.
26769
029264d1
AM
267702012-12-03 Allan McRae <allan@archlinux.org>
26771
26772 * manual/stdio.texi (Predefined Printf Handlers): Remove
26773 @hsep and @vsep usage.
26774
c9d6789e
MF
267752012-12-03 Mike Frysinger <vapier@gentoo.org>
26776
26777 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26778 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26779
4b7634a5
JL
267802012-12-03 Jeff Law <law@redhat.com>
26781
26782 * time/sys/time.h (settimeofday): Do not mark TV argument
26783 as __nonnull.
26784
eb6cbd24
MF
267852012-12-01 Mike Frysinger <vapier@gentoo.org>
26786
26787 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26788 when currently writing and seek to current position when not.
26789 * libio/Makefile (tests): Remove bug-fclose1.
26790 * libio/bug-fclose1.c: Delete.
26791
f638872a
JM
267922012-12-01 Joseph Myers <joseph@codesourcery.com>
26793
26794 * manual/arith.texi (feenableexcept): Fix typo.
26795 (fedisableexcept): Likewise.
26796
48085d14
RM
267972012-11-30 Roland McGrath <roland@hack.frob.com>
26798
26799 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26800 second, differently-typed declaration, rather than a cast.
26801
1a538b9f
SP
268022012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26803
26804 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26805 * include/rpc/svc.h: ... here.
26806
d07f2ff1 268072012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26808
26809 [BZ #13013]
26810 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26811 depending n and resplen2 to catch cases where answer
26812 equals answerp2.
26813
c93ec1f0
CD
268142012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26815
26816 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26817 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26818
37db69de
MF
268192012-11-29 Mike Frysinger <vapier@gentoo.org>
26820
26821 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26822
e10c4e4f
RM
268232012-11-29 Roland McGrath <roland@hack.frob.com>
26824
26825 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26826
2af1b328
JL
268272012-11-28 Jeff Law <law@redhat.com>
26828
26829 [BZ #13761]
26830 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26831 dataset_temporary. Track alloca usage into alloca_used.
26832 If dataset is large allocate and release it via malloc/free.
26833
111db5b1
FW
268342012-06-04 Florian Weimer <fweimer@redhat.com>
26835
f06cc227 26836 [BZ #14197]
111db5b1
FW
26837 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26838
dd694abd
DM
268392012-11-28 David S. Miller <davem@davemloft.net>
26840
26841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26842
9984dd01
JM
268432012-11-28 Joseph Myers <joseph@codesourcery.com>
26844
26845 [BZ #14803]
26846 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26847 of pi/2 rounded to nearest to 64 bits.
26848 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26849 nearest to 64 bits.
26850 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26851 bits.
26852
14bc93a9
JL
268532012-11-28 Jeff Law <law@redhat.com>
26854 Martin Osvald <mosvald@redhat.com>
26855
26856 [BZ #14889]
26857 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26858 * sunrpc/svc.c: Include time.h.
26859 (__svc_accept_failed): New function.
26860 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26861 any reason other than EINTR, call __svc_accept_failed.
26862 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26863 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26864
e3c6aa3a
AS
268652012-11-28 Andreas Schwab <schwab@suse.de>
26866
26867 * scripts/abilist.awk: Also handle indirect functions in .opd
26868 section.
26869
1bead169
JM
268702012-11-28 Joseph Myers <joseph@codesourcery.com>
26871
26872 [BZ #13881]
26873 * sysdeps/x86/fpu/powl_helper.c: New file.
26874 * sysdeps/x86/fpu/Makefile: Likewise.
26875 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26876 (p3): New object.
26877 (__ieee754_powl): Use __powl_helper for finite arguments except
26878 integer exponents below 8.
26879 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26880 (p3): New object.
26881 (__ieee754_powl): Use __powl_helper for finite arguments except
26882 integer exponents below 8.
26883 * math/libm-test.inc (pow_test): Add more tests and enable some
26884 previously disabled tests.
26885 * sysdeps/i386/fpu/libm-test-ulps: Update.
26886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26887
0817d63d
SP
268882012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26889 Carlos O'Donell <carlos_odonell@mentor.com>
26890
26891 * nss/makedb.c (is_prime): Assert that input is odd and greater
26892 than 4. Note that fact in a comment too.
26893 (next_prime): Add 4 to input.
26894
de2fd463
SP
268952012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26896
26897 [BZ #11741]
26898 * libio/Makefile (tests): Add test case tst-fwrite-error.
26899 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26900 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26901 * libio/tst-fwrite-error.c: New test case.
26902
c515fb51
L
269032012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26904
26905 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26906 before casting to void *.
26907 * include/libc-internal.h (__pointer_type): New macro.
26908 (__integer_if_pointer_type_sub): Likewise.
26909 (__integer_if_pointer_type): Likewise.
26910 (cast_to_integer): Likewise.
26911 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26912 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26913 before casting to atomic64_t.
26914 (atomic_exchange_acq): Likewise.
26915 (__arch_exchange_and_add_body): Likewise.
26916 (__arch_add_body): Likewise.
26917 (atomic_add_negative): Likewise.
26918 (atomic_add_zero): Likewise.
26919
4cf77aa9
JM
269202012-11-26 Joseph Myers <joseph@codesourcery.com>
26921
26922 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26923 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26924 (add_fdes): Likewise.
26925 (linear_search_fdes): Likewise.
26926 (binary_search_unencoded_fdes): Likewise.
26927
d260b3b4
AS
269282012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26929
26930 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26931
67060746
AC
269322012-11-24 Adam Conrad <adconrad@0c3.net>
26933
26934 * configure.in: Autodetect C++ header directories.
26935 * configure: Regenerated.
26936
800938a1
MF
269372012-11-23 Mike Frysinger <vapier@gentoo.org>
26938
26939 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26940
4e6e34e6
AS
269412012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26942
26943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26944
7c7feb47
JM
269452012-11-22 Joseph Myers <joseph@codesourcery.com>
26946
7184dcdf
JM
26947 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26948 LDBL_MANT_DIG == 106]: Disable some tests.
26949 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26950 Likewise.
26951 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26952 Likewise.
26953
0a42601f
JM
26954 [BZ #14871]
26955 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26956 input for small inputs. Return +/- pi/2 for large inputs.
26957 * math/libm-test.inc (atan_test): Add more tests.
26958
79c9b9fe
JM
26959 * sysdeps/generic/unwind-dw2-fde-glibc.c
26960 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26961 __attribute__ ((unused)).
26962
c60d3bf2
JM
26963 [BZ #14645]
26964 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26965 x * y if x and y are nonzero and z is zero.
26966
ef1e0867
JM
26967 [BZ #14811]
26968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26969 nonzero exponents with absolute value below 0x1p-117 to +/-
26970 0x1p-117.
26971
1468ded3
JM
26972 [BZ #14869]
26973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26974 up arguments below 2**-450, not just those below 2**-500.
26975 * math/libm-test.inc (hypot_test): Add another test.
26976
8e27e3cc
JM
26977 [BZ #14868]
26978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26979 Return a+b for ratio over 2**120, not 2**60.
26980 * math/libm-test.inc (hypot_test): Add another test.
26981
c9c0279b
JM
26982 * math/libm-test.inc (clog_test): Use
26983 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26984 (clog10_test): Likewise.
26985
7c7feb47
JM
26986 [BZ #6778]
26987 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26988
fff1530e
AS
269892012-11-22 Andreas Schwab <schwab@suse.de>
26990
26991 * sysdeps/i386/fpu/libm-test-ulps: Update.
26992
94558d30
PT
269932012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26994
26995 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26996 printf output with newline.
26997
7e1be741
L
269982012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26999
6bfea974
L
27000 [BZ #14865]
27001 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27002 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27003 -z nodlopen, -z initfirst and -z execstack support.
27004 * configure: Regenerated.
27005
7e1be741
L
27006 * elf/elf.h (DF_1_NODIRECT): New macro.
27007 (DF_1_IGNMULDEF): Likewise.
27008 (DF_1_NOKSYMS): Likewise.
27009 (DF_1_NOHDR): Likewise.
27010 (DF_1_EDITED): Likewise.
27011 (DF_1_NORELOC): Likewise.
27012 (DF_1_SYMINTPOSE): Likewise.
27013 (DF_1_GLOBAUDIT): Likewise.
27014 (DF_1_SINGLETON): Likewise.
27015 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27016 DT_1_SUPPORTED_MASK bits.
27017 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27018
105ce2ce
CD
270192012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27020
27021 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27022
123be9de
TS
270232012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27024
d072f3f7
TS
27025 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27026 macro.
27027
123be9de
TS
27028 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27029 (sendmmsg): Move declarations...
27030 * socket/sys/socket.h: ... here.
27031 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27032 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27033 include it from...
27034 * socket/recvmmsg.c: ... this new file.
27035 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27036 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27037 definition of __sendmmsg hidden.
27038 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27039 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27040 Move ENOSYS stub into and include it from...
27041 * socket/sendmmsg.c: ... this new file.
27042 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27043 (sysdep_routines): Move recvmmsg and sendmmsg...
27044 * socket/Makefile (routines): ... here.
27045 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27046 (GLIBC_PRIVATE): Add __sendmmsg.
27047 * include/sys/socket.h (__sendmmsg): Add declarations.
27048 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27049 sendmmsg.
27050
cf9a5d18
JM
270512012-11-20 Joseph Myers <joseph@codesourcery.com>
27052
27053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27054 variable I1 with __attribute__ ((unused)).
27055 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27056
ecd4caf9
JM
270572012-11-19 Joseph Myers <joseph@codesourcery.com>
27058
be14d48f
JM
27059 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27060 DUMMY variables with __attribute__ ((unused)).
27061
ecd4caf9
JM
27062 * bits/byteswap.h: Include <bits/types.h>.
27063 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27064
986cab95
PT
270652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27066
27067 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27068 string_t. Do not manually set errno.
27069 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27070 length with __strnlen. Make sure to both set errno and return it on
27071 failure.
27072
6d33cc9d
DM
270732012-11-19 David S. Miller <davem@davemloft.net>
27074
27075 With help from Joseph Myers.
27076 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27077 very large arguments properly.
27078 * math/libm-test.inc (atan_test): New tests.
27079 (atan2_test): New tests.
27080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27082
ee663277
JM
270832012-11-19 Joseph Myers <joseph@codesourcery.com>
27084
877f2d8e
JM
27085 [BZ #14856]
27086 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27087 Define to 3.
27088
116fc08a
JM
27089 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27090 [POSIX] (EADDRNOTAVAIL): Likewise.
27091 [POSIX] (EAFNOSUPPORT): Likewise.
27092 [POSIX] (EALREADY): Likewise.
27093 [POSIX] (ECONNABORTED): Likewise.
27094 [POSIX] (ECONNREFUSED): Likewise.
27095 [POSIX] (ECONNRESET): Likewise.
27096 [POSIX] (EDESTADDRREQ): Likewise.
27097 [POSIX] (EDQUOT): Likewise.
27098 [POSIX] (EHOSTUNREACH): Likewise.
27099 [POSIX] (EIDRM): Likewise.
27100 [POSIX] (EISCONN): Likewise.
27101 [POSIX] (ELOOP): Likewise.
27102 [POSIX] (EMULTIHOP): Likewise.
27103 [POSIX] (ENETDOWN): Likewise.
27104 [POSIX] (ENETUNREACH): Likewise.
27105 [POSIX] (ENOBUFS): Likewise.
27106 [POSIX] (ENODATA): Likewise.
27107 [POSIX] (ENOLINK): Likewise.
27108 [POSIX] (ENOMSG): Likewise.
27109 [POSIX] (ENOPROTOOPT): Likewise.
27110 [POSIX] (ENOSR): Likewise.
27111 [POSIX] (ENOSTR): Likewise.
27112 [POSIX] (ENOTCONN): Likewise.
27113 [POSIX] (ENOTSOCK): Likewise.
27114 [POSIX] (EOPNOTSUPP): Likewise.
27115 [POSIX] (EOVERFLOW): Likewise.
27116 [POSIX] (EPROTO): Likewise.
27117 [POSIX] (EPROTONOSUPPORT): Likewise.
27118 [POSIX] (EPROTOTYPE): Likewise.
27119 [POSIX] (ESTALE): Likewise.
27120 [POSIX] (ETIME): Likewise.
27121 [POSIX] (ETXTBSY): Likewise.
27122 [POSIX] (EWOULDBLOCK): Likewise.
27123 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27124 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27125 [POSIX] (SEEK_CUR): Likewise.
27126 [POSIX] (SEEK_END): Likewise.
27127 [POSIX || UNIX98] (mode_t): Do not require.
27128 [POSIX] (off_t): Likewise.
27129 [POSIX] (pid_t): Likewise.
27130 [POSIX] (sys/stat.h): Do not allow header.
27131 [POSIX] (unistd.h): Likewise.
27132 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27133 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27134 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27135 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27136 require.
27137 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27138 sigevent): Specify elements.
27139 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27140 entry.
27141 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27142 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27143
a483863f
JM
27144 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27145 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27146 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27147 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27148 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27149 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27150 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27151 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27152 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27153 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27154 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27155 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27156 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27157 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27158 Likewise.
27159 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27160 Likewise.
27161 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27162 Likewise.
27163 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27164 Likewise.
27165 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27166 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27167 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27168 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27169 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27170 Specify lower bound on value.
27171 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27172 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27173 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27174 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27175 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27176 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27177 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27178 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27179 value.
27180 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27181 as optional.
27182 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27183 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27184 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27185 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27186 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27187 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27188 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27189 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27190 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27191 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27192 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27193 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27194 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27195 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27196 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27197 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27198 entry.
27199 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27200 optional.
27201 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27202 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27203 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27204 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27206 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27207 Likewise.
27208 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27209 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27213 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27214 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27215 as optional.
27216 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27218 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27219 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27220 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27221 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27222 specify as optional.
27223 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27226 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27227 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27228 [XPG3] (NL_LANGMAX): Likewise.
27229 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27230 [POSIX || XPG3] (NL_NMAX): Likewise.
27231 [POSIX || XPG3] (NL_SETMAX): Likewise.
27232 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27233 [XPG3] (NZERO): Likewise.
27234 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27235 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27236 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27237 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27238 (REG_ERANGE): Expect.
27239 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27240 optional-constant.
27241 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27242 Use (void) in prototype.
27243 [POSIX] (*_t): Allow.
27244 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27245 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27246 (WRDE_BADVAL): Expect.
27247
5ba924e3
JM
27248 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27249 expect.
27250 [XPG3 || XPG4] (O_RSYNC): Likewise.
27251 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27252 Likewise.
27253 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27254 [XPG3 || XPG4] (sigqueue): Likewise.
27255 [XPG3 || XPG4] (sigtimedwait): Likewise.
27256 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27257 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27258 [XPG3 || XPG4] (vsnprintf): Likewise.
27259 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27260 Likewise.
27261 [XPG3 || XPG4] (blksize_t): Likewise.
27262 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27263 Likewise.
27264 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27265 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27266 [XPG3 || XPG4] (struct itimerspec): Likewise.
27267 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27268 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27269 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27270 [XPG3 || XPG4] (clockid_t): Likewise.
27271 [XPG3 || XPG4] (timer_t): Likewise.
27272 [XPG3 || XPG4] (clock_getres): Likewise.
27273 [XPG3 || XPG4] (clock_gettime): Likewise.
27274 [XPG3 || XPG4] (clock_settime): Likewise.
27275 [XPG3 || XPG4] (nanosleep): Likewise.
27276 [XPG3 || XPG4] (timer_create): Likewise.
27277 [XPG3 || XPG4] (timer_delete): Likewise.
27278 [XPG3 || XPG4] (timer_gettime): Likewise.
27279 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27280 [XPG3 || XPG4] (timer_settime): Likewise.
27281 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27282 [XPG3 || XPG4] (getlogin_r): Likewise.
27283 [XPG3 || XPG4] (pread): Likewise.
27284 [XPG3 || XPG4] (pthread_atfork): Likewise.
27285 [XPG3 || XPG4] (pwrite): Likewise.
27286
ee663277
JM
27287 [BZ #14835]
27288 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27289 <bits/siginfo.h>.
27290
942caa16
PT
272912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27292
e19af380
PT
27293 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27294 finalizing MALLSTREAM.
27295
942caa16
PT
27296 * sysdeps/mach/hurd/syncfs.c: New file.
27297
cfde9b46
SP
272982012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27299
27300 [BZ #14719]
27301 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27302 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27303 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27304 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27305 (_nss_dns_gethostbyname4_r): Likewise.
27306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27307 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27308
f6da27e5
PH
273092012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27310
27311 [BZ #13763]
27312 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27313
6665d4a2
SM
273142012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27315
1f51ee92
SM
27316 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27317 * elf/cache.c (print_entry): Print ",AArch64" for
27318 FLAG_AARCH64_LIB64
27319
6665d4a2
SM
27320 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27321 * elf/cache.c (print_entry): Print ",hard-float" for
27322 FLAG_ARM_LIBHF.
27323
05b227bd
DM
273242012-11-18 David S. Miller <davem@davemloft.net>
27325
27326 With help from Joseph Myers.
27327 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27328 cutoff to 2**-13.
27329 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27330 cutoff to 2**-25.
27331 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27332 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27333 small.
27334 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27335 * math/libm-test.inc (y0_test): New tests.
27336 (y1_test): New tests.
27337 * sysdeps/i386/fpu/libm-test-ulps: Update.
27338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27340
786b0b67
AS
273412012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27342
27343 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27344 64-bit targets.
27345 * configure: Regenerated.
27346
8e18b86d
DM
273472012-11-17 David S. Miller <davem@davemloft.net>
27348
27349 [BZ #14811]
27350 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27351 nonzero exponents with absolute value below 0x1p-128 to +/-
27352 0x1p-128.
27353
531f1ae0
JM
273542012-11-17 Joseph Myers <joseph@codesourcery.com>
27355
12df29e2
JM
27356 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27357
150dc1a0
JM
27358 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27359
531f1ae0
JM
27360 * posix/getconf-speclist.c: New file.
27361 * posix/posix-envs.def: Likewise.
27362 * posix/confstr.c (START_ENV_GROUP): New macro.
27363 (END_ENV_GROUP): Likewise.
27364 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27365 (KNOWN_PRESENT_ENV_STRING): Likewise.
27366 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27367 (UNKNOWN_ENVIRONMENT): Likewise.
27368 (confstr): Include posix-envs.def instead of handling
27369 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27370 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27371 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27372 (END_ENV_GROUP): Likewise.
27373 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27374 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27375 (UNKNOWN_ENVIRONMENT): Likewise.
27376 (__sysconf): Include posix-envs.def instead of handling associated
27377 cases directly here.
27378 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27379 preprocessing getconf-speclist.c rather than running getconf or
27380 generating empty file.
27381
a93f9cbc
PT
273822012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27383
27384 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27385
d64d9f87
AL
273862012-11-16 Andrej Lajovic <natrij@gmail.com>
27387
27388 [BZ #14672]
27389 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27390
447885eb
DM
273912012-11-16 David S. Miller <davem@davemloft.net>
27392
27393 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27394 smaller than LDBL_EPSILON/2.0L, just return xm1.
27395
bcbf9830
L
273962012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27397
27398 * elf/tst-array1.c (init): Set constructor priority to 1000.
27399 (fini): Set destructor priority to 1000.
27400 * elf/tst-array2dep.c: Likewise.
27401
2b766585
SP
274022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27403
27404 [BZ #11741]
27405 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27406 (_IO_new_file_xsputn): Also return EOF if none of the input
27407 data was written when overflow failed.
27408 * libio/iopadn.c (_IO_padn): Likewise.
27409 * libio/iowpadn.c (_IO_wpadn): Likewise.
27410 * stdio-common/tst-put-error.c: Add copyright notice.
27411 (do_test): Add case for printing padded string.
27412 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27413 _IO_padn returned error.
27414 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27415 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27416 return EOF.
27417
b1848fde
SP
274182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27419
27420 * libio/libioP.h: Add comment note that the references to C++
27421 bits are now obsolete.
27422
2fd89785
MS
274232012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27424
27425 * math/libm-test.inc (check_complex): Use asprintf.
27426
e3ea5409
JM
274272012-11-14 Joseph Myers <joseph@codesourcery.com>
27428
27429 * debug/pcprofiledump.c (print_version): Update copyright year.
27430 * malloc/memusagestat.c (print_version): Likewise.
27431
2e64d265
L
274322012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27433
27434 [BZ #14831]
27435 * elf/Makefile (tests): Add tst-audit8.
27436 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27437 ($(objpfx)tst-audit8.out): New target.
27438 (tst-audit8-ENV): New variable.
27439 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27440 audit if l_reloc_result is NULL.
27441 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27442 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27443 * elf/tst-audit8.c: New file.
27444
c485e4d2
MS
274452012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27446
27447 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27448 * misc/Makefile (CFLAGS-select.c): Define.
27449 * posix/Makefile (CFLAGS-pause.c): Define.
27450
3a0d900a
DM
274512012-11-13 David S. Miller <davem@davemloft.net>
27452
27453 * crypt/Makefile: Move test targets after toplevel Rules
27454 inclusion. Grab any necessary sysdep routines when linking.
27455 * crypt/md5.c (md5_process_block): Remove define, we will always
27456 name it __md5_process_block.
27457 (md5_finish_ctx): Update md5_process_block call.
27458 (md5_stream): Likewise.
27459 (md5_process_bytes): Likewise.
27460 (md5_process_block): Rename to __md5_process_block and move to ...
27461 * crypt/md5-block.c: ... here.
27462 * crypt/sha256.c (sha256_process_block): Move to ...
27463 * crypt/sha256-block.c: ... here.
27464 * crypt/sha512.c (sha512_process_block): Move to ...
27465 * crypt/sha512-block.c: ... here.
27466 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27467 path.
27468 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27469 * sysdeps/sparc/sparc64/multiarch/Makefile
27470 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27471 crypt subdir.
27472 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27473 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27474 multiarch changes.
27475 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27476 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27477 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27478 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27479 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27480 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27481 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27482 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27484 file.
27485 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27486 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27487 file.
27488 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27489
8ca89318
JM
274902012-11-13 Joseph Myers <joseph@codesourcery.com>
27491
e27d476a
JM
27492 * timezone/tzselect.ksh: Update from tzcode git revision
27493 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27494 * timezone/zdump.c: Likewise.
27495 * timezone/zic.c: Likewise.
27496 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27497 in TZVERSION setting, not $(PKGVERSION).
27498 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27499 REPORT_BUGS_TO settings.
27500
8ca89318
JM
27501 [BZ #14838]
27502 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27503 macro.
27504
47594329
MS
275052012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27506
27507 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27508 detection to immediately after _FP_ROUND().
27509 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27510 bits are 0.
27511
640ac3f1
DM
275122012-11-11 David S. Miller <davem@davemloft.net>
27513
27514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27515 inttypes.h
27516 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27517 __close rather than their public counterparts.
27518
3d2577bb
JM
275192012-11-10 Joseph Myers <joseph@codesourcery.com>
27520
27521 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27522 file.
27523 [UNIX98] (sem_timedwait): Do not expect.
27524 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27525 [XPG4 || UNIX98] (sockatmark): Do not expect.
27526 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27527 (clock_getcpuclockid): Do not expect.
27528 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27529 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27530 Do not expect.
27531 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27532 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27533 [UNIX98] (vwscanf): Likewise.
27534 [UNIX98] (vswscanf): Likewise.
27535
fb1ae1ee
JM
275362012-11-09 Joseph Myers <joseph@codesourcery.com>
27537
9ec6f8bd
JM
27538 * timezone/version.h: Remove file.
27539 * timezone/README: Do not refer to version.h.
27540 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27541 $(objpfx)version.h.
27542 ($(objpfx)zdump.o): Likewise.
c3f81911 27543 ($(objpfx)version.h): New target.
9ec6f8bd 27544
0aa8f8a1
JM
27545 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27546 2012i.
27547 * timezone/README: Don't mention modification to tzselect.ksh.
27548 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27549 work on unmodified tzselect.ksh. Substitute version numbers in
27550 tzselect.ksh.
27551
4e87147f
JM
27552 * Makefile (format-me): Remove.
27553 (INSTALL): Adjust indentation. Use commands directly instead of
27554 using $(format-me).
27555
8b748aed
JM
27556 * aclocal.m4 (ACX_PKGVERSION): New macro.
27557 (ACX_BUGURL): Likewise.
27558 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27559 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27560 (REPORT_BUGS_TO): Likewise.
27561 * configure: Regenerated.
27562 * config.h.in (PKGVERSION): New macro.
27563 (REPORT_BUGS_TO): Likewise.
27564 * config.make.in (PKGVERSION): New variable.
27565 (PKGVERSION_TEXI): Likewise.
27566 (REPORT_BUGS_TO): Likewise.
27567 (REPORT_BUGS_TEXI): Likewise.
27568 * Makefile (format-me): Use -I$(common-objpfx)manual.
27569 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27570 ($(common-objpfx)manual/%): New target.
27571 (manual/%): Remove target.
27572 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27573 (print_version): Use PKGVERSION.
27574 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27575 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27576 and REPORT_BUGS_TO.
27577 ($(objpfx)xtrace): Likewise.
27578 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27579 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27580 (print_version): Use PKGVERSION.
27581 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27582 (do_version): Use PKGVERSION.
27583 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27584 REPORT_BUGS_TO.
27585 (common-ldd-rewrite): Likewise.
27586 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27587 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27588 (print_version): Use PKGVERSION.
27589 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27590 * elf/pldd.c (argp_program_bug_address): Remove variable.
27591 (more_help): New function.
27592 (argp): Use more_help.
27593 (print_version): Use PKGVERSION.
27594 * elf/sln.c (main): Use PKGVERSION.
27595 (usage): Use REPORT_BUGS_TO.
27596 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27597 (top level): Use PKGVERSION.
27598 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27599 (print_version): Use PKGVERSION.
27600 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27601 (print_version): Use PKGVERSION.
27602 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27603 (print_version): Use PKGVERSION.
27604 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27605 (print_version): Use PKGVERSION.
27606 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27607 (print_version): Use PKGVERSION.
27608 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27609 (print_version): Use PKGVERSION.
27610 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27611 and BUGURL.
27612 ($(objpfx)memusage): Likewise.
27613 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27614 (do_version): Use PKGVERSION.
27615 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27616 (print_version): Use PKGVERSION.
27617 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27618 ($PKGVERSION): New variable.
27619 ($REPORT_BUGS_TO): Likewise.
27620 (usage): Use $REPORT_BUGS_TO.
27621 (top level): Use $PKGVERSION.
27622 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27623 ($(objpfx)pkgvers.texi): New rule.
27624 ($(objpfx)stamp-pkgvers): Likewise.
27625 * manual/install.texi: Include pkgvers.texi.
27626 (--with-pkgversion): Document new configure option.
27627 (--with-bugurl): Likewise.
27628 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27629 than necessarily for this particular distribution. Use
27630 REPORT_BUGS_TO for where to report bugs.
27631 * INSTALL: Regenerated.
27632 * manual/libc.texinfo: Include pkgvers.texi.
27633 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27634 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27635 (print_version): Use PKGVERSION.
27636 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27637 (print_version): Use PKGVERSION.
27638 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27639 (print_version): Use PKGVERSION.
27640 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27641 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27642 macro.
27643 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27644 (print_version): Use PKGVERSION.
27645 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27646 (print_version): Use PKGVERSION.
27647 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27648 and PKGVERSION.
27649
92e4b6a9
JM
27650 * timezone/checktab.awk: Update from tzcode 2012i.
27651 * timezone/ialloc.c: Likewise.
27652 * timezone/private.h: Likewise.
27653 * timezone/scheck.c: Likewise.
27654 * timezone/tzfile.h: Likewise.
27655 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27656 (TZVERSION): Hardcode tzcode version number.
27657 * timezone/zdump.c: Update from tzcode 2012i.
27658 * timezone/zic.c: Likewise.
27659 * timezone/version.h: New file.
27660 * timezone/README: Describe version.h. Update upstream location.
27661
9bde902c
JM
27662 [BZ #14824]
27663 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27664 (mktemp): Enable declaration.
27665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27669 Likewise.
27670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27671 Likewise.
27672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27673 Likewise.
27674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27675 Likewise.
27676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27677 Likewise.
27678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27679 Likewise.
27680
fb1ae1ee
JM
27681 [BZ #14821]
27682 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27683 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27684 for copies of such integer values.
27685 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27686 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27687
2c1adbcb
AJ
276882012-11-09 Andreas Jaeger <aj@suse.de>
27689
27690 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27691 definitions and declarations that are provided by
27692 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27693
d0f8457e
AK
276942012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27695
3a235abb 27696 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27697 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27698 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27699 definition.
27700
57241e26
MS
277012012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27702
27703 * elf/elf.h: Update comment before AArch64 relocations.
27704
60e8270d
DM
277052012-11-07 David S. Miller <davem@davemloft.net>
27706
27707 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27708 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27709 (__start_context): Declare.
27710 (__makecontext_ret): Delete.
27711 (__makecontext): Hook up __start_context instead of
27712 __makecontext_ret.
27713 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27714 (sysdep_routines): Add __start_context when in stdlib.
27715
0fbb0fbc
JM
277162012-11-07 Joseph Myers <joseph@codesourcery.com>
27717
27718 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27719 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27720 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27721 hardcoded "nm".
27722 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27723 (READELF): New variable. Use it instead of hardcoded "readelf".
27724
eb48db7e
L
277252012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27726
27727 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27728 * sysdeps/x86/Makefile: Here.
27729 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27730 * sysdeps/x86/tst-xmmymm.sh: This.
27731
05bcf62a
JM
277322012-11-07 Joseph Myers <joseph@codesourcery.com>
27733
c4b6cf53
JM
27734 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27735 expectations.
27736 [UNIX98] (pthread_barrier_t): Do not expect.
27737 [UNIX98] (pthread_barrierattr_t): Likewise.
27738 [UNIX98] (pthread_spinlock_t): Likewise.
27739 [UNIX98] (pthread_barrier_destroy): Likewise.
27740 [UNIX98] (pthread_barrier_init): Likewise.
27741 [UNIX98] (pthread_barrier_wait): Likewise.
27742 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27743 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27744 [UNIX98] (pthread_barrierattr_init): Likewise.
27745 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27746 [UNIX98] (pthread_getcpuclockid): Likewise.
27747 [UNIX98] (pthread_mutex_timedlock): Likewise.
27748 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27749 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27750 [UNIX98] (pthread_sigmask): Likewise.
27751 [UNIX98] (pthread_spin_destroy): Likewise.
27752 [UNIX98] (pthread_spin_init): Likewise.
27753 [UNIX98] (pthread_spin_lock): Likewise.
27754 [UNIX98] (pthread_spin_trylock): Likewise.
27755 [UNIX98] (pthread_spin_unlock): Likewise.
27756 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27757 Do not expect.
27758 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27760 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27761 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27762 [XPG3 || XPG4] (pthread_key_t): Likewise.
27763 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27764 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27765 [XPG3 || XPG4] (pthread_once_t): Likewise.
27766 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27767 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27768 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27769 [XPG3 || XPG4] (pthread_t): Likewise.
27770
cbe6e120
JM
27771 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27772 not expect.
27773 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27774
1b126443
JM
27775 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27776 Change function return type to int.
27777
b961a573
JM
27778 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27779 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27780 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27781 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27782 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27783 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27784 [!POSIX] (posix_madvise): Likewise.
27785 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27786 && !UNIX98].
27787 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27788 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27789 (mode_t): Likewise.
27790 (posix_mem_offset): Likewise.
27791 (posix_typed_mem_get_info): Likewise.
27792 (posix_typed_mem_open): Likewise.
27793
9e188909
JM
27794 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27795 Change condition to [XOPEN2K8].
27796
05bcf62a
JM
27797 * conform/conformtest.pl: Preprocess allow-header data with -x c
27798 instead of from stdin.
27799 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27800 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27801 [C99-based standards] (cerfc): Likewise.
27802 [C99-based standards] (cexp2): Likewise.
27803 [C99-based standards] (cexpm1): Likewise.
27804 [C99-based standards] (clog10): Likewise.
27805 [C99-based standards] (clog1p): Likewise.
27806 [C99-based standards] (clog2): Likewise.
27807 [C99-based standards] (clgamma): Likewise.
27808 [C99-based standards] (ctgamma): Likewise.
27809 [C99-based standards] (cerff): Likewise.
27810 [C99-based standards] (cerfcf): Likewise.
27811 [C99-based standards] (cexp2f): Likewise.
27812 [C99-based standards] (cexpm1f): Likewise.
27813 [C99-based standards] (clog10f): Likewise.
27814 [C99-based standards] (clog1pf): Likewise.
27815 [C99-based standards] (clog2f): Likewise.
27816 [C99-based standards] (clgammaf): Likewise.
27817 [C99-based standards] (ctgammaf): Likewise.
27818 [C99-based standards] (cerfl): Likewise.
27819 [C99-based standards] (cerfcl): Likewise.
27820 [C99-based standards] (cexp2l): Likewise.
27821 [C99-based standards] (cexpm1l): Likewise.
27822 [C99-based standards] (clog10l): Likewise.
27823 [C99-based standards] (clog1pl): Likewise.
27824 [C99-based standards] (clog2l): Likewise.
27825 [C99-based standards] (clgammal): Likewise.
27826 [C99-based standards] (ctgammal): Likewise.
27827 * conform/data/inttypes.h-data [C99-based standards]: Include
27828 stdint.h-data. Remove all expectations for stdint.h contents.
27829 [C99-based standards] (PRI*): Do not allow.
27830 [C99-based standards] (SCN*): Likewise.
27831 [C99-based standards] (*_t): Likewise.
27832 [C99-based-standards] (PRId8): Expect macro.
27833 [C99-based-standards] (PRIi8): Likewise.
27834 [C99-based-standards] (PRIo8): Likewise.
27835 [C99-based-standards] (PRIu8): Likewise.
27836 [C99-based-standards] (PRIx8): Likewise.
27837 [C99-based-standards] (PRIX8): Likewise.
27838 [C99-based-standards] (SCNd8): Likewise.
27839 [C99-based-standards] (SCNi8): Likewise.
27840 [C99-based-standards] (SCNo8): Likewise.
27841 [C99-based-standards] (SCNu8): Likewise.
27842 [C99-based-standards] (SCNx8): Likewise.
27843 [C99-based-standards] (PRIdLEAST8): Likewise.
27844 [C99-based-standards] (PRIiLEAST8): Likewise.
27845 [C99-based-standards] (PRIoLEAST8): Likewise.
27846 [C99-based-standards] (PRIuLEAST8): Likewise.
27847 [C99-based-standards] (PRIxLEAST8): Likewise.
27848 [C99-based-standards] (PRIXLEAST8): Likewise.
27849 [C99-based-standards] (SCNdLEAST8): Likewise.
27850 [C99-based-standards] (SCNiLEAST8): Likewise.
27851 [C99-based-standards] (SCNoLEAST8): Likewise.
27852 [C99-based-standards] (SCNuLEAST8): Likewise.
27853 [C99-based-standards] (SCNxLEAST8): Likewise.
27854 [C99-based-standards] (PRIdFAST8): Likewise.
27855 [C99-based-standards] (PRIiFAST8): Likewise.
27856 [C99-based-standards] (PRIoFAST8): Likewise.
27857 [C99-based-standards] (PRIuFAST8): Likewise.
27858 [C99-based-standards] (PRIxFAST8): Likewise.
27859 [C99-based-standards] (PRIXFAST8): Likewise.
27860 [C99-based-standards] (SCNdFAST8): Likewise.
27861 [C99-based-standards] (SCNiFAST8): Likewise.
27862 [C99-based-standards] (SCNoFAST8): Likewise.
27863 [C99-based-standards] (SCNuFAST8): Likewise.
27864 [C99-based-standards] (SCNxFAST8): Likewise.
27865 [C99-based-standards] (PRId16): Likewise.
27866 [C99-based-standards] (PRIi16): Likewise.
27867 [C99-based-standards] (PRIo16): Likewise.
27868 [C99-based-standards] (PRIu16): Likewise.
27869 [C99-based-standards] (PRIx16): Likewise.
27870 [C99-based-standards] (PRIX16): Likewise.
27871 [C99-based-standards] (SCNd16): Likewise.
27872 [C99-based-standards] (SCNi16): Likewise.
27873 [C99-based-standards] (SCNo16): Likewise.
27874 [C99-based-standards] (SCNu16): Likewise.
27875 [C99-based-standards] (SCNx16): Likewise.
27876 [C99-based-standards] (PRIdLEAST16): Likewise.
27877 [C99-based-standards] (PRIiLEAST16): Likewise.
27878 [C99-based-standards] (PRIoLEAST16): Likewise.
27879 [C99-based-standards] (PRIuLEAST16): Likewise.
27880 [C99-based-standards] (PRIxLEAST16): Likewise.
27881 [C99-based-standards] (PRIXLEAST16): Likewise.
27882 [C99-based-standards] (SCNdLEAST16): Likewise.
27883 [C99-based-standards] (SCNiLEAST16): Likewise.
27884 [C99-based-standards] (SCNoLEAST16): Likewise.
27885 [C99-based-standards] (SCNuLEAST16): Likewise.
27886 [C99-based-standards] (SCNxLEAST16): Likewise.
27887 [C99-based-standards] (PRIdFAST16): Likewise.
27888 [C99-based-standards] (PRIiFAST16): Likewise.
27889 [C99-based-standards] (PRIoFAST16): Likewise.
27890 [C99-based-standards] (PRIuFAST16): Likewise.
27891 [C99-based-standards] (PRIxFAST16): Likewise.
27892 [C99-based-standards] (PRIXFAST16): Likewise.
27893 [C99-based-standards] (SCNdFAST16): Likewise.
27894 [C99-based-standards] (SCNiFAST16): Likewise.
27895 [C99-based-standards] (SCNoFAST16): Likewise.
27896 [C99-based-standards] (SCNuFAST16): Likewise.
27897 [C99-based-standards] (SCNxFAST16): Likewise.
27898 [C99-based-standards] (PRId32): Likewise.
27899 [C99-based-standards] (PRIi32): Likewise.
27900 [C99-based-standards] (PRIo32): Likewise.
27901 [C99-based-standards] (PRIu32): Likewise.
27902 [C99-based-standards] (PRIx32): Likewise.
27903 [C99-based-standards] (PRIX32): Likewise.
27904 [C99-based-standards] (SCNd32): Likewise.
27905 [C99-based-standards] (SCNi32): Likewise.
27906 [C99-based-standards] (SCNo32): Likewise.
27907 [C99-based-standards] (SCNu32): Likewise.
27908 [C99-based-standards] (SCNx32): Likewise.
27909 [C99-based-standards] (PRIdLEAST32): Likewise.
27910 [C99-based-standards] (PRIiLEAST32): Likewise.
27911 [C99-based-standards] (PRIoLEAST32): Likewise.
27912 [C99-based-standards] (PRIuLEAST32): Likewise.
27913 [C99-based-standards] (PRIxLEAST32): Likewise.
27914 [C99-based-standards] (PRIXLEAST32): Likewise.
27915 [C99-based-standards] (SCNdLEAST32): Likewise.
27916 [C99-based-standards] (SCNiLEAST32): Likewise.
27917 [C99-based-standards] (SCNoLEAST32): Likewise.
27918 [C99-based-standards] (SCNuLEAST32): Likewise.
27919 [C99-based-standards] (SCNxLEAST32): Likewise.
27920 [C99-based-standards] (PRIdFAST32): Likewise.
27921 [C99-based-standards] (PRIiFAST32): Likewise.
27922 [C99-based-standards] (PRIoFAST32): Likewise.
27923 [C99-based-standards] (PRIuFAST32): Likewise.
27924 [C99-based-standards] (PRIxFAST32): Likewise.
27925 [C99-based-standards] (PRIXFAST32): Likewise.
27926 [C99-based-standards] (SCNdFAST32): Likewise.
27927 [C99-based-standards] (SCNiFAST32): Likewise.
27928 [C99-based-standards] (SCNoFAST32): Likewise.
27929 [C99-based-standards] (SCNuFAST32): Likewise.
27930 [C99-based-standards] (SCNxFAST32): Likewise.
27931 [C99-based-standards] (PRId64): Likewise.
27932 [C99-based-standards] (PRIi64): Likewise.
27933 [C99-based-standards] (PRIo64): Likewise.
27934 [C99-based-standards] (PRIu64): Likewise.
27935 [C99-based-standards] (PRIx64): Likewise.
27936 [C99-based-standards] (PRIX64): Likewise.
27937 [C99-based-standards] (SCNd64): Likewise.
27938 [C99-based-standards] (SCNi64): Likewise.
27939 [C99-based-standards] (SCNo64): Likewise.
27940 [C99-based-standards] (SCNu64): Likewise.
27941 [C99-based-standards] (SCNx64): Likewise.
27942 [C99-based-standards] (PRIdLEAST64): Likewise.
27943 [C99-based-standards] (PRIiLEAST64): Likewise.
27944 [C99-based-standards] (PRIoLEAST64): Likewise.
27945 [C99-based-standards] (PRIuLEAST64): Likewise.
27946 [C99-based-standards] (PRIxLEAST64): Likewise.
27947 [C99-based-standards] (PRIXLEAST64): Likewise.
27948 [C99-based-standards] (SCNdLEAST64): Likewise.
27949 [C99-based-standards] (SCNiLEAST64): Likewise.
27950 [C99-based-standards] (SCNoLEAST64): Likewise.
27951 [C99-based-standards] (SCNuLEAST64): Likewise.
27952 [C99-based-standards] (SCNxLEAST64): Likewise.
27953 [C99-based-standards] (PRIdFAST64): Likewise.
27954 [C99-based-standards] (PRIiFAST64): Likewise.
27955 [C99-based-standards] (PRIoFAST64): Likewise.
27956 [C99-based-standards] (PRIuFAST64): Likewise.
27957 [C99-based-standards] (PRIxFAST64): Likewise.
27958 [C99-based-standards] (PRIXFAST64): Likewise.
27959 [C99-based-standards] (SCNdFAST64): Likewise.
27960 [C99-based-standards] (SCNiFAST64): Likewise.
27961 [C99-based-standards] (SCNoFAST64): Likewise.
27962 [C99-based-standards] (SCNuFAST64): Likewise.
27963 [C99-based-standards] (SCNxFAST64): Likewise.
27964 [C99-based-standards] (PRIdMAX): Likewise.
27965 [C99-based-standards] (PRIiMAX): Likewise.
27966 [C99-based-standards] (PRIoMAX): Likewise.
27967 [C99-based-standards] (PRIuMAX): Likewise.
27968 [C99-based-standards] (PRIxMAX): Likewise.
27969 [C99-based-standards] (PRIXMAX): Likewise.
27970 [C99-based-standards] (SCNdMAX): Likewise.
27971 [C99-based-standards] (SCNiMAX): Likewise.
27972 [C99-based-standards] (SCNoMAX): Likewise.
27973 [C99-based-standards] (SCNuMAX): Likewise.
27974 [C99-based-standards] (SCNxMAX): Likewise.
27975 [C99-based-standards] (PRIdPTR): Likewise.
27976 [C99-based-standards] (PRIiPTR): Likewise.
27977 [C99-based-standards] (PRIoPTR): Likewise.
27978 [C99-based-standards] (PRIuPTR): Likewise.
27979 [C99-based-standards] (PRIxPTR): Likewise.
27980 [C99-based-standards] (PRIXPTR): Likewise.
27981 [C99-based-standards] (SCNdPTR): Likewise.
27982 [C99-based-standards] (SCNiPTR): Likewise.
27983 [C99-based-standards] (SCNoPTR): Likewise.
27984 [C99-based-standards] (SCNuPTR): Likewise.
27985 [C99-based-standards] (SCNxPTR): Likewise.
27986 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27987 allow.
27988 * conform/data/stdint.h-data: Update comments to clarify
27989 requirements.
27990 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27991 type.
27992 [C99-based standards] (INT8_MAX): Likewise.
27993 [C99-based standards] (INT16_MIN): Likewise.
27994 [C99-based standards] (INT16_MAX): Likewise.
27995 [C99-based standards] (INT32_MIN): Likewise.
27996 [C99-based standards] (INT32_MAX): Likewise.
27997 [C99-based standards] (INT64_MIN): Likewise.
27998 [C99-based standards] (INT64_MAX): Likewise.
27999 [C99-based standards] (UINT8_MAX): Likewise.
28000 [C99-based standards] (UINT16_MAX): Likewise.
28001 [C99-based standards] (UINT32_MAX): Likewise.
28002 [C99-based standards] (UINT64_MAX): Likewise.
28003 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28004 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28005 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28006 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28007 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28008 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28009 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28010 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28011 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28012 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28013 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28014 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28015 [C99-based standards] (INT_FAST8_MIN): Likewise.
28016 [C99-based standards] (INT_FAST8_MAX): Likewise.
28017 [C99-based standards] (INT_FAST16_MIN): Likewise.
28018 [C99-based standards] (INT_FAST16_MAX): Likewise.
28019 [C99-based standards] (INT_FAST32_MIN): Likewise.
28020 [C99-based standards] (INT_FAST32_MAX): Likewise.
28021 [C99-based standards] (INT_FAST64_MIN): Likewise.
28022 [C99-based standards] (INT_FAST64_MAX): Likewise.
28023 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28024 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28025 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28026 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28027 [C99-based standards] (INTPTR_MIN): Likewise.
28028 [C99-based standards] (INTPTR_MAX): Likewise.
28029 [C99-based standards] (UINTPTR_MAX): Likewise.
28030 [C99-based standards] (INTMAX_MIN): Likewise.
28031 [C99-based standards] (INTMAX_MAX): Likewise.
28032 [C99-based standards] (UINTMAX_MAX): Likewise.
28033 [C99-based standards] (PTRDIFF_MIN): Likewise.
28034 [C99-based standards] (PTRDIFF_MAX): Likewise.
28035 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28036 [C99-based standards] (SIZE_MAX): Likewise.
28037 [C99-based standards] (WCHAR_MAX): Likewise.
28038 [C99-based standards] (WINT_MAX): Likewise.
28039 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28040 constraint on value.
28041 [C99-based standards] (WCHAR_MIN): Likewise.
28042 [C99-based standards] (WINT_MIN): Likewise.
28043 [C99-based standards] (*_t): Allow.
28044 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28045 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28046 Include math.h-data and complex.h-data. Remove all expectations
28047 of math.h and complex.h contents.
28048 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28049 at end of line.
28050 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28051 (struct tm): Expect tag.
28052 [C99-based-standards] (wcstof): Expect function.
28053 [C99-based-standards] (wcstold): Likewise.
28054 [C99-based-standards] (wcstoll): Likewise.
28055 [C99-based-standards] (wcstoull): Likewise.
28056 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28057 macro-int-constant. Specify type.
28058 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28059 constraint on value.
28060 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28061 Specify type.
28062 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28063 Specify value.
28064 [ISO C standards]: Do not allow headers.
28065 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28066 wcs[abcdefghijklmnopqrstuvwxyz]*.
28067 [ISO C standards] (*_t): Do not allow.
28068 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28069 Expect function.
28070 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28071 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28072 Specify type.
28073 [ISO C standards]: Do not allow headers.
28074 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28075 is[abcdefghijklmnopqrstuvwxyz]*.
28076 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28077 to[abcdefghijklmnopqrstuvwxyz]*.
28078 [ISO C standards] (*_t): Do not allow.
28079 * conform/data/stdalign.h-data: New file.
28080 * conform/data/stdbool.h-data: Likewise.
28081 * conform/data/stdnoreturn.h-data: Likewise.
28082
7514feb8
RM
280832012-11-07 Roland McGrath <roland@hack.frob.com>
28084
28085 [BZ #14815]
28086 * manual/filesys.texi (Directory Entries): Typo fix.
28087 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28088
19b2ecfc
MS
280892012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28090
28091 * elf/elf.h (EM_AARCH64): New macro.
28092 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28093 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28094 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28095 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28096 (R_AARCH64_TLSDESC): Likewise.
28097 (NT_ARM_TLS): Likewise.
28098 (NT_ARM_HW_BREAK): Likewise.
28099 (NT_ARM_HW_WATCH): Likewise.
28100
60e235ee
JM
281012012-11-07 Joseph Myers <joseph@codesourcery.com>
28102
28103 [BZ #14811]
28104 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28105 (__ieee754_powl): Saturate nonzero exponents with absolute value
28106 below 0x1p-79 to +/- 0x1p-79.
28107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28108 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28109 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28110 nonzero exponents with absolute value below 0x1p-32 to +/-
28111 0x1p-32.
28112 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28113 (__ieee754_powl): Saturate nonzero exponents with absolute value
28114 below 0x1p-79 to +/- 0x1p-79.
28115 * math/libm-test.inc (pow_test): Add more tests.
28116
0ab234b7
AK
281172012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28118
28119 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28120 _dl_s390_cap_flags with kernel. Increase string length.
28121 (_dl_s390_platforms): Add z196 and zEC12.
28122
45832f74
JM
281232012-11-07 Joseph Myers <joseph@codesourcery.com>
28124
28125 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28126 Change XOPEN21K to XOPEN2K.
28127
19218757
MK
281282012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28129
28130 * string/memmove.c: Use memcpy when possible.
28131
c5f45721
AJ
281322012-11-06 Andreas Jaeger <aj@suse.de>
28133
28134 * po/eo.po: Update from translation team.
28135
82477c28
JM
281362012-11-06 Joseph Myers <joseph@codesourcery.com>
28137
28138 [BZ #14793]
28139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28140 exponent and small x and y exponents, scale x or y up. Increase
28141 by 2 the exponent used in scaling up.
28142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28144 * math/libm-test.inc (fma_test): Add more tests.
28145 (fma_test_towardzero): Likewise.
28146 (fma_test_downward): Likewise.
28147 (fma_test_upward): Likewise.
28148
99252c8c
JM
281492012-11-05 Joseph Myers <joseph@codesourcery.com>
28150
acfa885f
JM
28151 [BZ #14805]
28152 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28153 fenv_t *.
28154
99252c8c
JM
28155 [BZ #14801]
28156 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28157 namespace for names of struct fields.
28158 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28159 fenv_t fields.
28160 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28161 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28162
d6d98dea
ST
281632012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28164
28165 [BZ #3665]
28166 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28167
e10bb107
TS
281682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28169
28170 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28171 PTR_DEMANGLE.
28172
28173 [BZ #5246]
28174 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28175 PTR_DEMANGLE.
28176
a0c2940d
JM
281772012-11-04 Joseph Myers <joseph@codesourcery.com>
28178
28179 [BZ #14797]
28180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28181 definitely overflow as x * y not x * y + z.
28182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28184 * math/libm-test.inc (fma_test): Add more tests.
28185 (fma_test_towardzero): Likewise.
28186 (fma_test_downward): Likewise.
28187 (fma_test_upward): Likewise.
28188
b830319d
TS
281892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28190
28191 [BZ #157]
28192
28193 * include/stub-tag.h: Remove file.
28194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28195 '#include' of it.
28196 * manual/maint.texi (Porting): Don't reference it.
28197 * Makerules ($(objpfx)stubs): Likewise.
28198 * dirent/closedir.c: Don't include <stub-tag.h>.
28199 * dirent/dirfd.c: Likewise.
28200 * dirent/fdopendir.c: Likewise.
28201 * dirent/getdents.c: Likewise.
28202 * dirent/getdents64.c: Likewise.
28203 * dirent/opendir.c: Likewise.
28204 * dirent/readdir.c: Likewise.
28205 * dirent/readdir64.c: Likewise.
28206 * dirent/readdir64_r.c: Likewise.
28207 * dirent/readdir_r.c: Likewise.
28208 * dirent/rewinddir.c: Likewise.
28209 * dirent/seekdir.c: Likewise.
28210 * dirent/telldir.c: Likewise.
28211 * gmon/profil.c: Likewise.
28212 * grp/setgroups.c: Likewise.
28213 * inet/if_index.c: Likewise.
28214 * io/access.c: Likewise.
28215 * io/chdir.c: Likewise.
28216 * io/chmod.c: Likewise.
28217 * io/chown.c: Likewise.
28218 * io/close.c: Likewise.
28219 * io/dup.c: Likewise.
28220 * io/dup2.c: Likewise.
28221 * io/dup3.c: Likewise.
28222 * io/euidaccess.c: Likewise.
28223 * io/faccessat.c: Likewise.
28224 * io/fchdir.c: Likewise.
28225 * io/fchmod.c: Likewise.
28226 * io/fchmodat.c: Likewise.
28227 * io/fchown.c: Likewise.
28228 * io/fchownat.c: Likewise.
28229 * io/fcntl.c: Likewise.
28230 * io/flock.c: Likewise.
28231 * io/fstatfs.c: Likewise.
28232 * io/fstatfs64.c: Likewise.
28233 * io/fstatvfs.c: Likewise.
28234 * io/fstatvfs64.c: Likewise.
28235 * io/futimens.c: Likewise.
28236 * io/fxstat.c: Likewise.
28237 * io/fxstat64.c: Likewise.
28238 * io/fxstatat.c: Likewise.
28239 * io/fxstatat64.c: Likewise.
28240 * io/getcwd.c: Likewise.
28241 * io/isatty.c: Likewise.
28242 * io/lchmod.c: Likewise.
28243 * io/lchown.c: Likewise.
28244 * io/link.c: Likewise.
28245 * io/linkat.c: Likewise.
28246 * io/lseek.c: Likewise.
28247 * io/lseek64.c: Likewise.
28248 * io/lxstat64.c: Likewise.
28249 * io/mkdir.c: Likewise.
28250 * io/mkdirat.c: Likewise.
28251 * io/mkfifo.c: Likewise.
28252 * io/mkfifoat.c: Likewise.
28253 * io/open.c: Likewise.
28254 * io/open64.c: Likewise.
28255 * io/openat.c: Likewise.
28256 * io/openat64.c: Likewise.
28257 * io/pipe.c: Likewise.
28258 * io/pipe2.c: Likewise.
28259 * io/poll.c: Likewise.
28260 * io/posix_fadvise.c: Likewise.
28261 * io/posix_fadvise64.c: Likewise.
28262 * io/posix_fallocate.c: Likewise.
28263 * io/posix_fallocate64.c: Likewise.
28264 * io/read.c: Likewise.
28265 * io/readlink.c: Likewise.
28266 * io/readlinkat.c: Likewise.
28267 * io/rmdir.c: Likewise.
28268 * io/sendfile.c: Likewise.
28269 * io/sendfile64.c: Likewise.
28270 * io/statfs.c: Likewise.
28271 * io/statfs64.c: Likewise.
28272 * io/statvfs.c: Likewise.
28273 * io/statvfs64.c: Likewise.
28274 * io/symlink.c: Likewise.
28275 * io/symlinkat.c: Likewise.
28276 * io/ttyname.c: Likewise.
28277 * io/ttyname_r.c: Likewise.
28278 * io/umask.c: Likewise.
28279 * io/unlink.c: Likewise.
28280 * io/unlinkat.c: Likewise.
28281 * io/utime.c: Likewise.
28282 * io/utimensat.c: Likewise.
28283 * io/write.c: Likewise.
28284 * io/xmknod.c: Likewise.
28285 * io/xmknodat.c: Likewise.
28286 * io/xstat.c: Likewise.
28287 * io/xstat64.c: Likewise.
28288 * login/getpt.c: Likewise.
28289 * login/grantpt.c: Likewise.
28290 * login/unlockpt.c: Likewise.
28291 * math/e_acoshl.c: Likewise.
28292 * math/e_acosl.c: Likewise.
28293 * math/e_asinl.c: Likewise.
28294 * math/e_atan2l.c: Likewise.
28295 * math/e_atanhl.c: Likewise.
28296 * math/e_coshl.c: Likewise.
28297 * math/e_expl.c: Likewise.
28298 * math/e_fmodl.c: Likewise.
28299 * math/e_gammal_r.c: Likewise.
28300 * math/e_hypotl.c: Likewise.
28301 * math/e_j0l.c: Likewise.
28302 * math/e_j1l.c: Likewise.
28303 * math/e_jnl.c: Likewise.
28304 * math/e_lgammal_r.c: Likewise.
28305 * math/e_log10l.c: Likewise.
28306 * math/e_log2l.c: Likewise.
28307 * math/e_logl.c: Likewise.
28308 * math/e_powl.c: Likewise.
28309 * math/e_rem_pio2l.c: Likewise.
28310 * math/e_sinhl.c: Likewise.
28311 * math/e_sqrtl.c: Likewise.
28312 * math/fclrexcpt.c: Likewise.
28313 * math/fedisblxcpt.c: Likewise.
28314 * math/feenablxcpt.c: Likewise.
28315 * math/fegetenv.c: Likewise.
28316 * math/fegetexcept.c: Likewise.
28317 * math/fegetround.c: Likewise.
28318 * math/feholdexcpt.c: Likewise.
28319 * math/fesetenv.c: Likewise.
28320 * math/fesetround.c: Likewise.
28321 * math/feupdateenv.c: Likewise.
28322 * math/fgetexcptflg.c: Likewise.
28323 * math/fraiseexcpt.c: Likewise.
28324 * math/fsetexcptflg.c: Likewise.
28325 * math/ftestexcept.c: Likewise.
28326 * math/k_cosl.c: Likewise.
28327 * math/k_rem_pio2l.c: Likewise.
28328 * math/k_sinl.c: Likewise.
28329 * math/k_tanl.c: Likewise.
28330 * math/s_asinhl.c: Likewise.
28331 * math/s_atanl.c: Likewise.
28332 * math/s_cbrtl.c: Likewise.
28333 * math/s_erfl.c: Likewise.
28334 * math/s_expm1l.c: Likewise.
28335 * math/s_log1pl.c: Likewise.
28336 * math/s_tanhl.c: Likewise.
28337 * misc/acct.c: Likewise.
28338 * misc/brk.c: Likewise.
28339 * misc/chflags.c: Likewise.
28340 * misc/chroot.c: Likewise.
28341 * misc/fchflags.c: Likewise.
28342 * misc/fgetxattr.c: Likewise.
28343 * misc/flistxattr.c: Likewise.
28344 * misc/fremovexattr.c: Likewise.
28345 * misc/fsetxattr.c: Likewise.
28346 * misc/fsync.c: Likewise.
28347 * misc/ftruncate.c: Likewise.
28348 * misc/futimes.c: Likewise.
28349 * misc/futimesat.c: Likewise.
28350 * misc/getdomain.c: Likewise.
28351 * misc/getdtsz.c: Likewise.
28352 * misc/gethostid.c: Likewise.
28353 * misc/gethostname.c: Likewise.
28354 * misc/getloadavg.c: Likewise.
28355 * misc/getpagesize.c: Likewise.
28356 * misc/getsysstats.c: Likewise.
28357 * misc/getxattr.c: Likewise.
28358 * misc/gtty.c: Likewise.
28359 * misc/ioctl.c: Likewise.
28360 * misc/lgetxattr.c: Likewise.
28361 * misc/listxattr.c: Likewise.
28362 * misc/llistxattr.c: Likewise.
28363 * misc/lremovexattr.c: Likewise.
28364 * misc/lsetxattr.c: Likewise.
28365 * misc/lutimes.c: Likewise.
28366 * misc/madvise.c: Likewise.
28367 * misc/mincore.c: Likewise.
28368 * misc/mlock.c: Likewise.
28369 * misc/mlockall.c: Likewise.
28370 * misc/mmap.c: Likewise.
28371 * misc/mprotect.c: Likewise.
28372 * misc/msync.c: Likewise.
28373 * misc/munlock.c: Likewise.
28374 * misc/munlockall.c: Likewise.
28375 * misc/munmap.c: Likewise.
28376 * misc/preadv.c: Likewise.
28377 * misc/preadv64.c: Likewise.
28378 * misc/ptrace.c: Likewise.
28379 * misc/pwritev.c: Likewise.
28380 * misc/pwritev64.c: Likewise.
28381 * misc/readv.c: Likewise.
28382 * misc/reboot.c: Likewise.
28383 * misc/remap_file_pages.c: Likewise.
28384 * misc/removexattr.c: Likewise.
28385 * misc/revoke.c: Likewise.
28386 * misc/select.c: Likewise.
28387 * misc/setdomain.c: Likewise.
28388 * misc/setegid.c: Likewise.
28389 * misc/seteuid.c: Likewise.
28390 * misc/sethostid.c: Likewise.
28391 * misc/sethostname.c: Likewise.
28392 * misc/setregid.c: Likewise.
28393 * misc/setreuid.c: Likewise.
28394 * misc/setxattr.c: Likewise.
28395 * misc/sstk.c: Likewise.
28396 * misc/stty.c: Likewise.
28397 * misc/swapoff.c: Likewise.
28398 * misc/swapon.c: Likewise.
28399 * misc/sync.c: Likewise.
28400 * misc/syncfs.c: Likewise.
28401 * misc/syscall.c: Likewise.
28402 * misc/truncate.c: Likewise.
28403 * misc/ualarm.c: Likewise.
28404 * misc/usleep.c: Likewise.
28405 * misc/ustat.c: Likewise.
28406 * misc/utimes.c: Likewise.
28407 * misc/vhangup.c: Likewise.
28408 * misc/writev.c: Likewise.
28409 * posix/_exit.c: Likewise.
28410 * posix/alarm.c: Likewise.
28411 * posix/execve.c: Likewise.
28412 * posix/fexecve.c: Likewise.
28413 * posix/fork.c: Likewise.
28414 * posix/fpathconf.c: Likewise.
28415 * posix/getaddrinfo.c: Likewise.
28416 * posix/getegid.c: Likewise.
28417 * posix/geteuid.c: Likewise.
28418 * posix/getgid.c: Likewise.
28419 * posix/getgroups.c: Likewise.
28420 * posix/getlogin.c: Likewise.
28421 * posix/getlogin_r.c: Likewise.
28422 * posix/getpgid.c: Likewise.
28423 * posix/getpid.c: Likewise.
28424 * posix/getppid.c: Likewise.
28425 * posix/getresgid.c: Likewise.
28426 * posix/getresuid.c: Likewise.
28427 * posix/getsid.c: Likewise.
28428 * posix/getuid.c: Likewise.
28429 * posix/glob64.c: Likewise.
28430 * posix/nanosleep.c: Likewise.
28431 * posix/pathconf.c: Likewise.
28432 * posix/pause.c: Likewise.
28433 * posix/posix_madvise.c: Likewise.
28434 * posix/pread.c: Likewise.
28435 * posix/pread64.c: Likewise.
28436 * posix/pwrite.c: Likewise.
28437 * posix/pwrite64.c: Likewise.
28438 * posix/sched_getaffinity.c: Likewise.
28439 * posix/sched_getp.c: Likewise.
28440 * posix/sched_gets.c: Likewise.
28441 * posix/sched_primax.c: Likewise.
28442 * posix/sched_primin.c: Likewise.
28443 * posix/sched_rr_gi.c: Likewise.
28444 * posix/sched_setaffinity.c: Likewise.
28445 * posix/sched_setp.c: Likewise.
28446 * posix/sched_sets.c: Likewise.
28447 * posix/sched_yield.c: Likewise.
28448 * posix/setgid.c: Likewise.
28449 * posix/setlogin.c: Likewise.
28450 * posix/setpgid.c: Likewise.
28451 * posix/setresgid.c: Likewise.
28452 * posix/setresuid.c: Likewise.
28453 * posix/setsid.c: Likewise.
28454 * posix/setuid.c: Likewise.
28455 * posix/sleep.c: Likewise.
28456 * posix/spawni.c: Likewise.
28457 * posix/sysconf.c: Likewise.
28458 * posix/times.c: Likewise.
28459 * posix/wait.c: Likewise.
28460 * posix/wait3.c: Likewise.
28461 * posix/wait4.c: Likewise.
28462 * posix/waitpid.c: Likewise.
28463 * resolv/gai_sigqueue.c: Likewise.
28464 * resource/getpriority.c: Likewise.
28465 * resource/getrlimit.c: Likewise.
28466 * resource/getrusage.c: Likewise.
28467 * resource/nice.c: Likewise.
28468 * resource/setpriority.c: Likewise.
28469 * resource/setrlimit.c: Likewise.
28470 * resource/ulimit.c: Likewise.
28471 * rt/aio_cancel.c: Likewise.
28472 * rt/aio_fsync.c: Likewise.
28473 * rt/aio_read.c: Likewise.
28474 * rt/aio_sigqueue.c: Likewise.
28475 * rt/aio_suspend.c: Likewise.
28476 * rt/aio_write.c: Likewise.
28477 * rt/clock_getres.c: Likewise.
28478 * rt/clock_gettime.c: Likewise.
28479 * rt/clock_nanosleep.c: Likewise.
28480 * rt/clock_settime.c: Likewise.
28481 * rt/lio_listio.c: Likewise.
28482 * rt/mq_close.c: Likewise.
28483 * rt/mq_getattr.c: Likewise.
28484 * rt/mq_notify.c: Likewise.
28485 * rt/mq_open.c: Likewise.
28486 * rt/mq_receive.c: Likewise.
28487 * rt/mq_send.c: Likewise.
28488 * rt/mq_setattr.c: Likewise.
28489 * rt/mq_timedreceive.c: Likewise.
28490 * rt/mq_timedsend.c: Likewise.
28491 * rt/mq_unlink.c: Likewise.
28492 * rt/shm_open.c: Likewise.
28493 * rt/shm_unlink.c: Likewise.
28494 * rt/timer_create.c: Likewise.
28495 * rt/timer_delete.c: Likewise.
28496 * rt/timer_getoverr.c: Likewise.
28497 * rt/timer_gettime.c: Likewise.
28498 * rt/timer_settime.c: Likewise.
28499 * setjmp/__longjmp.c: Likewise.
28500 * setjmp/setjmp.c: Likewise.
28501 * signal/kill.c: Likewise.
28502 * signal/killpg.c: Likewise.
28503 * signal/raise.c: Likewise.
28504 * signal/sigaction.c: Likewise.
28505 * signal/sigaltstack.c: Likewise.
28506 * signal/sigblock.c: Likewise.
28507 * signal/sigignore.c: Likewise.
28508 * signal/sigintr.c: Likewise.
28509 * signal/signal.c: Likewise.
28510 * signal/sigpause.c: Likewise.
28511 * signal/sigpending.c: Likewise.
28512 * signal/sigqueue.c: Likewise.
28513 * signal/sigreturn.c: Likewise.
28514 * signal/sigset.c: Likewise.
28515 * signal/sigsetmask.c: Likewise.
28516 * signal/sigstack.c: Likewise.
28517 * signal/sigsuspend.c: Likewise.
28518 * signal/sigtimedwait.c: Likewise.
28519 * signal/sigvec.c: Likewise.
28520 * signal/sigwait.c: Likewise.
28521 * signal/sigwaitinfo.c: Likewise.
28522 * signal/sysv_signal.c: Likewise.
28523 * socket/accept.c: Likewise.
28524 * socket/accept4.c: Likewise.
28525 * socket/bind.c: Likewise.
28526 * socket/connect.c: Likewise.
28527 * socket/getpeername.c: Likewise.
28528 * socket/getsockname.c: Likewise.
28529 * socket/getsockopt.c: Likewise.
28530 * socket/isfdtype.c: Likewise.
28531 * socket/listen.c: Likewise.
28532 * socket/recv.c: Likewise.
28533 * socket/recvfrom.c: Likewise.
28534 * socket/recvmsg.c: Likewise.
28535 * socket/send.c: Likewise.
28536 * socket/sendmsg.c: Likewise.
28537 * socket/sendto.c: Likewise.
28538 * socket/setsockopt.c: Likewise.
28539 * socket/shutdown.c: Likewise.
28540 * socket/sockatmark.c: Likewise.
28541 * socket/socket.c: Likewise.
28542 * socket/socketpair.c: Likewise.
28543 * stdio-common/ctermid.c: Likewise.
28544 * stdio-common/cuserid.c: Likewise.
28545 * stdio-common/remove.c: Likewise.
28546 * stdio-common/rename.c: Likewise.
28547 * stdio-common/renameat.c: Likewise.
28548 * stdio-common/tempname.c: Likewise.
28549 * stdlib/getcontext.c: Likewise.
28550 * stdlib/makecontext.c: Likewise.
28551 * stdlib/setcontext.c: Likewise.
28552 * stdlib/swapcontext.c: Likewise.
28553 * stdlib/system.c: Likewise.
28554 * streams/fattach.c: Likewise.
28555 * streams/fdetach.c: Likewise.
28556 * streams/getmsg.c: Likewise.
28557 * streams/getpmsg.c: Likewise.
28558 * streams/putmsg.c: Likewise.
28559 * streams/putpmsg.c: Likewise.
28560 * sysdeps/unix/bsd/getpt.c: Likewise.
28561 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28562 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28563 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28565 Likewise.
28566 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28567 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28568 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28569 * sysvipc/msgctl.c: Likewise.
28570 * sysvipc/msgget.c: Likewise.
28571 * sysvipc/msgrcv.c: Likewise.
28572 * sysvipc/msgsnd.c: Likewise.
28573 * sysvipc/semctl.c: Likewise.
28574 * sysvipc/semget.c: Likewise.
28575 * sysvipc/semop.c: Likewise.
28576 * sysvipc/semtimedop.c: Likewise.
28577 * sysvipc/shmat.c: Likewise.
28578 * sysvipc/shmctl.c: Likewise.
28579 * sysvipc/shmdt.c: Likewise.
28580 * sysvipc/shmget.c: Likewise.
28581 * termios/tcdrain.c: Likewise.
28582 * termios/tcflow.c: Likewise.
28583 * termios/tcflush.c: Likewise.
28584 * termios/tcgetattr.c: Likewise.
28585 * termios/tcgetpgrp.c: Likewise.
28586 * termios/tcsendbrk.c: Likewise.
28587 * termios/tcsetattr.c: Likewise.
28588 * termios/tcsetpgrp.c: Likewise.
28589 * time/adjtime.c: Likewise.
28590 * time/clock.c: Likewise.
28591 * time/getitimer.c: Likewise.
28592 * time/gettimeofday.c: Likewise.
28593 * time/setitimer.c: Likewise.
28594 * time/settimeofday.c: Likewise.
28595 * time/stime.c: Likewise.
28596 * time/time.c: Likewise.
28597
285982012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28599
a20492cf
PT
28600 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28601 /usr/old/bin.
28602
72e182e3
PT
28603 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28604 instead of spaces.
28605 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28606
fbeafede
JM
286072012-11-03 Joseph Myers <joseph@codesourcery.com>
28608
5b5b04d6
JM
28609 [BZ #14796]
28610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28611 FE_TONEAREST before applying Dekker multiplication and Knuth
28612 addition. Clear inexact exceptions and check for exact zero
28613 results afterwards.
28614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28615 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28617 * math/libm-test.inc (fma_test): Add more tests.
28618 (fma_test_towardzero): Likewise.
28619 (fma_test_downward): Likewise.
28620 (fma_test_upward): Likewise.
28621 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28622 function.
28623 (libc_fesetround): New macro.
28624 (libc_fesetroundf): Likewise.
28625 (libc_fesetroundl): Likewise.
28626 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28627 function.
28628 (libc_fesetround_387): Likewise.
28629 (libc_fesetroundf): New macro.
28630 (libc_fesetround): Likewise.
28631 (libc_fesetroundl): Likewise.
28632 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28633 function.
28634 (libc_fesetroundf): New macro.
28635 (libc_fesetround): Likewise.
28636 (libc_fesetroundl): Likewise.
28637 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28638 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28639 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28640 libm_hidden_ver.
28641 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28642 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28643 libm_hidden_def.
28644 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28645 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28646 libm_hidden_ver.
28647 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28648 libm_hidden_def.
28649
fbeafede
JM
28650 [BZ #3439]
28651 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28652 integer constant usable in #if and use that to give value to enum
28653 constant.
28654 (FE_DIVBYZERO): Likewise.
28655 (FE_UNDERFLOW): Likewise.
28656 (FE_OVERFLOW): Likewise.
28657 (FE_INVALID): Likewise.
28658 (FE_INVALID_SNAN): Likewise.
28659 (FE_INVALID_ISI): Likewise.
28660 (FE_INVALID_IDI): Likewise.
28661 (FE_INVALID_ZDZ): Likewise.
28662 (FE_INVALID_IMZ): Likewise.
28663 (FE_INVALID_COMPARE): Likewise.
28664 (FE_INVALID_SOFTWARE): Likewise.
28665 (FE_INVALID_SQRT): Likewise.
28666 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28667 (FE_TONEAREST): Likewise.
28668 (FE_TOWARDZERO): Likewise.
28669 (FE_UPWARD): Likewise.
28670 (FE_DOWNWARD): Likewise.
28671 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28672 (FE_DIVBYZERO): Likewise.
28673 (FE_OVERFLOW): Likewise.
28674 (FE_UNDERFLOW): Likewise.
28675 (FE_INEXACT): Likewise.
28676 (FE_TONEAREST): Likewise.
28677 (FE_DOWNWARD): Likewise.
28678 (FE_UPWARD): Likewise.
28679 (FE_TOWARDZERO): Likewise.
28680 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28681 (FE_UNDERFLOW): Likewise.
28682 (FE_OVERFLOW): Likewise.
28683 (FE_DIVBYZERO): Likewise.
28684 (FE_INVALID): Likewise.
28685 (FE_TONEAREST): Likewise.
28686 (FE_TOWARDZERO): Likewise.
28687 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28688 (FE_OVERFLOW): Likewise.
28689 (FE_UNDERFLOW): Likewise.
28690 (FE_DIVBYZERO): Likewise.
28691 (FE_INEXACT): Likewise.
28692 (FE_TONEAREST): Likewise.
28693 (FE_TOWARDZERO): Likewise.
28694 (FE_UPWARD): Likewise.
28695 (FE_DOWNWARD): Likewise.
28696 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28697 (FE_DIVBYZERO): Likewise.
28698 (FE_OVERFLOW): Likewise.
28699 (FE_UNDERFLOW): Likewise.
28700 (FE_INEXACT): Likewise.
28701 (FE_TONEAREST): Likewise.
28702 (FE_DOWNWARD): Likewise.
28703 (FE_UPWARD): Likewise.
28704 (FE_TOWARDZERO): Likewise.
28705
105ca950
CM
287062012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28707
28708 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28709
a542b389
AS
287102012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28711
28712 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28713 commands. Quote $PWD.
28714 (blacklist_exports): Don't use remove_newlines. Replace "declare
28715 -x" by "export".
28716 (remove_newlines): Remove.
28717
f62c8abc
L
287182012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28719
28720 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28721 * stdlib/stdlib.h (atof): Moved to ...
28722 * include/bits/stdlib-float.h: Here. New file.
28723 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28724 * stdlib/bits/stdlib-float.h: New file.
28725 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28726 -mno-sse -mno-mmx.
28727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28728 <xmmintrin.h>.
28729
0155d5b2
JM
287302012-11-02 Joseph Myers <joseph@codesourcery.com>
28731
a68d0680
JM
28732 * conform/conformtest.pl (@headers): Add fenv.h.
28733 * conform/data/fenv.h-data: New file.
28734 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28735 include of <math/fenv.h>.
28736
caf7f573
JM
28737 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28738 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28739 && !UNIX98]. Enables tests for XOPEN2K8.
28740 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28741 POSIX2008]: Likewise.
28742
6c073ad6
JM
28743 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28744 (struct rusage): Do not expect type or its members.
28745
0155d5b2
JM
28746 [BZ #3439]
28747 * math/math.h (FP_NAN): Define macro to integer constant usable in
28748 #if and use that to give value to enum constant.
28749 (FP_INFINITE): Likewise.
28750 (FP_ZERO): Likewise.
28751 (FP_SUBNORMAL): Likewise.
28752 (FP_NORMAL): Likewise.
28753
b5dcacb4
AS
287542012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28755
28756 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28757 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28758 arguments.
28759
f7934be8
RM
287602012-11-02 Roland McGrath <roland@hack.frob.com>
28761
28762 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28763 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28764 autoconf-time if not.
28765 * configure.in: Remove AC_PREREQ.
28766
d7d08bde
TMQMF
287672012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28768
28769 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28770 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28771 of the internal implementation.
28772
dcdae19a
JM
287732012-11-02 Joseph Myers <joseph@codesourcery.com>
28774
28775 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28776 except include of <misc/sys/syslog.h>.
28777
d6cffd3e
AS
287782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28779
28780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28781 function returns with a NULL context exit with zero.
28782
b3563932
TMQMF
287832012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28784
28785 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28786
b288a93d
L
287872012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28788
28789 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28790 (run_program_cmd): This.
28791 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28792 (tst_langinfo): New variable. Use it.
28793
a2421a68
SAS
287942012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28795
28796 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28797 floating point opcodes.
28798
6f796e1b
TS
287992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28800
7402596b
TS
28801 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28802 variable.
28803
d0d4f868
TS
28804 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28805
6f796e1b
TS
28806 * sysdeps/mach/hurd/powerpc: Remove directory.
28807 * sysdeps/mach/powerpc: Likewise.
28808
4da224a2
AS
288092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28810
28811 * scripts/check-local-headers.sh: Ignore c++ headers.
28812
341dd673
TS
288132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28814
28815 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28816 __libc_cleanup_region_start argument.
28817
473611b2
JM
288182012-11-01 Joseph Myers <joseph@codesourcery.com>
28819
28820 [BZ #14784]
28821 [BZ #14785]
28822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28823 x * y using scaling, not as x * y + z.
28824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28826 * math/libm-test.inc (fma_test): Add more tests.
28827 (fma_test_towardzero): Likewise.
28828 (fma_test_downward): Likewise.
28829 (fma_test_upward): Likewise.
28830
4078da3d
TS
288312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28832
28833 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28834
903252aa
JM
288352012-10-31 Joseph Myers <joseph@codesourcery.com>
28836
28837 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28838 New variable.
28839
cbc818d0
TS
288402012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28841
28842 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28843
5a03cb1e
AS
288442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28845
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28847 Fix sort order.
28848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28849 Likewise.
28850
90aff2ff
TMQMF
288512012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28852
28853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28854 Fix the order of the list for glibc 2.17.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28856 Likewise.
28857
1818fcb7
AS
288582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28859
28860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28861
ef82f4da
JM
288622012-10-31 Joseph Myers <joseph@codesourcery.com>
28863
16a0e2ec
JM
28864 [BZ #14610]
28865 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28866 for low part of x being zero before using __atanl (y).
28867 * math/libm-test.inc (atan2_test): Add another test.
28868
0eb69512
JM
28869 * manual/install.texi (Configuring and compiling): Document
28870 general use of test-wrapper and test-wrapper-env.
28871 * INSTALL: Regenerated.
28872
ef82f4da
JM
28873 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28874 (__fma): Do not extract and scale down low bits on after-rounding
28875 systems when result rounded to normal precision would have normal
28876 exponent.
28877 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28878 (__fmal): Do not extract and scale down low bits on after-rounding
28879 systems when result rounded to normal precision would have normal
28880 exponent.
28881 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28882 (__fmal): Do not extract and scale down low bits on after-rounding
28883 systems when result rounded to normal precision would have normal
28884 exponent.
28885 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28886 macro.
28887 (fma_test): Add more tests.
28888 (fma_test_towardzero): Likewise.
28889 (fma_test_downward): Likewise.
28890 (fma_test_upward): Likewise.
28891
954ef0d9
L
288922012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28893
28894 * sysdeps/i386/tininess.h: Renamed to ...
28895 * sysdeps/x86/tininess.h: This.
28896 * sysdeps/x86_64/tininess.h: Removed.
28897
df61ffb2
JM
288982012-10-30 Joseph Myers <joseph@codesourcery.com>
28899
28900 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28901 input. Use $(build-program-cmd).
28902 ($(objpfx)tst-array1-static.out): Likewise.
28903 ($(objpfx)tst-array2.out): Likewise.
28904 ($(objpfx)tst-array3.out): Likewise.
28905 ($(objpfx)tst-array4.out): Likewise.
28906 ($(objpfx)tst-array5.out): Likewise.
28907 ($(objpfx)tst-array5-static.out): Likewise.
28908
01767843
CM
289092012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28910
47cc1490
CM
28911 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28912 if defined.
28913
01767843
CM
28914 * nss/nsswitch.h (nss_interface_function): Provide new
28915 macro for use with NSS functions.
28916 * grp/initgroups.c: Use new macro.
28917 * nss/getXXbyYY.c: Likewise.
28918 * nss/getXXbyYY_r.c: Likewise.
28919 * nss/getXXent.c: Likewise.
28920 * nss/getXXent_r.c: Likewise.
28921 * sysdeps/posix/getaddrinfo.c: Likewise.
28922
8321aa97
AJ
289232012-10-30 Andreas Jaeger <aj@suse.de>
28924
28925 * po/ru.po: Update Russion translation from translation project.
28926
2a27fd6d
JM
289272012-10-30 Joseph Myers <joseph@codesourcery.com>
28928
8627a232
JM
28929 [BZ #14152]
28930 [BZ #14783]
28931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28932 result and shift together with sticky bit instead of replicating
28933 round-to-nearest rounding.
28934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28936 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28937 missing underflow exceptions.
28938 (fma_test_towardzero): Add more tests.
28939 (fma_test_downward): Likewise.
28940 (fma_test_upward): Likewise.
28941
2a27fd6d
JM
28942 [BZ #14047]
28943 * sysdeps/generic/tininess.h: New file.
28944 * sysdeps/i386/tininess.h: Likewise.
28945 * sysdeps/sh/tininess.h: Likewise.
28946 * sysdeps/x86_64/tininess.h: Likewise.
28947 * stdlib/tst-strtod-underflow.c: Likewise.
28948 * stdlib/tst-tininess.c: Likewise.
28949 * stdlib/strtod_l.c: Include <tininess.h>.
28950 (round_and_return): Do not set errno for exact underflow cases.
28951 Force an underflow exception when setting errno for underflow.
28952 Determine underflow based on rounding to normal precision if
28953 TININESS_AFTER_ROUNDING.
28954 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28955 ERANGE for exact underflow cases.
28956 * stdlib/Makefile (tests): Add tst-tininess and
28957 tst-strtod-underflow.
28958 ($(objpfx)tst-tininess): Use $(link-libm).
28959 ($(objpfx)tst-strtod-underflow): Likewise.
28960
e7170363
AJ
289612012-10-30 Andreas Jaeger <aj@suse.de>
28962
e5088dc6
AJ
28963 [BZ#14767]
28964 * elf/Makefile (tests): Remove conditional for have-initfini-array
28965 since this is now always required and the variable does not exist
28966 anymore.
28967 (tests-static): Likewise.
28968 (modules-names): Likewise.
28969
e7170363 28970 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28971
28972 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28973 merged with constructor/destructor.
28974 (init_array): Likewise.
28975 * elf/tst-array2dep.c (fini_array): Likewise.
28976 (init_array): Likewise.
28977
60457d8a
MF
289782012-10-29 Mike Frysinger <vapier@gentoo.org>
28979
28980 * manual/message.texi: Delete @cartouche tags.
28981
8bece752
PT
289822012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28983
94ce799f
PT
28984 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28985 EOPNOTSUPP.
28986 * sysdeps/mach/hurd/fsync.c: Likewise.
28987
8bece752
PT
28988 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28989 [_POSIX_REALTIME_SIGNALS]: Change condition to
28990 [_POSIX_REALTIME_SIGNALS > 0].
28991
86ebe6b1
AJ
289922012-10-27 Andreas Jaeger <aj@suse.de>
28993
28994 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28995 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28997 [__WORDSIZE != 64]: Likewise.
28998
54399c08
L
289992012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29000
29001 * iconvdata/tst-table.sh: Remove ${SHELL}.
29002 * iconvdata/tst-tables.sh: Likewise.
29003
e2211bed
DM
290042012-10-25 David S. Miller <davem@davemloft.net>
29005
29006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29007 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29008 of strtoull.
29009
f303f97c
DM
29010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29011 ifunc-impl-list.c
29012 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29013 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29014 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29015 file.
29016
1e9d84cd
RM
290172012-10-25 Roland McGrath <roland@hack.frob.com>
29018
29019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29020 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29021 __getdirentries.
29022
df381762
JM
290232012-10-25 Joseph Myers <joseph@codesourcery.com>
29024 Jim Blandy <jimb@codesourcery.com>
29025
29026 * scripts/cross-test-ssh.sh: New file.
29027 * manual/install.texi (Configuring and compiling): Document use of
29028 cross-test-ssh.sh.
29029 * INSTALL: Regenerated.
29030
bff64913
PT
290312012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29032
29033 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29034 EOPNOTSUPP.
29035
25fe8932
JM
290362012-10-25 Joseph Myers <joseph@codesourcery.com>
29037
29038 * Makeconfig (run-program-prefix): Fix comment.
29039
cc1290d0
JM
290402012-10-24 Joseph Myers <joseph@codesourcery.com>
29041 Jim Blandy <jimb@codesourcery.com>
29042
29043 * Makeconfig (test-wrapper): New variable,
29044 (test-wrapper-env): Likewise.
29045 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29046 (run-built-tests): Define to yes.
29047 (run-program-prefix): Use $(test-wrapper).
29048 (built-program-cmd): Likewise.
29049 * Rules (make-test-out): Use $(test-wrapper-env) and
29050 $(host-built-program-cmd).
29051 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29052 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29053 tst-pathopt.sh.
29054 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29055 $(test-wrapper-env) to tst-rtld-load-self.sh.
29056 ($(objpfx)order2.out): Use $(test-wrapper).
29057 ($(objpfx)tst-initorder.out): Likewise.
29058 ($(objpfx)tst-initorder2.out): Likewise.
29059 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29060 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29061 (test_wrapper_env): New variable. Use it to run ld.so.
29062 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29063 Use it to run ld.so.
29064 (test_wrapper_env): Likewise.
29065 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29066 $(test-wrapper) to run-iconv-test.sh.
29067 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29068 (ICONV): Use $test_wrapper.
29069 * posix/Makefile ($(objpfx)globtest.out): Pass
29070 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29071 globtest.sh, not $(run-program-prefix).
29072 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29073 (test_wrapper): Likewise.
29074 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29075 set together with run_via_rtld_prefix.
29076 (run_program_prefix): Define in terms of test_wrapper and
29077 run_via_rtld_prefix.
29078
6e6249d0
RM
290792012-10-24 Roland McGrath <roland@hack.frob.com>
29080
29081 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29082 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29083 Targets removed.
29084
29085 [BZ #14743]
29086 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29087 Declare __clock_getres, __clock_gettime, __clock_settime,
29088 __clock_nanosleep, and __clock_getcpuclockid.
29089 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29090 Remove librt_hidden_def (clock_gettime).
29091 * sysdeps/unix/clock_gettime.c: Likewise.
29092 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29094 * rt/clock_getres.c: Define __clock_getres as an alias.
29095 * sysdeps/posix/clock_getres.c: Likewise.
29096 * rt/clock_settime.c: Define __clock_settime as an alias.
29097 * sysdeps/unix/clock_settime.c: Likewise.
29098 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29099 * sysdeps/unix/clock_nanosleep.c: Likewise.
29100 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29101 * rt/clock-compat.c: New file.
29102 * rt/Makefile (librt-routines): Add clock-compat and move
29103 $(clock-routines) to ...
29104 (routines): ... here, new variable.
29105 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29106 Don't add get_clockfreq here.
29107 * rt/Versions (libc: GLIBC_2.17): New version set.
29108 Add clock_* symbols here.
29109 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29111 (GLIBC_2.17): Add clock_* symbols.
29112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29116 Likewise.
29117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29118 Likewise.
29119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29123 * NEWS: Mention the move.
29124
29125 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29126 Use __open, __read, __close rather than their public counterparts.
29127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29128 (__get_clockfreq_via_cpuinfo): Likewise.
29129 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29130 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29131
29132 * config.h.in (HAVE_IFUNC): New #undef.
29133 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29134 was successful.
29135 * configure: Regenerated.
29136
0cae3f4b
MF
291372012-10-24 Mike Frysinger <vapier@gentoo.org>
29138
29139 * configure.in: Move READELF check to start of file.
29140 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29141 libc_cv_asm_gnu_indirect_function in the process.
29142 * configure: Regenerated.
29143
8175a253
MF
291442012-10-24 Mike Frysinger <vapier@gentoo.org>
29145
29146 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29147 send the output to /dev/null.
29148 (libc_cv_cc_with_libunwind): Likewise.
29149 (libc_cv_as_noexecstack): Likewise.
29150 * configure: Regenerate.
29151
0708a7d1
JM
291522012-10-24 Joseph Myers <joseph@codesourcery.com>
29153
10b40d85
JM
29154 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29155
0708a7d1
JM
29156 * posix/globtest.sh (TMPDIR): Do not set.
29157 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29158 (testout): Likewise.
29159
9fddec1a
AJ
291602012-10-24 Andreas Jaeger <aj@suse.de>
29161
3a8db22f
AJ
29162 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29163 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29164 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29165 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29166 posix_fadvise64, posix_fallocate64.
29167
9fddec1a
AJ
29168 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29169 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29170 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29171 Likewise.
29172 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29173 Likewise.
29174 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29175
29176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29177 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29178 <bits/fcntl-linux.h>.
29179 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29180
29181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29182 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29183 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29184 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29185 [__WORDSIZE != 64]: Likewise.
29186
ebfd1bbd
JM
291872012-10-23 Joseph Myers <joseph@codesourcery.com>
29188
03ac099f
JM
29189 * Makeconfig (run-built-tests): New variable.
29190 * Rules [$(cross-compiling) = yes]: Change condition to
29191 [$(run-built-tests) = no].
29192 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29193 to [$(run-built-tests) = yes].
29194 * elf/Makefile [$(cross-compiling) = no]: Likewise
29195 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29196 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29197 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29198 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29199 * io/Makefile [$(cross-compiling) = no]: Likewise.
29200 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29201 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29202 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29203 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29204 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29205 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29206 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29207 * string/Makefile [$(cross-compiling) = no]: Likewise.
29208
ebfd1bbd
JM
29209 * posix/Makefile ($(objpfx)globtest.out): Pass
29210 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29211 $(rtld-installed-name).
29212 * posix/globtest.sh (elf_objpfx): Remove variable.
29213 (rtld_installed_name): Likewise.
29214 (library_path): Likewise.
29215 (run_program_prefix): New variable. Use for running globtest
29216 binary.
29217
166bca24
JB
292182012-10-23 Jim Blandy <jimb@codesourcery.com>
29219 Joseph Myers <joseph@codesourcery.com>
29220
29221 * Makeconfig (host-built-program-cmd): New variable.
29222 * elf/Makefile (tst-stackguard1-ARGS): Use
29223 $(host-built-program-cmd).
29224 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29225 (tst-spawn-ARGS): Likewise.
29226 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29227
88866099
JM
292282012-10-23 Joseph Myers <joseph@codesourcery.com>
29229 Jim Blandy <jimb@codesourcery.com>
29230
29231 * Makeconfig (run-via-rtld-prefix): New variable.
29232 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29233 (built-program-cmd): Likewise.
29234
b4b4c296
AJ
292352012-10-22 Andreas Jaeger <aj@suse.de>
29236
29237 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29238 __O_RSYNC if it exists, otherwise to O_SYNC.
29239
6fb54a22
JB
292402012-10-22 Jim Blandy <jimb@codesourcery.com>
29241 Joseph Myers <joseph@codesourcery.com>
29242
29243 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29244 /dev/null.
29245 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29246 from /dev/null
29247 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29248 /dev/null.
29249
481b90b9
AJ
292502012-10-22 Andreas Jaeger <aj@suse.de>
29251
2a0e2669
AJ
29252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29253 Define always.
29254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29255
76e38f9a
AJ
29256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29257 bits/fcntl-linux.h.
29258
7cd37b43
AJ
29259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29260 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29261
481b90b9
AJ
29262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29263 to __O_LARGEFILE.
29264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29265 to __O_LARGEFILE.
29266
aba75984
JB
292672012-10-21 Jim Blandy <jimb@codesourcery.com>
29268 Joseph Myers <joseph@codesourcery.com>
29269
29270 * config.make.in (NM): New variable.
29271
88d4247f
AJ
292722012-10-21 Andreas Jaeger <aj@suse.de>
29273
29274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29275 definitions and declarations that are provided by
29276 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29277
f2eed205
L
292782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29279
29280 [BZ #14683]
29281 * elf/Makefile (tests-static): Add tst-leaks1-static.
29282 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29283 ($(objpfx)tst-leaks1-static): New rule.
29284 ($(objpfx)tst-leaks1-static-mem): Likewise.
29285 (tst-leaks1-static-ENV): New macro.
29286 * elf/dl-open.c (dl_open_worker): Check the main application
29287 only if SHARED is defined.
29288 * elf/tst-leaks1-static.c: New file.
29289
335e6931
AJ
292902012-10-20 Andreas Jaeger <aj@suse.de>
29291
29292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29293 generic values for Linux.
29294 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29295 and declarations that are provided by <bits/fcntl-linux.h> and
29296 include <bits/fcntl-linux.h>.
29297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29299
ac5c94d3
RM
293002012-10-20 Roland McGrath <roland@hack.frob.com>
29301
29302 * io/fcntl.h: Move include of <bits/types.h> to the top and
29303 include it unconditionally.
29304
de54b33a
L
293052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29306
228cfb01
L
29307 * wcsmbs/Makefile (tests-ifunc): New variable.
29308 (tests): Add $(tests-ifunc).
29309 * wcsmbs/test-wcschr-ifunc.c: New file.
29310 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29311 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29312 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29313 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29314 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29315
69f07e5f
L
29316 * string/Makefile (tests-ifunc): New variable.
29317 (tests): Add $(tests-ifunc).
29318 * string/test-memccpy.c (TEST_NAME): New macro.
29319 * string/test-memchr.c (TEST_NAME): Likewise.
29320 * string/test-memcmp.c (TEST_NAME): Likewise.
29321 * string/test-memcpy.c (TEST_NAME): Likewise.
29322 * string/test-memmem.c (TEST_NAME): Likewise.
29323 * string/test-memmove.c (TEST_NAME): Likewise.
29324 * string/test-memset.c (TEST_NAME): Likewise.
29325 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29326 * string/test-stpcpy.c (TEST_NAME): Likewise.
29327 * string/test-stpncpy.c (TEST_NAME): Likewise.
29328 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29329 * string/test-strcasestr.c (TEST_NAME): Likewise.
29330 * string/test-strcat.c (TEST_NAME): Likewise.
29331 * string/test-strchr.c (TEST_NAME): Likewise.
29332 * string/test-strcmp.c(TEST_NAME): Likewise.
29333 * string/test-strcpy.c (TEST_NAME): Likewise.
29334 * string/test-strcspn.c (TEST_NAME): Likewise.
29335 * string/test-strlen.c (TEST_NAME): Likewise.
29336 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29337 * string/test-strncmp.c (TEST_NAME): Likewise.
29338 * string/test-strncpy.c (TEST_NAME): Likewise.
29339 * string/test-strnlen.c (TEST_NAME): Likewise.
29340 * string/test-strpbrk.c (TEST_NAME): Likewise.
29341 * string/test-strrchr.c (TEST_NAME): Likewise.
29342 * string/test-strspn.c (TEST_NAME): Likewise.
29343 * string/test-strstr.c (TEST_NAME): Likewise.
29344 * string/test-bcopy-ifunc.c: New file.
29345 * string/test-bzero-ifunc.c: Likewise.
29346 * string/test-memccpy-ifunc.c: Likewise.
29347 * string/test-memchr-ifunc.c: Likewise.
29348 * string/test-memcmp-ifunc.c: Likewise.
29349 * string/test-memcpy-ifunc.c: Likewise.
29350 * string/test-memmem-ifunc.c: Likewise.
29351 * string/test-memmove-ifunc.c: Likewise.
29352 * string/test-mempcpy-ifunc.c: Likewise.
29353 * string/test-memset-ifunc.c: Likewise.
29354 * string/test-rawmemchr-ifunc.c: Likewise.
29355 * string/test-stpcpy-ifunc.c: Likewise.
29356 * string/test-stpncpy-ifunc.c: Likewise.
29357 * string/test-strcasecmp-ifunc.c: Likewise.
29358 * string/test-strcasestr-ifunc.c: Likewise.
29359 * string/test-strcat-ifunc.c: Likewise.
29360 * string/test-strchr-ifunc.c: Likewise.
29361 * string/test-strchrnul-ifunc.c: Likewise.
29362 * string/test-strcmp-ifunc.c: Likewise.
29363 * string/test-strcpy-ifunc.c: Likewise.
29364 * string/test-strcspn-ifunc.c: Likewise.
29365 * string/test-strlen-ifunc.c: Likewise.
29366 * string/test-strncasecmp-ifunc.c: Likewise.
29367 * string/test-strncat-ifunc.c: Likewise.
29368 * string/test-strncmp-ifunc.c: Likewise.
29369 * string/test-strncpy-ifunc.c: Likewise.
29370 * string/test-strnlen-ifunc.c: Likewise.
29371 * string/test-strpbrk-ifunc.c: Likewise.
29372 * string/test-strrchr-ifunc.c: Likewise.
29373 * string/test-strspn-ifunc.c: Likewise.
29374 * string/test-strstr-ifunc.c: Likewise.
29375
de54b33a
L
29376 * debug/Makefile (tests-ifunc): New variable.
29377 (tests): Add $(tests-ifunc).
29378 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29379 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29380 * debug/test-stpcpy_chk-ifunc.c: New file.
29381 * debug/test-strcpy_chk-ifunc.c: Likewise.
29382
88481c16
SP
293832012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29384
29385 [BZ #13601]
29386 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29387 header is not read in.
29388
135948bd
JM
293892012-10-19 Joseph Myers <joseph@codesourcery.com>
29390
89f1c388
JM
29391 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29392 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29393 directly. Pass built executable to script as
29394 $(built-program-cmd).
29395 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29396 $testprogram without using LD_LIBRARY_PATH and $ldso.
29397
e40a0d21
JM
29398 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29399 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29400 $(rtld-installed-name).
29401 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29402 (rtld_installed_name): Likewise.
29403 (library_path): Likewise.
29404 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29405 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29406 $(run-program-prefix) to tst-tables.sh.
29407 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29408 it to run tst-table-from and tst-table-to.
29409 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29410 Pass it to tst-table.sh.
29411 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29412 $(run-program-prefix) to tst-gettext.sh.
29413 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29414 tst-translit.sh.
29415 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29416 tst-gettext2.sh.
29417 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29418 to run tst-gettext.
29419 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29420 to run tst-gettext2.
29421 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29422 to run tst-translit.
29423 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29424 $(run-program-prefix) to tst-mtrace.sh.
29425 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29426 to run tst-mtrace.
29427 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29428 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29429 $(rtld-installed-name).
29430 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29431 (rtld_installed_name): Likewise.
29432 (run_program_prefix): New variable. Use it to run wordexp-test.
29433
728e272a
JM
29434 * Makeconfig (ARCH): Remove all definitions.
29435 (machine): Likewise.
29436 [ARCH]: Remove conditional code.
29437 [!objdir]: Give error.
29438 [!objdir] (objpfx): Remove.
29439 [!objdir] (common-objpfx): Likewise.
29440 [!objdir] (common-objdir): Likewise.
29441 * configure.in (config_makefile): Remove. Hardcode Makefile in
29442 AC_CONFIG_FILES call.
29443 * configure: Regenerated.
29444
d528cdcf
JM
29445 [BZ #13888]
29446 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29447 or TMPDIR.
29448 (testout): Likewise.
29449
135948bd
JM
29450 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29451 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29452 $(rtld-installed-name).
29453 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29454 (rtld_installed_name): Likwise.
29455 (runit): Remove function.
29456 (run_getconf): New variable, Use it for running getconf binary.
29457
38c78296
L
294582012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29459
29460 [BZ #14716]
29461 * string/test-memmem.c (check_result): New function.
29462 (do_one_test): Use it.
29463 (check1): New function.
29464 (test_main): Use it.
29465
d077f65f
MT
294662012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29467
29468 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29469
ced52c71
JM
294702012-10-18 Joseph Myers <joseph@codesourcery.com>
29471
29472 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29473 (_G_LSEEK64): Likewise.
29474 (_G_MMAP64): Likewise.
29475 (_G_FSTAT64): Likewise.
29476 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29477 (_G_LSEEK64): Likewise.
29478 (_G_MMAP64): Likewise.
29479 (_G_FSTAT64): Likewise.
29480 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29481 unconditional. Call __mmap64 directly.
29482 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29483 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29484 __lseek64 directly.
29485 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29486 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29487 __mmap64 directly.
29488 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29489 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29490 __lseek64 directly.
29491 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29492 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29493 __lseek64 directly.
29494 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29495 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29496 __lseek64 directly.
29497 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29498 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29499 __fxstat64 directly.
29500 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29501 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29502 unconditional.
29503 (freopen64) [!_G_OPEN64]: Remove conditional code.
29504 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29505 unconditional.
29506 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29507 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29508 unconditional.
29509 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29510 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29511 unconditional.
29512 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29513 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29514 unconditional.
29515 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29516 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29517 unconditional.
29518 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29519 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29520 unconditional.
29521 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29522 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29523 unconditional.
29524 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29525
b741de23
SP
295262012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29527
29528 [BZ #12140]
29529 * manual/memory.texi (Malloc Tunable Parameters): Add note
29530 about free list pointers overwriting some perturb bytes.
29531 Wording suggested by Roland McGrath.
29532
f9b9d9c9
JM
295332012-10-17 Joseph Myers <joseph@codesourcery.com>
29534
29535 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29536 (lgamma_test): Likewise.
29537 (tgamma_test): Likewise.
29538
172a631a
FW
295392012-10-16 Florian Weimer <fweimer@redhat.com>
29540
29541 [BZ #14700]
29542 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29543 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29544
e9f37252
MK
295452012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29546
29547 * NEWS: Mention BZ #14716.
29548 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29549 when removing AVAILABLE1_USES_J macro.
29550
d394eb74
L
295512012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29552
29553 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29554 (__bswap_64): __uint64_t for unsigned 64-bit int.
29555
ca38dc17
AS
295562012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29557
29558 * include/string.h (memmem): Declare libc hidden alias.
29559 * string/memmem.c (memmem): Define libc hidden alias.
29560 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29561 __read, __close instead of open, read, close.
29562
9a387d1f
L
295632012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29564
ac49ecaf
L
29565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29566 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29567 global and hidden.
29568 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29569 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29570 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29571 Likewise.
29572 (__rawmemchr_sse2): Likewise.
29573 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29574 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29575 (__strchr_sse2): Likewise.
29576 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29577 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29578 (__strcasecmp_sse2): Likewise.
29579 (__strncasecmp_sse2): Likewise.
29580 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29581 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29582 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29583 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29584 (__strrchr_sse2): Likewise.
29585 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29586 ifunc-impl-list.c.
29587 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29588 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29589 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29590 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29591 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29592 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29593 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29594 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29595 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29596 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29597 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29598 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29599 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29600 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29601 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29602 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29603 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29604 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29605 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29606 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29607 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29608 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29609 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29610 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29611 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29612 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29613 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29614 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29615 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29616 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29617
b090e8ea
L
29618 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29619 global and hidden.
29620 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29621 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29622 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29623 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29624 Likewise.
29625 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29626 Likewise.
29627 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29628 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29629 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29630 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29631 ifunc-impl-list.c.
29632 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29633 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29634 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29635 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29636 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29637 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29638 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29639 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29640 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29641 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29642 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29643 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29644 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29645 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29646 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29647 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29648 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29649 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29650 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29651 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29652 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29653 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29654 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29655 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29656 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29657 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29658 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29659 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29660 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29661 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29662 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29663 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29664 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29665 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29666 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29667 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29668 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29669 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29670 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29671 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29672 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29673
11dd4af6
L
29674 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29675 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29676 * include/ifunc-impl-list.h: New file.
29677 * misc/ifunc-impl-list.c: Likewise.
29678 * misc/Makefile (routines): Add ifunc-impl-list.
29679 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29680 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29681 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29682 TEST_NAME]: New variables.
11dd4af6
L
29683 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29684 are defined.
29685 (test_init): Call __libc_ifunc_impl_list to initialize
29686 func_list if TEST_IFUNC and TEST_NAME are defined.
29687
9a387d1f
L
29688 * string/Makefile (strop-tests): Add bcopy and bzero.
29689 * string/test-bcopy.c: New file.
29690 * string/test-bzero.c: Likewise.
29691 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29692 defined.
29693 * string/test-memset.c: Support bzero test if TEST_BZERO is
29694 defined.
29695 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29696 __libc_memmove.
29697 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29698 __libc_memset.
29699 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29700 of memset.
29701
472371b9
JM
297022012-10-10 Joseph Myers <joseph@codesourcery.com>
29703
1e4a9536
JM
29704 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29705 * configure: Regenerated.
29706
d173d12e
JM
29707 * Makeconfig (+link-static-before-libc): Don't include
29708 $(link-static-libc).
29709
472371b9
JM
29710 * libio/libio.h (_IO_pos_t): Remove.
29711
89a3ad0b
AO
297122012-10-10 Alexandre Oliva <aoliva@redhat.com>
29713
29714 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29715 McGrath.
29716
e7451425
AO
297172012-10-10 Alexandre Oliva <aoliva@redhat.com>
29718
29719 * crypt/crypt-entry.c: Include fips-private.h.
29720 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29721 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29722 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29723 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29724
4ba74a35
AO
297252012-10-10 Alexandre Oliva <aoliva@redhat.com>
29726
29727 * crypt/crypt-private.h: Include stdbool.h.
29728 (_ufc_setup_salt_r): Return bool.
29729 * crypt/crypt-entry.c: Include errno.h.
29730 (__crypt_r): Return NULL with EINVAL for bad salt.
29731 * crypt/crypt_util.c (bad_for_salt): New.
29732 (_ufc_setup_salt_r): Check that salt is long enough and within
29733 the specified alphabet.
29734 * crypt/badsalttest.c: New file.
29735 * crypt/Makefile (tests): Add it.
29736 ($(objpfx)badsalttest): New.
29737
f96f1242
MK
297382012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29739
29740 * NEWS: Add entry for BZ #14602.
29741
0e8e0c1c
JM
297422012-10-09 Joseph Myers <joseph@codesourcery.com>
29743
29744 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29745 type-generic.
29746 * math/libm-test.inc: Update comment listing what functions and
29747 macros are tested.
29748 (isgreater_test): New function.
29749 (isgreaterequal_test): Likewise.
29750 (isless_test): Likewise.
29751 (islessequal_test): Likewise.
29752 (islessgreater_test): Likewise.
29753 (isunordered_test): Likewise.
29754 (main): Call the new functions.
29755
273edc5e
RM
297562012-10-09 Roland McGrath <roland@hack.frob.com>
29757
b8493de0
RM
29758 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29759 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29760 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29761 * sysdeps/i386/configure: Regenerated.
29762 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29763 * sysdeps/mach/configure: Regenerated.
29764 * sysdeps/mach/hurd/configure: Regenerated.
29765 * sysdeps/powerpc/configure: Regenerated.
29766 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29767 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29768 * sysdeps/s390/s390-32/configure: Regenerated.
29769 * sysdeps/s390/s390-64/configure: Regenerated.
29770 * sysdeps/sh/configure: Regenerated.
29771 * sysdeps/sparc/configure: Regenerated.
29772 * sysdeps/unix/sysv/linux/configure: Regenerated.
29773 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29774 * sysdeps/x86_64/configure: Regenerated.
29775
273edc5e
RM
29776 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29777 defined. Don't check if MAP is NULL.
29778
c8450f70
JM
297792012-10-09 Joseph Myers <joseph@codesourcery.com>
29780
29781 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29782 (_G_stat64): Likewise.
29783 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29784 (_G_stat64): Likewise.
29785 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29786 instead of struct _G_stat64.
29787 * libio/fileops.c (mmap_remap_check): Likewise.
29788 (decide_maybe_mmap): Likewise.
29789 (_IO_new_file_seekoff): Likewise.
29790 (_IO_file_stat): Likewise.
29791 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29792 _G_off64_t.
29793 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29794 instead of struct _G_stat64.
29795 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29796
57e605ba
MK
297972012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29798
29799 [BZ #14602]
29800 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29801 Replace with ...
29802 (CHECK_EOL): New macro.
29803 (two_way_short_needle): Check beginning of haystack for EOL. Use
29804 CHECK_EOL.
29805 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29806 Replace with CHECK_EOL.
29807 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29808 Replace with CHECK_EOL.
29809
ef1bb361
JM
298102012-10-08 Joseph Myers <joseph@codesourcery.com>
29811
29812 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29813 type-generic.
29814 * math/libm-test.inc: Update comment listing what functions and
29815 macros are tested.
29816 (finite_test): New function.
29817 (isinf_test): Likewise.
29818 (isnan_test): Likewise.
29819 (fpclassify_test): Test subnormal input.
29820 (isfinite_test): Likewise.
29821 (isnormal_test): Likewise.
29822 (main): Call the new functions.
29823
55f11534
JN
298242012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29825
29826 [BZ #14660]
29827 * Makerules (%.dynsym): Force C locale when running
29828 $(OBJDUMP) --dynamic-syms.
29829
1ab29350
AS
298302012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29831
29832 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29833 <stdint.h>.
29834
f1ecb7ef
DM
298352012-10-06 David S. Miller <davem@davemloft.net>
29836
29837 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29838 upper 32-bits of the length value in %o2 since we use branch-on-register
29839 tests which consider the entire 64-bit register.
29840
5d41d91a
L
298412012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29842
29843 * string/test-strstr.c (check2): Add a test for page boundary.
29844
3baddb72
DM
298452012-10-05 David S. Miller <davem@davemloft.net>
29846
29847 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29848 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29849 file.
29850 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29851 sysdep_routines.
29852 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29853 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29854 and bzero when HWCAP_SPARC_CRYPTO is present.
29855
9cee5585
L
298562012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29857
d7e0dab9
L
29858 [BZ #14602]
29859 * string/test-strstr.c (check2): New function.
29860 (test_main): Call check2.
29861
03759f47
L
29862 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29863 and bug-strchr1.
29864 * string/bug-strcasestr1.c (do_test): Moved to ...
29865 * string/test-strcasestr.c (check1): Here. New function.
29866 (do_one_test): Break out result checking code into ...
29867 (check_result): This. New function.
29868 (do_one_test): Call check_result.
29869 (test_main): Call check1.
29870 * string/bug-strchr1.c (do_test): Moved to ...
29871 * string/test-strchr.c (check1): Here. New function.
29872 (do_one_test): Break out result checking code into ...
29873 (check_result): This. New function.
29874 (do_one_test): Call check_result.
29875 (test_main): Call check1.
29876 * string/bug-strstr1.c (main): Moved to ...
046f153e 29877 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29878 (do_one_test): Break out result checking code into ...
29879 (check_result): This. New function.
29880 (do_one_test): Call check_result.
29881 (test_main): Call check1.
29882 * string/bug-strcasestr1.c: Removed.
29883 * string/bug-strchr1.c: Likewise.
29884 * string/bug-strstr1.c: Likewise.
29885
53cea63e
L
29886 * elf/Makefile (dl-routines): Add hwcaps.
29887 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29888 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29889 (_dl_important_hwcaps): Moved to ...
29890 * elf/dl-hwcaps.c: Here. New file.
29891 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29892
9cee5585 29893 [BZ #14557]
bb859b06
L
29894 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29895 if IS_IN_rtld isn't defined.
29896
9cee5585
L
29897 * elf/dl-support.c (_dl_sysinfo_map): New.
29898 Include "get-dynamic-info.h" and "setup-vdso.h".
29899 (_dl_non_dynamic_init): Call setup_vdso.
29900 * elf/dynamic-link.h: Don't include <assert.h>.
29901 (elf_get_dynamic_info): Moved to ...
29902 * elf/get-dynamic-info.h: Here. New file.
29903 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29904 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29905 * elf/setup-vdso.h: Here. New file.
29906 * elf/rtld.c: Include "setup-vdso.h".
29907 (dl_main): Call setup_vdso.
29908
23c31b76
JM
299092012-10-05 Joseph Myers <joseph@codesourcery.com>
29910
28234b07
JM
29911 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29912 creal in comment listing functions tested. List finite, isinf,
29913 isnan, isless, islessequal, isgreater, isgreaterequal,
29914 islessgreater, isunordered, lgamma_r and pow10 as functions and
29915 macros not tested. Mention which functions not tested are aliases
29916 for other functions. Fix typo. Note that signs of NaNs are not
29917 tested.
29918
23c31b76
JM
29919 * scripts/config.guess: Update from config.git.
29920 * scripts/config.sub: Likewise.
29921
9043e228
RM
299222012-10-04 Roland McGrath <roland@hack.frob.com>
29923
29924 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29925 * misc/madvise.c (madvise): Renamed to __madvise.
29926 Make madvise a weak alias.
29927 * include/sys/mman.h: Declare __madvise.
29928 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29929 * sysdeps/unix/syscalls.list
29930 (madvise): Make __madvise the strong name, and madvise a weak alias.
29931 * sysdeps/unix/sysv/linux/syscalls.list
29932 (madvise, mmap): Remove redundant entries.
29933 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29934 * malloc/malloc.c (mtrim): Likewise.
29935 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29936
f57f8055
RM
299372012-10-03 Roland McGrath <roland@hack.frob.com>
29938
29939 * sysdeps/mach/hurd/dl-cache.c: File removed.
29940 * config.h.in (USE_LDCONFIG): New #undef.
29941 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29942 * configure: Regenerated.
29943 * elf/Makefile (dl-routines): Add dl-cache only under
29944 [$(use-ldconfig) = yes].
29945 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29946 cache on [USE_LDCONFIG].
29947 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29948 [USE_LDCONFIG].
29949 * elf/rtld.c (dl_main): Likewise.
29950
5bb0c10a
PT
299512012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29952
29953 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29954 _SC_LEVEL4_CACHE_LINESIZE.
29955
010188c6
RM
299562012-10-03 Roland McGrath <roland@hack.frob.com>
29957
29958 * sysdeps/unix/bsd/confstr.h: File removed.
29959
b6c5ec07
AO
299602012-10-02 Alexandre Oliva <aoliva@redhat.com>
29961
29962 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29963 sys/sdt-config.h.
29964
408223d4
RM
299652012-10-02 Roland McGrath <roland@hack.frob.com>
29966
29967 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29968 Make 'mapoff' field ElfW(Off) rather than off_t.
29969
bb9510dc
DL
299702012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29971
fc997c6e
DL
29972 * nscd/Makefile: Remove nscd-cflags and all its users.
29973 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29974 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29975
bb9510dc
DL
29976 [BZ #10631]
29977 * malloc.c (malloc_printerr): Clarify error message.
29978
05699367
L
299792012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29980
29981 [BZ #14648]
29982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29983 Set bit_FMA_Usable if FMA is supported.
29984 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29985 macro.
29986 (bit_FMA4_Usable): Updated.
29987 (index_FMA_Usable): New macro.
29988 (CPUID_FMA): Likewise
29989 (HAS_FMA): Defined with bit_FMA_Usable.
29990
51367701
RM
299912012-10-01 Roland McGrath <roland@hack.frob.com>
29992
29993 * bits/types.h (__swblk_t): Type removed.
29994 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29995 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29997 (__SWBLK_T_TYPE): Likewise.
29998 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29999 (__SWBLK_T_TYPE): Likewise.
30000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30001 (__SWBLK_T_TYPE): Likewise.
30002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30003 (__SWBLK_T_TYPE): Likewise.
30004
4d57bf63 300052012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30006 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30007
30008 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30009 (xdr_mapname): Use YPMAXMAP as maxsize.
30010 (xdr_peername): Use YPMAXPEER as maxsize.
30011 (xdr_keydat): Use YPAXRECORD as maxsize.
30012 (xdr_valdat): Use YPMAXRECORD as maxsize.
30013
93c65d43
RM
300142012-10-01 Roland McGrath <roland@hack.frob.com>
30015
497a03d6
RM
30016 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30017
93c65d43
RM
30018 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30019 * csu/init-first.c: ... here.
30020 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30021 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30022 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30023 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30024 * sysdeps/i386/init-first.c: File removed.
30025 * sysdeps/sh/init-first.c: File removed.
30026
bec749fd
JM
300272012-10-01 Joseph Myers <joseph@codesourcery.com>
30028
30029 [BZ #14645]
30030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30031 if x * y might underflow to zero and z is zero.
30032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30033 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30034 * math/libm-test.inc (min_subnorm_value): New variable.
30035 (fma_test): Add more tests.
30036 (fma_test_towardzero): Likewise.
30037 (fma_test_downward): Likewise
30038 (fma_test_upward): Likewise.
30039 (initialize): Set min_subnorm_value.
30040
8ec5b013
JM
300412012-09-29 Joseph Myers <joseph@codesourcery.com>
30042
30043 [BZ #14638]
30044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30045 0 + 0.
30046 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30047 mode for addition resulting in exact zero.
30048 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30050 exact 0 + 0.
30051 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30053 * math/libm-test.inc (fma_test): Add more tests.
30054 (fma_test_towardzero): New function.
30055 (fma_test_downward): Likewise.
30056 (fma_test_upward): Likewise.
30057 (main): Call the new functions.
30058
b1fa802e
DM
300592012-09-28 David S. Miller <davem@davemloft.net>
30060
30061 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30062
d3b9fd9e
RM
300632012-09-28 Roland McGrath <roland@hack.frob.com>
30064
ea4d37b3
RM
30065 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30066 instead of SIGALRM.
30067
ac51c949
RM
30068 * sysdeps/gnu/_G_config.h: Moved to ...
30069 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30070 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30071 * sysdeps/generic/_G_config.h: ... here.
30072
28c195f7
RM
30073 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30074
848917f9
RM
30075 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30076
6bacf05b
RM
30077 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30078 Conditionalize target on [libnss_test1.so-version].
30079
91363dbb
RM
30080 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30081
cc87f7d8
RM
30082 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30083 (elfobjdir): Move out of conditionals.
30084
b1c608fe
RM
30085 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30086 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30087 (__nss_lookup_function): Conditionalize label remove_from_tree on
30088 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30089
1d9a6d96
DM
300902012-09-28 David S. Miller <davem@davemloft.net>
30091
30092 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30093 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30094 file.
30095 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30096 sysdep_routines.
30097 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30099 when HWCAP_SPARC_CRYPTO is present.
30100
72581615
PT
301012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30102
30103 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30104
715a900c
JL
301052012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30106
30107 [BZ #6530]
30108 * stdio-common/vfprintf.c (process_string_arg): Revert
30109 2000-07-22 change.
30110
301112011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30112
30113 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30114 for testcase.
30115 * stdio-common/tst-sprintf.c: Include <locale.h>
30116 (main): Test sprintf's handling of incomplete multibyte
30117 characters.
30118
9bac1d86
L
301192012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30120
30121 * elf/dl-runtime.c (VERSYMIDX): Removed.
30122 * elf/dl-version.c (VERSYMIDX): Likewise.
30123 * elf/do-rel.h (VERSYMIDX): Likewise.
30124 (VALIDX): Likewise.
30125 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30126 * elf/rtld.c (VALIDX): Likewise.
30127 (ADDRIDX): Likewise.
9bac1d86
L
30128 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30129 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30130 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30131 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30132 (VALIDX): Likewise.
30133 (ADDRIDX): Likewise.
9bac1d86 30134
b31606c0
PT
301352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30136
30137 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30138
11541177
JL
301392012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30140
30141 [BZ #11438]
30142 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30143 to global scope.
30144 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30145 addresses are in the same scope as 192.0.2/24.
30146 * posix/gai.conf: Document new scope table defaults.
30147
adb26fae
SP
301482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30149
30150 [BZ #5298]
30151 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30152 for ftell. Compute offsets from write pointers instead.
30153 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30154
4573c6b0
SP
301552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30156
30157 [BZ #14543]
30158 * libio/Makefile (tests): New test case tst-fseek.
30159 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30160 combination works in wide mode.
30161 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30162 state when the external buffer state changes.
30163
aa9bbfe6
DM
301642012-09-27 David S. Miller <davem@davemloft.net>
30165
30166 [BZ #14376]
30167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30168 pass reloc->r_addend in as the 'high' argument to
30169 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30170
784421e7
DM
30171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30172
c39bc8b8
PT
301732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30174
30175 * rt/tst-aio2.c: Include <pthread.h>.
30176 * rt/tst-aio3.c: Likewise.
30177
1ccc2399
SE
301782012-09-27 Steve Ellcey <sellcey@mips.com>
30179
30180 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30181
31ed4153
L
301822012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30183
25f5f885
L
30184 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30185 contents on [SHARED].
31ed4153 30186
b7bfe116
MP
301872012-09-26 Marek Polacek <polacek@redhat.com>
30188
30189 [BZ #14530]
30190 [BZ #13741]
30191 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30192 for C++ and GCC <4.3 as well as for non GCC compilers.
30193
43c4edba
MT
301942012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30195
30196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30197
6a1bf82f
RM
301982012-09-25 Roland McGrath <roland@hack.frob.com>
30199
30200 * Makefile.in (all, install): Declare with .PHONY.
30201 Reported by Michael Hope <michael.hope@linaro.org>.
30202
8ad11b9a
TMQMF
302032012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30204
30205 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30206 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30207 system header.
30208 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30209 Likewise.
30210 (sydep_routines): Add the new and the internal functions.
30211 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30212 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30214 (GLIBC_2.17): Add the new function.
30215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30216 (GLIBC_2.17): Likewise.
30217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30218 (GLIBC_2.17): Likewise.
30219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30220 (GLIBC_2.17): Likewise.
30221 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30222
7e2fca8d
AM
302232012-09-25 Alan Modra <amodra@gmail.com>
30224
30225 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30226 Add release barrier before setting once_control to say
30227 initialisation is done. Add hints on lwarx. Use macro in
30228 place of isync.
30229 (clear_once_control): Add release barrier.
30230
b87c4b24
JM
302312012-09-25 Joseph Myers <joseph@codesourcery.com>
30232
d032e0d2
JM
30233 [BZ #13629]
30234 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30235 specially.
30236 * math/s_clog10.c (__clog10): Likewise.
30237 * math/s_clog10f.c (__clog10f): Likewise.
30238 * math/s_clog10l.c (__clog10l): Likewise.
30239 * math/s_clogf.c (__clogf): Likewise.
30240 * math/s_clogl.c (__clogl): Likewise.
30241 * math/Makefile (libm-calls): Add x2y2m1.
30242 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30243 (__x2y2m1): Likewise.
30244 (__x2y2m1l): Likewise.
30245 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30246 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30247 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30248 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30249 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30250 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30251 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30252 * sysdeps/i386/fpu/libm-test-ulps: Update.
30253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30254
b87c4b24
JM
30255 [BZ #14621]
30256 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30257 int as type of variable DEPTH.
30258 (glob): Use size_t instead of int as type of variables NEWCOUNT
30259 and OLD_PATHC.
30260
6d3bf199
LD
302612012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30262
22bf5c17
LD
30263 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30264 Add s_sincosf-sse2.
30265 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30266 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30267 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30268 macros for using routine as __sincosf_ia32.
30269 Use macro for function declaration and weak_alias.
30270 * sysdeps/i386/fpu/libm-test-ulps: Update.
30271
30272 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30274
30275 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30276 subnormal argument.
30277 * math/s_cexpf.c (__cexpf): Likewise.
30278 * math/s_csinf.c (__csinf): Likewise.
30279 * math/s_csinhf.c (__csinhf): Likewise.
30280 * math/s_ctanf.c (__ctanf): Likewise.
30281 * math/s_ctanhf.c (__ctanhf): Likewise.
30282 * math/s_ccosh.c (__ccoshf): Likewise.
30283 * math/s_cexp.c (__cexpl): Likewise.
30284 * math/s_csin.c (__csin): Likewise.
30285 * math/s_csinh.c (__csinh): Likewise.
30286 * math/s_ctan.c (__ctan): Likewise.
30287 * math/s_ctanh.c (ctanh): Likewise.
30288 * math/s_ccoshl.c (__ccoshl): Likewise.
30289 * math/s_cexpl.c (__cexpl): Likewise.
30290 * math/s_csinl.c (__csinl): Likewise.
30291 * math/s_csinhl.c (__csinhl): Likewise.
30292 * math/s_ctanl.c (__ctanl): Likewise.
30293 * math/s_ctanhl.c (__ctanhl): Likewise.
30294
203e5603
JM
302952012-09-25 Joseph Myers <joseph@codesourcery.com>
30296
30297 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30298 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30299 (_IO_off_t): Define to __off_t, not _G_off_t.
30300 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30301 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30302 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30303 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30304 type of __dummy and __dummy2 fields.
30305 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30306 (_G_ssize_t): Likewise.
30307 (_G_off_t): Likewise.
30308 (_G_pid_t): Likewise.
30309 (_G_uid_t): Likewise.
30310 (_G_wchar_t): Likewise.
30311 (_G_wint_t): Likewise.
30312 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30313 (_G_ssize_t): Likewise.
30314 (_G_off_t): Likewise.
30315 (_G_pid_t): Likewise.
30316 (_G_uid_t): Likewise.
30317 (_G_wchar_t): Likewise.
30318 (_G_wint_t): Likewise.
30319 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30320 (_G_ssize_t): Likewise.
30321 (_G_off_t): Likewise.
30322 (_G_pid_t): Likewise.
30323 (_G_uid_t): Likewise.
30324 (_G_wchar_t): Likewise.
30325 (_G_wint_t): Likewise.
30326
9fab36eb
SP
303272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30328
30329 * malloc/arena.c: Include malloc-sysdep.h.
30330 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30331 is sufficient to shrink the heap or an unmap is needed.
30332 * sysdeps/generic/malloc-sysdep.h: New file. Define
30333 new function check_may_shrink_heap.
30334 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30335 new function check_may_shrink_heap.
30336
2b4f00d1
SP
303372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30338
30339 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30340 comments.
30341
9a9028b1
DL
303422012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30343
57c69bef
DL
30344 * catgets/test-gencat.sh: Add "set -e".
30345 * elf/tst-pathopt.sh: Likewise.
30346 * grp/tst_fgetgrent.sh: Likewise.
30347 * iconvdata/run-iconv-test.sh: Likewise.
30348 * intl/tst-gettext.sh: Likewise.
30349 * intl/tst-gettext2.sh: Likewise.
30350 * intl/tst-gettext4.sh: Likewise.
30351 * intl/tst-gettext6.sh: Likewise.
30352 * intl/tst-translit.sh: Likewise.
30353 * io/ftwtest-sh: Likewise.
30354 * libio/test-freopen.sh: Likewise.
30355 * malloc/tst-mtrace.sh: Likewise.
30356 * posix/globtest.sh: Likewise.
30357 * posix/tst-getconf.sh: Likewise.
30358 * posix/wordexp-tst.sh: Likewise.
30359 * stdio-common/tst-printf.sh: Likewise.
30360 * stdio-common/tst-unbputc.sh: Likewise.
30361 * stdlib/tst-fmtmsg.sh: Likewise.
30362 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30363 * catgets/Makefile: Do not specify -e option when running
30364 testsuite shell scripts.
30365 * elf/Makefile: Likewise.
30366 * grp/Makefile: Likewise.
30367 * iconvdata/Makefile: Likewise.
30368 * intl/Makefile: Likewise.
30369 * io/Makefile: Likewise.
30370 * libio/Makefile: Likewise.
30371 * malloc/Makefile: Likewise.
30372 * posix/Makefile: Likewise.
30373 * stdio-common/Makefile: Likewise.
30374 * stdlib/Makefile: Likewise.
30375 * sysdeps/x86_64/Makefile: Likewise.
30376
9a9028b1
DL
30377 * io/ftwtest-sh: Add copyright header.
30378 * posix/globtest.sh: Likewise.
30379 * posix/tst-getconf.sh: Likewise.
30380 * posix/wordexp-tst.sh: Likewise.
30381 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30382
ced6f16e
L
303832012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30384
94b32c39
L
30385 [BZ #13679]
30386 * Makeconfig (+link): Defined as $(+link-static) if
30387 $(build-shared) isn't yes.
30388 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30389 isn't yes.
30390 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30391
189e935b
L
30392 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30393
ced6f16e
L
30394 [BZ #14562]
30395 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30396 new chunk size with MALLOC_ALIGN_MASK.
30397
a9f8e53a
JM
303982012-09-24 Joseph Myers <joseph@codesourcery.com>
30399
30400 [BZ #5044]
30401 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30402 <rounding-mode.h>.
30403 (__printf_fphex): Determine rounding using get_rounding_mode and
30404 round_away.
30405 * stdio-common/tst-printf-round.c (struct hex_test): New
30406 structure.
30407 (hex_tests): New variable.
30408 (test_hex_in_one_mode): New function.
30409 (do_test): Also run tests for hex float output.
30410
43153109
JM
304112012-09-21 Joseph Myers <joseph@codesourcery.com>
30412
30413 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30414 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30415 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30416 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30417 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30418 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30419 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30420 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30421
8a26625d
JM
304222012-09-20 Joseph Myers <joseph@codesourcery.com>
30423
30424 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30425 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30426 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30427 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30428
f3fd569c
DL
304292012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30430
30431 [BZ #14579]
30432 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30433 mode only.
30434 * elf/tst-rtld-load-self.sh: New test.
30435 * elf/Makefile: Run it.
30436
63bbedd4
JM
304372012-09-18 Joseph Myers <joseph@codesourcery.com>
30438
30439 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30440 (tst-writev-ENV): Remove.
30441 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30442
626f8b6a
CM
304432012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30444
30445 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30446
b7aaa4d6
JM
304472012-09-17 Joseph Myers <joseph@codesourcery.com>
30448
30449 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30450 unconditional.
30451 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30452 Likewise.
30453 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30454 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30455 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30456 Likewise.
30457
65513990
L
304582012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30459
30460 [BZ #14587]
30461 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30462 * config.make.in (have-cpp-asm-debuginfo): Removed.
30463 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30464 * configure: Regenerated.
30465
784761be
JM
304662012-09-14 Joseph Myers <joseph@codesourcery.com>
30467
30468 [BZ #5044]
30469 * stdio-common/printf_fp.c: Include <stdbool.h> and
30470 <rounding-mode.h>.
30471 (___printf_fp): Determine rounding using get_rounding_mode and
30472 round_away.
30473 * stdio-common/tst-printf-round.c: New file.
30474 * stdio-common/Makefile (tests): Add tst-printf-round.
30475 (link-libm): New variable.
30476 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30477
9503345f
L
304782012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30479
30480 [BZ #14576]
30481 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30482 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30483 Likewise.
30484 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30485 Likewise.
30486
ad35fc00
JM
304872012-09-13 Joseph Myers <joseph@codesourcery.com>
30488
30489 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30490 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30491 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30492 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30493
6c9b0f68
JM
304942012-09-12 Joseph Myers <joseph@codesourcery.com>
30495
30496 [BZ #14518]
30497 * include/rounding-mode.h: New file.
30498 * sysdeps/generic/get-rounding-mode.h: Likewise.
30499 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30500 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30501 (MAX_VALUE): New macro.
30502 (MIN_VALUE): Likewise.
30503 (overflow_value): New function.
30504 (underflow_value): Likewise.
30505 (round_and_return): Use overflow_value and underflow_value to
30506 determine return values in overflow and underflow cases. Use
30507 round_away to determine rounding depending on rounding mode.
30508 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30509 determine return values in overflow and underflow cases.
30510 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30511 (struct test_results): New structure.
30512 (struct test): Use struct test_results to store expected results
30513 for all rounding modes.
30514 (TEST): Include expected results for all rounding modes.
30515 (test_in_one_mode): New function.
30516 (do_test): Use test_in_one_mode to compute and check results.
30517 Check results for all rounding modes.
30518 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30519 $(link-libm).
30520
19fcedd5
AM
305212012-12-09 Allan McRae <allan@archlinux.org>
30522
1e9d84cd 30523 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30524
8bbfd2f1
JM
305252012-09-11 Joseph Myers <joseph@codesourcery.com>
30526
30527 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30528 (_G_int32_t): Likewise.
30529 (_G_uint16_t): Likewise.
30530 (_G_uint32_t): Likewise.
30531 (_G_HAVE_BOOL): Likewise.
30532 (_G_HAVE_ATEXIT): Likewise.
30533 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30534 (_G_HAVE_IO_FILE_OPEN): Likewise.
30535 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30536 (_G_int32_t): Likewise.
30537 (_G_uint16_t): Likewise.
30538 (_G_uint32_t): Likewise.
30539 (_G_HAVE_BOOL): Likewise.
30540 (_G_HAVE_ATEXIT): Likewise.
30541 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30542 (_G_HAVE_IO_FILE_OPEN): Likewise.
30543 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30544 (_G_int32_t): Likewise.
30545 (_G_uint16_t): Likewise.
30546 (_G_uint32_t): Likewise.
30547 (_G_HAVE_BOOL): Likewise.
30548 (_G_HAVE_ATEXIT): Likewise.
30549 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30550 (_G_HAVE_IO_FILE_OPEN): Likewise.
30551
b1dc5912
L
305522012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30553
30554 * csu/libc-tls.c: Update copyright years.
30555
0e886ef9
JM
305562012-09-10 Joseph Myers <joseph@codesourcery.com>
30557
28361c5e
JM
30558 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30559 [!_G_USING_THUNKS]: Remove conditional code.
30560 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30561 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30562
0e886ef9
JM
30563 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30564 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30565 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30566 (_G_VTABLE_LABEL_PREFIX): Likewise.
30567 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30568 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30569 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30570 (_G_VTABLE_LABEL_PREFIX): Likewise.
30571 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30572 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30573 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30574 (_G_VTABLE_LABEL_PREFIX): Likewise.
30575 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30576
bcba7aa2
L
305772012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30578
30579 * libio/Makefile: Include ../Makeconfig before tests.
30580 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30581 only if $(build-shared) is yes.
30582
06585ee8
L
30583 * iconv/gconv_db.c: Update copyright years.
30584
80ccd52c
LD
305852012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30586
30587 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30588 unwind info if defined PIC. Fix special cases description.
30589 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30590
30591 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30592 DP_HI_MASK entry.
30593 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30594
691bc9c1
L
305952012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30596
3d9b46b3
L
30597 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30598
de2139a9
L
30599 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30600 is NULL.
30601
5ca78dd0
L
30602 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30603 (LDLIBS-tst-chk4): This.
30604 (LDFLAGS-tst-chk5): Renamed to ...
30605 (LDLIBS-tst-chk5): This.
30606 (LDFLAGS-tst-chk6): Renamed to ...
30607 (LDLIBS-tst-chk6): This.
30608 (LDFLAGS-tst-lfschk4): Renamed to ...
30609 (LDLIBS-tst-lfschk4): This.
30610 (LDFLAGS-tst-lfschk5): Renamed to ...
30611 (LDLIBS-tst-lfschk5): This.
30612 (LDFLAGS-tst-lfschk6): Renamed to ...
30613 (LDLIBS-tst-lfschk6): This.
30614
691bc9c1
L
30615 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30616 on $(common-objpfx)soversions.mk.
30617
65cafb1c
JM
306182012-09-07 Joseph Myers <joseph@codesourcery.com>
30619
30620 [BZ #10014]
30621 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30622 example host name.
30623
c78ab094
SP
306242012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30625
30626 * malloc/arena.c (arena_get_retry): New function that gets
30627 another arena for the caller to try its request on.
30628 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30629 current arena cannot fulfill the request.
30630 (__libc_memalign): Likewise.
30631 (__libc_memalign): Likewise.
30632 (__libc_pvalloc): Likewise.
30633 (__libc_calloc): Likewise.
30634
01f49f59
JT
306352012-09-05 John Tobey <john.tobey@gmail.com>
30636
30637 [BZ #13542]
30638 * manual/arith.texi (Operations on Complex): Fix description
30639 of carg branch cut.
30640
4c23fed5
JM
306412012-09-06 Joseph Myers <joseph@codesourcery.com>
30642
1d3c8572
JM
30643 [BZ #10014]
30644 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30645 host name.
30646
4c23fed5
JM
30647 [BZ #10038]
30648 * manual/memory.texi (Memory): Make order of menu items match
30649 order of sections.
30650
04570aaa
L
306512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30652
30653 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30654 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30655 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30656
b80af2f4
L
306572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30658
30659 * csu/libc-tls.c (static_dtv): Renamed to ...
30660 (_dl_static_dtv): This. Make it global.
30661 (_dl_initial_dtv): Removed.
30662 (__libc_setup_tls): Updated.
30663 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30664 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30665 DL_INITIAL_DTV.
30666
2abe9f15
PM
306672012-09-06 Petr Machata <pmachata@redhat.com>
30668
30669 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30670 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30671 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30672 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30673
0948c3af
L
306742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30675
30676 [BZ #14545]
30677 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30678 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30679 freeing dtv[-1].
30680
a5055ad1
L
306812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30682
30683 [BZ #14544]
30684 * Makeconfig (link-static-before-libc): Replace $(+prector)
30685 with $(+prectorT).
30686 (link-static-after-libc): Replace $(+postctor) with
30687 $(+postctorT).
30688 (link-bounded): Replace $(+prector)/$(+postctor) with
30689 $(+prectorT)/$(+postctorT).
30690 (+prectorT): New macro.
30691 (+postctorT): Likewise.
30692
ed8c2ecd
JM
306932012-09-06 Joseph Myers <joseph@codesourcery.com>
30694
30695 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30696 (round_str): Handle values above the maximum for IBM long double
30697 as inexact.
30698 * stdlib/tst-strtod-round.c (tests): Regenerated.
30699
14c996c8
AK
307002012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30701
30702 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30703 assembler flag.
30704 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30705 zarch_nohighgprs around the zarch optimized routines.
30706 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30707 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30709 for zarch.
30710
430d6ce6
DM
307112012-09-05 David S. Miller <davem@davemloft.net>
30712
30713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30714
57f41c40
AS
30715 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30716 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30717 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30718 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30719 entries.
30720
24d4e01b
AO
307212012-09-05 Alexandre Oliva <aoliva@redhat.com>
30722
30723 * malloc/arena.c: Fold copyright years.
30724 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30725
61d58174
AO
307262012-09-05 Alexandre Oliva <aoliva@redhat.com>
30727
30728 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30729
20196a5e
AO
307302012-09-05 Alexandre Oliva <aoliva@redhat.com>
30731
30732 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30733
5c447383
AO
307342012-09-05 Alexandre Oliva <aoliva@redhat.com>
30735
30736 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30737 change internal state upon failure.
30738
fad64255
AO
307392012-09-05 Alexandre Oliva <aoliva@redhat.com>
30740
30741 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30742 * malloc/memusage.c (mmap): Likewise.
30743 (mmap64, mremap): Likewise. Adjust name in comment.
30744
1ffb8c90
SP
307452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30746
30747 * libio/fileops.c: Fix typos in comments.
30748 * libio/oldfileops.c: Likewise.
30749 * libio/wfileops.c: Likewise.
30750
6ef9cc37
SP
307512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30752
30753 [BZ #1349]
30754 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30755 (tst-malloc-usable-ENV): Set environment for test case.
30756 * malloc/hooks.c (malloc_check_get_size): New function to get
30757 requested size.
30758 * malloc/malloc.c (musable): Use malloc_check_get_size.
30759 * malloc/tst-malloc-usable.c: New test case.
30760
4d038ae3
AS
307612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30762
30763 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30764
c4e85184
AM
307652012-09-05 Allan McRae <allan@archlinux.org>
30766
b9dafc56 30767 [BZ #13966]
c4e85184
AM
30768 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30769 determine header location.
30770 * configure: Regenerated.
30771
e1343020
AS
307722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30773
30774 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30775 float format.
30776 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30777 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30778 format.
e1343020
AS
30779 (test): Regenerate.
30780
0a9f1987
DM
307812012-09-04 David S. Miller <davem@davemloft.net>
30782
30783 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30784 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30785 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30786
29237804
FW
307872012-09-04 Florian Weimer <fweimer@redhat.com>
30788
30789 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30790 failures.
30791
edb3cb88
FW
30792 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30793
60160d83
JM
307942012-09-04 Joseph Myers <joseph@codesourcery.com>
30795
30796 [BZ #9914]
30797 * libio/iogetdelim.c: Include <limits.h>.
30798 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30799 + len + 1 would overflow.
30800
bcd6c8dc
AJ
308012012-09-03 Andreas Jaeger <aj@suse.de>
30802
30803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30804 * sysdeps/i386/fpu/libm-test-ulps: Update.
30805
4ffffbd2
LD
308062012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30807
30808 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30809 Add s_sinf-sse2, s_conf-sse2.
30810
30811 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30812 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30813 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30814 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30815
30816 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30817 for using routine as __sinf_ia32.
30818 Use macro for function declaration and weak_alias.
30819 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30820 for using routine as __cosf_ia32.
30821 Use macro for function declaration and weak_alias.
30822
30823 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30824 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30825
30826 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30827 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30829
30830 * math/libm-test.inc (cos_test): Add more test cases.
30831 (sin_test): Likewise.
30832 (sincos_test): Likewise.
30833
511fa286
AK
308342012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30835
30836 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30837 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30838 hidden.
30839 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30840
5f30cfec
L
308412012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30842
30843 [BZ #14538]
30844 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30845 first element of the GOT.
30846 (elf_machine_load_address): Return the difference between
30847 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30848
0786794f
AM
308492012-09-01 Allan McRae <allan@archlinux.org>
30850
5f30cfec
L
30851 [BZ #13412]
30852 * configure.in (AWK): Require gawk version 3.0 or later.
30853 * configure: Regenerated.
0786794f 30854
26889eac
JM
308552012-09-01 Joseph Myers <joseph@codesourcery.com>
30856
30857 * sysdeps/unix/sysv/linux/kernel-features.h
30858 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30859 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30860 [__NR_clock_getres]: Make code unconditional.
30861 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30862 (clock_getcpuclockid): Remove code left unreachable by removal of
30863 conditionals.
30864 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30865 code unconditional.
30866 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30867 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30868 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30869 Make code unconditional.
30870 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30871 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30872 * sysdeps/unix/sysv/linux/clock_settime.c
30873 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30874 conditional code.
30875 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30876 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30877
d22e28b0
L
308782012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30879
30880 [BZ #14476]
30881 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30882 scripts/test-installation.pl.
30883
30884 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30885 and $ld_so_version if it is set.
30886
050af9c4
SP
308872012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30888
30889 [BZ #14516]
30890 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30891 failure if reading from procfs failed.
30892 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30893
ad845c0b
JM
308942012-08-27 Joseph Myers <joseph@codesourcery.com>
30895
30896 * sysdeps/unix/sysv/linux/kernel-features.h
30897 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30898 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30899 Remove conditional code.
30900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30901 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30902 Remove conditional code.
30903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30904 * sysdeps/unix/sysv/linux/i386/fxstat.c
30905 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30907 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30908 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30910 * sysdeps/unix/sysv/linux/i386/lxstat.c
30911 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30913 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30914 Remove conditional code.
30915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30916 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30917 Remove conditional code.
30918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30919 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30920 <kernel-features.h>.
30921 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30922 Remove.
30923 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30924 Remove conditional code.
30925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30926 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30927 Remove conditional.
30928
5dbf56af
MF
309292012-08-27 Mike Frysinger <vapier@gentoo.org>
30930
30931 [BZ #5400]
30932 * NEWS: Add fixed bug number.
30933
d6e70f43
JM
309342012-08-27 Joseph Myers <joseph@codesourcery.com>
30935
7efb4737
JM
30936 [BZ #14519]
30937 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30938 underflowing exponent in case of negative sign.
30939 * stdlib/tst-strtod-round-data: Add more tests.
30940 * stdlib/tst-strtod-round.c (tests): Regenerated.
30941
af92131a
JM
30942 [BZ #3479]
30943 * stdlib/strtod_l.c (NDIG): Remove.
30944 (HEXNDIG): Likewise.
30945 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30946 smallest representable value.
30947 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30948 lie within an exact representation of 1/2 ulp of the result.
30949 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30950 unconditionally.
30951 (TENS_P9_IDX): Define unconditionally.
30952 (TENS_P9_SIZE): Likewise.
30953 (TENS_P10_IDX): Likewise.
30954 (TENS_P10_SIZE): Likewise.
30955 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30956 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30957 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30958 entries for 10^2^13 and 10^2^14.
30959 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30960 (TENS_P13_IDX): Define.
30961 (TENS_P13_SIZE): Likewise.
30962 (TENS_P14_IDX): Likewise.
30963 (TENS_P14_SIZE): Likewise.
30964 (_fpioconst_pow10): Change array size to
30965 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30966 unconditional.
30967 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30968 1024]: Add entries for 10^2^13 and 10^2^14.
30969 [LAST_POW10 > _LAST_POW10]: Remove #error.
30970 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30971 (_fpioconst_pow10): Change array size to
30972 FPIOCONST_POW10_ARRAY_SIZE.
30973 * stdlib/gen-fpioconst.c: New file.
30974 * stdlib/gen-tst-strtod-round.c: Likewise.
30975 * stdlib/tst-strtod-round-data: Likewise.
30976 * stdlib/tst-strtod-round.c: Likewise.
30977 * stdlib/Makefile (tests): Add tst-strtod-round.
30978
d6e70f43
JM
30979 [BZ #14459]
30980 * stdlib/strtod_l.c: Include <stdint.h>.
30981 (NDEBUG): Do not define.
30982 (round_and_return): Change EXPONENT parameter to type intmax_t.
30983 Rearrange calculations to avoid internal overflow possibilities.
30984 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30985 Rearrange calculations to avoid internal overflow possibilities.
30986 Assert that number fits inside MPNSIZE limbs.
30987 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30988 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30989 calculations and add assertions to avoid internal overflow
30990 possibilities. Add casts to avoid signed/unsigned operations.
30991 * stdlib/tst-strtod-overflow.c: New file.
30992 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30993
1f529f7d
MP
309942012-08-25 Marek Polacek <polacek@redhat.com>
30995
30996 * time/time.h: Fix some typos in comments.
30997
59a629f1
RM
309982012-08-23 Roland McGrath <roland@hack.frob.com>
30999
31000 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31001 * posix/tst-rfc3484-2.c: Likewise.
31002 * posix/tst-rfc3484-3.c: Likewise.
31003
d3bafbc9
SM
310042012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31005
31006 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31007 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31008
4efcc022
JM
310092012-08-23 Joseph Myers <joseph@codesourcery.com>
31010
31011 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31012 #include of fxstatat64.c.
31013
3cc3ef96
RM
310142012-08-22 Roland McGrath <roland@hack.frob.com>
31015
f04e2132
RM
31016 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31017 * shadow/getspent_r.c: Likewise.
31018 * shadow/getspnam.c: Likewise.
31019 * shadow/getspnam_r.c: Likewise.
31020 * gshadow/getsgent.c: Likewise.
31021 * gshadow/getsgent_r.c: Likewise.
31022 * gshadow/getsgnam.c: Likewise.
31023 * gshadow/getsgnam_r.c: Likewise.
31024 * inet/getnetbyad.c: Likewise.
31025 * inet/getnetbyad_r.c: Likewise.
31026 * inet/getnetbynm.c: Likewise.
31027 * inet/getnetbynm_r.c: Likewise.
31028 * inet/getnetent.c: Likewise.
31029 * inet/getnetent_r.c: Likewise.
31030 * inet/getproto.c: Likewise.
31031 * inet/getproto_r.c: Likewise.
31032 * inet/getprtent.c: Likewise.
31033 * inet/getprtent_r.c: Likewise.
31034 * inet/getprtname.c: Likewise.
31035 * inet/getprtname_r.c: Likewise.
31036 * inet/getrpcbyname.c: Likewise.
31037 * inet/getrpcbyname_r.c: Likewise.
31038 * inet/getrpcbynumber.c: Likewise.
31039 * inet/getrpcbynumber_r.c: Likewise.
31040 * inet/getrpcent.c: Likewise.
31041 * inet/getrpcent_r.c: Likewise.
31042 * inet/getaliasent.c: Likewise.
31043 * inet/getaliasent_r.c: Likewise.
31044 * inet/getaliasname.c: Likewise.
31045 * inet/getaliasname_r.c: Likewise.
31046 * nscd/getgrgid_r.c: Likewise.
31047 * nscd/getgrnam_r.c: Likewise.
31048 * nscd/gethstbyad_r.c: Likewise.
31049 * nscd/gethstbynm3_r.c: Likewise.
31050 * nscd/getpwnam_r.c: Likewise.
31051 * nscd/getpwuid_r.c: Likewise.
31052 * nscd/getsrvbynm_r.c: Likewise.
31053 * nscd/getsrvbypt_r.c: Likewise.
31054 * nscd/gai.c: Likewise.
31055
c53d909c
RM
31056 * configure.in (build_nscd): New substituted variable, set
31057 by --disable-build-nscd and defaults to $use_nscd.
31058 * configure: Regenerated.
31059 * config.make.in (build-nscd): New substituted variable.
31060 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31061 Change conditional to require [$(build-nscd) = yes] as well.
31062 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31063
3cc3ef96
RM
31064 [BZ# 13696]
31065 * configure.in (use_nscd): New substituted variable, set by
31066 --disable-nscd. If enabled, define USE_NSCD.
31067 * configure: Regenerated.
31068 * config.h.in: Add USE_NSCD.
31069 * config.make.in (use-nscd): New substituted variable.
31070 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31071 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31072 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31073 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31074 (CFLAGS-getgrnam_r.c): Likewise.
31075 (CFLAGS-initgroups.c): Likewise.
31076 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31077 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31078 Variables removed.
31079 * inet/getnetgrent_r.c
31080 (nscd_setnetgrent): New function, broken out of ...
31081 (setnetgrent): ... here. Call it.
31082 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31083 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31084 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31085 * nscd/Makefile (routines, aux): Move definitions after include of
31086 Makeconfig. Conditionalize on [$(use-nscd) != no].
31087 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31088 Conditionalize on [USE_NSCD].
31089 (is_nscd, nscd_init_cb): Likewise.
31090 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31091 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31092 * nss/nss_db/db-init.c: Likewise.
31093 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31094 [USE_NSCD].
31095 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31096 (make_request): Use it.
31097 (cache_valid_p): New function.
31098 (__check_pf): Use it.
31099 * NEWS: Add item for --disable-nscd.
31100
07e51550
DL
311012012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31102
31103 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31104 to support sed >= 4.2.1-20-ga9bf076.
31105 * configure: Regenerated.
31106
35a5b08b
RM
311072012-08-22 Roland McGrath <roland@hack.frob.com>
31108
31109 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31110 Conditionalize whole body on [IREL].
31111
8479f23a
JL
311122012-08-22 Jeff Law <law@redhat.com>
31113
31114 [BZ #14505]
31115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31116 if the family is PF_UNSPEC.
31117
48da0b21
MF
311182012-08-22 Mike Frysinger <vapier@gentoo.org>
31119
31120 * Makerules (lib-version): Rename from V.
31121 (install-lib-nosubdir): Change V to lib-version.
31122
15d0da8c
WS
311232012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31124
31125 [BZ #14252]
31126 * powerpc32/power6/wcschr.c: New file.
31127 * powerpc32/power6/wcscpy.c: New file.
31128 * powerpc32/power6/wcsrchr.c: New file.
31129 * powerpc64/power6/wcschr.c: New file.
31130 * powerpc64/power6/wcscpy.c: New file.
31131 * powerpc64/power6/wcsrchr.c: New file.
31132
bcca0895
MK
311332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31134
31135 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31136 (two_way_short_needle): Use it.
5a4aaa33
RM
31137 * string/strstr.c (AVAILABLE1_USES_J): Define.
31138 * string/strcasestr.c: Likewise.
99677e57
MK
31139
31140 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31141 array references.
31142 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31143
400726de
MK
31144 [BZ #11607]
31145 * NEWS: Add an entry.
31146 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31147 define their defaults.
31148 (two_way_short_needle): Detect end-of-string on-the-fly.
31149 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31150 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31151 * string/bug-strcasestr1.c: New test.
31152 * string/Makefile: Run it.
31153
20a71f2c
MK
311542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31155
31156 [BZ #11607]
31157 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31158 the first character.
31159
21ad0558
RM
311602012-08-21 Roland McGrath <roland@hack.frob.com>
31161
31162 * csu/elf-init.c (__libc_csu_irel): Function removed.
31163 * csu/libc-start.c (apply_irel): New function.
31164 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31165
0e1d9911
JM
311662012-08-21 Joseph Myers <joseph@codesourcery.com>
31167
31168 * sysdeps/unix/sysv/linux/kernel-features.h
31169 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31170 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31171 <kernel-features.h>.
31172 [__NR_fadvise64_64]: Make code unconditional.
31173 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31174 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31175 !__NR_fadvise64_64)]: Likewise.
31176 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31177 !__NR_fadvise64_64))]: Likewise.
31178 [__NR_fadvise64]: Make code unconditional.
31179 [!__NR_fadvise64]: Remove conditional code.
31180 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31181 <kernel-features.h>.
31182 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31183 unconditional.
31184 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31185 conditional code.
31186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31187 not include <kernel-features.h>.
31188 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31189 unconditional.
31190 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31191 conditional code.
31192 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31193 include <kernel-features.h>.
31194 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31195 unconditional.
31196 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31197 conditional code.
31198
14a50c9d
WS
311992012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31200
31201 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31202 slight instruction rearrangements per scrollpipe analysis.
31203 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31204
c0f4faf0
RM
312052012-08-20 Roland McGrath <roland@hack.frob.com>
31206
696da859
RM
31207 * manual/syslog.texi (syslog; vsyslog, closelog):
31208 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31209 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31210
c0f4faf0
RM
31211 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31212 DSOCAPS to match condition on defining it.
31213
348363b2
JM
312142012-08-20 Joseph Myers <joseph@codesourcery.com>
31215
a35cbf28
JM
31216 * sysdeps/unix/sysv/linux/kernel-features.h
31217 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31219 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31220 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31222 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31223 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31225 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31226 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31227
445f7ecd
JM
31228 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31229 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31230
348363b2
JM
31231 * sysdeps/unix/sysv/linux/kernel-features.h
31232 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31233 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31234 unconditional.
31235 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31236 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31239 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31240 Make code unconditional.
31241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31242 (__mmap64) [!__NR_mmap2]: Likewise.
31243 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31244 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31245 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31246 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31247 [__NR_mmap2]: Make code unconditional.
31248 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31249 (__mmap64) [!__NR_mmap2]: Likewise.
31250
bc5bc0e5
AK
312512012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31252
31253 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31254
88d506de
AJ
312552012-08-18 Andreas Jaeger <aj@suse.de>
31256
31257 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31258
493387d2
MF
312592012-08-18 Mike Frysinger <vapier@gentoo.org>
31260
31261 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31262 * include/unistd.h (__have_sock_cloexec): Likewise.
31263 (__have_pipe2): Likewise.
31264 (__have_dup3): Likewise.
31265
a277af22
MF
312662012-08-18 Mike Frysinger <vapier@gentoo.org>
31267
31268 [BZ #9685]
31269 * include/unistd.h (__have_pipe2): Change define into an extern int.
31270 (__have_dup3): Likewise.
31271 * socket/have_sock_cloexec.c: Include fcntl.h.
31272 (__have_pipe2): New variable.
31273 (__have_dup3): Likewise.
31274
fdab8fd3
MF
312752012-08-17 Mike Frysinger <vapier@gentoo.org>
31276
31277 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31278
31035e80
MP
312792012-08-17 Marek Polacek <polacek@redhat.com>
31280
31281 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31282 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31283
3bd9e993
RM
312842012-08-17 Roland McGrath <roland@hack.frob.com>
31285
c91c505f
RM
31286 * configure.in: Add AC_SUBST for sysheaders.
31287 * configure: Regenerated.
31288 * config.make.in (sysheaders): New substituted variable.
31289
7c6f9d53
RM
31290 * sysdeps/unix/mkfifo.c: Moved ...
31291 * sysdeps/posix/mkfifo.c: ... here.
31292 * sysdeps/unix/mkfifoat.c: Moved ...
31293 * sysdeps/posix/mkfifoat.c: ... here.
31294
31295 * sysdeps/unix/utime.c: Moved ...
31296 * sysdeps/posix/utime.c: ... here.
31297
31298 * sysdeps/unix/time.c: Moved ...
31299 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31300 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31301 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31302
31303 * sysdeps/unix/nice.c: Moved ...
31304 * sysdeps/posix/nice.c: ... here.
31305
31306 * sysdeps/unix/alarm.c: Moved ...
31307 * sysdeps/posix/alarm.c: ... here.
31308
3bd9e993
RM
31309 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31310
d1f09384
JL
313112012-08-17 Jeff Law <law@redhat.com>
31312
31313 * intl/Makefile (codeset_mo): New variable.
31314 ($(codeset_mo)): New target.
31315 (tst-codeset.out): Depend on that. Remove explicit rule.
31316 (tst-gettext3.out, tst-gettext5.out): Likewise.
31317 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31318 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31319 * intl/tst-codeset.sh: Remove.
31320 * intl/tst-gettext3.sh: Likewise.
31321 * intl/tst-gettext5.sh: Likewise.
31322
2ae1ae5c
RM
313232012-08-17 Roland McGrath <roland@hack.frob.com>
31324
c31fdb83
RM
31325 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31326 * sysdeps/unix/syscalls.list: ... here.
31327
a0844057
RM
31328 * sysdeps/posix/getaddrinfo.c
31329 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31330 (gaiconf_init, gaiconf_reload): Use them.
31331 [!_STATBUF_ST_NSEC]
31332 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31333 Define using time_t rather than struct timespec.
31334
750c1f2a
RM
31335 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31336 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31337 Macros removed.
31338 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31339 [!NO_THREADS].
31340 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31341 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31342 Likewise.
31343
2ae1ae5c
RM
31344 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31345 __libc_cleanup_push argument.
31346
e66a42f5
RM
31347 * bits/param.h: New file.
31348 * misc/sys/param.h: New file.
31349 * include/sys/param.h: New file.
31350 * misc/Makefile (headers): Add bits/param.h.
31351 * sysdeps/generic/sys/param.h: File removed.
31352 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31353 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31354 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31355 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31356
b7c08a66
RM
31357 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31358 last change.
31359
b2e1c562
RM
31360 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31361 [_IO_MTSAFE_IO].
31362 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31363 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31364 New macros.
31365
c75ccd4c
RM
31366 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31367 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31368 rather than -D_IO_MTSAFE_IO conditionally.
31369 * stdio-common/Makefile (CPPFLAGS): Likewise.
31370 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31371 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31372 Use $(libio-mtsafe).
31373 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31374 of -D_IO_MTSAFE_IO.
31375 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31376 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31377 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31378 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31379 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31380 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31381 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31382 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31383 (CFLAGS-fread_u_chk.c): Likewise.
31384 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31385 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31386 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31387 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31388 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31389 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31390 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31391 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31392 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31393
31394 * libio/Makefile: Test [$(libc-reentrant) = yes]
31395 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31396
31397 * Makeconfig
31398 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31399 * sysdeps/pthread/configure: File removed.
31400 * sysdeps/pthread/Makeconfig: New file.
31401 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31402 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31403
d9195db8
GB
314042012-08-16 Gary Benson <gbenson@redhat.com>
31405
31406 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31407 unmapping the first object in a namespace.
31408
86466cd9
RM
314092012-08-16 Roland McGrath <roland@hack.frob.com>
31410
31411 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31412 (__internal_setnetgrent): ... this. Add internal_function to
31413 definition. Add libc_hidden_def.
31414 (setnetgrent): Update caller.
31415 (internal_endnetgrent): Renamed to ...
31416 (__internal_endnetgrent): ... this. Add internal_function to
31417 definition. Add libc_hidden_def.
31418 (endnetgrent): Update caller.
31419 (internal_getnetgrent_r): Renamed to ...
31420 (__internal_getnetgrent_r): ... this. Add internal_function to
31421 definition. Add libc_hidden_def.
31422 (__getnetgrent_r): Update caller.
31423 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31424
c3c8283c
JM
314252012-08-16 Joseph Myers <joseph@codesourcery.com>
31426
31427 * stdlib/longlong.h: Update from GCC.
31428
db1ee0a8
RM
314292012-08-16 Roland McGrath <roland@hack.frob.com>
31430
31431 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31432 on _QL, which is set by umul_ppmm but never used.
31433 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31434 variables, which are set by GMP macros but never used.
31435 * stdio-common/_itowa.c (_itowa): Likewise.
31436 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31437 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31438
30f69637
CD
314392012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31440
31441 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31442 struct La_sh_regs is not constant.
31443 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31444 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31445 and struct La_sparc64_regs are not constant.
31446
93a78ac4
JM
314472012-08-16 Joseph Myers <joseph@codesourcery.com>
31448
31449 * sysdeps/unix/sysv/linux/kernel-features.h
31450 (__ASSUME_POSIX_TIMERS): Remove.
31451 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31453 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31454 Make code unconditional.
31455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31456 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31457 Make code unconditional.
31458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31459 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31460 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31462 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31463 Make code unconditional.
31464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31465 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31466 (__libc_missing_posix_timers): Remove.
31467
dd924cd7
RM
314682012-08-15 Roland McGrath <roland@hack.frob.com>
31469
4b4f2771
RM
31470 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31471 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31472
601c888b
RM
31473 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31474
176790a7
RM
31475 * elf/dl-sym.c: Include <stdlib.h>.
31476
329bc018
RM
31477 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31478 constants, which avoids warnings in 32-bit builds.
31479
e04e272d
RM
31480 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31481 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31482
952bf94a
RM
31483 * misc/lseek.c: File moved to ...
31484 * io/lseek.c: ... here.
31485
7c99b50a
RM
31486 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31487
dd924cd7
RM
31488 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31489 shifting LEN more than 31 bits at once.
31490
b3f479a8
LD
314912012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31492
31493 [BZ #14195]
8c4ae0d4
RM
31494 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31495 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31496 * string/test-strncasecmp.c (check1): Renamed to...
31497 (bz12205): ...this.
31498 (bz14195): Add new testcase for two empty input strings and N > 0.
31499 (test_main): Call new testcase, adapt for renamed function.
31500
9c55864e
AJ
315012012-08-15 Andreas Jaeger <aj@suse.de>
31502
31503 [BZ #14090]
31504 * crypt/md5test2.c: New test, based on test supplied by Serge
31505 Belyshev <belyshev@depni.sinp.msu.ru>.
31506 * crypt/Makefile (xtests): Add md5test-giant..
31507 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31508
02dcb6c5
PE
315092012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31510
31511 [BZ #14090]
31512 * crypt/md5.c (md5_process_block): Don't assume the buffer
31513 length is less than 2**32.
31514 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31515 length is less than 2**64.
31516
a3f95dcc
RM
315172012-08-15 Roland McGrath <roland@hack.frob.com>
31518
be75d758
RM
31519 * string/str-two-way.h: Include <sys/param.h>.
31520 (MAX): Macro removed.
31521
7312ca90
RM
31522 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31523 Move #define and #undef of memmove to just before and after
31524 including <string.h>.
31525
9a0a5486
RM
31526 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31527 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31528 and after including <string.h>. Move declarations of
31529 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31530 to before #include "string/memmove.c".
31531
67cc348d
RM
31532 * include/dirent.h: Declare __getdirentries.
31533
a3f95dcc
RM
31534 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31535 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31536
ca98e171
MF
315372012-08-14 Mike Frysinger <vapier@gentoo.org>
31538
31539 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31540 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31541 * sysdeps/i386/configure: Regenerated.
31542 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31543 STABS_CURRENT_FILE, and STABS_FUN.
31544 (END): Remove call to STABS_FUN_END.
31545 (STABS_CURRENT_FILE1): Delete.
31546 (STABS_CURRENT_FILE): Likewise.
31547 (STABS_FUN): Likewise.
31548 (STABS_FUN_END): Likewise.
31549 (STABS_FUN2): Likewise.
31550 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31551 * sysdeps/x86_64/configure: Regenerated.
31552
5908bf46
RM
315532012-08-14 Roland McGrath <roland@hack.frob.com>
31554
31555 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31556 * elf/dl-lookup.c: Likewise.
5908bf46 31557
f2c05b9e
JM
315582012-08-14 Joseph Myers <joseph@codesourcery.com>
31559
31560 * sysdeps/unix/sysv/linux/kernel-features.h
31561 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31562 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31563 unconditionally.
31564 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31565 unconditionally.
31566 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31567 condition on __ASSUME_CLONE_THREAD_FLAGS.
31568
e11f5155
AJ
315692012-08-14 Andreas Jaeger <aj@suse.de>
31570
31571 * sysdeps/i386/fpu/libm-test-ulps: Update.
31572
51a9ba86
MK
315732012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31574
2fdd4f78
AJ
31575 * include/atomic.h (atomic_exchange_and_add): Split into ...
31576 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31577 New atomic macros.
51a9ba86 31578
ba6cba9e
MT
315792012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31580
31581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31582
42443a47
JL
315832012-08-13 Jeff Law <law@redhat.com>
31584
31585 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31586 null byte in the output string.
31587
121dce05
JM
315882012-08-10 Joseph Myers <joseph@codesourcery.com>
31589
31590 * sysdeps/unix/sysv/linux/kernel-features.h
31591 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31592 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31593 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31594 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31595 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31596 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31597 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31598
bf51f568
JL
315992012-08-09 Jeff Law <law@redhat.com>
31600
31601 [BZ #13939]
31602 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31603 When avoid_arena is set, don't retry in the that arena. Pick the
31604 next one, whatever it might be.
31605 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31606 (arena_lock): Pass in new parameter to arena_get2.
31607 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31608 arena_get2.
31609 (__libc_malloc): Unify retrying after main arena failure with
31610 __libc_memalign version.
31611 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31612
f85fa270
L
316132012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31614
31615 [BZ #14166]
31616 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31617 to __redirect_strstr.
31618 (__strstr_sse42): Use typeof __redirect_strstr.
31619 (__strstr_ia32): Likewise.
31620 (__libc_strstr): New prototype.
31621 (strstr): Renamed to ...
31622 (__libc_strstr): This.
31623 (strstr): New strong alias of __libc_strstr.
31624 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31625 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31626 __redirect_time.
31627 Include <time.h>.
31628 (__libc_time): New prototype.
31629 (time_ifunc): Replace time with __libc_time.
31630 (time): New strong alias and hidden definition of __libc_time.
31631 (__GI_time): Remove strong alias.
31632 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31633 Include <stddef.h>.
31634 (memmove): Redefined to __redirect_memmove.
31635 (__memmove_sse2): Use typeof __redirect_memmove.
31636 (__memmove_ssse3): Likewise.
31637 (__memmove_ssse3_back): Likewise.
31638 (__libc_memmove): New prototype.
31639 (memmove): Renamed to ...
31640 (__libc_memmove): This.
31641 (memmove): New strong alias of __libc_memmove.
31642
33b4a91e
MS
316432012-08-08 Mark Salter <msalter@redhat.com>
31644
31645 * elf/elf.h
31646 (R_MN10300_TLS_GD): Define.
31647 (R_MN10300_TLS_LD): Likewise.
31648 (R_MN10300_TLS_LDO): Likewise.
31649 (R_MN10300_TLS_GOTIE): Likewise.
31650 (R_MN10300_TLS_IE): Likewise.
31651 (R_MN10300_TLS_LE): Likewise.
31652 (R_MN10300_TLS_DTPMOD): Likewise.
31653 (R_MN10300_TLS_DTPOFF): Likewise.
31654 (R_MN10300_TLS_TPOFF): Likewise.
31655 (R_MN10300_SYM_DIFF): Likewise.
31656 (R_MN10300_ALIGN): Likewise.
31657 (R_MN10300_NUM): Update.
31658
b36137f1
JM
316592012-08-08 Joseph Myers <joseph@codesourcery.com>
31660
31661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31662 Remove.
31663
cdd915fd
RM
316642012-08-08 Roland McGrath <roland@hack.frob.com>
31665
a2433aac
RM
31666 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31667
cdd915fd
RM
31668 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31669 sysdeps/unix -> sysdeps/posix move.
31670 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31671
bf9b740a
AM
316722012-08-07 Allan McRae <allan@archlinux.org>
31673
31674 [BZ #14303]
31675 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31676 (SUNOS_CPP): Likewise.
31677 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31678 not found.
31679 (open_input): Call CPP using execvp.
31680
93df14ee
JM
316812012-08-07 Joseph Myers <joseph@codesourcery.com>
31682
31683 * sysdeps/unix/sysv/linux/kernel-features.h
31684 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31685 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31686 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31687 (__ASSUME_WAITID_SYSCALL): Likewise.
31688 * sysdeps/unix/sysv/linux/dl-execstack.c
31689 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31690 code unconditional.
31691 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31692 conditional code.
31693 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31694 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31695 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31696 code.
31697 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31698 unconditional.
31699 [__ASSUME_WAITID_SYSCALL]: Likewise.
31700 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31701
d34689de
RM
317022012-08-07 Roland McGrath <roland@hack.frob.com>
31703
a281decc
RM
31704 * sysdeps/unix/closedir.c: Renamed to ...
31705 * sysdeps/posix/closedir.c: ... here.
31706 * sysdeps/unix/dirfd.c: Renamed to ...
31707 * sysdeps/posix/dirfd.c: ... here.
31708 * sysdeps/unix/dirstream.h: Renamed to ...
31709 * sysdeps/posix/dirstream.h: ... here.
31710 * sysdeps/unix/fdopendir.c: Renamed to ...
31711 * sysdeps/posix/fdopendir.c: ... here.
31712 * sysdeps/unix/opendir.c: Renamed to ...
31713 * sysdeps/posix/opendir.c: ... here.
31714 * sysdeps/unix/readdir.c: Renamed to ...
31715 * sysdeps/posix/readdir.c: ... here.
31716 * sysdeps/unix/readdir_r.c: Renamed to ...
31717 * sysdeps/posix/readdir_r.c: ... here.
31718 * sysdeps/unix/rewinddir.c: Renamed to ...
31719 * sysdeps/posix/rewinddir.c: ... here.
31720 * sysdeps/unix/seekdir.c: Renamed to ...
31721 * sysdeps/posix/seekdir.c: ... here.
31722 * sysdeps/unix/telldir.c: Renamed to ...
31723 * sysdeps/posix/telldir.c: ... here.
31724 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31725 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31726 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31727 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31728
22895b47
RM
31729 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31730 * bits/fcntl.h: ... here.
31731
707a53b6
RM
31732 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31733 not 0.
31734 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31735 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31736 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31737 (struct flock): Move l_start, l_len to the beginning.
31738 Use __pid_t for l_pid.
31739 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31740 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31741 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31742 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31743 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31744 [__USE_LARGEFILE64] (struct flock64): New type.
31745 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31746
f0bd3e25
RM
31747 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31748 * bits/dirent.h: ... here.
31749
d34689de
RM
31750 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31751 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31752
6dad2c06
JM
317532012-08-07 Joseph Myers <joseph@codesourcery.com>
31754
31755 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31756 Change from 2.6.0 to 2.6.16.
31757 * sysdeps/unix/sysv/linux/configure: Regenerated.
31758 * sysdeps/unix/sysv/linux/kernel-features.h
31759 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31760 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31761 version.
31762 (__ASSUME_UTIMES): Likewise.
31763 (__ASSUME_CLONE_STOPPED): Remove.
31764 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31765 architectures, not kernel version.
31766 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31767 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31768 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31769 (__ASSUME_WAITID_SYSCALL): Likewise.
31770 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31771 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31772 * README: State 2.6.16 as minimum Linux kernel version. Do not
31773 refer to older versions.
31774
03af9520
RM
317752012-08-06 Roland McGrath <roland@hack.frob.com>
31776
8e49df1d
RM
31777 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31778 Define alphasort64 as an alias.
31779 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31780 Define versionsort64 as an alias.
31781 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31782 Define scandir64 as an alias.
31783 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31784 Define scandirat64 as an alias.
31785 * dirent/alphasort64.c (alphasort64):
31786 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31787 * dirent/versionsort64.c: Likewise.
31788 * dirent/scandir64.c: Likewise.
31789 * dirent/scandirat64.c: Likewise.
31790 * sysdeps/wordsize-64/alphasort.c: File removed.
31791 * sysdeps/wordsize-64/alphasort64.c: File removed.
31792 * sysdeps/wordsize-64/scandir.c: File removed.
31793 * sysdeps/wordsize-64/scandir64.c: File removed.
31794 * sysdeps/wordsize-64/scandirat.c: File removed.
31795 * sysdeps/wordsize-64/scandirat64.c: File removed.
31796 * sysdeps/wordsize-64/versionsort.c: File removed.
31797 * sysdeps/wordsize-64/versionsort64.c: File removed.
31798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31800 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31801 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31802 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31806
31807 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31809 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31811 [defined __arch64__ || defined __sparcv9]
31812 (__INO_T_MATCHES_INO64_T): New macro.
31813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31814 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31815 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31816 * sysdeps/unix/sysv/linux/bits/dirent.h
31817 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31818 (_DIRENT_MATCHES_DIRENT64): New macro.
31819
03af9520
RM
31820 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31821 Define lockf64 as an alias.
31822 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31823 Define fseeko64 as an alias.
31824 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31825 Define ftello64 as an alias.
31826 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31827 Define _IO_fgetpos64 and fgetpos64 as aliases.
31828 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31829 Define _IO_fsetpos64 and fsetpos64 as aliases.
31830 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31831 Conditionalize body on this.
31832 * libio/fseeko64.c: Likewise.
31833 * libio/ftello64.c: Likewise.
31834 * libio/iofgetpos64.c: Likewise.
31835 * libio/iofsetpos64.c: Likewise.
31836 * sysdeps/wordsize-64/lockf.c: File removed.
31837 * sysdeps/wordsize-64/lockf64.c: File removed.
31838 * sysdeps/wordsize-64/fseeko.c: File removed.
31839 * sysdeps/wordsize-64/fseeko64.c: File removed.
31840 * sysdeps/wordsize-64/ftello.c: File removed.
31841 * sysdeps/wordsize-64/ftello64.c: File removed.
31842 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31843 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31844 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31845 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31846 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31847 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31848 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31850 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31852 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31853 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31855 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31856
31857 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31859 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31861 [defined __arch64__ || defined __sparcv9]
31862 (__OFF_T_MATCHES_OFF64_T): New macro.
31863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31864 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31866 (__OFF_T_MATCHES_OFF64_T): New macro.
31867
c5757acd
L
318682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31869
31870 * stdlib/secure-getenv.c (__secure_getenv): Replace
31871 GLIBC_2_16 with GLIBC_2_17.
31872
3a31811e
L
318732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31874
31875 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31876 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31877
faa2bccb
DM
318782012-08-03 David S. Miller <davem@davemloft.net>
31879
31880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31881
85fe1997
JM
318822012-08-03 Joseph Myers <joseph@codesourcery.com>
31883
31884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31885 Remove.
31886 (__ASSUME_CORRECT_SI_PID): Likewise.
31887 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31888 (__ASSUME_TMPFS_NAME): Likewise.
31889 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31890 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31891 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31892 (HAVE_AUX_SECURE): Make definition unconditional.
31893 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31894 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31895
4f75b7a0
RM
318962012-08-03 Roland McGrath <roland@hack.frob.com>
31897
31898 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31899 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31900 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31901 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31902 __eloop_threshold instead of SYMLOOP_MAX.
31903
31904 * sysdeps/generic/eloop-threshold.h: New file.
31905 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31906 of MAXSYMLINKS.
31907 * elf/chroot_canon.c (chroot_canon): Likewise.
31908
7aab07e4
JM
319092012-08-03 Joseph Myers <joseph@codesourcery.com>
31910
31911 [BZ #13717]
31912 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31913 Change to 2.6.0 everywhere.
31914 * sysdeps/unix/sysv/linux/configure: Regenerated.
31915 * sysdeps/unix/sysv/linux/kernel-features.h
31916 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31917 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31918 kernel versions.
31919 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31920 (__ASSUME_FUTEX_REQUEUE): Remove.
31921 (__ASSUME_STATFS64): Define unconditionally.
31922 (__ASSUME_AT_SECURE): Likewise.
31923 (__ASSUME_CORRECT_SI_PID): Likewise.
31924 (__ASSUME_TGKILL): Define without depending on kernel version for
31925 i386.
31926 (__ASSUME_UTIMES): Likewise.
31927 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31928 kernel version.
31929 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31930 (__ASSUME_TMPFS_NAME): Likewise.
31931 * README: Update reference to Linux kernel versions.
31932
b67e9372
MP
319332012-08-02 Marek Polacek <polacek@redhat.com>
31934
1f529f7d 31935 [BZ# 14150]
b67e9372
MP
31936 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31937 libc_cv_asm_type_prefix with %.
31938 * configure: Regenerated.
d2441631
RM
31939 * include/libc-symbols.h: Remove comment about
31940 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31941 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31942 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31943 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31944 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31945 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31946 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31947 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31948 * elf/tst-unique2mod1.c: Likewise.
31949 * elf/tst-unique1mod2.c: Likewise.
31950 * elf/tst-unique1mod1.c: Likewise.
31951 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31952 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31953 Replace ASM_TYPE_DIRECTIVE with .type.
31954 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31955 * sysdeps/i386/sysdep.h: Likewise.
31956 * sysdeps/x86_64/sysdep.h: Likewise.
31957 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31959 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31960 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31961 * sysdeps/powerpc/powerpc32/sysdep.h:
31962 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31963 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31964 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31965 * sysdeps/i386/fpu/e_powf.S: Likewise.
31966 * sysdeps/i386/fpu/e_expl.S: Likewise.
31967 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31968 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31969 * sysdeps/i386/fpu/e_pow.S: Likewise.
31970 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31971 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31972 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31973 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31974 * sysdeps/i386/fpu/e_log2.S: Likewise.
31975 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31976 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31977 * sysdeps/i386/fpu/e_powl.S: Likewise.
31978 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31979 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31980 * sysdeps/i386/fpu/e_logl.S: Likewise.
31981 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31982 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31983 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31984 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31985 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31986 * sysdeps/i386/fpu/e_log.S: Likewise.
31987 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31988 * sysdeps/i386/fpu/e_logf.S: Likewise.
31989 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31990 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31991 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31992 * sysdeps/i386/fpu/e_log10.S: Likewise.
31993 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31994 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31995 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31996 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31997 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31998 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31999 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32000 * sysdeps/i386/i686/strtok.S: Likewise.
32001 * sysdeps/i386/i386-mcount.S: Likewise.
32002 * sysdeps/i386/strtok.S: Likewise.
32003 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32004 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32005 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32006 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32007 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32009 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32010 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32011 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32012 * sysdeps/x86_64/_mcount.S: Likewise.
32013 * sysdeps/x86_64/strtok.S: Likewise.
32014 * sysdeps/sh/_mcount.S: Likewise.
32015
2747bf9a
RM
320162012-08-01 Roland McGrath <roland@hack.frob.com>
32017
32018 * libio/iofopen.c: Include <fcntl.h>.
32019 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32020 (_IO_fopen64, fopen64): Define as aliases.
32021 * libio/iofopen64.c: Include <fcntl.h>.
32022 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32023 Conditionalize body on this.
32024 * sysdeps/wordsize-64/iofopen.c: File removed.
32025 * sysdeps/wordsize-64/iofopen64.c: File removed.
32026
3fb791b8
MP
320272012-08-01 Marek Polacek <polacek@redhat.com>
32028
32029 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32030 Use dlfcn directly instead of a variable.
32031 (binfmt-subdir): Do not define.
32032 (dlfcn): Likewise.
32033
a9f1039f
JM
320342012-08-01 Joseph Myers <joseph@codesourcery.com>
32035
23bddc06
JM
32036 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32037 Remove all definitions.
32038 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32039 <kernel-features.h>.
32040 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32041 (miss_F_GETOWN_EX): Remove all definitions.
32042 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32043 macro definition.
32044 [!__ASSUME_FCNTL64]: Remove conditional code.
32045 [__ASSUME_FCNTL64]: Make code unconditional.
32046 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32047 <kernel-features.h>.
32048 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32049 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32050 (lockf64) [__NR_fcntl64]: Make code unconditional.
32051 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32052
a9f1039f
JM
32053 * sysdeps/unix/sysv/linux/kernel-features.h
32054 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32055 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32056 Make code unconditional.
32057 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32058 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32060 [__NR_vfork]: Make code unconditional.
32061 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32062 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32064 [__NR_vfork]: Make code unconditional.
32065 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32066 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32067
09c0ee5f
RM
320682012-08-01 Roland McGrath <roland@hack.frob.com>
32069
48aec5b9
RM
32070 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32071 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32072
cd97c966
RM
32073 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32074 Define mkstemp64 as an alias.
3f55550c
RM
32075 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32076 Define mkstemps64 as an alias.
cd97c966
RM
32077 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32078 Define mkostemp64 as an alias.
b8625cfc
RM
32079 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32080 Define mkostemps64 as an alias.
cd97c966
RM
32081 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32082 Conditionalize body on this.
32083 * misc/mkostemp64.c: Likewise.
b8625cfc 32084 * misc/mkostemps64.c: Likewise.
3f55550c 32085 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32086 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32087 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32088 * sysdeps/wordsize-64/mkostemp.c: File removed.
32089 * sysdeps/wordsize-64/mkstemp.c: File removed.
32090 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32091 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32092 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32093 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32094
09c0ee5f
RM
32095 [BZ #14138]
32096 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32097 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32098 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32099 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32100
32101 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32102 compat_symbol macros from <shlib-compat.h> rather than the underlying
32103 default_symbol_version and symbol_version macros, so that DEFAULT
32104 lines in shlib-versions are respected.
32105 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32106
7e66ee51
FW
321072012-08-01 Florian Weimer <fweimer@redhat.com>
32108
32109 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32110 Declare with warn_unused_result.
32111 (setgid, setregid, setegid, setresgid): Likewise.
32112 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32113 Likewise.
32114 * WUR-REPORT: Remove set*id functions.
32115
d2a54255
PT
321162012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32117
32118 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32119
7ecdb005
RM
321202012-07-31 Roland McGrath <roland@hack.frob.com>
32121
b4180a5e 32122 [BZ #10191]
789bd351
RM
32123 * include/sys/socket.h (__libc_accept, __libc_accept4):
32124 Add attribute_hidden.
32125 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32126
40ce302d
RM
32127 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32128 use of PTR_MANGLE.
32129 * inet/getnetgrent_r.c (setup): Likewise.
32130
7ecdb005
RM
32131 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32132
e2eabb2c
DM
321332012-07-31 David S. Miller <davem@davemloft.net>
32134
32135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32136
d0419dbf
JM
321372012-07-31 Joseph Myers <joseph@codesourcery.com>
32138
32139 [BZ #13629]
32140 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32141 value between 1.0 and 2.0 and smaller part has absolute value less
32142 than 1.0.
32143 * math/s_clog10.c (__clog10): Likewise.
32144 * math/s_clog10f.c (__clog10f): Likewise.
32145 * math/s_clog10l.c (__clog10l): Likewise.
32146 * math/s_clogf.c (__clogf): Likewise.
32147 * math/s_clogl.c (__clogl): Likewise.
32148 * math/libm-test.inc (clog_test): Add more tests.
32149 (clog10_test): Likewise.
32150 * sysdeps/i386/fpu/libm-test-ulps: Update.
32151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32152
2bc13872
FW
321532012-07-31 Florian Weimer <fweimer@redhat.com>
32154
32155 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32156 Exit with zero in case no suitable GID is found, and write a
32157 message to standard error.
32158
bea9b193
RM
321592012-07-30 Roland McGrath <roland@hack.frob.com>
32160
32161 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32162 rather than to 1.
32163 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32164 (MAXPATHLEN): Removed.
32165 (NOGROUP, NODEV): New macros.
32166 (setbit, clrbit, isset, isclr): New macros.
32167 (howmany, roundup, powerof2): New macros.
32168 (DEV_BSIZE): New macro.
32169
32170 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32171 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32172
32173 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32174 definition on [!__NO_LONG_DOUBLE_MATH].
32175
32176 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32177 PTR_MANGLE and PTR_DEMANGLE.
32178
32179 * socket/accept4.c (accept4): Rename to __libc_accept4.
32180 Define accept4 as a weak alias.
32181
32182 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32183 on [_DIRENT_HAVE_D_TYPE].
32184 * io/ftw.c (ftw_dir): Likewise.
32185
32186 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32187
32188 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32189
32190 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32191 Use the BSD numbers rather than the arbitrary ones we had.
32192 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32193 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32194 (SIGXCPU, SIGXFSZ): New macros.
32195 (_NSIG): Now 32.
32196
32197 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32198 initializer on [_LIBC_REENTRANT].
32199
32200 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32201 definitions inside [_POSIX_MAPPED_FILES].
32202
32203 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32204
32205 * dirent/opendir.c: Include <fcntl.h>.
32206
32207 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32208 (__libc_getspecific): Likewise.
32209 (__libc_key_create): Likewise.
32210
32211 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32212 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32213 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32214 (tmpfile64): Define as alias.
32215 * sysdeps/wordsize-64/tmpfile.c: File removed.
32216 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32217 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32218 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32219
32220 * stdio-common/vfscanf.c: Include <stdbool.h>.
32221 * nss/makedb.c: Likewise.
32222 * stdio-common/_i18n_number.h: Likewise.
32223 * argp/argp-help.c: Likewise.
32224 * posix/wordexp.c: Likewise.
32225 * sysdeps/posix/spawni.c: Likewise.
32226 * nss/nss_files/files-initgroups.c: Likewise.
32227 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32228 * nss/nss_files/files-initgroups.c: Likewise.
32229 * nss/nss_db/db-netgrp.c: Likewise.
32230 * nss/nss_db/db-initgroups.c: Likewise.
32231 * io/fchmodat.c: Include <sys/stat.h>.
32232
32233 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32234 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32235
32236 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32237 [HAVE_MMAP].
32238
32239 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32240 Add multiple inclusion protection.
32241
e5abc686
DM
322422012-07-27 David S. Miller <davem@davemloft.net>
32243
32244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32245
815e6fa3
GB
322462012-07-27 Gary Benson <gbenson@redhat.com>
32247
32248 [BZ #14298]
32249 * elf/rtld.c: Include <stap-probe.h>.
32250 (dl_main): Added static probes "init_start" and "init_complete".
32251 * elf/dl-load.c: Include <stap-probe.h>.
32252 (lose): Take new parameter "nsid".
32253 Added static probe "map_failed".
32254 (_dl_map_object_from_fd): Pass namespace id to lose.
32255 Added static probe "map_start".
32256 (open_verify): Pass namespace id to lose.
32257 * elf/dl-open.c: Include <stap-probe.h>.
32258 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32259 and "reloc_complete".
32260 * elf/dl-close.c: Include <stap-probe.h>.
32261 (_dl_close_worker): Added static probes "unmap_start" and
32262 "unmap_complete".
32263 * elf/rtld-debugger-interface.txt: New file documenting the above.
32264
9f98c16c
RM
322652012-07-26 Roland McGrath <roland@hack.frob.com>
32266
32267 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32268 rather than a string variable.
32269 * sunrpc/rpc_main.c (h_output): Likewise.
32270 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32271
f3c22df3
PT
322722012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32273
32274 * inet/check_native.c: New file.
32275
3129cfc6
JM
322762012-07-26 Joseph Myers <joseph@codesourcery.com>
32277
da865e95
JM
32278 [BZ #13629]
32279 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32280 if larger part has absolute value 1.0.
32281 * math/s_clog10.c (__clog10): Likewise.
32282 * math/s_clog10f.c (__clog10f): Likewise.
32283 * math/s_clog10l.c (__clog10l): Likewise.
32284 * math/s_clogf.c (__clogf): Likewise.
32285 * math/s_clogl.c (__clogl): Likewise.
32286 * math/libm-test.inc (clog_test): Add more tests.
32287 (clog10_test): Likewise.
32288 * sysdeps/i386/fpu/libm-test-ulps: Update.
32289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32290
3129cfc6
JM
32291 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32292 (pltexit): Likewise.
32293 (La_regs): Likewise.
32294 (La_retval): Likewise.
32295 (int_retval): Likewise.
32296 Update #error for removed macros to refer only to definitions in
32297 tst-audit.h.
32298 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32299 macro.
32300 (pltexit): Likewise.
32301 (La_regs): Likewise.
32302 (La_retval): Likewise.
32303 (int_retval): Likewise.
32304 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32305 macro.
32306 (pltexit): Likewise.
32307 (La_regs): Likewise.
32308 (La_retval): Likewise.
32309 (int_retval): Likewise.
32310 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32311 macro.
32312 (pltexit): Likewise.
32313 (La_regs): Likewise.
32314 (La_retval): Likewise.
32315 (int_retval): Likewise.
32316 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32317 macro.
32318 (pltexit): Likewise.
32319 (La_regs): Likewise.
32320 (La_retval): Likewise.
32321 (int_retval): Likewise.
32322 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32323 macro.
32324 (pltexit): Likewise.
32325 (La_regs): Likewise.
32326 (La_retval): Likewise.
32327 (int_retval): Likewise.
32328 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32329 macro.
32330 (pltexit): Likewise.
32331 (La_regs): Likewise.
32332 (La_retval): Likewise.
32333 (int_retval): Likewise.
32334 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32335 macro definitions in tst-audit.h.
32336 * sysdeps/i386/tst-audit.h: New file.
32337 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32338 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32339 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32340 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32341 * sysdeps/sh/tst-audit.h: Likewise.
32342 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32343 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32344 * sysdeps/x86_64/tst-audit.h: Likewise.
32345
bfc07087
AJ
323462012-07-26 Andreas Jaeger <aj@suse.de>
32347
b1b2aaf8
AJ
32348 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32349 ptrace.
32350
32351 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32352 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32353 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32354 PTRACE_O_MASK.
32355 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32356 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32357 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32358
bfc07087
AJ
32359 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32360 value.
32361
32362 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32363 _sigsys.
32364 (si_call_addr, si_syscall, si_arch): Define new macro.
32365 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32366 _sigsys.
32367 (si_call_addr, si_syscall, si_arch): Define new marcro.
32368 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32369 _sigsys.
32370 (si_call_addr, si_syscall, si_arch): Define new macro.
32371 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32372 _sigsys.
32373 (si_call_addr, si_syscall, si_arch): Define new macro.
32374
89b4b02f
JM
323752012-07-25 Joseph Myers <joseph@codesourcery.com>
32376
32377 [BZ #13717]
32378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32379 Change to 2.4.21 where previously 2.4.1.
32380 * sysdeps/unix/sysv/linux/configure: Regenerated.
32381 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32382 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32383 Linux kernel version.
32384 (__ASSUME_STD_AUXV): Remove.
32385 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32386 kernel version.
32387 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32388 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32389 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32390 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32391 (__ASSUME_NETLINK_SUPPORT): Likewise.
32392 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32393 (__no_netlink_support): Remove conditional definition.
32394 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32395 Remove.
32396 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32397 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32398 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32399 (if_nameindex_ioctl): Remove.
32400 (if_nameindex_netlink): Do not handle __no_netlink_support.
32401 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32402 code.
32403 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32404 Remove conditional code.
32405 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32406 code.
32407 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32408 unconditional.
32409 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32410 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32411 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32412 Remove.
32413 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32414 [!__ASSUME_STD_AUXV]: Remove conditional code.
32415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32416 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32417 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32419 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32420 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32421 code.
32422 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32424 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32426 conditional code.
32427 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32429 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32430 code.
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32432 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32433 conditional code.
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32435 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32436 code unconditional.
32437 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32438 conditional code.
32439 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32440 unconditional.
32441 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32442 conditional code.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32444 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32445 unconditional.
32446 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32447 conditional code.
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32449 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32450 code unconditional.
32451 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32452 conditional code.
32453 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32454 unconditional.
32455 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32456 conditional code.
32457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32458 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32459 code unconditional.
32460 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32461 conditional code.
32462 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32463 unconditional.
32464 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32465 conditional code.
32466
842a39cd
AS
324672012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32468
32469 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32470 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32471 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32472 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32473 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32474 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32475 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32476 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32477 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32478 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32479 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32480 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32481 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32482 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32483 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32484 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32485 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32487 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32489 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32490 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32492
84b3fd84
FW
324932012-07-25 Florian Weimer <fweimer@redhat.com>
32494
32495 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32496 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32497 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32498 Introduce __libc_secure_getenv.
0c7936d5
FW
32499 * stdlib/Versions (2.17): Add secure_getenv
32500 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32501 * stdlib/secure-getenv.c: Rename __secure_getenv to
32502 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32503 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32504 * stdlib/tst-secure-getenv.c: New.
32505 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32506 * manual/startup.texi (Environment Access): Document
32507 secure_getenv.
84b3fd84
FW
32508 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32509 __libc_secure_getenv.
32510 * inet/ruserpass.c (ruserpass): Likewise.
32511 * malloc/mtrace.c (mtrace): Likewise.
32512 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32513 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32514 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32515 * sysdeps/posix/tempname.c: Likewise. Evaluate
32516 HAVE_SECURE_GETENV.
32517 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32518 __secure_getenv to __libc_secure_getenv.
84b3fd84 32519 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32521 Likewise.
32522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32523 Likewise.
32524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32531
56e49b71
JM
325322012-07-25 Joseph Myers <joseph@codesourcery.com>
32533
32534 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32535 (struct La_i86_retval): Likewise.
32536 (struct La_x86_64_regs): Likewise.
32537 (struct La_x86_64_retval): Likewise.
32538 (struct La_x32_regs): Likewise.
32539 (struct La_x32_retval): Likewise.
32540 (struct La_ppc32_regs): Likewise.
32541 (struct La_ppc32_retval): Likewise.
32542 (struct La_ppc64_regs): Likewise.
32543 (struct La_ppc64_retval): Likewise.
32544 (struct La_sh_regs): Likewise.
32545 (struct La_sh_retval): Likewise.
32546 (struct La_s390_32_regs): Likewise.
32547 (struct La_s390_32_retval): Likewise.
32548 (struct La_s390_64_regs): Likewise.
32549 (struct La_s390_64_retval): Likewise.
32550 (struct La_sparc32_regs): Likewise.
32551 (struct La_sparc32_retval): Likewise.
32552 (struct La_sparc64_regs): Likewise.
32553 (struct La_sparc64_retval): Likewise.
32554 (struct audit_ifaces): Remove architecture-specific pltenter and
32555 pltexit members.
32556 * sysdeps/i386/ldsodefs.h: New file.
32557 * sysdeps/powerpc/ldsodefs.h: Likewise.
32558 * sysdeps/s390/ldsodefs.h: Likewise.
32559 * sysdeps/sh/ldsodefs.h: Likewise.
32560 * sysdeps/sparc/ldsodefs.h: Likewise.
32561 * sysdeps/x86_64/ldsodefs.h: Likewise.
32562
354691b7
MP
325632012-07-25 Marek Polacek <polacek@redhat.com>
32564
32565 [BZ #6808]
32566 * math/libm-test.inc (yn_test): Add another test.
32567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32568 to ERANGE when the result is +-Inf.
32569 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32570 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32571 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32572 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32573
bf9e2071
JM
325742012-07-24 Joseph Myers <joseph@codesourcery.com>
32575
32576 * conform/data/time.h-data (NULL): Use macro-constant. Require
32577 equal to 0.
32578 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32579 clock_t.
32580 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32581
57633811
TS
325822012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32583
32584 * configure.in <sysdeps resolving>: Correct printing
32585 Implies_before.
32586 * configure: Regenerate.
32587
c23c33b0
TS
325882012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32589
32590 * math/w_ilogb.c: Include <limits.h>.
32591 * math/w_ilogbl.c: Likewise.
32592
b5982523
JM
325932012-07-20 Joseph Myers <joseph@codesourcery.com>
32594
32595 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32596 va_copy. Document allowing for unavailable va_copy only as
32597 pre-C99 compatibility.
32598 * manual/string.texi (Copying and Concatenation): Use va_copy
32599 instead of __va_copy in concat example.
32600
ac4ea442
PT
326012012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32602
32603 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32604 (__sendto): Use create_address_port. Initialize APORT and deallocate
32605 it if not null.
32606
f98eafbd
PT
32607 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32608 with O_NOLINK passed to __file_name_lookup.
32609
898c7aab
PT
32610 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32611 with O_NOLINK passed to __file_name_lookup.
32612
0ced335a
PT
32613 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32614 negative N or less than NGIDS.
32615
b3404dbd
PT
32616 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32617 type to string_t. Set ERANGE as errno and return it if NAME is not big
32618 enough. Use memcpy instead of strncpy.
32619
0f48659e
JM
326202012-07-20 Joseph Myers <joseph@codesourcery.com>
32621
32622 * elf/Makefile (check-data): Remove.
32623 (localplt.data): New vpath directive.
32624 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32625 instead of $(check-data).
32626 * scripts/data/localplt-generic.data: Move to ...
32627 * sysdeps/generic/localplt.data: ... here.
32628 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32629 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32630 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32632 ... here.
32633 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32635 ... here.
32636 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32638 ... here.
32639 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32641 ... here.
32642 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32644 ... here.
32645 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32647 ... here.
32648
d37cbdaa
AZ
326492012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32650
32651 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32652 PPC32 and PPC64 files.
32653 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32654 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32655
46f85fc2
AK
326562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32657
32658 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32659 __makecontext_ret to ...
32660 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32661 ... here and call exit if uc_link is NULL. New file.
32662 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32663 __makecontext_ret.S.
32664 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32665 __makecontext_ret to ...
32666 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32667 ... here and call exit if uc_link is NULL. New file.
32668 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32669 __makecontext_ret.S.
32670
08f43f9b
AK
326712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32672
32673 * elf/elf.h (R_390_IRELATIVE): New definition.
32674 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32675 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32676 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32677 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32678 (elf_machine_lazy_rel): Likewise.
32679 * sysdeps/s390/dl-irel.h: New file.
32680 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32681 * sysdeps/s390/s390-64/memset.S: New asm code.
32682 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32683 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32684 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32685 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32686 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32687 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32688 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32689 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32690 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32691 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32692 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32693 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32694 * sysdeps/s390/s390-32/memset.S: New asm code.
32695 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32696
3b05db33
MP
326972012-07-17 Marek Polacek <polacek@redhat.com>
32698
32699 [BZ #14349]
32700 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32701 * sysdeps/s390/s390-64/configure.in: Likewise.
32702 * sysdeps/sparc/configure.in: Likewise.
32703 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32704 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32705 * sysdeps/i386/configure.in: Likewise.
32706 * sysdeps/x86_64/configure.in: Likewise.
32707 * sysdeps/sh/configure.in: Likewise.
32708 * sysdeps/s390/s390-32/configure: Regenerated.
32709 * sysdeps/s390/s390-64/configure: Likewise.
32710 * sysdeps/x86_64/configure: Likewise.
32711 * sysdeps/sh/configure: Likewise.
32712 * sysdeps/powerpc/powerpc64/configure: Likewise.
32713 * sysdeps/powerpc/powerpc32/configure: Likewise.
32714 * sysdeps/sparc/configure: Likwise.
32715 * sysdeps/i386/configure: Likewise.
32716
a66877c6
MP
32717 * elf/dl-open.c: Comment fixes.
32718
cfc82fd8
JM
327192012-07-17 Joseph Myers <joseph@codesourcery.com>
32720
bd29910a
JM
32721 * Makefile [CXX] (check-data): Remove.
32722 [CXX] (c++-types.data): New vpath directive.
32723 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32724 vpath. Do not allow for C++ type data being missing.
32725 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32726 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32727 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32728 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32729 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32730 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32731 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32733 ... here.
32734 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32736 ... here.
32737 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32739 ... here.
32740 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32742 ... here.
32743 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32745 ... here.
32746 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32748 ... here.
32749 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32751 ... here.
32752 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32754
cfc82fd8
JM
32755 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32756 definitions to architecture-specific files.
32757 (TLS_IE): Likewise.
32758 (TLS_LD): Likewise.
32759 (TLS_GD): Likewise.
32760 * sysdeps/i386/tls-macros.h: New file.
32761 * sysdeps/powerpc/tls-macros.h: Likewise.
32762 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32763 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32764 * sysdeps/sh/tls-macros.h: Likewise.
32765 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32766 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32767 * sysdeps/x86_64/tls-macros.h: Likewise.
32768
f7db3170
TS
327692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32770
07cbfc23
TS
32771 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32772 zero value for regular exit case.
32773
f7db3170
TS
32774 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32775 (__start_context): Preserve zero value for regular exit case.
32776
dc97c227
TS
327772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32778 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32779
32780 * manual/setjmp.texi (setcontext): Clarify normal process
32781 termination when uc_link is the null pointer.
32782 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32783 exit call.
32784
d0cd7d02
AS
327852012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32786
32787 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32788 preprocessor. Test for each exception mask separately.
32789
dd318934
AJ
327902012-07-16 Andreas Jaeger <aj@suse.de>
32791
32792 * po/ru.po: Update from translation team.
32793
8048311a
JM
327942012-07-15 Joseph Myers <joseph@codesourcery.com>
32795
32796 * conform/data/string.h-data (NULL): Use macro-constant. Require
32797 equal to 0.
32798 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32799 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32800 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32801 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32803
b637d46e
AJ
328042012-07-13 Andreas Jaeger <aj@suse.de>
32805
32806 * po/fr.po: Update from translation team.
32807
541428fe
MP
328082012-07-12 Marek Polacek <polacek@redhat.com>
32809
32810 [BZ #14173]
32811 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32812 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32813 loop condition.
32814
ec332e94
JM
328152012-07-12 Joseph Myers <joseph@codesourcery.com>
32816
32817 [BZ #13717]
32818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32819 Change to 2.4.1 where previously 2.4.0.
32820 * sysdeps/unix/sysv/linux/configure: Regenerated.
32821 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32822 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32823 version.
32824 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32825 (__ASSUME_AT_CLKTCK): Remove.
32826 (__ASSUME_AT_PAGESIZE): Likewise.
32827 (__ASSUME_AT_XID): Likewise.
32828 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32829 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32830 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32831 unconditionally.
32832 (HAVE_AUX_PAGESIZE): Likewise.
32833 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32834 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32835 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32836
7b6e99be
JB
328372012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32838
32839 [BZ #14307]
32840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32841 the temporary buffer used to invoke __gethostbyname2_r,
32842 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32843 host_data / struct gaih_addrtuple.
32844 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32845 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32846 header file nss/nsswitch.h.
32847 * nss/nsswitch.h (global scope): Add definition of implementation
32848 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32849 resolv/nss_dns/dns-host.c).
32850
608404eb
AJ
328512012-07-11 Andreas Jaeger <aj@suse.de>
32852
32853 * po/fr.po: Update from translation team.
32854
71220aca
AJ
32855 * po/sv.po: Update from translation team
32856 * po/fr.po: Another update from translation team.
32857
28cfe843
AZ
328582012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32859
32860 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32861 for subnormals or multiply small sinh result by itself.
32862 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32864
6b90f981
DM
328652012-07-11 David S. Miller <davem@davemloft.net>
32866
32867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32868
c6825772
AS
328692012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32870
32871 [BZ #14347]
32872 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32873 (INTERNAL_MARK): Shift it here.
32874
7b8e0d49
MP
328752012-07-10 Marek Polacek <polacek@redhat.com>
32876
32877 [BZ #14151]
32878 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32879 libc_cv_asm_global_directive with .globl.
32880 * configure: Regenerated.
32881 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32882 with .globl.
32883 * sysdeps/i386/configure: Regenerated.
32884 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32885 with .globl.
32886 * sysdeps/x86_64/configure: Regenerated.
32887 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32888 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32889 * elf/tst-unique2mod2.c: Likewise.
32890 * elf/tst-unique2mod1.c: Likewise.
32891 * elf/tst-unique1mod2.c: Likewise.
32892 * elf/tst-unique1mod1.c: Likewise.
32893 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32894 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32896 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32897 * sysdeps/mach/sysdep.h: Likewise.
32898 * sysdeps/i386/sysdep.h: Likewise.
32899 * sysdeps/i386/i386-mcount.S: Likewise.
32900 * sysdeps/x86_64/_mcount.S: Likewise.
32901 * sysdeps/x86_64/sysdep.h: Likewise.
32902 * sysdeps/sh/_mcount.S: Likewise.
32903 * sysdeps/sh/sysdep.h: Likewise.
32904 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32905 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32906 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32907 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32908 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32909 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32910 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32911 * locale/localeinfo.h: Likewise.
32912 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32913 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32914
6c55cda3
RM
329152012-07-09 Roland McGrath <roland@hack.frob.com>
32916
32917 [BZ #14336]
32918 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32919 system".
32920 * manual/message.texi (The Uniforum approach): Likewise.
32921 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32922 (glibc iconv Implementation): Likewise.
32923
638a572e
JM
329242012-07-09 Joseph Myers <joseph@codesourcery.com>
32925
32926 [BZ #14337]
32927 * math/s_clog.c (__clog): Avoid scaling a value down where that
32928 could result in underflow.
32929 * math/s_clog10.c (__clog10): Likewise.
32930 * math/s_clog10f.c (__clog10f): Likewise.
32931 * math/s_clog10l.c (__clog10l): Likewise.
32932 * math/s_clogf.c (__clogf): Likewise.
32933 * math/s_clogl.c (__clogl): Likewise.
32934 * math/libm-test.inc (clog_test): Add more tests.
32935 (clog10_test): Likewise.
32936 * sysdeps/i386/fpu/libm-test-ulps: Update.
32937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32938
261f4859
AS
329392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32940
0abaf3e4
AS
32941 [BZ #14283]
32942 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32943 by 7 not 8 to examine high bit of fractional part.
32944
261f4859
AS
32945 [BZ #14042]
32946 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32947 for call to __mcount_internal.
32948 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32949 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32950 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32951
f17ac40d
JM
329522012-07-06 Joseph Myers <joseph@codesourcery.com>
32953
9ad63c23
JM
32954 [BZ #14154]
32955 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32956 approximation for values within 0x1p-13f of an odd multiple of
32957 pi/4.
32958 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32959 exception. Add more tests.
32960 * sysdeps/i386/fpu/libm-test-ulps: Update.
32961
f17ac40d
JM
32962 [BZ #6778]
32963 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32964 inputs and return -1 for them. Do not check for +Inf in case not
32965 reachable for +Inf.
32966 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32967 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32968 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32969 and return -1 for them. Do not check for +Inf in case not
32970 reachable for +Inf.
32971 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32972 define.
32973 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32974 and return -1 for them. Do not check for +Inf in case not
32975 reachable for +Inf.
32976 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32977 spurious underflow.
32978 * sysdeps/i386/fpu/libm-test-ulps: Update.
32979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32980
fb21f89b
MF
329812012-07-06 Mike Frysinger <vapier@gentoo.org>
32982
32983 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32984
cdfe2c5e
JM
329852012-07-05 Joseph Myers <joseph@codesourcery.com>
32986
32987 [BZ #14157]
32988 [BZ #14331]
32989 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32990 could result in spurious underflow. Scale down values above
32991 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32992 * math/s_csqrtf.c (__csqrtf): Likewise.
32993 * math/s_csqrtl.c (__csqrtl): Likewise.
32994 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32995 spurious underflow.
32996 * sysdeps/i386/fpu/libm-test-ulps: Update.
32997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32998
70d35b67
AS
329992012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33000
704bc459
AS
33001 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33002 xopen-msg.sed.
33003 * catgets/xopen-msg.awk: New file.
33004 * catgets/xopen-msg.sed: Removed.
33005
70d35b67
AS
33006 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33007 po2text.sed.
33008 * intl/po2test.awk: New file.
33009 * intl/po2test.sed: Removed.
33010
ca61cf32
JM
330112012-07-04 Joseph Myers <joseph@codesourcery.com>
33012
33013 [BZ #14328]
33014 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33015 or multiply small sinh result by itself.
33016 * math/s_ctanf.c (__ctanf): Likewise.
33017 * math/s_ctanh.c (__ctanh): Likewise.
33018 * math/s_ctanhf.c (__ctanhf): Likewise.
33019 * math/s_ctanhl.c (__ctanhl): Likewise.
33020 * math/s_ctanl.c (__ctanl): Likewise.
33021 * math/libm-test.inc (ctan_test_tonearest): New function.
33022 (ctan_test_towardzero): Likewise.
33023 (ctan_test_downward): Likewise.
33024 (ctan_test_upward): Likewise.
33025 (ctanh_test_tonearest): Likewise.
33026 (ctanh_test_towardzero): Likewise.
33027 (ctanh_test_downward): Likewise.
33028 (ctanh_test_upward): Likewise.
33029 (main): Call these new functions.
33030 * sysdeps/i386/fpu/libm-test-ulps: Update.
33031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33032
ca48a46a
MF
330332012-07-03 Mike Frysinger <vapier@gentoo.org>
33034
33035 * .gitignore: Delete /ports entry.
33036
9d63d37d
AJ
330372012-07-03 Andreas Jaeger <aj@suse.de>
33038
33039 * po/bg.po: Update from translation team.
33040 * po/cs.po: Likewise.
33041 * po/de.po: Likewise.
33042 * po/hr.po: Likewise.
33043 * po/nl.pl: Likewise.
33044 * po/pl.po: Likewise.
33045 * po/vi.po: Likewise.
33046
370ca3d2
JM
330472012-07-03 Joseph Myers <joseph@codesourcery.com>
33048
95f5a9a8
JM
33049 * Makeconfig [!+link] (+link-before-libc): New variable.
33050 [!+link] (+link-after-libc): Likewise.
33051 [!+link] (+link-tests): Likewise.
33052 [!+link] (+link): Define in terms of $(+link-before-libc) and
33053 $(+link-after-libc).
33054 [!+link-static] (+link-static-before-libc): New variable.
33055 [!+link-static] (+link-static-after-libc): Likewise.
33056 [!+link-static] (+link-static-tests): Likewise.
33057 [!+link-static] (+link-static): Define in terms of
33058 $(+link-static-before-libc) and $(+link-static-after-libc).
33059 [build-shared] (link-libc-before-gnulib): New variable.
33060 [build-shared] (link-libc-tests): Likewise.
33061 [build-shared] (link-libc): Define in terms of
33062 $(link-libc-before-gnulib).
33063 [!build-shared] (link-libc-tests): New variable.
33064 (link-libc-static-tests): New variable.
33065 [!gnulib] (gnulib-arch): New variable.
33066 [!gnulib] (gnulib-tests): Likewise.
33067 [!gnulib] (static-gnulib-arch): Likewise.
33068 [!gnulib] (static-gnulib-tests): Likewise.
33069 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33070 Define with "=" instead of ":=".
33071 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33072 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33073 * Rules (binaries-all-notests): New variable.
33074 (binaries-all-tests): Likewise.
33075 (binaries-static-notests): Likewise.
33076 (binaries-static-tests): Likewise.
33077 (binaries-all): Define using $(binaries-all-notests) and
33078 $(binaries-all-tests).
33079 (binaries-static): Define using $(binaries-static-notests) and
33080 $(binaries-static-tests).
33081 (binaries-shared-tests): New variable.
33082 (binaries-shared-notests): Likewise.
33083 (binaries-shared): Remove variable.
33084 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33085 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33086 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33087 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33088 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33089 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33090 * elf/Makefile (sln-modules): New variable.
33091 (extra-objs): Add $(sln-modules:=.o).
33092 (ldconfig-modules): Add static-stubs.
33093 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33094 * elf/static-stubs.c: New file.
33095
7a845b2c
JM
33096 [BZ #14283]
33097 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33098 by 7 not 8 to examine high bit of fractional part. Use volatile
33099 variables when splitting into final array of floats if
33100 __FLT_EVAL_METHOD__ != 0.
33101 * math/libm-test.inc (cos_test): Add another test.
33102 (sin_test): Likewise.
33103 * sysdeps/i386/fpu/libm-test-ulps: Update.
33104
e2283f38
JM
33105 [BZ #14273]
33106 * math/libm-test.inc (cosh_test): Add more tests.
33107
370ca3d2
JM
33108 * version.h (RELEASE): Set to "development".
33109 (VERSION): Set to "2.16.90".
33110
ee9247c3
CD
331112012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33112
33113 * NEWS: Update copyright. Remove last-updated date.
33114 Mention math library bug fixes and timezone data changes.
33115 * README: Mention GNU/Hurd, x32, and HPPA support status.
33116
4648c381
TS
331172012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33118
33119 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33120
aac78a43
AJ
331212012-06-27 Andreas Jaeger <aj@suse.de>
33122
33123 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33124
ed3dbfad
AJ
331252012-06-25 Andreas Jaeger <aj@suse.de>
33126
33127 * sysdeps/s390/fpu/libm-test-ulps: Update.
33128
4d0ee855
AS
331292012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33130 Thomas Schwinge <thomas@codesourcery.com>
33131
33132 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33133 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33135 fanotify_mark.
33136
af1bce34
TS
331372012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33138
a9fa33ba
TS
33139 * sysdeps/mach/start.c: Remove file.
33140 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33141 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33142 * sysdeps/sh/init-first.c: Likewise.
33143
58f902b8
TS
33144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33145 registers for frame unwinding purposes, add CFI directives.
33146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33148 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33149 Likewise.
33150
1518f58b
TS
33151 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33152 __fortify_fail returning.
33153 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33154
db9b5059
TS
33155 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33156 sysdeps/sh/____longjmp_chk.S.
33157 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33158 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33159 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33160 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33161
967705fe
TS
33162 * sysdeps/sh/abort-instr.h: New file.
33163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33164 process in case exit returns.
33165
a9def8c4
TS
33166 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33167 initialize the GOT register before use.
33168
2a649725
TS
33169 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33170 calculation of ARGC > 4.
33171
af1bce34
TS
33172 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33173 meaningful names to some local labels.
33174
d230f50a
KK
331752012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33176 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33177
33178 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33179 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33180 (__arch_compare_and_exchange_val_16_acq): Likewise.
33181 (__arch_compare_and_exchange_val_32_acq): Likewise.
33182 (atomic_exchange_and_add): Fix gUSA sequence.
33183 (atomic_add): Likewise.
33184 (atomic_add_negative): Likewise.
33185 (atomic_add_zero): Likewise.
33186 (atomic_bit_test_set): Likewise.
33187
0479b305
AS
331882012-06-22 Andreas Schwab <schwab@redhat.com>
33189
33190 [BZ #13579]
33191 * include/link.h (struct link_map): Add l_free_initfini.
33192 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33193 l_initfini.
33194 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33195 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33196 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33197 set.
33198
0e3933b9
CD
331992012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33200
33201 * configure.in: Use AC_LANG_SOURCE.
33202 * configure: Regenerate.
33203
4248b1b1
RM
332042012-06-22 Roland McGrath <roland@hack.frob.com>
33205
33206 * configure.in (libc_cv_localstatedir): New substituted variable.
33207 * configure: Regenerated.
33208 * config.make.in (localstatedir): New variable, substituted from
33209 libc_cv_localstatedir.
33210 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33211 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33212 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33213 * sysdeps/gnu/configure: Regenerated.
33214
006dd861
JL
332152012-06-21 Jeff Law <law@redhat.com>
33216
33217 [BZ #14277]
33218 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33219 free. Simplify list management for _LIBC case.
33220
79662d42
JM
332212012-06-21 Joseph Myers <joseph@codesourcery.com>
33222
b7abb4bf
JM
33223 [BZ #14273]
33224 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33225 Clear sign bit of 64-bit integer value before comparing against
33226 overflow value.
33227
79662d42
JM
33228 * sysdeps/mach/configure: Regenerated.
33229
1f150908
L
332302012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33231
33232 [BZ #14278]
33233 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33234
28363bbf
JL
332352012-06-21 Jeff Law <law@redhat.com>
33236
33237 [BZ #13882]
33238 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33239 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33240 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33241 * elf/dl-open.c (dl_open_worker): Likewise.
33242
09615db4
CD
332432012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33244
33245 * scripts/list-sources.sh: Scan PORTS for translations.
33246 * po/libc.pot: Regenerated.
33247
2174c6dd
AJ
332482012-06-21 Andreas Jaeger <aj@suse.de>
33249
33250 [BZ #12194]
33251 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33252 warning.
33253 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33254 * bits/byteswap-16.h (__bswap_16): Likewise.
33255 * bits/byteswap.h (__bswap_constant_16): Likewise.
33256
3ee947b1
L
332572012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33258
33259 [BZ #14117]
a2f34833
L
33260 * sysdeps/i386/fpu_control.h: Removed.
33261 * sysdeps/x86_64/fpu_control.h: Moved to ...
33262 * sysdeps/x86/fpu_control.h: Here.
33263
3ee947b1
L
33264 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33265 (_FPU_SETCW): Likewise.
33266
ed1825f8
L
332672012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33268
25f1282a
L
33269 [BZ #14117]
33270 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33271 * sysdeps/x86/fpu/bits/mathinline.h: This.
33272 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33273
ed1825f8
L
33274 [BZ #14050]
33275 [BZ #14117]
33276 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33277 functions if __x86_64__ is defined.
33278
36d54b74
CLT
332792012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33280
33281 * string/endian.h: Add !__ASSEMBLER__ condition for including
33282 conversion interfaces.
33283
10285c21
JM
332842012-06-15 Joseph Myers <joseph@codesourcery.com>
33285
33286 [BZ #14241]
33287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33288 of ABS(x) in calculating zero to negative powers other than odd
33289 integers.
33290 * math/libm-test.inc (pow_test): Add more tests.
33291
06c5abbd
AJ
332922012-06-15 Andreas Jaeger <aj@suse.de>
33293
33294 * manual/contrib.texi (Contributors): Update entry of Liubov
33295 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33296 Machado Filho.
33297
a3aeac40
CH
332982012-06-15 Cyril Hrubis <metan@ucw.cz>
33299
33300 * string/string.h: Add __wur to GNU version of strerror_r.
33301
49bdf4c1
L
333022012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33303
33304 [BZ #14229]
33305 * string/Makefile (tests): Add tst-strtok_r.
33306 * string/tst-strtok_r.c: New file.
33307 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33308 RAX_LP/RDX_LP on SAVE_PTR.
33309
834f9b8d
RM
333102012-06-14 Roland McGrath <roland@hack.frob.com>
33311
33312 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33313
75fa1921
JM
333142012-06-14 Joseph Myers <joseph@codesourcery.com>
33315
33316 * libm_test.inc (csqrt_test): Allow more spurious underflow
33317 exceptions.
33318 (j0_test): Likewise.
33319 (j1_test): Likewise.
33320 (y0_test): Likewise.
33321 (y1_test): Likewise.
33322
771766df
CD
333232012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33324
33325 * po/Makefile (libc.pot): Use UTF-8 charset.
33326
ceb9e56b
PP
333272012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33328
33329 [BZ #14210]
33330 Suppress sign-conversion warning from FD_SET.
33331 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33332 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33333 not unsigned long int.
33334 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33335
ddb28975
L
333362012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33337
33338 [BZ #14050]
33339 [BZ #14117]
33340 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33341 __extern_always_inline instead of __extern_inline.
33342 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33343 (__signbit): Likewise.
33344 (__signbitl): Support C++ namespace.
33345 (lrintf): New inline function.
33346 (lrint): Likewise.
33347 (llrintf): Likewise.
33348 (llrint): Likewise.
33349 (fmaxf): Likewise.
33350 (fmax): Likewise.
33351 (fminf): Likewise.
33352 (fmin): Likewise.
33353 (rint): Likewise.
33354 (rintf): Likewise.
33355 (ceil): Likewise.
33356 (ceilf): Likewise.
33357 (floor): Likewise.
33358 (floorf): Likewise.
33359 (nearbyint): Likewise.
33360 (nearbyintf): Likewise.
33361
d7b4fb26
TS
333622012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33363
33364 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33365 non-default versions.
33366
eb55f5c2
RM
333672012-06-11 Roland McGrath <roland@hack.frob.com>
33368
33369 [BZ #14218]
33370 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33371
366af02c
TS
333722012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33373
99ff6e5c
TS
33374 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33375 (FE_UPWARD, FE_DOWNWARD): Don't define.
33376 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33378
366af02c
TS
33379 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33380 reading it.
33381 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33382 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33383
793ea851
KK
333842012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33385
33386 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33388 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33389 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33390
a728a38f
L
333912012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33392
33393 [BZ #14117]
c08010c7
L
33394 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33395 * sysdeps/i386/fpu/Implies: New file.
33396 * sysdeps/x86_64/fpu/Implies: Likewise.
33397 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33398 * sysdeps/x86/fpu/bits/fenv.h: This.
33399
a728a38f
L
33400 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33401 __SSE_MATH__.
33402
6e230d11
SP
334032012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33404
33405 [BZ #14134]
33406 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33407 character 0xffff that matches the last element of the
33408 conversion table.
33409
1b671feb
AZ
334102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33411
33412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33413 fmodl commit.
33414
6043738b
AZ
334152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33416
33417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33418 values higher than 25.6283.
33419
34ae0b32
AZ
334202012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33421
33422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33423 subnormal exponent extraction and add some __builtin_expect.
33424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33425 Fix for subnormal mantissa calculation.
33426
1214ec8f
MF
334272012-06-04 Mike Frysinger <vapier@gentoo.org>
33428
33429 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33430 cpu2 is -1 and errno is not ENOSYS.
33431
f3d1f93c
L
334322012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33433
33434 [BZ #14117]
0e4a3cd7
L
33435 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33436 * sysdeps/x86/bits/string.h: This.
33437 * sysdeps/x86_64/bits/string.h: Removed.
33438
6704c645
L
33439 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33440 if not compiling for x86-64, but compiling for >= i486.
33441
48495318
L
33442 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33443 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33444
14adcbfc
L
33445 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33446 New macro from Linux kernel 3.4.0.
33447 (FP_XSTATE_MAGIC2): Likewise.
33448 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33449 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33450 (struct _fpx_sw_bytes): New struct.
33451 (struct _xsave_hdr): Likewise.
33452 (struct _ymmh_state): Likewise.
33453 (struct _xstate): Likewise.
33454
68e408ab
L
33455 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33456 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33457 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33458 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33459 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33460 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33461
f3d1f93c
L
33462 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33463 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33464 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33465 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33466 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33467 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33468
d9dc34cd
TMQMF
334692012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33470
33471 [BZ #13743]
33472 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33473 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33474 (sysdep_headers): Include sys/platform/ppc.h.
33475 * sysdeps/powerpc/test-gettimebase.c: Test for
33476 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33477 * manual/Makefile (appendices): Include platform.texi.
33478 * manual/contrib.texi (Contributors): Update @node pointers.
33479 * manual/maint.texi (Maintenance): Likewise.
33480 (Platform): New node.
33481 * manual/platform.texi: New file. Document the new features.
33482
4af3879c
SP
334832012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33484 Jakub Jelinek <jakub@redhat.com>
33485
33486 [BZ #14188]
33487 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33488 where __builtin_expect is unavailable.
33489
2fd6ff13
DM
334902012-06-03 David S. Miller <davem@davemloft.net>
33491
33492 * stdlib/longlong.h: Updated from GCC.
33493
173f7220
AS
334942012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33495
33496 [BZ #14042]
33497 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33498 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33499 __mcount_internal.
33500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33501 (GLIBC_2.16): Likewise.
33502
f34a1c6f
L
335032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33504
33505 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33506
88a4576f
JM
335072012-06-01 Joseph Myers <joseph@codesourcery.com>
33508
ea32bcdd
JM
33509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33510 (default-abi): New variable.
33511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33512 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33513 variable.
33514 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33515 Likewise.
33516 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33517 Likewise.
33518 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33519 Likewise.
33520
88a4576f
JM
33521 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33522 definition. Document in comment.
33523
402fe938
DM
335242012-06-01 David S. Miller <davem@davemloft.net>
33525
33526 * stdlib/longlong.h: Updated from GCC.
33527
3553723f
L
335282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33529
33530 [BZ #14117]
3bd872c4
L
33531 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33532 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33533 sys/debugreg.h sys/io.h here.
33534 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33535 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33536 sys/io.h.
33537 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33538 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33539 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33540 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33541 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33542 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33543
3553723f
L
33544 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33545 Define only if __x86_64__ is defined.
33546
4842e4fe
JM
335472012-06-01 Joseph Myers <joseph@codesourcery.com>
33548
c5bfe3d5
JM
33549 [BZ #14048]
33550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33551 Use int64_t for variable i.
33552 * math/libm-test.inc (fmod_test): Add more tests.
33553
4842e4fe
JM
33554 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33555 z computation is not scheduled after fetestexcept.
33556 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33557 Use math_force_eval instead of asm to ensure calculation scheduled
33558 before exception test.
33559 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33560 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33561
efb73488
AJ
335622012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33563
33564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33565 computation is not scheduled after fetestexcept.
33566
29bcce7c
L
335672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33568
33569 [BZ #14117]
33570 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33571 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33572
73a68f94
AZ
335732012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33574
33575 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33576 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33577
67b6df78
L
335782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33579
edf2933a 33580 [BZ #14117]
ebc64a18
L
33581 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33582 <bits/wordsize.h>.
33583 (__WCHAR_MIN): Support __WORDSIZE == 64.
33584 (__WCHAR_MAX): Likewise.
33585
edf2933a
L
33586 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33587 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33588
57c6cf40
L
33589 [BZ #14183]
33590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33591 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33592
67b6df78 33593 [BZ #14117]
8eb6281e
L
33594 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33595 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33596
aac639f4
L
33597 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33598 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33599
67b6df78
L
33600 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33601 Defined to 1 if __x86_64__ isn't defined.
33602 (_STAT_VER_LINUX_OLD): New.
33603 (st_atime): Remove duplicate.
33604 (st_mtime): Likewise.
33605 (st_ctime): Likewise.
33606
1c2cfe81
DM
336072012-05-31 David S. Miller <davem@davemloft.net>
33608
33609 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33610 entries.
33611
5be8418c
AS
336122012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33613
e7725326
AS
33614 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33615 gen-libm-test.pl.
33616
5be8418c
AS
33617 [BZ #14132]
33618 * elf/dl-reloc.c: Include <_itoa.h>.
33619 (_dl_reloc_bad_type): Remove use of INTUSE.
33620 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33621 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33622 * stdio-common/psiginfo.c (psiginfo): Likewise.
33623 * stdio-common/psignal.c (psignal): Likewise.
33624 * string/strsignal.c (strsignal): Likewise.
33625 * include/signal.h (_sys_siglist): Declare hidden proto.
33626 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33627 INTVARDEF with libc_hidden_data_def.
33628 * stdio-common/itoa-udigits.c: Likewise.
33629 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33630 (_itoa_lower_digits_internal): Remove declaration.
33631 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33632 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33633 (_sys_sigabbrev_internal): Remove aliases.
33634 (_sys_siglist): Define hidden alias.
33635
507352f1
MT
336362012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33637
33638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33639 bits/sysctl.h.
33640
42bbb1c3
L
336412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33642
33643 [BZ #14117]
6bd784b6
L
33644 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33645 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33646
8bca20f0
L
33647 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33648 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33649 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33650 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33652 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33653
f9e890a9
L
33654 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33655 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33656 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33657
471101a1
L
33658 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33659 with __addr.
33660 (insw): Likewise.
33661 (insl): Likewise.
33662 (outsb): Likewise.
33663 (outsw): Likewise.
33664 (outsl): Likewise.
33665
6451c862
L
33666 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33668 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33669
a254b8c9
L
33670 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33671 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33673 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33674 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33675 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33676
b8dfdd92
L
33677 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33678 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33679
578cd270
L
33680 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33681 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33682
de662f5f
L
33683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33685 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33686
25653439
L
33687 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33688 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33689 to ...
33690 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33691
6bad24a0
L
33692 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33693 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33694 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33695
42bbb1c3
L
33696 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33697 for x86-64.
33698 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33699
2d10d547
JM
337002012-05-31 Joseph Myers <joseph@codesourcery.com>
33701
33702 * math/math.h (M_El): Use two more decimal places.
33703 (M_LOG2El): Likewise.
33704 (M_LOG10El): Likewise.
33705 (M_LN2l): Likewise.
33706 (M_LN10l): Likewise.
33707 (M_PIl): Likewise.
33708 (M_PI_2l): Likewise.
33709 (M_PI_4l): Likewise.
33710 (M_1_PIl): Likewise.
33711 (M_2_PIl): Likewise.
33712 (M_2_SQRTPIl): Likewise.
33713 (M_SQRT2l): Likewise.
33714 (M_SQRT1_2l): Likewise.
33715
f230c29b
DM
337162012-05-31 David S. Miller <davem@davemloft.net>
33717
33718 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33719 values between float registers.
33720 * sysdeps/sparc/sparc64/memset.S: Likewise.
33721 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33722
fed806c3
MF
337232012-05-31 Mike Frysinger <vapier@gentoo.org>
33724
33725 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33726 -D_FORTIFY_SOURCE=1.
33727 (CPPFLAGS-tst-longjmp_chk.c): Define.
33728 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33729 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33730 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33731 CFLAGS-tst-wchar-h.c.
33732
30917259
MP
337332012-05-31 Marek Polacek <polacek@redhat.com>
33734
33735 [BZ #14132]
33736 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33737 __endmntent_internal): Remove declaration.
33738 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33739 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33740 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33741
1c58d5dc
DM
337422012-05-30 David S. Miller <davem@davemloft.net>
33743
33744 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33745 (___Q_simulate_exceptions): Use real FP ops rather than writing
33746 into the %fsr.
33747 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33748 Likewise.
33749
7dc00e0d
L
337502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33751
33752 [BZ #14117]
0bd53985
L
33753 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33754 * sysdeps/x86/bits/xtitypes.h: This.
33755
3a257e66
L
33756 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33757 * sysdeps/x86/bits/wordsize.h: This.
33758
62f62904
L
33759 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33760 * sysdeps/x86/bits/huge_vall.h: This.
33761
404fe9d9
L
33762 * sysdeps/i386/bits/select.h: Removed.
33763 * sysdeps/x86_64/bits/select.h: Renamed to ...
33764 * sysdeps/x86/bits/select.h: This.
33765
d48d0446
L
33766 * sysdeps/i386/bits/setjmp.h: Removed.
33767 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33768 * sysdeps/x86/bits/setjmp.h: This.
33769
7dc00e0d
L
33770 * sysdeps/i386/bits/mathdef.h: Removed.
33771 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33772 * sysdeps/x86/bits/mathdef.h: This.
33773
03277f8f
AS
337742012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33775
33776 [BZ #14132]
33777 * include/sys/socket.h (__connect_internal)
33778 (__libc_sa_len_internal): Remove declaration.
33779 (__connect, __libc_sa_len): Declare hidden_proto.
33780 (SA_LEN): Remove use of INTUSE.
33781 * socket/connect.c: Add libc_hidden_def.
33782 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33783 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33784 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33785 alias.
33786 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33787 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33788 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33789 of adding _internal alias.
33790
13764867
L
337912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33792
33793 [BZ #14117]
6bd97696
L
33794 * sysdeps/i386/bits/link.h: Removed.
33795 * sysdeps/i386/bits/linkmap.h: Likewise.
33796 * sysdeps/x86_64/bits/link.h: Renamed to ...
33797 * sysdeps/x86/bits/link.h: This.
33798 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33799 * sysdeps/x86/bits/linkmap.h: This.
33800
f726f0bb
L
33801 * sysdeps/i386/bits/endian.h: Removed.
33802 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33803 * sysdeps/x86/bits/endian.h: This.
33804
13764867
L
33805 * sysdeps/i386/bits/byteswap.h: Removed.
33806 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33807 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33808 * sysdeps/x86/bits/byteswap.h: This.
33809 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33810 * sysdeps/x86/bits/byteswap-16.h: This.
33811 * sysdeps/i386/Implies: Add x86.
33812 * sysdeps/x86_64/Implies: Likewise.
33813
ae251b0b
DM
338142012-05-30 David S. Miller <davem@davemloft.net>
33815
33816 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33817 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33818 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33819 (FP_TRAPPING_EXCEPTIONS): Define.
33820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33821 (FP_TRAPPING_EXCEPTIONS): Define.
33822 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33823 subnormals only when inexact has been signalled or underflow
33824 exceptions are enabled.
33825 (_FP_PACK_CANONICAL): Likewise.
33826
d5c90867
L
338272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33828
33829 [BZ #14183]
33830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33831 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33832
63f1549e
RH
338332012-05-30 Richard Henderson <rth@twiddle.net>
33834
8d8f2279
RH
33835 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33836 with #ifndef NOT_IN_libc.
33837
63f1549e
RH
33838 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33839 marked to avoid plt entry.
33840
0ab0291b
L
338412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33842
33843 [BZ #14112]
33844 * Makeconfig (default-abi): New macro.
33845 (abi-includes): Likewise.
33846 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33847 $(abi-$(default-abi)-lib-soname) for soname if defined.
33848 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33849 abi-variants.
33850 * Makefile (installed-stubs): Likewise.
33851 * include/stubs-biarch.h: Removed.
33852 * scripts/lib-names.awk: Only handle one library at a time.
33853 * scripts/soversions.awk: Remove WORDSIZE support.
33854 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33855 entries.
33856 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33857 Removed.
33858 (syscall-list-default-condition): Likewise.
33859 (syscall-list-default-condition): Likewise.
33860 (syscall-list-includes): Likewise.
33861 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33862 syscall-list-* with abi-*. Handle undefined abi-variants.
33863 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33864 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33865 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33866 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33867 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33868 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33869 Removed.
33870 (syscall-list-32-options): Likewise.
33871 (syscall-list-32-condition): Likewise.
33872 (syscall-list-64-options): Likewise.
33873 (syscall-list-64-condition): Likewise.
33874 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33875 macro.
33876 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33877 Renamed to ...
33878 (abi-*): This.
33879 (abi-64-ld-soname): New macro.
33880 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33881 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33882 Renamed to ...
33883 (abi-*): This.
33884 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33885 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33886
4da0431d
JM
338872012-05-30 Joseph Myers <joseph@codesourcery.com>
33888
3a85279c
JM
33889 * sysdeps/unix/sysv/linux/kernel-features.h
33890 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33891 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33892 include <kernel-features.h>.
33893 [!__NR_ftruncate64]: Remove conditional code.
33894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33895 [__NR_ftruncate64]: Make code unconditional.
33896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33897 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33898 include <kernel-features.h>.
33899 [!__NR_ftruncate64]: Remove conditional code.
33900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33901 [__NR_ftruncate64]: Make code unconditional.
33902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33904 include <kernel-features.h>.
33905 [!__NR_ftruncate64]: Remove conditional code.
33906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33907 [__NR_ftruncate64]: Make code unconditional.
33908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33910 include <kernel-features.h>.
33911 [!__NR_ftruncate64]: Remove conditional code.
33912 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33913 [__NR_ftruncate64]: Make code unconditional.
33914 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33915
4da0431d
JM
33916 * configure.in (libc_cv_fpie): Weaken to a compile test using
33917 LIBC_TRY_CC_OPTION.
33918 * configure: Regenerated.
33919
11ef492c
AK
339202012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33921
33922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33926 Refreshed.
33927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33933 Refreshed.
33934
d66ef399
DM
339352012-05-27 David S. Miller <davem@davemloft.net>
33936
33937 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33938 (___Q_zero): New.
33939 (__Q_simulate_exceptions): Return void. Change to simulate
33940 exceptions by writing into the %fsr.
33941 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33942 (__Qp_handle_exceptions): Likewise.
33943 (numbers): Delete.
33944 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33945 __Qp_handle_exceptions.
33946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33947 __Qp_handle_exceptions.
33948 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33949 as unused and give dummy FP_RND_NEAREST initializer.
33950 (FP_INHIBIT_RESULTS): Define.
33951 (___Q_simulate_exceptions): Update declaration.
33952 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33953 formatting.
33954 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33955 as unused and give dummy FP_RND_NEAREST initializer.
33956 (__Qp_handle_exceptions): Update declaration.
33957 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33958 formatting.
33959
04fb54b5
TS
339602012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33961
33962 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33963 the temporary FPU control word.
33964 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33965 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33966 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33967 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33968 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33969 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33970 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33971 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33972 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33973 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33974 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33975
3f99608f
KK
339762012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33977
33978 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33979 fields.
33980
65a4de4e
CLT
339812012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33982
33983 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33984 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33985 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33986 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33987 Likewise.
33988 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33989 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33990 Likewise.
33991
15749d40
UD
339922012-05-27 Ulrich Drepper <drepper@gmail.com>
33993
33994 * po/h.po: Update from translation team.
33995
25dbcb27
AS
339962012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33997
3d3f8e55
AS
33998 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33999
25dbcb27
AS
34000 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34001 handling of denormals.
34002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34003 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34004 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34005 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34009 Likewise.
34010
7ad47a80 340112012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34012
34013 [BZ #14152]
34014 * math/libm-test.inc (fma_test): Don't always expect underflow
34015 exception.
34016
9c6ea9fa
SP
340172012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34018
34019 [BZ #12416]
34020 * elf/tst-execstack.c: Include stackinfo.h.
34021 (do_test): Adjust test case to ensure that pthread_getattr_np
34022 behaviour remains the same after marking stack executable.
34023
a8239222
JM
340242012-05-25 Joseph Myers <joseph@codesourcery.com>
34025
34026 * sysdeps/unix/sysv/linux/kernel-features.h
34027 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34028 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34029 kernel-features.h.
34030 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34031 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34032 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34033 kernel-features.h.
34034 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34035 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34036
918b5606
L
340372012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34038
34039 * configure.in: Define the default includes to being none.
34040 * configure: Regenerated.
34041
3a097cc7
RM
340422012-05-25 Roland McGrath <roland@hack.frob.com>
34043
8422c9a5
RM
34044 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34045 * sysdeps/x86_64/setjmp.S: Likewise.
34046 * sysdeps/i386/bsd-setjmp.S: Likewise.
34047 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34048 * sysdeps/i386/setjmp.S: Likewise.
34049 * sysdeps/i386/__longjmp.S: Likewise.
34050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34051 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34052
3a097cc7
RM
34053 * include/stap-probe.h: New file.
34054 * configure.in: Handle --enable-systemtap.
34055 * configure: Regenerated.
34056 * config.h.in (USE_STAP_PROBE): New #undef.
34057 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34058 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34059 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34060
21708942
JM
340612012-05-25 Joseph Myers <joseph@codesourcery.com>
34062
34063 [BZ #13717]
34064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34065 to 2.4.0 where earlier.
34066 * sysdeps/unix/sysv/linux/configure: Regenerated.
34067 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34068 <kernel-features.h>.
34069 [__ASSUME_32BITUIDS]: Make code unconditional.
34070 [!__ASSUME_32BITUIDS]: Remove conditional code.
34071 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34072 <kernel-features.h>.
34073 [__ASSUME_32BITUIDS]: Make code unconditional.
34074 [!__ASSUME_32BITUIDS]: Remove conditional code.
34075 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34076 [__ASSUME_32BITUIDS]: Make code unconditional.
34077 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34078 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34079 <kernel-features.h>.
34080 [__ASSUME_32BITUIDS]: Make code unconditional.
34081 [!__ASSUME_32BITUIDS]: Remove conditional code.
34082 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34083 <kernel-features.h>.
34084 [__ASSUME_32BITUIDS]: Make code unconditional.
34085 [!__ASSUME_32BITUIDS]: Remove conditional code.
34086 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34087 <kernel-features.h>.
34088 [__ASSUME_32BITUIDS]: Make code unconditional.
34089 [!__ASSUME_32BITUIDS]: Remove conditional code.
34090 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34091 <kernel-features.h>.
34092 [__ASSUME_32BITUIDS]: Make code unconditional.
34093 [!__ASSUME_32BITUIDS]: Remove conditional code.
34094 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34095 <kernel-features.h>.
34096 [__ASSUME_32BITUIDS]: Make code unconditional.
34097 [!__ASSUME_32BITUIDS]: Remove conditional code.
34098 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34099 <kernel-features.h>.
34100 [__ASSUME_32BITUIDS]: Make code unconditional.
34101 [!__ASSUME_32BITUIDS]: Remove conditional code.
34102 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34103 <kernel-features.h>.
34104 [__ASSUME_32BITUIDS]: Make code unconditional.
34105 [!__ASSUME_32BITUIDS]: Remove conditional code.
34106 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34107 <kernel-features.h>.
34108 [__ASSUME_32BITUIDS]: Make code unconditional.
34109 [!__ASSUME_32BITUIDS]: Remove conditional code.
34110 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34111 <kernel-features.h>.
34112 [__ASSUME_32BITUIDS]: Make code unconditional.
34113 [!__ASSUME_32BITUIDS]: Remove conditional code.
34114 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34115 <kernel-features.h>.
34116 [__ASSUME_32BITUIDS]: Make code unconditional.
34117 [!__ASSUME_32BITUIDS]: Remove conditional code.
34118 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34119 <kernel-features.h>.
34120 [__NR_setresgid] (__setresgid): Do not declare.
34121 [__ASSUME_32BITUIDS]: Make code unconditional.
34122 [!__ASSUME_32BITUIDS]: Remove conditional code.
34123 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34124 <kernel-features.h>.
34125 [__NR_setresuid] (__setresuid): Do not declare.
34126 [__ASSUME_32BITUIDS]: Make code unconditional.
34127 [!__ASSUME_32BITUIDS]: Remove conditional code.
34128 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
34141 <kernel-features.h>.
34142 [__ASSUME_32BITUIDS]: Make code unconditional.
34143 [!__ASSUME_32BITUIDS]: Remove conditional code.
34144 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34145 <kernel-features.h>.
34146 [__ASSUME_32BITUIDS]: Make code unconditional.
34147 [!__ASSUME_32BITUIDS]: Remove conditional code.
34148 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34149 <kernel-features.h>.
34150 [__ASSUME_32BITUIDS]: Make code unconditional.
34151 [!__ASSUME_32BITUIDS]: Remove conditional code.
34152 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34153 <kernel-features.h>.
34154 [__ASSUME_32BITUIDS]: Make code unconditional.
34155 [!__ASSUME_32BITUIDS]: Remove conditional code.
34156 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34157 <kernel-features.h>.
34158 [__ASSUME_32BITUIDS]: Make code unconditional.
34159 [!__ASSUME_32BITUIDS]: Remove conditional code.
34160 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34161 <kernel-features.h>.
34162 [__ASSUME_32BITUIDS]: Make code unconditional.
34163 [!__ASSUME_32BITUIDS]: Remove conditional code.
34164 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34165 <kernel-features.h>.
34166 [__ASSUME_32BITUIDS]: Make code unconditional.
34167 [!__ASSUME_32BITUIDS]: Remove conditional code.
34168 * sysdeps/unix/sysv/linux/kernel-features.h
34169 (__ASSUME_SETRESUID_SYSCALL): Remove.
34170 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34171 (__ASSUME_32BITUIDS): Likewise.
34172 (__ASSUME_LDT_WORKS): Likewise.
34173 (__ASSUME_O_DIRECTORY): Likewise.
34174 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34175 architecture but not kernel version.
34176 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34177 (__ASSUME_MMAP2_SYSCALL): Likewise.
34178 (__ASSUME_STAT64_SYSCALL): Likewise.
34179 (__ASSUME_IPC64): Likewise.
34180 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34181 <kernel-features.h>.
34182 [__ASSUME_32BITUIDS]: Make code unconditional.
34183 [!__ASSUME_32BITUIDS]: Remove conditional code.
34184 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34185 <kernel-features.h>.
34186 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34187 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34188 132096]: Remove conditional code.
34189 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34190 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34191 <kernel-features.h>.
34192 [__ASSUME_32BITUIDS]: Make code unconditional.
34193 [!__ASSUME_32BITUIDS]: Remove conditional code.
34194 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34195 <kernel-features.h>.
34196 [__ASSUME_32BITUIDS]: Make code unconditional.
34197 [!__ASSUME_32BITUIDS]: Remove conditional code.
34198 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34199 <kernel-features.h>.
34200 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34201 unconditional.
34202 (__setresgid): Do not declare.
34203 [__ASSUME_32BITUIDS]: Make code unconditional.
34204 [!__ASSUME_32BITUIDS]: Remove conditional code.
34205 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34206 <kernel-features.h>.
34207 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34208 unconditional.
34209 (__setresuid): Do not declare.
34210 [__ASSUME_32BITUIDS]: Make code unconditional.
34211 [!__ASSUME_32BITUIDS]: Remove conditional code.
34212 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
34217 <kernel-features.h>.
34218 [__ASSUME_32BITUIDS]: Make code unconditional.
34219 [!__ASSUME_32BITUIDS]: Remove conditional code.
34220
a386f1cc
RH
342212012-05-25 Richard Henderson <rth@twiddle.net>
34222
34223 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34224 dl_hwcap to ifunc resolver.
34225 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34226 elf_ifunc_invoke.
34227 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34228 dl_hwcap to ifunc resolver.
34229 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34230
b6550497
JM
342312012-05-24 Joseph Myers <joseph@codesourcery.com>
34232
34233 [BZ #14153]
34234 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34235 for |x| <= 2**-26, not 2**-57.
34236 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34237 exception.
34238
b0bc23a1
JL
342392012-05-24 Jeff Law <law@redhat.com>
34240
34241 * stdio-common/Makefile (tests): Add bug25.
34242 * stdio-common/bug25.c: New test.
34243
347c92e9
L
342442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34245
34246 [BZ #13576]
34247 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34248 multiple of MALLOC_ALIGNMENT in size.
34249 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34250
6bcc8b3f
JM
342512012-05-24 Joseph Myers <joseph@codesourcery.com>
34252
34253 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34254 Require >= 256.
34255 (FILENAME_MAX): Use macro-int-constant.
34256 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34257 (_IOFBF): Use macro-int-constant.
34258 (_IOLBF): Likewise.
34259 (_IONBF): Likewise.
34260 (SEEK_CUR): Likewise.
34261 (SEEK_END): Likewise.
34262 (SEEK_SET): Likewise.
34263 (TMP_MAX): Likewise.
34264 (EOF): Use macro-int-constant. Require < 0.
34265 (NULL): Use macro-constant. Require == 0.
34266 (stdin): Require type to be FILE *.
34267 (stdout): Likewise.
34268 (stderr): Likewise.
34269 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34270 macro-int-constant.
34271 (EXIT_SUCCESS): Likewise.
34272 (NULL): Use macro-constant. Require == 0.
34273 (RAND_MAX): Use macro-int-constant.
34274 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34275 [C99-based standards] (strtof): Require function.
34276 [C99-based standards] (strtold): Likewise.
34277 [C99-based standards] (strtoll): Likewise.
34278 [C99-based standards] (strtoull): Likewise.
34279 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34280 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34281 [ISO || ISO99 || ISO11] (math.h): Likewise.
34282 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34283 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34284 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34285
d18ea0c5
AS
342862012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34287
34288 [BZ #14132]
56d25bb8
AS
34289 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34290 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34291 * intl/dgettext.c (DCGETTEXT): Likewise.
34292 * intl/gettext.c (DCGETTEXT): Likewise.
34293 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34294 * posix/regex_internal.h (gettext): Likewise.
34295 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34296 Remove declaration.
34297 * include/argz.h (__argz_count_internal)
34298 (__argz_stringify_internal): Remove declaration.
34299 (__argz_count, __argz_stringify): Declare hidden proto.
34300 * intl/dcgettext.c: Remove use of INTDEF.
34301 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34302 * string/argz-stringify.c: Likewise.
34303 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34304 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34305 Declare hidden proto.
d18ea0c5
AS
34306 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34307 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34308 Declare hidden proto.
34309 * include/stdio.h (__asprintf_internal): Don't declare.
34310 (__asprintf): Don't define as macro. Declare hidden proto.
34311 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34312 (__fsetlocking): Declare hidden proto.
34313 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34314 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34315 hidden proto.
34316 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34317 (_IO_setlinebuf): Remove use of INTUSE.
34318 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34319 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34320 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34321 Remove declaration.
34322 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34323 (_IO_do_flush): Remove use of INTUSE.
34324 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34325 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34326 (_IO_adjust_column, _IO_least_wmarker)
34327 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34328 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34329 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34330 (_IO_default_doallocate, _IO_wdefault_doallocate)
34331 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34332 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34333 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34334 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34335 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34336 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34337 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34338 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34339 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34340 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34341 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34342 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34343 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34344 proto.
34345 (_IO_flush_all_internal, _IO_adjust_column_internal)
34346 (_IO_default_uflow_internal, _IO_default_finish_internal)
34347 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34348 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34349 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34350 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34351 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34352 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34353 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34354 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34355 (_IO_file_close_internal, _IO_file_close_it_internal)
34356 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34357 (_IO_file_init_internal, _IO_file_attach_internal)
34358 (_IO_file_fopen_internal, _IO_file_read_internal)
34359 (_IO_file_sync_internal, _IO_file_seek_internal)
34360 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34361 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34362 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34363 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34364 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34365 (_IO_list_all_internal, _IO_link_in_internal)
34366 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34367 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34368 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34369 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34370 (_IO_do_write_internal, _IO_padn_internal)
34371 (_IO_getline_info_internal, _IO_getline_internal)
34372 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34373 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34374 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34375 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34376 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34377 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34378 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34379 with libc_hidden_ver, remove use of INTUSE.
34380 * libio/genops.c: Likewise.
34381 * libio/freopen.c: Likewise.
34382 * libio/freopen64.c: Likewise.
34383 * libio/iofclose.c: Likewise.
34384 * libio/iofdopen.c: Likewise.
34385 * libio/iofflush.c: Likewise.
34386 * libio/iofflush_u.c: Likewise.
34387 * libio/iofgets.c: Likewise.
34388 * libio/iofgets_u.c: Likewise.
34389 * libio/iofopen.c: Likewise.
34390 * libio/iofopncook.c: Likewise.
34391 * libio/iofread.c: Likewise.
34392 * libio/iofread_u.c: Likewise.
34393 * libio/ioftell.c: Likewise.
34394 * libio/iofwrite.c: Likewise.
34395 * libio/iogetline.c: Likewise.
34396 * libio/iogets.c: Likewise.
34397 * libio/iogetwline.c: Likewise.
34398 * libio/iopadn.c: Likewise.
34399 * libio/iopopen.c: Likewise.
34400 * libio/ioseekoff.c: Likewise.
34401 * libio/ioseekpos.c: Likewise.
34402 * libio/iosetbuffer.c: Likewise.
34403 * libio/iosetvbuf.c: Likewise.
34404 * libio/ioungetc.c: Likewise.
34405 * libio/ioungetwc.c: Likewise.
34406 * libio/iovdprintf.c: Likewise.
34407 * libio/iovsprintf.c: Likewise.
34408 * libio/iovsscanf.c: Likewise.
34409 * libio/memstream.c: Likewise.
34410 * libio/obprintf.c: Likewise.
34411 * libio/oldfileops.c: Likewise.
34412 * libio/oldiofclose.c: Likewise.
34413 * libio/oldiofdopen.c: Likewise.
34414 * libio/oldiofopen.c: Likewise.
34415 * libio/oldiopopen.c: Likewise.
34416 * libio/oldstdfiles.c: Likewise.
34417 * libio/putc.c: Likewise.
34418 * libio/setbuf.c: Likewise.
34419 * libio/setlinebuf.c: Likewise.
34420 * libio/stdfiles.c: Likewise.
34421 * libio/strops.c: Likewise.
34422 * libio/vasprintf.c: Likewise.
34423 * libio/vscanf.c: Likewise.
34424 * libio/vsnprintf.c: Likewise.
34425 * libio/vswprintf.c: Likewise.
34426 * libio/wfiledoalloc.c: Likewise.
34427 * libio/wfileops.c: Likewise.
34428 * libio/wgenops.c: Likewise.
34429 * libio/wmemstream.c: Likewise.
34430 * libio/wstrops.c: Likewise.
34431 * libio/__fpurge.c: Likewise.
34432 * libio/__fsetlocking.c: Likewise.
34433 * assert/assert.c: Likewise.
34434 * debug/fgets_chk.c: Likewise.
34435 * debug/fgets_u_chk.c: Likewise.
34436 * debug/fread_chk.c: Likewise.
34437 * debug/fread_u_chk.c: Likewise.
34438 * debug/gets_chk.c: Likewise.
34439 * debug/obprintf_chk.c: Likewise.
34440 * debug/vasprintf_chk.c: Likewise.
34441 * debug/vdprintf_chk.c: Likewise.
34442 * debug/vsnprintf_chk.c: Likewise.
34443 * debug/vsprintf_chk.c: Likewise.
34444 * malloc/mtrace.c: Likewise.
34445 * misc/error.c: Likewise.
34446 * misc/syslog.c: Likewise.
34447 * stdio-common/asprintf.c: Likewise.
34448 * stdio-common/fxprintf.c: Likewise.
34449 * stdio-common/getw.c: Likewise.
34450 * stdio-common/isoc99_fscanf.c: Likewise.
34451 * stdio-common/isoc99_scanf.c: Likewise.
34452 * stdio-common/isoc99_vfscanf.c: Likewise.
34453 * stdio-common/isoc99_vscanf.c: Likewise.
34454 * stdio-common/isoc99_vsscanf.c: Likewise.
34455 * stdio-common/printf-prs.c: Likewise.
34456 * stdio-common/printf_fp.c: Likewise.
34457 * stdio-common/printf_fphex.c: Likewise.
34458 * stdio-common/printf_size.c: Likewise.
34459 * stdio-common/putw.c: Likewise.
34460 * stdio-common/scanf.c: Likewise.
34461 * stdio-common/sprintf.c: Likewise.
34462 * stdio-common/tmpfile.c: Likewise.
34463 * stdio-common/vfprintf.c: Likewise.
34464 * stdio-common/vfscanf.c: Likewise.
34465 * stdlib/strfmon_l.c: Likewise.
34466 * sunrpc/openchild.c: Likewise.
34467 * sunrpc/xdr_stdio.c: Likewise.
34468 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34469 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34470
d6c33fda
RM
344712012-05-24 Roland McGrath <roland@hack.frob.com>
34472
c1487492
RM
34473 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34474
34475 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34476 in the third column, to generate for the shared library an IFUNC
34477 that uses _dl_vdso_vsym.
34478 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34479 * Makeconfig (object-suffixes-noshared): New variable.
34480
34481 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34482 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34483 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34484 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34485
d6c33fda
RM
34486 [BZ #14132]
34487 * include/sys/time.h (__gettimeofday): Remove macro.
34488 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34489 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34490 Remove INTDEF.
34491 (__gettimeofday): Add libc_hidden_def.
34492 (gettimeofday): Add libc_hidden_weak.
34493 * sysdeps/mach/gettimeofday.c: Likewise.
34494 * sysdeps/posix/gettimeofday.c: Likewise.
34495 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34496 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34498 (__gettimeofday_internal): Remove strong_alias.
34499 (__gettimeofday): Add libc_hidden_def.
34500 (gettimeofday): Add libc_hidden_weak.
34501 * sysdeps/unix/syscalls.list (gettimeofday):
34502 Remove __gettimeofday_internal alias.
34503
b5a2bbe6
L
345042012-05-24 Daniel Jacobowitz <drow@false.org>
34505 H.J. Lu <hongjiu.lu@intel.com>
34506
34507 [BZ #12495]
34508 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34509 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34510 (largebin_index_32_big): New.
34511 (largebin_index): Use it for 16-byte alignment.
34512 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34513 correction with front_misalign.
34514
cfba4fda
L
345152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34516
7f907421
L
34517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34519 Likewise.
34520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34521 Likewise.
34522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34523 Likewise.
34524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34525 Likewise.
34526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34527 Likewise.
34528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34529 Likewise.
34530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34531 Likewise.
34532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34533 Likewise.
34534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34535 Likewise.
34536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34537 Likewise.
34538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34539 Likewise.
34540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34541 Likewise.
34542
cfba4fda
L
34543 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34544 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34545
80bad0cc
JM
345462012-05-24 Joseph Myers <joseph@codesourcery.com>
34547
7a25eb06
JM
34548 [BZ #10846]
34549 [BZ #14036]
34550 * math/libm-test.inc (exp_test): Add test from bug 14036.
34551 (pow_test): Add test from bug 10846.
34552
795405f9
JM
34553 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34554 and other flags.
34555 (special_function): Do not include flags in test name.
34556 (parse_args): Likewise.
34557 * sysdeps/i386/fpu/libm-test-ulps: Update.
34558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34559 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34560 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34562
80bad0cc
JM
34563 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34564 exceptions.
34565 * math/libm-test.inc ("Philosophy"): Update comment about
34566 exception testing.
34567 (UNDERFLOW_EXCEPTION): New macro.
34568 (UNDERFLOW_EXCEPTION_OK): Likewise.
34569 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34570 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34571 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34572 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34573 (INVALID_EXCEPTION_OK): Update value.
34574 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34575 (OVERFLOW_EXCEPTION_OK): Likewise.
34576 (IGNORE_ZERO_INF_SIGN): Likewise.
34577 (test_exceptions): Handle underflow exceptions.
34578 (acos_test): Update for underflow exception expectations.
34579 (cexp_test): Likewise.
34580 (clog_test): Likewise.
34581 (clog10_test): Likewise.
34582 (csqrt_test): Likewise.
34583 (ctan_test): Likewise.
34584 (ctanh_test): Likewise.
34585 (exp_test): Likewise.
34586 (exp10_test): Likewise.
34587 (exp2_test): Likewise.
34588 (expm1_test): Likewise.
34589 (fma_test): Likewise.
34590 (j0_test): Likewise.
34591 (jn_test): Likewise.
34592 (nexttoward_test): Likewise.
34593 (pow_test): Likewise.
34594 (scalbn_test): Likewise.
34595 (scalbln_test): Likewise.
34596 (tan_test): Likewise.
34597 (y1_test): Likewise.
34598 * sysdeps/i386/fpu/libm-test-ulps: Update.
34599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34600
9e0e3d0b
DM
346012012-05-23 David S. Miller <davem@davemloft.net>
34602
34603 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34604 (__libc_sigaction): Remove unused local variables.
34605
ccd0a08f
L
346062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34607
34608 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34609
62bdf9a6
PE
346102012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34611
f8591f80
PE
34612 mktime: avoid signed integer overflow
34613 * time/mktime.c (__mktime_internal): Do not mishandle the case
34614 where diff == INT_MIN.
34615
94c7d826
PE
34616 mktime: simplify computation of average
34617 * time/mktime.c (ranged_convert): Use new time_t_avg function
34618 instead of rolling our own (probably-slower) code.
34619
ce73d683
PE
34620 mktime: do not assume signed right shift propagates sign bit
34621 * time/mktime.c (isdst_differ): New static function.
34622 (__mktime_internal): No need to normalize tm_isdst now.
34623 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34624 tm_isdst values.
34625
72a22e59
PE
34626 mktime: merge another wrapv change from gnulib
34627 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34628 from some compilers.
34629
68605433
PE
34630 mktime: remove incorrect attempt at unusual arithmetics
34631 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34632 The code didn't really work on such machines anyway.
34633 (TYPE_MINIMUM): Assume two's complement.
34634 (twos_complement_arithmetic): Verify that long_int and time_t
34635 are two's complement (or unsigned, in the latter case).
34636
03cf7fe3
PE
34637 mktime: check signed shifts on long_int and time_t, too
34638 * time/mktime.c (SHR): Check that shifts work as desired
34639 on the types long_int and time_t too, as SHR is used on
34640 such types.
34641
f04dfbc2
PE
34642 mktime: do not assume 'long' is wide enough
34643 * time/mktime.c (verify): Move decl up.
34644 (long_int): New type.
34645 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34646 to remove assumption in the code that 'long' is wide enough to
34647 store year values. This assumption is not true on x32 and on
34648 some non-glibc platforms.
34649
62bdf9a6
PE
34650 mktime: merge wrapv change from gnulib
34651 * time/mktime.c (WRAPV): New macro.
34652 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34653 (guess_time_tm, __mktime_internal): Do not assume that signed
34654 integer overflow wraps around; modern compilers generate code
34655 where this assumption is no longer valid.
34656
5e292e4f
L
346572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34658
34659 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34660 Replace "jmp L(pseudo_end)" with "ret".
34661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34662 Likewise.
34663
8caf8c87
AJ
346642012-05-23 Andreas Jaeger <aj@suse.de>
34665
34666 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34667 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34668
1a09dc56
AJ
346692012-05-23 Andreas Jaeger <aj@suse.de>
34670 Maximilian Attems <max@stro.at>
34671
34672 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34673 New macros.
34674
1c87aba0
L
346752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34676
34677 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34678 code so that pseudo_end is just ret and the stack pointer is
34679 correct also for static library in error case.
34680
40e45bd5
JM
346812012-05-23 Joseph Myers <joseph@codesourcery.com>
34682
c2670533
JM
34683 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34684 move to syscalls.list.
34685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34689
40e45bd5
JM
34690 * manual/install.texi (Running make install): Do not mention Linux
34691 kernel version for which pt_chown is not needed.
34692 (Linux): Do not mention problems with nscd with 2.0 kernels.
34693 * INSTALL: Regenerated.
34694
be08eda5
AJ
346952012-05-23 Andreas Jaeger <aj@suse.de>
34696
34697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34698 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34699 macro.
34700 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34702 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34704 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34708 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34710 * sysdeps/unix/sysv/linux/bits/in.h
34711 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34712
a6a056bb
RM
347132012-05-22 Roland McGrath <roland@hack.frob.com>
34714
34715 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34716 (PREPARE_VERSION): Just use assert instead, it will be elided
34717 under [NDEBUG] anyway.
34718
c9009328
L
347192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34720
34721 * sysdeps/unix/sysv/linux/Makefile: Include
34722 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34723 (sysdep_routines): Remove sysctl.
c9009328
L
34724 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34725 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34726 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34727 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34728 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34729
73338355
AJ
347302012-05-22 Andreas Jaeger <aj@suse.de>
34731
34732 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34733 that pseudo_end is just ret and the stack pointer is correct also
34734 for static library in error case.
34735
d44638b0
PP
347362012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34737
34738 [BZ #14122]
34739 * nss/nsswitch.c (defconfig_entries): New variable.
34740 (__nss_database_lookup): Don't leak defconfig entries.
34741 (nss_parse_service_list): Don't leak on error paths.
34742 (free_database_entries): New function.
34743 (free_defconfig): New function.
34744 (free_mem): Move common code to free_database_entries.
34745
31a39bd8
L
347462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34747
da0331a8
L
34748 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34749 Add arch_prctl.
34750 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34751
31a39bd8
L
34752 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34753 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34755 New macro.
34756 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34757 (INTERNAL_SYSCALL_TYPES): Likewise.
34758 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34759 (LOAD_REGS_TYPES_[1-6]): Likewise.
34760 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34761 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34762
45470df3
AZ
347632012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34764
34765 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34766 copysignl for GLIBC_2_0.
34767 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34768 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34770 logbl for GLIBC_2_0.
34771 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34772 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34773
98a61bcb
L
347742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34775
a4f6e481
L
34776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34777 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34778
f63d5db6
L
34779 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34780 Use "neg %eax".
34781
98a61bcb
L
34782 * time/mktime.c: Update copyright years.
34783
95770f14
PE
347842012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34785
6226efbd
PE
34786 mktime: merge comment-quoting-style change from gnulib
34787 * time/mktime.c: Quote 'like this' in comments.
34788 The GNU coding standards suggest that we no longer quote `like this',
34789 as "`" and "'" are typically rendered asymmetrically nowadays.
34790 The typical gnulib style is to quote 'like this' when quoting
34791 code, and "like this" when quoting English.
34792
b99e4f78
PE
34793 * time/mktime.c (compile-command): Add "-I.".
34794
643e01e6
PE
34795 mktime: merge mktime-internal.h change from gnulib
34796 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34797
2554247d
PE
34798 mktime: merge time_r change from gnulib
34799 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34800
826dd0ab
PE
34801 mktime: merge DEBUG change from gnulib
34802 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34803 case system <time.h> has a #define.
34804
bd83aabe
PE
34805 mktime: merge <sys/types.h> change from gnulib
34806 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34807 since <time.t> is now guaranteed to define time_t.
34808
95770f14
PE
34809 mktime: merge HAVE_CONFIG_H change from gnulib
34810 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34811
5e1a27a9
L
348122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34813
0e44a77e
L
34814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34815 Use "neg %eax".
34816
5e1a27a9
L
34817 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34818 __rlim_t cast.
34819 (struct rusage): Use anonymous union to pad each field to
34820 __syscall_slong_t.
34821
46259bec
DM
348222012-05-21 David S. Miller <davem@davemloft.net>
34823
34824 * Makefules (o-iterator): Remove .s cases.
34825 (compile-command.s): Delete.
34826 (COMPILE.s): Delete.
34827 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34828
59f0c22e
JM
348292012-05-21 Joseph Myers <joseph@codesourcery.com>
34830
34831 * configure.in (libc_cv_predef_stack_protector): Only consider
34832 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34833 * configure: Regenerated.
34834
20c07380
L
348352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34836
bbb3154b
L
34837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34838 New macro. Use R*LP on int and pointer.
34839 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34840 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34841 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34842 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34843
20c07380
L
34844 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34845 [__WORDSIZE_TIME64_COMPAT32] instead of
34846 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34847 (struct utmp): Likewise.
34848 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34849 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34850 Renamed to ...
34851 (__WORDSIZE_TIME64_COMPAT32): This.
34852 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34853 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34854 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34855 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34856 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34857 (__WORDSIZE_TIME64_COMPAT32): New macro.
34858
d8d1017e
AJ
348592012-05-21 Andreas Jaeger <aj@suse.de>
34860
34861 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34862 only if [SHARED]. Add prototype for __wcschr_ia32.
34863
6c7fb145
RM
348642012-05-21 Roland McGrath <roland@hack.frob.com>
34865
34866 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34867 of %rbp unmolested in the jmp_buf while mangling the low bits.
34868 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34869 unmolested high bits of %rbp while demangling the low bits.
34870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34871
66274218
AJ
348722012-05-21 Andreas Jaeger <aj@suse.de>
34873
07c58f8f
AJ
34874 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34875 * sunrpc/svc_simple.c: Use it for registerrpc.
34876 * sunrpc/xcrypt.c: Use it for passwd2des.
34877
66274218
AJ
34878 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34879
61f65140
L
348802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34881
34882 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34883 Don't define if [__SYSCALL_WORDSIZE != 32].
34884 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34885 New macro.
34886
5fefb436
AJ
348872012-05-21 Bruno Haible <bruno@clisp.org>
34888 Andreas Jaeger <aj@suse.de>
34889
34890 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34891 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34892 inptr and inend for must_buffer_ch.
34893 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34894 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34895 * stdio-common/Makefile (tests): Remove bug15.
34896 (bug15-ENV): Remove macro.
34897 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34898 anymore.
34899
d8e272ab
AJ
349002012-05-19 Andreas Jaeger <aj@suse.de>
34901 Roland McGrath <roland@hack.frob.com>
34902
34903 * manual/contrib.texi: Completely rewritten. It contains now an
34904 alphabetical list of contributors and their contributions.
34905
4a56a162
RH
349062012-05-21 Richard Henderson <rth@twiddle.net>
34907
34908 * misc/getauxval.c (__getauxval): Use unsigned long int.
34909 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34910 (getauxval): Use unsigned long int.
34911
d024d23c
L
349122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34913
34914 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34915
cbc00a03
RM
349162012-05-21 Roland McGrath <roland@hack.frob.com>
34917
34918 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34919 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34920 __alignof__ (long double).
34921
478143fa
AZ
349222012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34923
34924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34925
c7683a6d
RH
349262012-05-20 Richard Henderson <rth@twiddle.net>
34927
34928 * misc/getauxval.c: New file.
34929 * misc/sys/auxv.h: New file.
34930 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34931 (routines): Add getauxval.
34932 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34933 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34934 * elf/dl-sysdep.c (_dl_auxv): Remove.
34935 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34936 * elf/dl-support.c (_dl_auxv): New variable.
34937 (_dl_aux_init): Initialize it.
34938 * manual/startup.texi (Auxiliary Vector): New node.
34939 * sysdeps/generic/bits/hwcap.h: New file.
34940 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34941 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34942 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34943 * sysdeps/sparc/sysdep.h: ... here. Include it.
34944 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34947 Update.
c7683a6d
RH
34948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34956
a6f1845d
AZ
349572012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34958
34959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34960
cbcbe830
DM
349612012-05-19 David S. Miller <davem@davemloft.net>
34962
34963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34964
e0b16cc2
JM
349652012-05-19 Joseph Myers <joseph@codesourcery.com>
34966
34967 [BZ #14123]
34968 * math/s_ccosh.c: Include <float.h>
34969 (__ccosh): Avoid internal overflow calculating sinh and cosh
34970 values before multiplying by sin and cos values.
34971 * math/s_ccoshf.c: Likewise.
34972 * math/s_ccoshl.c: Likewise.
34973 * math/s_csin.c: Likewise.
34974 * math/s_csinf.c: Likewise.
34975 * math/s_csinl.c: Likewise.
34976 * math/s_csinh.c: Likewise.
34977 * math/s_csinhf.c: Likewise.
34978 * math/s_csinhl.c: Likewise.
34979 * math/libm-test.inc (ccos_test): Add more tests.
34980 (ccosh_test): Likewise.
34981 (csin_test): Likewise.
34982 (csinh_test): Likewise.
34983 * sysdeps/i386/fpu/libm-test-ulps: Update.
34984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34985
6ad13e08
L
349862012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34987
f66f0ce8
L
34988 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34989 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34990
6ad13e08
L
34991 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34992
b1d072a7
JM
349932012-05-19 Joseph Myers <joseph@codesourcery.com>
34994
34995 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34996 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34997 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34998 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34999 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35000 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35001 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35002 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35003 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35004 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35005 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35006 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35007 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35008 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35009 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35010 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35011 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35012 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35013 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35014 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35015 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35016 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35017 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35018 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35019 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35020 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35021 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35022 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35023 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35024 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35025 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35026
9eae47cb
AJ
350272012-05-18 Andreas Jaeger <aj@suse.de>
35028
35029 * csu/.gitignore: Delete.
35030
bb07f69f
L
350312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35032
35033 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35034 (timex): Use __syscall_slong_t.
35035
e6bdb741
AJ
350362012-05-18 Andreas Jaeger <aj@suse.de>
35037 Carlos O'Donell <carlos_odonell@mentor.com>
35038
35039 * manual/install.texi (Configuring and compiling): Update
35040 description about files modified in the source directory.
d6c33fda 35041 * INSTALL: Regenerated.
e6bdb741 35042
1b74487e
L
350432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35044
35045 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35046 value. Use "or" to set return value to -1.
35047 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35048 negate return value.
35049
a88b64b9
TMQMF
350502012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35051
57f41c40
AS
35052 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35053 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35054 failure if the compiler has Graphite support disabled.
35055 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35056 Likewise.
57f41c40
AS
35057 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35058 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35059 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35060 Likewise.
35061
3707636e
L
350622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35063
610b8622
L
35064 * sysdeps/x86_64/x32/_itoa.h: New file.
35065
7cd195df
L
35066 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35067 getdents system call only if kernel and user dirents have the
35068 same d_ino and d_off.
35069
94b07d20
L
35070 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35071 LLONG_MAX != LONG_MAX.
35072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35073 (_fitoa_word): Likewise.
35074
18298070
L
35075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35076 years.
35077 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35079 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35080
553c7ea4
L
35081 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35082 include <bits/wordsize.h>. Check __x86_64__ instead of
35083 __WORDSIZE.
35084 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35085 if __x86_64__ is defined. Use anonymous union on fpstate.
35086
3707636e
L
35087 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35088 anonymous union.
35089
b53ef01a
AS
350902012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35091
37fb1dc0
AS
35092 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35093 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35094 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35095 Refer to _rtld_local_ro instead of _rtld_global_ro.
35096 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35097 Likewise.
35098 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35099 Likewise.
35100 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35101 Likewise.
35102 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35103 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35104 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35105
b53ef01a
AS
35106 * sysdeps/powerpc/powerpc32/dl-machine.c
35107 (__elf_machine_runtime_setup) [PROF]: Don't reference
35108 _dl_prof_resolve.
35109
7a185db2
AJ
351102012-05-18 Andreas Jaeger <aj@suse.de>
35111
35112 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35113 function only available for GCCs before 3.4 since GCC 3.4
35114 introduced a builtin.
35115 (lrint): Likewise.
35116 (llrintf): Likewise.
35117 (llrint): Likewise.
35118 (fmaxf): Likewise.
35119 (fmax): Likewise.
35120 (fminf): Likewise.
35121 (fmin): Likewise.
35122 (rint): Likewise.
35123 (rintf): Likewise.
35124 (nearbyint): Likewise.
35125 (nearbyintf): Likewise.
35126 (ceil): Likewise.
35127 (ceilf): Likewise.
35128 (floor): Likewise.
35129 (floorf): Likewise.
35130
3e5aef87
L
351312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35132
428bd707
L
35133 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35134 on both fields and cast pointer to __syscall_ulong_t.
35135
3e5aef87
L
35136 * bits/types.h (__fsword_t): New type.
35137 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35138 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35140 (__FSWORD_T_TYPE): Likewise.
35141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35142 (__FSWORD_T_TYPE): Likewise.
35143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35144 (__FSWORD_T_TYPE): Likewise.
35145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35146 (__FSWORD_T_TYPE): Likewise.
35147 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35148 __SWORD_TYPE with __fsword_t.
35149 (statfs64): Likewise.
35150
1ba7c3dc
DM
351512012-05-17 David S. Miller <davem@davemloft.net>
35152
35153 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35154
59910343
AJ
351552012-05-17 Andreas Jaeger <aj@suse.de>
35156
35157 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35158 warning.
35159
2e4c1e9e
L
351602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35161
35162 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35163
de7f5ce7
AJ
351642012-05-17 Andreas Jaeger <aj@suse.de>
35165
35166 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35167 when it is used.
35168
286abc3d
CM
351692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35170
35171 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35172
477cc68e
L
351732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35174
35175 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35176 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35177
1a0994f5
CD
351782012-05-17 Andreas Jaeger <aj@suse.de>
35179 Carlos O'Donell <carlos_odonell@mentor.com>
35180
35181 [BZ #14059]
35182 * sysdeps/x86_64/multiarch/init-arch.h
35183 (bit_YMM_Usable): Rename to...
35184 (bit_AVX_Usable): ... this.
35185 (bit_FMA4_Usable): New macro.
35186 (bit_XMM_state): New macro.
35187 (bit_YMM_state): New macro.
35188 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35189 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35190 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35191 (CPUID_OSXSAVE): New macro.
35192 (CPUID_AVX): New macro.
35193 (CPUID_FMA4): New macro.
35194 (index_YMM_Usable): Rename to...
35195 (index_AVX_Usable): ... this.
35196 (HAS_AVX): Use HAS_ARCH_FEATURE.
35197 (HAS_FMA4): Likewise.
35198 (HAS_YMM_USABLE): Remove.
35199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35200 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35201 are present.
35202 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35203 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35204 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35205 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35206 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35207
0af797de
CM
352082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35209
35210 * math/libm-test.c: Support platforms without multiple rounding modes.
35211 * math/bug-nextafter.c: Support platforms without FP exceptions.
35212 * math/bug-nexttoward.c: Likewise.
35213 * math/test-fenv.c: Likewise.
35214 * math/test-misc.c: Likewise.
35215 * stdlib/bug-getcontext.c: Likewise.
35216
e39745ff
AJ
352172012-05-17 Andreas Jaeger <aj@suse.de>
35218
35219 * manual/examples/search.c (critter_cmp): Change signature to
35220 avoid warnings.
35221 * manual/string.texi (Collation Functions): Likewise.
35222
48970aba
L
352232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35224
35225 * bits/types.h: Fold copyright years.
35226 * bits/typesizes.h: Likewise.
35227 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35231 * time/time.h: Likewise.
35232
bedee953
PP
352332012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35234
35235 [BZ #208]
35236 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35237 in instead of returning them. Return void.
35238 (__libc_mallinfo): Accumulate over all arenas.
35239 (__malloc_stats): Adjust for change in int_mallinfo interface.
35240
61653dfb
RM
352412012-05-16 Roland McGrath <roland@hack.frob.com>
35242
30b99d79
RM
35243 [BZ #10375]
35244 * configure.in (NM): Add AC_CHECK_TOOL for it.
35245 (libc_extra_cflags): New substituted variable.
35246 Check for -fstack-protector being used implicitly.
35247 * configure: Regenerated.
35248 * config.make.in (config-extra-cflags): New variable,
35249 gets @libc_extra_cflags@.
35250 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35251
61653dfb
RM
35252 [BZ #10375]
35253 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35254 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35255 * configure: Regenerated.
35256 * config.make.in (CPPUNDEFS): New substituted variable.
35257 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35258 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35259 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35260
661768bb
L
352612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35262
35263 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35264 (mq_attr): Use __syscall_slong_t.
35265
d4261567
L
352662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35267
35268 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35269 Check __x86_64__ instead of __WORDSIZE.
35270 (_STAT_VER_LINUX): Likewise.
35271 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35272 __syscall_ulong_t and __syscall_slong_t.
35273 (stat64): Likewise.
35274
cf3ff365
L
352752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35276
35277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35278
76cf3e4d
L
352792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35280
35281 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35282
a637753a
L
352832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35284
35285 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35286 __syscall_ulong_t.
35287
d5e05119
L
35288 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35289 include <bits/wordsize.h>. Check __x86_64__ instead of
35290 __WORDSIZE.
35291 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35292 defined.
35293 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35294
f62ee380
L
35295 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35296 include <bits/wordsize.h>. Check __x86_64__ instead of
35297 __WORDSIZE.
35298 (user_regs_struct): Use "__extension__ unsigned long long"
35299 instead of "unsigned long" if __x86_64__ is defined.
35300 (user): Likewise. Pad after pointer field if __ILP32__ is
35301 defined.
35302
4e124ced
JM
353032012-05-16 Joseph Myers <joseph@codesourcery.com>
35304
6a3951a0
JM
35305 * configure.in (makeinfo): Require version 4.5 or later. Allow
35306 versions 5 to 9.
35307 * configure: Regenerated.
35308 * manual/install.texi (texinfo): Increase version requirement to
35309 4.5 or later.
35310 * INSTALL: Regenerated.
35311
4e124ced
JM
35312 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35313
953ca31a
L
353142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35315
35316 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35317
617aca05
L
35318 * sysdeps/x86_64/x32/ffs.c: New file.
35319
5762f7ae
L
35320 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35321 __syscall_ulong_t.
35322 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35323 defined. Use __syscall_ulong_t.
35324 (shminfo): Use __syscall_ulong_t.
35325 (shm_info): Likewise.
35326
a26b6856
L
35327 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35328 __syscall_ulong_t.
35329
cb2b9ef7
L
35330 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35331 <bits/wordsize.h>.
35332 (msgqnum_t): Use __syscall_ulong_t.
35333 (msglen_t): Likewise.
35334 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35335 __syscall_ulong_t.
35336
34683bb0
L
35337 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35338 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35339
84a68786
L
35340 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35341
48baa5f1
L
35342 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35343 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35344
180be88b
L
35345 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35346 __syscall_slong_t.
35347
5e90c8ad
L
35348 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35349 include <bits/wordsize.h>. Check __x86_64__ instead of
35350 __WORDSIZE.
35351
23dfb58b
L
35352 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35353 "unsigned long long int" if __x86_64__ is defined.
35354 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35355
ce5d54b0
L
35356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35357 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35358 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35359
13dc9eac
L
35360 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35361 <stdint.h>.
35362 (GET_PC): Cast to uintptr_t first.
35363 (GET_FRAME): Likewise.
35364 (GET_STACK): Likewise.
35365
a7895d15
L
35366 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35368 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35369 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35370 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35371 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35372 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35373 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35374 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35375 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35376 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35377 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35378 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35379 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35380 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35381 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35382 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35383 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35384 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35385 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35386 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35387 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35388 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35389 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35390 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35391 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35392 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35393 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35394 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35395
656416c9
AS
353962012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35397
5bd66283
AS
35398 * Makerules (+depfiles): Also collect depfiles from .oS in
35399 $(extra-objs).
35400 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35401 .oS, $(libnldbl-routines)).
35402
656416c9
AS
35403 * Makerules (native-compile-mkdep-flags): Define.
35404 * sunrpc/Makefile (extra-objs): Add $(addprefix
35405 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35406 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35407 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35408 calling $(make-target-directory).
35409
a46f2169
L
354102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35411
35412 * bits/types.h (__snseconds_t): Removed.
35413 * time/time.h (struct timespec): Replace __snseconds_t with
35414 __syscall_slong_t.
35415 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35416 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35417 Likewise.
35418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35419 (__SNSECONDS_T_TYPE): Likewise.
35420 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35421 (__SNSECONDS_T_TYPE): Likewise.
35422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35423 (__SNSECONDS_T_TYPE): Likewise.
35424
6af6528b
L
354252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35426
35427 * sysdeps/mach/hurd/bits/typesizes.h
35428 (__SYSCALL_SLONG_TYPE): New macro.
35429 (__SYSCALL_ULONG_TYPE): Likewise.
35430
de986b56
L
354312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35432
35433 * bits/types.h (__syscall_slong_t): New type.
35434 (__syscall_ulong_t): Likewise.
35435
35436 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35437 (__SYSCALL_ULONG_TYPE): Likewise.
35438 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35439 (__SYSCALL_SLONG_TYPE): Likewise.
35440 (__SYSCALL_ULONG_TYPE): Likewise.
35441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35442 (__SYSCALL_SLONG_TYPE): Likewise.
35443 (__SYSCALL_ULONG_TYPE): Likewise.
35444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35445 (__SYSCALL_SLONG_TYPE): Likewise.
35446 (__SYSCALL_ULONG_TYPE): Likewise.
35447
85736dc7
L
354482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35449
35450 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35451 Add sigaltstack-offsets.sym.
35452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35453 <sigaltstack-offsets.h>.
35454 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35455 longjmp_msg pointer.
35456 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35457 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35458 signal stack.
35459 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35460
cc03b296
JM
354612012-05-15 Joseph Myers <joseph@codesourcery.com>
35462
a9538892
JM
35463 * elf/stackguard-macros.h: Remove file.
35464 * sysdeps/generic/stackguard-macros.h: New file.
35465 * sysdeps/i386/stackguard-macros.h: Likewise.
35466 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35467 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35468 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35469 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35470 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35471 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35472 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35473 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35474 <elf/stackguard-macros.h>.
35475
cc03b296
JM
35476 [BZ #14109]
35477 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35478 __aligned__ in attribute.
35479 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35480 (gregset_t): Likewise.
35481
93171016
L
354822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35483
35484 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35485 * sysdeps/x86_64/64/Implies-after: Here. New file.
35486 * sysdeps/x86_64/x32/Implies-after: New file.
35487
d86813a0
L
354882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35489
35490 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35491 and access return value for _dl_profile_fixup. Use R10_LP to
35492 load frame size.
35493
2953ec75
L
354942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35495
35496 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35497
3b550e9e
L
354982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35499
35500 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35501 * sysdeps/x86_64/x32/sysdep.h: New file.
35502
eda41706
L
355032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35504
35505 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35506 * sysdeps/x86_64/setjmp.S: Likewise.
35507
9ea01d93
AZ
355082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35509
35510 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35512 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35513 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35514 remove unused global constant.
35515
02a91938
CM
355162012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35517
35518 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35519 include of <not-cancel.h>.
35520
6540185f
RM
355212012-05-15 Roland McGrath <roland@hack.frob.com>
35522
35523 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35524
509072a0
AJ
355252012-05-15 Jeff Law <law@redhat.com>
35526 Andreas Jaeger <aj@suse.de>
35527
35528 [BZ #13594]
35529 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35530 out from...
35531 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35532 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35533 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35534 code changing __hst_map_handle.map.
35535
ba75122d
RM
355362012-05-15 Roland McGrath <roland@hack.frob.com>
35537
35538 * configure.in (sysnames): Look for Implies-before and Implies-after
35539 files.
35540 * configure: Regenerated.
35541
890d8bd8
L
355422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35543
35544 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35545 8-byte data alignment with LP_SIZE alignment.
35546
f6ee6623
L
355472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35548
35549 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35550 into R10_LP.
35551
ea2626f6
L
355522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35553
35554 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35555
085f715e
L
355562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35557
35558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35559 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35560 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35561 Likewise.
35562 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35563
be8498fc
L
355642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35565
35566 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35567 (stackinfo_sub_sp): Likewise.
35568
70bc83b9
L
355692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35570
35571 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35572 RAX_LP.
35573
9bc0b730
L
355742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35575
35576 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35577 into R*_LP.
35578
6d2850e7
L
355792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35580
35581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35582 sizes into R*_LP.
35583
3cb84561
L
355842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35585
35586 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35587
54e2ed81
L
355882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35589
35590 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35591 into R11_LP and load __x86_64_shared_cache_size_half into
35592 R8_LP.
35593
8a17f349
L
355942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35595
35596 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35597 R8_LP.
35598
777b1eea
AZ
355992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35600
35601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35602 logb for POWER7.
35603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35604 logbf for POWER7.
35605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35606 logbl for POWER7.
35607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35608 powerpc32/power7/fpu/s_logb.c via #include.
35609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35610 powerpc32/power7/fpu/s_logbf.c via #include.
35611 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35612 powerpc32/power7/fpu/s_logbl.c via #include.
35613
d20d4ac2
JM
356142012-05-15 Joseph Myers <joseph@codesourcery.com>
35615
35616 * README.libm: Remove file.
35617
6cdef1ab
L
356182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35619
35620 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35621 count for x32. Use R*_LP and omit operand-size suffix.
35622
0b254d8f
L
356232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35624
35625 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35626 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35627 * sysdeps/x86_64/x32/shlib-versions: New file.
35628
ceb809dc
RM
356292012-05-14 Roland McGrath <roland@hack.frob.com>
35630
35631 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35632 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35633 Use _dl_fatal_printf instead.
35634
37f1abd4
JM
356352012-05-14 Joseph Myers <joseph@codesourcery.com>
35636
35637 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35638 set if not set by the user. Do not allow for being unset.
35639 * sysdeps/unix/sysv/linux/configure: Regenerated.
35640
11de3a33
L
356412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35642
35643 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35644 the `q' suffix from lea and replace .quad with ASM_ADDR.
35645
e02f153a
L
356462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35647
35648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35649 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35650 instead of $17.
35651 (PTR_DEMANGLE): Likewise.
35652
520ae0fd
L
356532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35654
35655 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35656 (LP_OP): Likewise.
35657 (ASM_ADDR): Likewise.
35658 (RAX_LP): Likewise.
35659 (RBP_LP): Likewise.
35660 (RBX_LP): Likewise.
35661 (RCX_LP): Likewise.
35662 (RDI_LP): Likewise.
35663 (RSI_LP): Likewise.
35664 (RSP_LP): Likewise.
35665 (R8_LP): Likewise.
35666 (R9_LP): Likewise.
35667 (R10_LP): Likewise.
35668 (R10_LP): Likewise.
35669 (R11_LP): Likewise.
35670 (R12_LP): Likewise.
35671 (R13_LP): Likewise.
35672 (R14_LP): Likewise.
35673 (R15_LP): Likewise.
35674
b985be81
L
356752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35676
35677 * sysdeps/x86_64/x32/dl-machine.h: New file.
35678
6a4888ff
AJ
356792012-05-14 Andreas Jaeger <aj@suse.de>
35680
35681 * manual/Makefile (subdir): Remove export of subdir.
35682 (all): Remove target.
35683 (.PHONY): Remove all from list.
35684 (mkinstalldirs): Remove.
35685 (.PHONY): Remove installdirs from list.
35686 ($(inst_infodir)/libc.info): Use make-target-directory.
35687 (installdirs): Remove.
35688 (subdir_%): Remove.
35689 (glibc-targets): Remove.
35690 (lib): Remove.
35691 (stubs): Remove.
35692 ($(objpfx)stubs ../po/manual.pot): Remove.
35693 ($(objpfx)stamp%): Remove.
35694 (make-target-directory): Remove.
35695 (subdir_install): Remove.
35696 (routines): Remove.
35697 (aux): Remove.
35698 (sources): Remove.
35699 (objects): Remove.
35700 (headers): Remove.
35701
35702 [BZ #13750]
35703 * manual/.gitignore: Remove, it's not needed anymore.
35704 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35705 all files in it.
35706 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35707 directory.
35708 (texis): Renamed to $(objpfx)texis.
35709 (texis-path): New, contains path to generated files.
35710 (chapters.%): Use texis-path for complete path, add extra argument
35711 libc-texinfo.sh.
35712 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35713 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35714 (summary,texi, stamp-summary): Use complete path of
35715 files. Generate files in build dir.
35716 (dir-add.texi): Build in build dir.
35717 (libm-err.texi,stamp-libm-err): Likewise.
35718 (version.texi, stamp-version): Likewise.
35719 (.%c.texi): Likewise.
35720 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35721 (mostlyclean): Remove target.
35722 (realclean): Remove target.
35723 (generated): Add new variable with contents from mostlyclean and
35724 realclean, remove entries duplicated in common-mostlyclean, add
35725 stamp-libm-err and stamp-version.
35726 (generated-dirs): Add libc directory.
35727 ($(inst_infodir)/libc.info): Install files from build dir.
35728
35729 * manual/install.texi (Configuring and compiling): Adjust since
35730 the info files are not part of the tar ball anymore.
35731
7ac77294
AJ
357322012-05-14 Andreas Jaeger <aj@suse.de>
35733
35734 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35735 variable.
35736
ffb7875d
JM
357372012-05-14 Joseph Myers <joseph@codesourcery.com>
35738
35739 [BZ #13717]
35740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35741 to 2.2.0 where earlier.
35742 * sysdeps/unix/sysv/linux/configure: Regenerated.
35743 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35744 Remove conditional code.
35745 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35746 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35747 Remove conditional code.
35748 [!__NR_lchown]: Likewise.
35749 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35750 [__NR_lchown]: Likewise.
35751 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35752 comment referencing __ASSUME_LCHOWN_SYSCALL.
35753 * sysdeps/unix/sysv/linux/i386/sigaction.c
35754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35756 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35757 Remove conditional code.
35758 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35759 (__protocol_available): Remove #if 0 code.
35760 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35761 conditional code.
35762 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35763 * sysdeps/unix/sysv/linux/kernel-features.h
35764 (__ASSUME_GETCWD_SYSCALL): Don't define.
35765 (__ASSUME_REALTIME_SIGNALS): Likewise.
35766 (__ASSUME_PREAD_SYSCALL): Likewise.
35767 (__ASSUME_PWRITE_SYSCALL): Likewise.
35768 (__ASSUME_POLL_SYSCALL): Likewise.
35769 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35770 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35771 non-SPARC.
35772 (__ASSUME_SIOCGIFNAME): Don't define.
35773 (__ASSUME_MSG_NOSIGNAL): Likewise.
35774 (__ASSUME_SENDFILE): Define unconditionally.
35775 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35776 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35777 conditional code.
35778 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35779 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35780 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35781 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35782 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35783 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35784 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35786 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35798 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35804 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35809 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35810 Remove conditional code.
35811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35812 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35813 Remove conditional code.
35814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35815 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35816 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35817 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35818 Remove conditional code.
35819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35820 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35821 Remove conditional code.
35822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35823 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35824 Remove conditional code.
35825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35826 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35827 Remove conditional code.
35828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35829 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35830 Remove conditional code.
35831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35832 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35833 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35835 * sysdeps/unix/sysv/linux/sigaction.c
35836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35838 * sysdeps/unix/sysv/linux/sigpending.c
35839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35841 * sysdeps/unix/sysv/linux/sigprocmask.c
35842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35844 * sysdeps/unix/sysv/linux/sigsuspend.c
35845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35847 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35848 (__libc_missing_rt_sigs): Remove.
35849 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35850 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35851 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35852 Remove conditional code.
35853 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35854 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35855 return 1.
35856 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35857 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35858 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35859 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35860
1bfb7291
AJ
358612012-05-14 Andreas Jaeger <aj@suse.de>
35862
caae5a81
AJ
35863 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35864 it's not used in glibc.
35865 (__coshm1): Likewise.
35866 (__acosh1p): Likewise.
35867 (__sgn): Likewise.
35868
1bfb7291
AJ
35869 * manual/string.texi (Copying and Concatenation): Add missing
35870 variable in concat example.
35871 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35872
c044d724
L
358732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35874
144c5467 35875 [BZ #14103]
c044d724
L
35876 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35877 __builtin_clzl with __builtin_clzll.
35878
2523c62b
L
358792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35880
35881 [BZ #14104]
35882 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35883 libc_freeres_ptr.
35884
d7bb4c42
LD
358852012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35886
35887 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35888 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35889 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35890 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35891
9dc4e1fb
MF
358922012-05-14 Mike Frysinger <vapier@gentoo.org>
35893
35894 * NEWS: Update ia64 info.
35895
c7df0112
AS
358962012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35897
35898 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35899 used as bcopy.
35900
dc70356c
TS
359012012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35902
35903 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35904 * sysdeps/unix/syscalls.list (dup3): Likewise.
35905 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35906 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35907
9fb1a21f
L
359082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35909
35910 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35911 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35912
4822a2a5
L
359132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35914
35915 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35916 thread pointer.
35917 (TLS_IE): Use mov/add instead of movq/addq to load thread
35918 pointer.
35919 (TLS_GD_PREFIX): New.
35920 (TLS_GD): Use it.
35921
842b81d6
DM
359222012-05-11 David S. Miller <davem@davemloft.net>
35923
35924 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35925 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35926 (_FPU_SETCW): Likewise.
35927
1cf463cd
L
359282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35929
35930 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35931 is 32-byte aligned.
35932
60cc4a18
AS
359332012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35934
35935 [BZ #11837]
35936 * iconvdata/gb18030.c: Update tables.
35937 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35938 characters specially.
35939 (BODY for TO_LOOP): Add encoding of missing ranges.
35940
febb44a4
TS
359412012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35942
35943 [BZ #13673]
35944 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35945 * sysdeps/mach/hurd/dup3.c: Likewise.
35946 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35947 * sysdeps/powerpc/memmove.c:: Likewise.
35948
0a10fb9e
L
359492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35950
35951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35952 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35953
df8a552f
L
359542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35955
35956 * elf/elf.h (R_X86_64_RELATIVE64): New.
35957 (R_X86_64_NUM): Updated.
35958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35959 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35960 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35961 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35962 tst-quad1pie tst-quad2pie
35963 (modules-names): Add tst-quadmod1 tst-quadmod2.
35964 ($(objpfx)tst-quad1): New dependency.
35965 ($(objpfx)tst-quad2): Likewise.
35966 ($(objpfx)tst-quad1pie): Likewise.
35967 ($(objpfx)tst-quad2pie): Likewise.
35968 * sysdeps/x86_64/tst-quad1.c: New file.
35969 * sysdeps/x86_64/tst-quad1pie.c: New file.
35970 * sysdeps/x86_64/tst-quad2.c: Likewise.
35971 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35972 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35973 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35974 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35975 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35976
f34d6f84
ST
359772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35978
f42d41d1
ST
35979 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35980 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35981 * streams/stropts.h (t_scalar_t): Define type.
35982
3c3571fc
ST
35983 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35984 (_PATH_PRESERVE): Set to "/var/lib".
35985 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35986
61f06bd3
ST
35987 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35988 instead of int.
35989
918d4d71
ST
35990 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35991 if __dir_mkfile succeeded.
35992
f34d6f84
ST
35993 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35994 checking for _hurd_dtablesize. Unlock it right after having
35995 finished _hurd_dtable allocation.
35996
10589b4a
TS
359972012-05-10 Thomas Schwinge <thomas@schwinge.name>
35998
674cdbc7
TS
35999 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36000 * sysdeps/mach/hurd/configure: Regenerated.
36001 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36002 special-casing to...
36003 * sysdeps/gnu/configure.in: ... this new file.
36004 * sysdeps/unix/sysv/linux/configure: Regenerated.
36005 * sysdeps/gnu/configure: New generated file.
36006
8e41b99f
TS
36007 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36008 for Linux: use nsec instead of usec, as well as:
36009 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36010 members of type struct timespec.
36011 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36012 New macros.
36013 (struct stat64): Likewise.
36014 (_STATBUF_ST_NSEC): New macro.
36015 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36016
10589b4a
TS
36017 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36018 __strtoul_internal rather than strtoul.
36019
63643c85
PT
360202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36021
36022 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36023 and reject them.
36024
3faebe6a
ST
360252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36026
36027 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36028 which preserves existing values.
36029 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36030
c6474b07
PT
360312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36032
36033 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36034 TIMEOUT values. Return EINVAL for NFDS values either negative or
36035 greater than FD_SETSIZE.
36036
1043890b
ST
360372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36038
36039 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36040 allocated, call __vm_protect to finish enabling the existing space, and
36041 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36042 allocate the remainder.
36043
37ed8b9b
PT
360442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36045
36046 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36047 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36048
db653660
ST
360492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36050
37ed8b9b
PT
36051 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36052 sysdeps/mach/hurd/readlink.c.
b29d4053 36053
db653660
ST
36054 * posix/tst-sysconf.c (posix_options): Only use
36055 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36056 _POSIX_SYNCHRONIZED_IO when they are defined
36057 * sysdeps/mach/hurd/bits/posix_opt.h:
36058 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36059 (_XOPEN_REALTIME): Undefine macro.
36060 (_XOPEN_REALTIME_THREADS): Undefine macro.
36061 (_XOPEN_SHM): Undefine macro.
36062 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36063 macro to -1.
36064 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36065 macro to -1.
36066 (_POSIX_ASYNC_IO): Undefine macro.
36067 (_POSIX_PRIORITIZED_IO): Undefine macro.
36068 (_POSIX_SPIN_LOCKS): Define macro to -1.
36069
ee16e894
ST
36070 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36071 SA_NODEFER, SA_RESETHAND.
36072 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36073 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36074 F_DUPFD_CLOEXEC.
36075
6103ae3b
TS
360762012-05-10 Thomas Schwinge <thomas@schwinge.name>
36077
36078 * elf/Makefile (pldd-modules): Define unconditionally.
36079
80b4e5f3
TS
360802012-05-10 Thomas Schwinge <thomas@schwinge.name>
36081
36082 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36083
edadcbd6
ST
360842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36085
36086 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36087 Return ENOENT when name is empty.
36088 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36089
80694780
TS
360902012-05-10 Thomas Schwinge <thomas@schwinge.name>
36091
1792c087
TS
36092 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36093
80694780
TS
36094 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36095
6b645f0d
ST
360962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36097
80694780
TS
36098 Fix mlock in all cases except non-readable pages.
36099 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36100 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36101
6b645f0d
ST
36102 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36103 (__mkdir): When path is `/', just fail with EEXIST.
36104 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36105
e468f8a3
TS
361062012-05-10 Thomas Schwinge <thomas@schwinge.name>
36107
36108 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36109 <sys/uio.h> (for writev).
36110 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36111 and <sys/param.h> (for MIN).
36112
a4186cff
PT
361132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36114
36115 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36116 REQUESTED_TIME. Properly set the remaining time and return EINTR
36117 if interrupted.
36118
510bbf14
TS
361192012-05-10 Thomas Schwinge <thomas@schwinge.name>
36120
36121 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36122 Depend on against $(link-rpcuserlibs).
36123
5d5722e8
ST
361242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36125
a4186cff
PT
36126 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36127 (__libc_stack_end): Do not use attribute_relro.
36128 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36129 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36130 to libthread-provided value.
a4186cff
PT
36131 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36132 attribute_relro.
5d5722e8 36133
37233df9
TS
361342012-05-10 Thomas Schwinge <thomas@schwinge.name>
36135
be971a2b
TS
36136 [BZ #3748]
36137 * bits/libc-lock.h (__libc_once_get): New macro.
36138 * sysdeps/mach/bits/libc-lock.h: Likewise.
36139 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36140 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36141 instead of using implementation details.
36142
37233df9
TS
36143 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36144 * libio/freopen.c: Likewise.
36145 * libio/freopen64.c: Likewise.
36146 * misc/syslog.c: Likewise.
36147 * nscd/connections.c: Likewise.
36148 * nscd/netgroupcache.c: Likewise.
36149 * sysdeps/posix/getcwd.c: Likewise.
36150
38de94a5
RM
361512012-05-10 Roland McGrath <roland@hack.frob.com>
36152
36153 * math/w_ilogbf.c: Add #include <limits.h>.
36154
67530489
ST
361552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36156
a4186cff 36157 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36158 path instead of returning without unlocking.
36159
67530489
ST
36160 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36161 immediate-write ioctls.
36162 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36163
5aa3a74a
TS
361642012-05-10 Thomas Schwinge <thomas@schwinge.name>
36165
18bad2ae
TS
36166 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36167 __builtin_frame_address instead of making assumptions about the
36168 location of the return address relative to DATA. Force early load of
36169 the return address.
36170 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36171 __builtin_frame_address.
36172
5aa3a74a
TS
36173 dup3 for GNU Hurd.
36174 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36175 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36176 implement dup3 and do some further code clean-ups.
36177 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36178 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36179
ecd0de9a
ST
361802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36181
cd9fa985
ST
36182 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36183
a4186cff
PT
36184 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36185 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36186 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36187 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36188 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36189 d->port.lock.
802ca5a5 36190
a4186cff
PT
36191 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36192 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36193 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36194
bcf55240
TS
361952012-05-10 Thomas Schwinge <thomas@schwinge.name>
36196
6960eb42
TS
36197 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36198 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36199 definitions.
36200
eb43375f
TS
36201 accept4 for GNU Hurd.
36202 * include/sys/socket.h (__libc_accept4): New prototype.
36203 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36204 to implement __libc_accept4.
36205 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36206 __libc_accept4.
36207 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36208
bcf55240
TS
36209 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36210 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36211 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36212 signal-defines.sym.
36213
6178c55b
ST
362142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36215
a4186cff 36216 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36217
6f080c2f
TS
362182012-05-10 Thomas Schwinge <thomas@schwinge.name>
36219
36220 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36221 assertion on O_CLOEXEC flag.
36222 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36223 * hurd/intern-fd.c: Likewise.
36224 * hurd/port2fd.c: Likewise.
36225
bcfe3a54
ST
362262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36227
36228 [BZ #3906]
36229 * bits/in.h (IPV6_PKTINFO): Define new macro.
36230 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36231
89c9aa49
AZ
362322012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36233
36234 [BZ #13954]
36235 [BZ #13955]
36236 [BZ #13956]
36237 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36238 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36239 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36240 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36242 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36243 * math/libm-test.inc (logb_test) : Additional logb tests.
36244
021db4be
AJ
362452012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36246 Andreas Jaeger <aj@suse.de>
36247
36248 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36249 * configure: Regenerated.
36250 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36251 * config.make.in (link-obsolete-rpc): New substituted variable.
36252 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36253 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36254 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36255 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36256 so that libc.a contains the symbols.
36257 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36258 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36259 * sunrpc/auth_none.c: Likewise.
36260 * sunrpc/auth_unix.c: Likewise.
36261 * sunrpc/authdes_prot.c: Likewise.
36262 * sunrpc/authuxprot.c: Likewise.
36263 * sunrpc/clnt_gen.c: Likewise.
36264 * sunrpc/clnt_perr.c: Likewise.
36265 * sunrpc/clnt_raw.c: Likewise.
36266 * sunrpc/clnt_simp.c: Likewise.
36267 * sunrpc/clnt_tcp.c: Likewise.
36268 * sunrpc/clnt_udp.c: Likewise.
36269 * sunrpc/clnt_unix.c: Likewise.
36270 * sunrpc/des_crypt.c: Likewise.
36271 * sunrpc/des_soft.c: Likewise.
36272 * sunrpc/get_myaddr.c: Likewise.
36273 * sunrpc/key_call.c: Likewise.
36274 * sunrpc/key_prot.c: Likewise.
36275 * sunrpc/netname.c: Likewise.
36276 * sunrpc/pm_getmaps.c: Likewise.
36277 * sunrpc/pm_getport.c: Likewise.
36278 * sunrpc/pmap_clnt.c: Likewise.
36279 * sunrpc/pmap_prot.c: Likewise.
36280 * sunrpc/pmap_prot2.c: Likewise.
36281 * sunrpc/pmap_rmt.c: Likewise.
36282 * sunrpc/publickey.c: Likewise.
36283 * sunrpc/rpc_cmsg.c: Likewise.
36284 * sunrpc/rpc_common.c: Likewise.
36285 * sunrpc/rpc_dtable.c: Likewise.
36286 * sunrpc/rpc_prot.c: Likewise.
36287 * sunrpc/rpc_thread.c: Likewise.
36288 * sunrpc/rtime.c: Likewise.
36289 * sunrpc/svc.c: Likewise.
36290 * sunrpc/svc_auth.c: Likewise.
36291 * sunrpc/svc_raw.c: Likewise.
36292 * sunrpc/svc_run.c: Likewise.
36293 * sunrpc/svc_tcp.c: Likewise.
36294 * sunrpc/svc_udp.c: Likewise.
36295 * sunrpc/svc_unix.c: Likewise.
36296 * sunrpc/svcauth_des.c: Likewise.
36297 * sunrpc/xcrypt.c: Likewise.
36298 * sunrpc/xdr.c: Likewise.
36299 * sunrpc/xdr_array.c: Likewise.
36300 * sunrpc/xdr_float.c: Likewise.
36301 * sunrpc/xdr_intXX_t.c: Likewise.
36302 * sunrpc/xdr_mem.c: Likewise.
36303 * sunrpc/xdr_rec.c: Likewise.
36304 * sunrpc/xdr_ref.c: Likewise.
36305 * sunrpc/xdr_sizeof.c: Likewise.
36306 * sunrpc/xdr_stdio.c: Likewise.
36307
b5c086a2
RM
363082012-05-10 Roland McGrath <roland@hack.frob.com>
36309
36310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36311 change. Update copyright years.
36312
6d74dd09
JM
363132012-05-10 Joseph Myers <joseph@codesourcery.com>
36314
36315 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36316
28e72501
MK
363172012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36318 Joseph Myers <joseph@codesourcery.com>
36319 Paul Pluzhnikov <ppluzhnikov@google.com>
36320
36321 [BZ #14012]
36322 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36323 requiring rpcgen.
36324 [cross-compiling] (extra-libs): Likewise.
36325 [cross-compiling] (extra-libs-others): Likewise.
36326 [cross-compiling] (librpcsvc-routines): Likewise.
36327 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36328 [cross-compiling] (omit-deps): Likewise.
36329 (sunrpc-CPPFLAGS): New variable.
36330 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36331 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36332 (cross-rpcgen-objs): New variable.
36333 (extra-objs): Append $(cross-rpcgen-objs).
36334 ($(cross-rpcgen-objs)): New rule.
36335 ($(objpfx)cross-rpcgen): Likewise.
36336 (rpcgen-cmd): Define to use $(built-program-file). Expand
36337 comment.
36338 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36339 ($(objpfx)x%.stmp): Likewise.
36340 * sunrpc/proto.h [IS_IN_build] (_): Define.
36341 [IS_IN_build] (_libc_intl_domainname): Likewise.
36342
c8c59454
L
363432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36344
36345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36346 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36347 and R_X86_64_TPOFF64.
36348
6f27cd16
JM
363492012-05-10 Joseph Myers <joseph@codesourcery.com>
36350
36351 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36352 sysdeps/unix/sysv/syscalls.list.
36353 (stime): Likewise.
36354 (utime): Likewise.
36355 * sysdeps/unix/sysv/syscalls.list: Remove file.
36356
02467e1c
PE
363572012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36358
36359 [BZ #3440]
36360 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36361 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36362 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36363 (__LC_IDENTIFICATION): Make these macros useful in #if
36364 expressions, as required by C99.
36365
da392631
AS
363662012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36367
36368 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36369 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36370 after this.
36371
8115f29b
L
363722012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36373
36374 * stdlib/longlong.h: Updated from GCC.
36375
bdd74070
AJ
363762012-05-09 Andreas Jaeger <aj@suse.de>
36377
edfe0dbe
AJ
36378 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36379 default is first entry.
36380 (run_mode): Set type.
36381 (main): Remove informal message about syslog.
36382 (options): Fix typo.
36383
bcfe3a54
ST
36384 [BZ #14053]
36385 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36386 to asm.
bcfe3a54
ST
36387 (lrint): Likewise.
36388 (llrintf): Likewise.
36389 (llrint): Likewise.
36390 (rint): Likewise.
36391 (rintf): Likewise.
36392 (nearbyint): Likewise.
36393 (nearbyintf): Likewise.
bdd74070 36394
91d8d69e
AJ
363952012-05-09 Andreas Jaeger <aj@suse.de>
36396 Pedro Alves <palves@redhat.com>
36397
36398 * nscd/nscd.c (run_mode): Use enum.
36399 (main): Cleanup coding style issue.
36400
bb90b80b
AJ
364012012-05-09 Alexandre Oliva <aoliva@redhat.com>
36402 Andreas Jaeger <aj@suse.de>
36403
bcfe3a54
ST
36404 * nscd/nscd.c (go_background): Replaced with...
36405 (run_mode): ... this.
bb90b80b 36406 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36407 (options): Add -F --foreground.
36408 (main): Implement it.
36409 (parse_opt): Parse it.
bb90b80b 36410
1a4b75a1
AJ
364112012-05-09 Andreas Jaeger <aj@suse.de>
36412
36413 [BZ #14083]
36414 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36415 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36416 -Wconversion warning.
36417 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36418 Likewise.
36419
b1cc2472
JM
364202012-05-09 Joseph Myers <joseph@codesourcery.com>
36421
36422 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36423 == 0.
36424 (LC_ALL): Use macro-int-constant.
36425 (LC_COLLATE): Likewise.
36426 (LC_CTYPE): Likewise.
36427 (LC_MESSAGES): Likewise.
36428 (LC_MONETARY): Likewise.
36429 (LC_NUMERIC): Likewise.
36430 (LC_TIME): Likewise.
36431 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36432 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36434 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36435 Specify type.
36436 [C99-based standards] (float_t): Expect type.
36437 [C99-based standards] (double_t): Expect type.
36438 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36439 type.
36440 [C99-based standards] (HUGE_VALL): Likewise.
36441 [C99-based standards] (INFINITY): Likewise.
36442 [C99-based standards] (NAN): Likewise.
36443 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36444 [C99-based standards] (FP_NAN): Likewise.
36445 [C99-based standards] (FP_NORMAL): Likewise.
36446 [C99-based standards] (FP_SUBNORMAL): Likewise.
36447 [C99-based standards] (FP_ZERO): Likewise.
36448 [C99-based standards] (FP_FAST_FMA): Use
36449 optional-macro-int-constant. Specify type. Require == 1.
36450 [C99-based standards] (FP_FAST_FMAF): Likewise.
36451 [C99-based standards] (FP_FAST_FMAL): Likewise.
36452 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36453 [C99-based standards] (FP_ILOGBNAN): Likewise.
36454 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36455 Specify type.
36456 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36457 [C99-based standards] (math_errhandling): Specify type.
36458 [ISO99 || ISO11] (signgam): Do not allow.
36459 [non-C99-based standards] (copysignf): Do not allow.
36460 [non-C99-based standards] (exp2f): Likewise.
36461 [non-C99-based standards] (log2f): Likewise.
36462 [non-C99-based standards] (modff): Allow.
36463 [non-C99-based standards] (erff): Do not allow.
36464 [non-C99-based standards] (erfcf): Likewise.
36465 [non-C99-based standards] (gammaf): Likewise.
36466 [non-C99-based standards] (hypotf): Likewise.
36467 [non-C99-based standards] (j0f): Likewise.
36468 [non-C99-based standards] (j1f): Likewise.
36469 [non-C99-based standards] (jnf): Likewise.
36470 [non-C99-based standards] (lgammaf): Likewise.
36471 [non-C99-based standards] (tgammaf): Likewise.
36472 [non-C99-based standards] (y0f): Likewise.
36473 [non-C99-based standards] (y1f): Likewise.
36474 [non-C99-based standards] (ynf): Likewise.
36475 [non-C99-based standards] (isnanf): Likewise.
36476 [non-C99-based standards] (acoshf): Likewise.
36477 [non-C99-based standards] (asinhf): Likewise.
36478 [non-C99-based standards] (atanhf): Likewise.
36479 [non-C99-based standards] (cbrtf): Likewise.
36480 [non-C99-based standards] (expm1f): Likewise.
36481 [non-C99-based standards] (ilogbf): Likewise.
36482 [non-C99-based standards] (log1pf): Likewise.
36483 [non-C99-based standards] (logbf): Likewise.
36484 [non-C99-based standards] (nextafterf): Likewise.
36485 [non-C99-based standards] (remainderf): Likewise.
36486 [non-C99-based standards] (rintf): Likewise.
36487 [non-C99-based standards] (scalbf): Likewise.
36488 [non-C99-based standards] (copysignl): Likewise.
36489 [non-C99-based standards] (exp2l): Likewise.
36490 [non-C99-based standards] (log2l): Likewise.
36491 [non-C99-based standards] (modfl): Allow.
36492 [non-C99-based standards] (erfl): Do not allow.
36493 [non-C99-based standards] (erfcl): Likewise.
36494 [non-C99-based standards] (gammal): Likewise.
36495 [non-C99-based standards] (hypotl): Likewise.
36496 [non-C99-based standards] (j0l): Likewise.
36497 [non-C99-based standards] (j1l): Likewise.
36498 [non-C99-based standards] (jnl): Likewise.
36499 [non-C99-based standards] (lgammal): Likewise.
36500 [non-C99-based standards] (tgammal): Likewise.
36501 [non-C99-based standards] (y0l): Likewise.
36502 [non-C99-based standards] (y1l): Likewise.
36503 [non-C99-based standards] (ynl): Likewise.
36504 [non-C99-based standards] (isnanl): Likewise.
36505 [non-C99-based standards] (acoshl): Likewise.
36506 [non-C99-based standards] (asinhl): Likewise.
36507 [non-C99-based standards] (atanhl): Likewise.
36508 [non-C99-based standards] (cbrtl): Likewise.
36509 [non-C99-based standards] (expm1l): Likewise.
36510 [non-C99-based standards] (ilogbl): Likewise.
36511 [non-C99-based standards] (log1pl): Likewise.
36512 [non-C99-based standards] (logbl): Likewise.
36513 [non-C99-based standards] (nextafterl): Likewise.
36514 [non-C99-based standards] (remainderl): Likewise.
36515 [non-C99-based standards] (rintl): Likewise.
36516 [non-C99-based standards] (scalbl): Likewise.
36517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36518 [non-C99-based standards] (FP_*): Do not allow.
36519 [C99-based standards] (FP_*): Change to
36520 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36521 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36522 allow.
36523 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36524 (SIG_ERR): Likewise.
36525 [X/Open-based standards] (SIG_HOLD): Likewise.
36526 (SIG_IGN): Likewise.
36527 (SIGABRT): Use macro-int-constant. Specify type. Require
36528 positive value.
36529 (SIGFPE): Likewise.
36530 (SIGILL): Likewise.
36531 (SIGINT): Likewise.
36532 (SIGSEGV): Likewise.
36533 (SIGTER): Likewise.
36534 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36535 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36536 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36537 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36538 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36539 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36540 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36541 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36542 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36543 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36544 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36545 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36546 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36547 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36548 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36549 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36550 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36551 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36552 [X/Open-based standards] (SIGTRAP): Likewise.
36553 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36554 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36555 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36556 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36557 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36558 allow.
36559
b9f1922d
IW
365602012-05-08 Ian Wienand <ianw@vmware.com>
36561
36562 [BZ #14080]
36563 * time/tzset.c (__tzset_parse_tz): Update default rules for
36564 daylight time changes in the Energy Policy Act of 2005.
36565
1db86e88
AJ
365662012-05-09 Andreas Jaeger <aj@suse.de>
36567
36568 [BZ #13983]
36569 * elf/ldconfig.c (parse_conf): Change string to make clear that
36570 ldconfig only issued a warning if ld.so.conf does not exist.
36571
dee4a4e3
DM
365722012-05-08 David S. Miller <davem@davemloft.net>
36573
ee0db190
DM
36574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36575 movxtod instead of popping the value on the stack.
36576
dee4a4e3
DM
36577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36578
6a43ec98
CD
365792012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36580
36581 * config.h.in: Add HAVE_ARM_PCS_VFP.
36582
05c2c961
RMG
365832012-05-08 Roland Mc Grath <roland@hack.frob.com>
36584
bcfe3a54
ST
36585 [BZ #13979]
36586 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36587 checking but the checks are disabled for any reason.
05c2c961 36588
4b30f61a
L
365892012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36590
36591 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36592 and ELF64_R_TYPE with ELFW(R_TYPE).
36593
eee2bc67
JM
365942012-05-08 Joseph Myers <joseph@codesourcery.com>
36595
7ea5391a
JM
36596 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36597 (ulimit): Likewise.
36598
eee2bc67
JM
36599 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36600 (settimeofday): Likewise.
36601
abb66a67
MF
366022012-05-08 Mike Frysinger <vapier@gentoo.org>
36603
36604 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36605 a struct th_u2 inside the union, and move tu_block/tu_code into
36606 a new th_u3 union of tu_block/tu_code inside of that. Move
36607 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36608 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36609 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36610 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36611 (th_stuff): Change to th_u1.tu_stuff.
36612 (th_data): Define.
36613 (th_msg): Change to th_u1.th_u2.tu_data.
36614
7f18b530
DM
366152012-05-07 David S. Miller <davem@davemloft.net>
36616
05760585
DM
36617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36618
7f18b530
DM
36619 [BZ #14074]
36620 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36621 (SETUP_PIC_REG): Use it.
36622 (SETUP_PIC_REG_LEAF): Use it.
36623
495fd99f
JM
366242012-05-07 Joseph Myers <joseph@codesourcery.com>
36625
36626 [BZ #13885]
36627 [BZ #13923]
36628 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36629 USE_AS_EXPM1L.
36630 (EXPL_FINITE): Likewise.
36631 (FLDLOG): Likewise.
36632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36633 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36634 e_expl.S.
36635 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36636 USE_AS_EXPM1L.
36637 (EXPL_FINITE): Likewise.
36638 (FLDLOG): Likewise.
36639 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36640 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36641 e_expl.S.
36642 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36643 test of -max_value argument for long double.
36644 * sysdeps/i386/fpu/libm-test-ulps: Update.
36645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36646
6693d694
DM
366472012-05-06 David S. Miller <davem@davemloft.net>
36648
36649 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36650 quad soft-float symbols whose references which are compiler
36651 generated.
36652 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36653
6c23e11c
JM
366542012-05-06 Joseph Myers <joseph@codesourcery.com>
36655
d8b82cad
JM
36656 [BZ #13884]
36657 [BZ #13914]
36658 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36659 USE_AS_EXP10L.
36660 (EXPL_FINITE): Likewise.
36661 (FLDLOG): Likewise.
36662 (c0): Likewise.
36663 (c1): Likewise.
36664 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36665 Adjust comments for base varying.
36666 (__expl_finite): Change alias to EXPL_FINITE.
36667 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36668 e_expl.S.
36669 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36670 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36671 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36672 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36673 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36674 USE_AS_EXP10L.
36675 (EXPL_FINITE): Likewise.
36676 (FLDLOG): Likewise.
36677 (c0): Likewise.
36678 (c1): Likewise.
36679 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36680 Adjust comments for base varying.
36681 (__expl_finite): Change alias to EXPL_FINITE.
36682 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36683 tests for bugs.
36684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36685
6c23e11c
JM
36686 [BZ #14064]
36687 * math/libm-test.inc (check_float_internal): Correct ulp
36688 calculation for subnormal expected results.
36689
29ba805c
AJ
366902012-05-06 Andreas Jaeger <aj@suse.de>
36691
36692 * Makeconfig (+math-flags): New, set to -frounding-math.
36693 (+cflags): Add +math-flags so that all of glibc gets compiled with
36694 it.
36695
36696 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36697
7b17aeda
JM
366982012-05-05 Joseph Myers <joseph@codesourcery.com>
36699
5779f134
JM
36700 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36701 Disable one test.
36702
41498f4d
JM
36703 [BZ #13787]
36704 [BZ #13922]
36705 [BZ #14036]
36706 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36707 (__ieee754_expl): Allow for and saturate large arguments.
36708 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36709 (u_threshold): Likewise.
36710 (__exp): Call __ieee754_exp before checking for overflow and
36711 underflow.
36712 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36713 (u_threshold): Likewise.
36714 (__expf): Call __ieee754_expf before checking for overflow and
36715 underflow.
36716 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36717 (u_threshold): Likewise.
36718 (__expl): Call __ieee754_expl before checking for overflow and
36719 underflow.
36720 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36721 (__ieee754_expl): Allow for and saturate large arguments.
36722 * math/libm-test.inc (exp_test): Add another test. Do not allow
36723 missing overflow exception on overflow.
36724 (expm1_test): Do not allow missing overflow exception on overflow.
36725
6698b8bf
JM
36726 * sysdeps/i386/fpu/e_expl.c: Move to ...
36727 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36728 rather than using inline asm.
36729 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36730 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36731 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36732
7b17aeda
JM
36733 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36734 (nice): Likewise.
36735 (poll): Likewise.
36736 (signal): Likewise.
36737 (time): Likewise.
36738 (times): Likewise.
36739
f7c85819
JM
367402012-05-04 Joseph Myers <joseph@codesourcery.com>
36741
36742 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36743 sysdeps/unix/common/syscalls.list.
36744 (fchmod): Likewise.
36745 (fchown): Likewise.
36746 (ftruncate): Likewise.
36747 (getrusage): Likewise.
36748 (gettimeofday): Likewise.
36749 (setpgid): Likewise.
36750 (setregid): Likewise.
36751 (setreuid): Likewise.
36752 (sigaction): Likewise.
36753 (truncate): Likewise.
36754 (vhangup): Likewise.
36755 * sysdeps/unix/common/syscalls.list: Remove file.
36756 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36757 * sysdeps/unix/sysv/linux/Implies: Likewise.
36758
336270d0
L
367592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36760
36761 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36763 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36764 Moved to ...
36765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36766 Here.
36767 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36768 to ...
36769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36770 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36771 to ...
36772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36773 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36774 to ...
36775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36776 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36777 to ...
36778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36779 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36780 to ...
36781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36782 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36783 to ...
36784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36785 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36786 to ...
36787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36788 Here.
36789 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36790 to ...
36791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36792 Here.
36793 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36794 to ...
36795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36796 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36797 Moved to ...
36798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36799 Here.
36800 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36801 to ...
36802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36803
d128e450
JM
368042012-05-04 Joseph Myers <joseph@codesourcery.com>
36805
fa8ee516
JM
36806 * sysdeps/unix/common/bits/dirent.h: Remove file.
36807 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36808
d128e450
JM
36809 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36810 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36811 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36812 * sysdeps/unix/bsd/isatty.c: Likewise.
36813 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36814 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36815 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36816
ff8faaf0 368172012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36818
62881be4 36819 [BZ #13563]
31dc8730
AZ
36820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36821 long double comparison inaccuracies.
36822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36824
6fef930c
AS
368252012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36826
36827 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36829
8f203e6c
JM
368302012-05-04 Joseph Myers <joseph@codesourcery.com>
36831
36832 [BZ #14049]
36833 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36834 nonzero digits before rounding a hex value.
36835 * stdlib/tst-strtod.c (tests): Add another test.
36836
5197d9c2
AK
368372012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36838
36839 * sysdeps/s390/fpu/libm-test-ulps: Update.
36840
f0c1dedf
AJ
368412012-05-03 Andreas Jaeger <aj@suse.de>
36842
36843 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36844 does not get optimized out.
36845 (malloc_opt_barrier): New.
36846
a65ef2ae 368472012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36848 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36849
2b942cb7 36850 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36851 intermediate file deletion.
2b942cb7 36852 (generated): Add .symlist files.
a65ef2ae 36853
54b71e02
JM
368542012-05-03 Joseph Myers <joseph@codesourcery.com>
36855
36856 [BZ #13775]
36857 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36858 Redirect under this condition.
36859 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36860 [__USE_GNU] (__dprintf_chk): Not under this condition.
36861 [__USE_GNU] (__vdprintf_chk): Likewise.
36862 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36863 under this condition.
36864 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36865 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36866 [__USE_XOPEN2K8] (vdprintf): Likewise.
36867 [__USE_GNU] (__dprintf_chk): Not under this condition.
36868 [__USE_GNU] (__vdprintf_chk): Likewise.
36869 [__USE_GNU] (dprintf): Likewise.
36870 [__USE_GNU] (vdprintf): Likewise.
36871
d3dfcc41
RM
368722012-05-03 Roland McGrath <roland@hack.frob.com>
36873
36874 * elf/Makefile (common-generated): Set this instead of generated for
36875 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36876 $(all-built-dso)-derived lists.
36877
7ac30cc5
AJ
368782012-05-03 Andreas Jaeger <aj@suse.de>
36879
0c51e550
AJ
36880 * sysdeps/i386/fpu/libm-test-ulps: Update.
36881
7ac30cc5
AJ
36882 * FAQ: Removed.
36883 * FAQ.in: Likewise.
36884 * scripts/gen-FAQ.pl: Likewise.
36885 * manual/install.texi (Installation): Point to online location of
36886 FAQ.
36887 * Makefile (files-for-dist): Remove FAQ.
36888 (FAQ): Remove.
36889
d4c2917f
AM
368902012-05-02 Allan McRae <allan@archlinux.org>
36891
36892 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36893 (LDFLAGS-reldepmod5.so): Likewise.
36894 (LDFLAGS-reldep6mod1.so): Likewise.
36895 (LDFLAGS-reldep6mod4.so): Likewise.
36896 (LDFLAGS-reldep8mod3.so): Likewise.
36897 (LDFLAGS-unload4mod1.so): Likewise.
36898 (LDFLAGS-unload4mod2.so): Likewise.
36899 (LDFLAGS-tst-initorder): Likewise.
36900 (LDFLAGS-tst-initordera2.so): Likewise.
36901 (LDFLAGS-tst-initordera3.so): Likewise.
36902 (LDFLAGS-tst-initordera4.so): Likewise.
36903 (LDFLAGS-tst-initorderb2.so): Likewise.
36904 (LDFLAGS-noload): Likewise.
36905 (LDFLAGS-next): Likewise.
36906 (LDFLAGS-order2mod1.so): Likewise.
36907 (LDFLAGS-order2mod2.so): Likewise.
36908 (LDFLAGS-tst-initorder2): Likewise.
36909 (LDFLAGS-tst-initorder2a.so): Likewise.
36910 (LDFLAGS-tst-initorder2b.so): Likewise.
36911 (LDFLAGS-tst-initorder2c.so): Likewise.
36912 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36913
d77f993f
DM
369142012-05-02 David S. Miller <davem@davemloft.net>
36915
36916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36917
171a70b4
PP
369182012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36919
36920 [BZ #14055]
36921 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36922
0be196ad
AJ
369232012-05-02 Andreas Jaeger <aj@suse.de>
36924
36925 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36926 since we manipulate rounding mode.
36927 (CPPFLAGS-test-idouble.c): Likewise.
36928 (CPPFLAGS-test-ifloat.c): Likewise.
36929 (CFLAGS-test-ldouble.c): Likewise.
36930 (CFLAGS-test-double.c): Likewise.
36931 (CFLAGS-test-float.c): Likewise.
36932 (CFLAGS-test-misc.c): Likewise.
36933 (CFLAGS-test-test-fenv.c): Likewise.
36934
4f9d04aa
AZ
369352012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36936
2b942cb7
RM
36937 [BZ #2550]
36938 [BZ #2570]
36939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36940 comparisons to determine direction to adjust input.
4f9d04aa 36941
82a79e7d
RM
369422012-05-01 Roland McGrath <roland@hack.frob.com>
36943
f5a01ca9
RM
36944 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36945 output to the target.
36946
90fe4186
RM
36947 * scripts/localplt.awk: New file.
36948 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36949 (check-localplt-CFLAGS): Variable removed.
36950 ($(all-built-dso:=.jmprel)): New static pattern rule.
36951 (generated): Add those targets.
36952 (localplt-built-dso): New variable.
36953 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36954
36955 * elf/check-localplt.c: File removed.
36956
82397ed6
RM
36957 * scripts/check-execstack.awk: New file.
36958 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36959 (check-execstack-CFLAGS): Variable removed.
36960 ($(objpfx)check-execstack.h): Target removed.
36961 ($(objpfx)execstack-default): New target.
36962 (generated): Add that instead of check-execstack.h.
36963 ($(all-built-dso:=.phdr)): New static pattern rule.
36964 (generated): Add those targets.
36965 * elf/check-execstack.c: File removed.
36966
82a79e7d
RM
36967 * scripts/check-textrel.awk: New file.
36968 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36969 (check-textrel-CFLAGS): Variable removed.
36970 (all-built-dso): Use := to define.o
36971 ($(all-built-dso:=.dyn)): New static pattern rule.
36972 (generated): Add those targets.
36973 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36974 * config.make.in (READELF): New substituted variable.
36975 * elf/check-textrel.c: File removed.
36976
62fde54f 369772012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36978
615605c9
JM
36979 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36980 allow.
36981 * conform/data/ctype.h-data [C99-based standards] (isblank):
36982 Expect function.
36983 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36984 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36986 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36987 Specify type. Require positive value.
36988 (EILSEQ): Likewise.
36989 (ERANGE): Likewise.
36990 [ISO || POSIX] (EILSEQ): Do not expect.
36991 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36992 Specify type. Require positive value.
36993 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36994 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36995 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36996 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36997 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36998 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36999 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37000 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37001 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37002 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37003 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37004 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37005 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37006 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37007 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37008 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37009 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37010 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37011 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37012 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37013 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37014 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37015 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37018 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37019 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37020 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37021 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37022 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37023 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37024 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37025 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37026 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37027 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37028 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37029 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37030 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37031 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37032 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37033 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37034 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37035 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37036 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37037 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37038 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37039 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37040 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37041 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37042 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37043 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37044 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37045 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37046 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37047 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37048 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37049 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37050 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37051 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37052 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37053 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37054 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37055 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37056 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37057 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37058 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37059 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37060 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37061 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37062 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37063 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37064 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37065 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37066 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37067 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37068 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37069 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37070 Require >= 2.
37071 (FLT_ROUNDS): Expect as macro, not constant.
37072 (FLT_MANT_DIG): Use macro-int-constant.
37073 (DBL_MANT_DIG): Likewise.
37074 (LDBL_MANT_DIG): Likewise.
37075 (FLT_DIG): Likewise.
37076 (DBL_DIG): Likewise.
37077 (LDBL_DIG): Likewise.
37078 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37079 (DBL_MIN_EXP): Likewise.
37080 (LDBL_MIN_EXP): Likewise.
37081 (FLT_MAX_EXP): Use macro-int-constant.
37082 (DBL_MAX_EXP): Likewise.
37083 (LDBL_MAX_EXP): Likewise.
37084 (FLT_MAX_10_EXP): Likewise.
37085 (DBL_MAX_10_EXP): Likewise.
37086 (LDBL_MAX_10_EXP): Likewise.
37087 (FLT_MAX): Use macro-constant.
37088 (DBL_MAX): Likewise.
37089 (LDBL_MAX): Likewise.
37090 (FLT_EPSILON): Use macro-constant. Give upper bound.
37091 (DBL_EPSILON): Likewise.
37092 (LDBL_EPSILON): Likewise.
37093 (FLT_MIN): Likewise.
37094 (DBL_MIN): Likewise.
37095 (LDBL_MIN): Likewise.
37096 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37097 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37098 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37099 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37100 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37101 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37102 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37103 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37104 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37105 [ISO11] (FLT_TRUE_MIN): Likewise.
37106 [ISO11] (LDBL_TRUE_MIN): Likewise.
37107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37108 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37109 (SCHAR_MIN): Use macro-int-constant. Specify type.
37110 (SCHAR_MAX): Likewise.
37111 (UCHAR_MAX): Likewise.
37112 (CHAR_MIN): Likewise.
37113 (CHAR_MAX): Likewise.
37114 (MB_LEN_MAX): Use macro-int-constant.
37115 (SHRT_MIN): Use macro-int-constant. Specify type.
37116 (SHRT_MAX): Likewise.
37117 (USHRT_MAX): Likewise.
37118 (INT_MAX): Likewise.
37119 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37120 bound negative.
37121 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37122 bound with "U".
37123 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37124 bound with "L".
37125 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37126 bound negative. Suffix upper bound with "L".
37127 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37128 bound with "UL".
37129 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37130 Specify type.
37131 [C99-based standards] (LLONG_MAX): Likewise.
37132 [C99-based standards] (ULLONG_MAX): Likewise.
37133 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37134 == 0.
37135 [ISO11] (max_align_t): Require type.
37136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37137
c9140a62
JM
37138 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37139 from $CFLAGS, without defining away __attribute__ calls.
37140 (checknamespace): Use $CFLAGS_namespace.
37141
9af0bf29
JM
37142 * conform/conformtest.pl (@keywords): Only include C99 keywords
37143 for standards based on C99 or C11.
37144
343222a2
JM
37145 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37146 Disable tests.
37147 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37148 UNIX98]: Likewise.
37149
661f8cf0
JM
37150 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37151 usability of symbols in #if.
37152
ee74b9cb
JM
37153 * conform/conformtest.pl: If macro or constant types start
37154 "promoted:", expect the symbol to be of the following type
37155 promoted by the integer promotions.
62fde54f 37156
aafc49b3
JM
37157 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37158 in one place. Also handle "macro-constant".
37159
fefdf574
JM
37160 * conform/conformtest.pl: Only accept expected macro values with
37161 "==". Parse all "macro" lines in one place.
37162 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37163
f2d922fe
JM
37164 * conform/conformtest.pl: Handle braced types on "constant" lines
37165 instead of handling "typed-constant".
37166 * conform/data/signal.h-data: Use "constant" instead of
37167 "typed-constant".
37168
d22956c9
JM
37169 * conform/conformtest.pl: Handle "optional-" at start of lines in
37170 one place rather than duplicating several cases. Handle each
37171 format of "macro" line with initial "optional-".
37172
028e2e38
JM
37173 * conform/conformtest.pl: Only accept expected constant or
37174 optional-constant values with "==". Parse all "constant" lines in
37175 one place. Parse all "optional-constant" lines in one place.
37176 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37177 * conform/data/fmtmsg.h-data: Likewise.
37178 * conform/data/netinet/in.h-data: Likewise.
37179 * conform/data/tar.h-data: Likewise.
37180 * conform/data/limits.h-data: Use "==" form on "constant" and
37181 "optional-constant" lines.
37182
1b8f2850
JM
37183 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37184 Use -std=c99 for XOPEN2K.
37185 (@knownproblems): Remove.
37186 (newtoken): Don't check %isknown.
37187
a05a144b
JM
37188 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37189 Do not expect macro.
37190 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37202 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37203 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37220 [XPG3] (acosh): Likewise.
37221 [XPG3] (asinh): Likewise.
37222 [XPG3] (atanh): Likewise.
37223 [XPG3] (cbrt): Likewise.
37224 [XPG3] (expm1): Likewise.
37225 [XPG3] (ilogb): Likewise.
37226 [XPG3] (log1p): Likewise.
37227 [XPG3] (logb): Likewise.
37228 [XPG3] (nextafter): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37231 [XPG3] (remainder): Likewise.
37232 [XPG3] (rint): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37240 [UNIX98 || XOPEN2K] (scalb): Expect.
37241 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37242 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37323 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37324 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37334 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37378
73c5ebe3
JM
37379 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37380 _XOPEN_SOURCE_EXTENDED for XPG4.
37381
39c33b6c
JM
37382 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37383
62fde54f
JM
37384 * Makeconfig (localtime): Remove variable.
37385 (inst_localtime-file): Likewise.
37386
0741d64c
AS
373872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37388
37389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37390 Update.
37391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37392 Update.
37393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37394 Update.
37395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37396 Update.
37397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37398 Update.
37399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37400 Update.
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37402 Update.
37403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37404 Update.
37405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37406 Update.
37407
7cb029ee
JM
374082012-05-01 Joseph Myers <joseph@codesourcery.com>
37409
37410 [BZ #2550]
37411 [BZ #2570]
37412 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37413 comparisons to determine direction to adjust input.
37414 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37415 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37416 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37417 Likewise.
37418 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37419 Likewise.
37420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37421 Likewise.
37422 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37423 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37424 Likewise.
37425 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37426 Likewise.
37427 * math/libm-test.inc (nexttoward_test): Add more tests.
37428
412bd966
AS
374292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37430
37431 [BZ #14040]
37432 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37433 in version GLIBC_2.1, not GLIBC_2.0.
37434 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37435 Likewise.
37436
9568c0c2
JM
374372012-04-30 Joseph Myers <joseph@codesourcery.com>
37438
adfbc8ac
JM
37439 [BZ #13942]
37440 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37441 (1 - x) * (1 + x).
37442 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37443 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37444 * math/libm-test.inc (acos_test): Add more tests.
37445 (asin_test): Likewise.
37446 * sysdeps/i386/fpu/libm-test-ulps: Update.
37447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37448
5ba3cc69
JM
37449 [BZ #14034]
37450 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37451 of square root.
37452 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37453 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37454 * math/libm-test.inc (acos_test_tonearest): New function.
37455 (acos_test_towardzero): Likewise.
37456 (acos_test_downward): Likewise.
37457 (acos_test_upward): Likewise.
37458 (asin_test_tonearest): Likewise.
37459 (asin_test_towardzero): Likewise.
37460 (asin_test_downward): Likewise.
37461 (asin_test_upward): Likewise.
37462 (main): Call the new functions.
37463 * sysdeps/i386/fpu/libm-test-ulps: Update.
37464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37465
9568c0c2
JM
37466 [BZ #13884]
37467 [BZ #13924]
37468 * math/e_exp10.c: Include <float.h>.
37469 (__ieee754_exp10): Handle underflow here rather than multiplying
37470 large negative argument by M_LN10.
37471 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37472 of __ieee754_expf.
37473 * math/e_exp10l.c: Include <float.h>.
37474 (__ieee754_exp10l): Handle underflow here rather than multiplying
37475 large negative argument by M_LN10l.
37476 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37477 spurious overflow exception on underflow.
37478
5ac3ea17
MP
374792012-04-29 Marek Polacek <polacek@redhat.com>
37480
37481 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37482 (__fortify_function): New macro.
37483 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37484 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37485 __extern_always_inline.
37486 * libio/bits/stdio2.h: Likewise.
37487 * libio/bits/stdio.h: Likewise.
37488 * string/string.h: Likewise.
37489 * string/bits/string3.h: Likewise.
37490 * include/stdio.h: Likewise.
37491 * stdlib/bits/stdlib.h: Likewise.
37492 * stdlib/stdlib.h: Likewise.
37493 * rt/bits/mqueue2.h: Likewise.
37494 * rt/mqueue.h: Likewise.
37495 * posix/bits/unistd.h: Likewise.
37496 * posix/unistd.h: Likewise.
37497 * io/bits/poll2.h: Likewise.
37498 * io/bits/fcntl2.h: Likewise.
37499 * io/fcntl.h: Likewise.
37500 * io/sys/poll.h: Likewise.
37501 * misc/bits/syslog.h: Likewise.
37502 * misc/bits/syslog-ldbl.h: Likewise.
37503 * misc/sys/syslog.h: Likewise.
37504 * socket/bits/socket2.h: Likewise.
37505 * socket/sys/socket.h: Likewise.
37506 * debug/tst-chk1.c: Likewise.
37507 * wcsmbs/bits/wchar2.h: Likewise.
37508 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37509 * wcsmbs/wchar.h: Likewise.
37510
ecf0ebfb
AJ
375112012-04-29 Andreas Jaeger <aj@suse.de>
37512
37513 * Makerules (tests): Remove enable-check-abi protection.
37514 (check-abi-warn): Remove.
37515 (check-abi-%): Remove check-abi-warn usage.
37516
37517 * configure.in: Remove check-abi configure option.
37518 * configure: Regenerated.
37519 * config.make.in (enable-check-abi): Remove.
37520
6d5c57fa
AS
375212012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37522
24c5d07e 37523 [BZ #14033]
ded5180a
AS
37524 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37525 double functions to double *_finite functions.
37526
7e0d315d
AS
37527 [BZ #13941]
37528 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37529 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37530 LDBL_MIN_EXP.
37531 * stdio-common/Makefile (tests): Add tst-sprintf3.
37532 * stdio-common/tst-sprintf3.c: New file.
37533
6d5c57fa
AS
37534 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37535 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37536
0749ff8b
JM
375372012-04-28 Joseph Myers <joseph@codesourcery.com>
37538
37539 * conform/conformtest.pl: Remove duplicate typed-constant
37540 handling.
37541
8dbd5d7b
DM
375422012-04-28 David S. Miller <davem@davemloft.net>
37543
37544 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37545 (check-abi-%): Remove AWK script prerequisite and explicit
37546 abilist directory.
37547 (check-abi): Rewrite to just diff the symlist with the abilist.
37548 (config-tls, config-abi-config): Delete, no longer used.
37549 (update-abi-%): Remove AWK script and explicit abilist directory.
37550 (update-abi): Rewrite to simply compare and conditionally copy the
37551 symlist and the sysdep abilist file. Remove update-abi-config
37552 checks.
37553 * abilist/ld.abilist: Remove.
37554 * abilist/libBrokenLocale.abilist: Remove.
37555 * abilist/libanl.abilist: Remove.
37556 * abilist/libcrypt.abilist: Remove.
37557 * abilist/libdl.abilist: Remove.
37558 * abilist/librt.abilist: Remove.
37559 * abilist/libthread_db.abilist: Remove.
37560 * abilist/libutil.abilist: Remove.
37561 * scripts/extract-abilist.awk: Remove.
37562 * scripts/merge-abilist.awk: Remove.
37563 * sysdeps/generic/libcidn.abilist: New file.
37564 * sysdeps/generic/libnss_compat.abilist: New file.
37565 * sysdeps/generic/libnss_db.abilist: New file.
37566 * sysdeps/generic/libnss_dns.abilist: New file.
37567 * sysdeps/generic/libnss_files.abilist: New file.
37568 * sysdeps/generic/libnss_hesiod.abilist: New file.
37569 * sysdeps/generic/libnss_nis.abilist: New file.
37570 * sysdeps/generic/libnss_nisplus.abilist: New file.
37571 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37572 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37573 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37574 file.
37575 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37576 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37577 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37578 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37579 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37580 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37581 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37582 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37583 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37584 file.
37585 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37586 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37587 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37588 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37589 file.
37590 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37591 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37592 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37593 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37594 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37595 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37596 file.
37597 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37598 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37599 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37600 file.
37601 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37603 New file.
37604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37605 New file.
37606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37607 New file.
37608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37609 New file.
37610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37611 New file.
37612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37613 New file.
37614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37615 New file.
37616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37617 New file.
37618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37619 New file.
37620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37621 New file.
37622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37623 New file.
37624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37625 New file.
37626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37627 New file.
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37629 file.
37630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37631 New file.
37632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37633 New file.
37634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37635 file.
37636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37637 New file.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37639 New file.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37641 file.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37643 New file.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37645 New file.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37647 New file.
37648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37649 New file.
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37651 New file.
37652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37653 New file.
37654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37656 file.
37657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37658 New file.
37659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37660 file.
37661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37662 file.
37663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37664 file.
37665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37666 file.
37667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37668 file.
37669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37670 New file.
37671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37672 file.
37673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37674 file.
37675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37676 New file.
37677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37678 file.
37679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37681 file.
37682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37683 New file.
37684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37685 file.
37686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37687 file.
37688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37689 file.
37690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37691 file.
37692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37693 file.
37694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37695 New file.
37696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37697 file.
37698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37699 file.
37700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37701 New file.
37702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37703 file.
37704 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37705 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37706 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37707 file.
37708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37709 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37710 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37711 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37712 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37713 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37714 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37715 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37716 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37717 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37720 file.
37721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37722 New file.
37723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37724 file.
37725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37726 file.
37727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37728 file.
37729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37730 file.
37731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37732 file.
37733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37734 New file.
37735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37736 New file.
37737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37738 file.
37739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37740 New file.
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37742 file.
37743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37745 file.
37746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37747 New file.
37748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37749 file.
37750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37751 file.
37752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37753 file.
37754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37755 file.
37756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37757 file.
37758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37759 New file.
37760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37761 New file.
37762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37763 file.
37764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37765 New file.
37766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37767 file.
37768
41d73a1b
JM
377692012-04-28 Joseph Myers <joseph@codesourcery.com>
37770
37771 * conform/conformtest.pl: Fix typo in handling typed-constant from
37772 allow-header.
37773
28aeeda4
JM
377742012-04-27 Joseph Myers <joseph@codesourcery.com>
37775
adae8f5e
JM
37776 * README: Cut down references to pre-2.6 Linux kernels and
37777 Linuxthreads. Update lists of configurations in libc and ports
37778 and sort alphabetically. Say "or newer" with Linux kernel version
37779 requirements.
37780
28aeeda4
JM
37781 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37782
a462cb63
RA
377832012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37784
37785 [BZ #887]
37786 * math/libm-test.inc (logb_test_downward): New test to expose
37787 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37788 rounding mode.
37789
6ad3493e
JM
377902012-04-27 Joseph Myers <joseph@codesourcery.com>
37791
37792 [BZ #14027]
37793 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37794 to be done.
37795 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37796 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37797
2ce4f015
JM
377982012-04-26 Joseph Myers <joseph@codesourcery.com>
37799
5aeb141a
JM
37800 * sysdeps/unix/i386/brk.S: Remove file.
37801 * sysdeps/unix/i386/dl-brk.S: Likewise.
37802 * sysdeps/unix/i386/pipe.S: Likewise.
37803 * sysdeps/unix/i386/sigreturn.S: Likewise.
37804 * sysdeps/unix/i386/syscall.S: Likewise.
37805 * sysdeps/unix/i386/vfork.S: Likewise.
37806 * sysdeps/unix/i386/wait.S: Likewise.
37807
7143acae
JM
37808 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37809 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37810
2ce4f015
JM
37811 * configure.in (arm*-none*): Do not allow without
37812 --enable-hacker-mode.
37813 (netbsd*): Remove case setting base_os.
37814 (386bsd*): Likewise.
37815 (freebsd*): Likewise.
37816 (bsdi*): Likewise.
37817 (osf*): Likewise.
37818 (sunos*): Likewise.
37819 (ultrix*): Likewise.
37820 (newsos*): Likewise.
37821 (dynix*): Likewise.
37822 (*bsd*): Likewise.
37823 (sysv*): Likewise.
37824 (isc*): Likewise.
37825 (esix*): Likewise.
37826 (sco*): Likewise.
37827 (minix*): Likewise.
37828 (irix4*): Likewise.
37829 (irix6*): Likewise.
37830 (solaris[2-9]*): Likewise.
37831 (none): Likewise.
37832 * configure: Regenerated.
37833
0ac229c8
AZ
378342012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37835
37836 [BZ #11521]
37837 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37838 overflow or cancellation in calculating denominator.
37839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37840 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37841 down expression to avoid unexpected rounding in newer GCCs.
37842 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37843
33f244f4
DM
378442012-04-26 David S. Miller <davem@davemloft.net>
37845
37846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37847 long-double compat symbols.
37848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37861
cfa1f3e8
DM
378622012-04-25 David S. Miller <davem@davemloft.net>
37863
37864 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37865 HWCAP_* values only after the memory barriers have been defined.
37866 (atomic_full_barrier): Define.
37867 (atomic_read_barrier): Define.
37868 (atomic_write_barrier): Define.
37869
6e236b92
SP
378702012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37871
37872 * shlib-versions: Add libgcc_s version information.
37873 * sysdeps/generic/libgcc_s.h: Remove.
37874 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37875 libgcc_s.h.
37876 * sysdeps/gnu/unwind-resume.c: Likewise.
37877 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37878
aab39a09
DM
378792012-04-25 David S. Miller <davem@davemloft.net>
37880
37881 * sysdeps/unix/sparc/brk.S: Delete.
37882 * sysdeps/unix/sparc/dl-brk.S: Delete.
37883 * sysdeps/unix/sparc/pipe.S: Delete.
37884 * sysdeps/unix/sparc/sysdep.S: Delete.
37885 * sysdeps/unix/sparc/sysdep.h: Delete.
37886 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37887 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37888 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37889 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37890 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37891 (JUMPTARGET): Remove.
37892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37893 sysdeps/unix/sparc/sysdep.h
37894 (ENTRY, END): Remove.
37895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37896
a3cc4f48
JM
378972012-04-25 Joseph Myers <joseph@codesourcery.com>
37898
2ed8cda2
JM
37899 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37900 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37901 -DIS_IN_build.
37902
35d76d59
JM
37903 * timezone/README: Update upstream location and email address for
37904 tzcode and tzdata.
37905 * timezone/zdump.c: Update from tzcode 2012b.
37906 * timezone/zic.c: Likewise.
37907
a3cc4f48
JM
37908 * configure.in (libc_cv_as_needed): Remove test.
37909 * configure: Regenerated.
37910 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37911 conditional definition.
37912 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37913 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37914 * config.make.in (have-as-needed): Remove variable.
37915
ceab42c3
SP
379162012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37917 Paul Pluzhnikov <ppluzhnikov@google.com>
37918
37919 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37920 strings correctly.
37921
3ce2865f
CLT
379222012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37923
37924 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37925 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37926 * sysdeps/sh/strlen.S: Likewise.
37927
f37e0d68
JM
379282012-04-24 Joseph Myers <joseph@codesourcery.com>
37929
ae186e9a
JM
37930 * sysdeps/unix/fork.S: Remove file.
37931 * sysdeps/unix/i386/fork.S: Likewise.
37932 * sysdeps/unix/sparc/fork.S: Likewise.
37933
b96914af
JM
37934 * sysdeps/unix/system.c: Remove file.
37935 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37936
f37e0d68
JM
37937 * sysdeps/unix/getegid.S: Remove file.
37938 * sysdeps/unix/geteuid.S: Likewise.
37939
87ef29ca
RM
379402012-04-24 Roland McGrath <roland@hack.frob.com>
37941
83bcd236
RM
37942 * scripts/check-localplt.awk: New file.
37943 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37944 of diff.
37945 * scripts/data/localplt-generic.data: Add a comment.
37946
87ef29ca
RM
37947 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37948 NODE when __dir_mkfile failed.
37949 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37950 Reported by Ludovic Courtès <ludo@gnu.org>.
37951
e5a6e567
AJ
379522012-04-24 Andreas Jaeger <aj@suse.de>
37953
37954 * Makerules (common-clean): Also remove gen-as-const-headers
37955 files.
37956
c1820385
JM
379572012-04-24 Joseph Myers <joseph@codesourcery.com>
37958
37959 * Makerules (native-compile): Do not change working directory for
37960 build. Use $(OUTPUT_OPTION) in command.
37961 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37962
94e02fc4
AZ
379632012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37964
37965 [BZ #13886]
37966 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37967 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37968 * math/libm-test.inc (floor_test): Add more tests.
37969 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37970
3a533ca3
JM
379712012-04-24 Joseph Myers <joseph@codesourcery.com>
37972
940ab4b3
JM
37973 * sysdeps/unix/getdents.c: Remove file.
37974 * sysdeps/unix/sysv/getdents.c: Likewise.
37975 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37976
90e037bd
JM
37977 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37978 sysdeps/unix/mman/syscalls.list.
37979 (mmap): Likewise.
37980 (mprotect): Likewise.
37981 (msync): Likewise.
37982 (munmap): Likewise.
37983 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37984 * sysdeps/unix/mman/syscalls.list: Remove.
37985 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37986
3a533ca3
JM
37987 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37988 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37989 * configure: Regenerated.
37990 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37991 $(libgcc_s_suffix).
37992 * config.make.in (libgcc_s_suffix): Remove variable.
37993
1ad743de
JM
379942012-04-23 Joseph Myers <joseph@codesourcery.com>
37995
4ad451e2
JM
37996 * sysdeps/unix/sysv/gethostname.c: Move to ...
37997 * sysdeps/posix/gethostname.c: ... here.
37998
5e37ce39
JM
37999 * sysdeps/unix/execve.S: Remove file.
38000
1ad743de
JM
38001 * sysdeps/unix/_exit.S: Remove file.
38002
4e681b5b
AJ
380032012-04-23 Andreas Jaeger <aj@suse.de>
38004
38005 [BZ #13739]
38006 * manual/Makefile: Remove make dist support, there's no
38007 need for a stand-alone documentation tar ball.
38008 (TEXI2DVI): Define always, it's not in Makeconfig.
38009 (dist): Removed.
38010 (tar-it): Removed.
38011 (edition): Removed.
38012 (glibc-doc-$(edition).tar): Removed
38013 (%.Z): Removed.
38014 (%.gz): Removed.
38015 (%.uu): Removed.
38016 (ETAGS): Remove, it's in Makeconfig.
38017 (move-if-change): Remove, it's in Makeconfig.
38018
38686a03 380192012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38020
38021 [BZ #13970]
38022 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38023 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38024 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38025 (strtod_l, strtof_l, strtold_l): Remove __wur.
38026 It is not necessarily an error to ignore strtol's return value.
38027 One can reliably look at the stored endptr to decide whether
38028 the number had valid syntax.
38029
7c0616fa
AJ
380302012-04-21 Andreas Jaeger <aj@suse.de>
38031
803cb6b7 38032 [BZ #13739]
7c0616fa
AJ
38033 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38034
b0fe253f
JM
380352012-04-21 Joseph Myers <joseph@codesourcery.com>
38036
38037 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38038 * sysdeps/unix/sysv/Versions: Remove file.
38039
8280f22d
MT
380402012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38041
38042 [BZ #13927]
38043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38044
75ce411f 380452012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38046
38047 [BZ #7064]
38048 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38049 version from __vm86.
38050
097d59fa
JM
380512012-04-20 Joseph Myers <joseph@codesourcery.com>
38052
a90f3bcb
JM
38053 * sysdeps/unix/common/lxstat.c: Remove file.
38054 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38055
edc7ea78
JM
38056 * sysdeps/unix/sysv/Makefile: Remove file.
38057
cb78c221
JM
38058 * sysdeps/unix/sysv/direct.h: Remove file.
38059
efa6a45f
JM
38060 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38061 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38062 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38063 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38064 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38065 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38066 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38067
9c9f2d0c
JM
38068 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38069
4541c83b
JM
38070 * sysdeps/unix/xmknod.c: Remove file.
38071 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38072
f5d153a0
JM
38073 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38074
aa746595
JM
38075 * sysdeps/unix/sysv/i386/time.S: Remove file.
38076
cce5905e
JM
38077 * sysdeps/unix/fxstat.c: Remove file.
38078 * sysdeps/unix/xstat.c: Likewise.
38079 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38080
37fa3841
JM
38081 * sysdeps/unix/sysv/sigaction.c: Remove file.
38082
ff1962a3
JM
38083 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38084 (sysdep_headers): Remove variable.
38085 [termio.h not in sysdep_headers] (generated): Likewise.
38086 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38087 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38088 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38089 * sysdeps/unix/sysv/tcflow.c: Likewise.
38090 * sysdeps/unix/sysv/tcflush.c: Likewise.
38091 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38092 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38093 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38094 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38095 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38096
e7740d31
JM
38097 * sysdeps/unix/siglist.c: Remove file.
38098
ee06f18b
JM
38099 * sysdeps/unix/getppid.S: Remove file.
38100
097d59fa
JM
38101 * sysdeps/unix/mkdir.c: Remove file.
38102 * sysdeps/unix/rmdir.c: Likewise.
38103
ff3d51ec
AS
381042012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38105
38106 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38107 ERR_MAX value.
38108 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38109 errlist-compat value.
38110
50f81fd7
DM
381112012-04-18 David S. Miller <davem@davemloft.net>
38112
38113 * sysdeps/generic/memcopy.h (reg_char): Delete.
38114 * debug/strcat_chk.c: Use char, not reg_char.
38115 * debug/strcpy_chk.c: Likewise.
38116 * debug/strncat_chk.c: Likewise.
38117 * debug/strncpy_chk.c: Likewise.
38118 * string/memchr.c: Likewise.
38119 * string/memrchr.c: Likewise.
38120 * string/rawmemchr.c: Likewise.
38121 * string/strcat.c: Likewise.
38122 * string/strchr.c: Likewise.
38123 * string/strchrnul.c: Likewise.
38124 * string/strcmp.c: Likewise.
38125 * string/strcpy.c: Likewise.
38126 * string/strncat.c: Likewise.
38127 * string/strncmp.c: Likewise.
38128 * string/strncpy.c: Likewise.
38129
8ff41c46
WS
381302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38131
38132 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38133 __builtin_memcopy is called when src and dest ranges are known to not
38134 overlap.
38135
6b652f46
WS
381362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38137
38138 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38139 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38140 fwd_align_merge macro call.
38141 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38142 bwd_align_merge macro call.
38143 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38144
b282631e
WS
381452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38146
38147 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38148 bwd_align_merge macros.
38149 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38150 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38151 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38152
95aa737c
DM
381532012-04-18 David S. Miller <davem@davemloft.net>
38154
38155 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38156
7a99a614
AJ
381572012-04-18 Andreas Jaeger <aj@suse.de>
38158
38159 [BZ# 6794]
38160 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38161 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38162 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38163
38164 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38165 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38166 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38167
38168 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38169 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38170 Adjust for changed ldbl-128 files.
38171
38172 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38173 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38174 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38175
e5270c23
DM
381762012-04-17 David S. Miller <davem@davemloft.net>
38177
38178 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38179
fb5e92c9
AS
381802012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38181
38182 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38183 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38184 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38185 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38186 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38187 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38188
76da7265
AZ
381892012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38190
38191 [BZ #6794]
38192 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38193 * math/libm-test.inc: Add ilogb errno and exception tests.
38194 * math/w_ilogb.c: New file: ilogb wrapper.
38195 * math/w_ilogbf.c: New file: ilogbf wrapper.
38196 * math/w_ilogbl.c: New file: ilogbl wrapper.
38197 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38198 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38199 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38200 exception being thrown with 0.0 as argument.
38201 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38202 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38203 exception being thrown with 0.0 as argument.
38204 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38205 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38206 exception being thrown with 0.0 as argument.
38207 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38208 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38209 exception being thrown with 0.0 as argument.
38210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38211 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38212 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38213 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38214 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38215 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38216 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38217 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38218 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38219
0396e69d
PB
382202012-04-17 Petr Baudis <pasky@ucw.cz>
38221
38222 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38223 with altivec.
38224
750b5926
MP
382252012-04-16 Marek Polacek <polacek@redhat.com>
38226
38227 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38228
751728a1
MP
382292012-04-16 Marek Polacek <polacek@redhat.com>
38230
38231 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38232 operands of fdivp instruction.
38233
34a27407
L
382342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38235
38236 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38237 * elf/tst-auditmod3b.c: Likewise.
38238 * elf/tst-auditmod4b.c: Likewise.
38239 * elf/tst-auditmod5b.c: Likewise.
38240 * elf/tst-auditmod6b.c: Likewise.
38241 * elf/tst-auditmod6c.c: Likewise.
38242 * elf/tst-auditmod7b.c: Likewise.
38243 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38244 * sysdeps/x86_64/preconfigure.in: Likewise.
38245 * sysdeps/x86_64/preconfigure: Regenerated.
38246
7e73e17d
L
382472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38248
38249 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38250 __ILP32__.
38251
c7a6ab72
AB
382522012-04-13 Antoine Balestrat <merkil33@gmail.com>
38253
38254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38255 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38256
a9e8e0e0
CL
382572012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38258
38259 [BZ #13973]
38260 * locale/iso-639.def: Fix gl language name. Spotted by
38261 Yaron Shahrabani.
38262
ec98af7d
RM
382632012-04-12 Roland McGrath <roland@hack.frob.com>
38264
38265 [BZ #2074]
38266 * libio/libio.h (__io_write_fn): Update comment.
38267
247c3ede
PB
382682012-04-12 Petr Baudis <pasky@ucw.cz>
38269
38270 [BZ #2074]
38271 * stdio.texi (Hook Functions): The user provided writer function
38272 is not allowed to return -1.
38273
55939d6d
DM
382742012-04-11 David S. Miller <davem@davemloft.net>
38275
38276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38277
90020f5a
MF
382782012-04-11 Mike Frysinger <vapier@gentoo.org>
38279
38280 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38281 Add a leading slash to rtkaio.
38282
288f9098
JM
382832012-04-11 Jim Meyering <meyering@redhat.com>
38284
90020f5a
MF
38285 [BZ #11959]
38286 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38287 It is not necessarily an error to ignore fwrite's return
38288 value. One can reliably use ferror to test for errors after
38289 the fact.
288f9098 38290
4be2b570
L
382912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38292
38293 * bits/types.h (__snseconds_t): New type.
38294 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38295
38296 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38297 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38298 (__SNSECONDS_T_TYPE): Likewise.
38299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38300 (__SNSECONDS_T_TYPE): Likewise.
38301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38302 (__SNSECONDS_T_TYPE): Likewise.
38303
288f9098 383042012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38305
38306 [BZ #2636]
38307 * manual/time.texi (Processor Time): Return type of times is
38308 elapsed real time since an arbitrary point in the past.
38309 (CPU Time): Move CLK_TCK from here...
38310 (Processor Time): ...to here. Correct description.
38311 * manual/conf.texi (Constants for Sysconf): Correct description of
38312 _SC_CLK_TCK.
38313
d7dd4413
DM
383142012-04-10 David S. Miller <davem@davemloft.net>
38315
38316 [BZ #13967]
38317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38318 where the is a gap between DT_REL(A) and DT_JMPREL.
38319
b46068fc
L
383202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38321
38322 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38325
73d65cc3
SP
383262012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38327
38328 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38329 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38330 (dl_main): Handle --inhibit-cache.
38331 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38332 _dl_inhibit_cache.
38333 * elf/dl-load.c (_dl_map_object): Use it.
38334 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38335
bcc8d661
JM
383362012-04-09 Joseph Myers <joseph@codesourcery.com>
38337
8f9a2fae
JM
38338 [BZ #13872]
38339 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38340 (__ieee754_powl): Saturate large exponents rather than testing for
38341 overflow of y*log2(x).
38342 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38343 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38344 exceptions.
38345
bcc8d661
JM
38346 [BZ #11521]
38347 * math/s_ctan.c: Include <float.h>.
38348 (__ctan): Avoid internal overflow or cancellation in calculating
38349 denominator.
38350 * math/s_ctanf.c: Likewise.
38351 * math/s_ctanl.c: Likewise.
38352 * math/s_ctanh.c: Likewise.
38353 * math/s_ctanhf.c: Likewise.
38354 * math/s_ctanhl.c: Likewise.
38355 * math/libm-test.inc (ctan_test): Add more tests.
38356 (ctanh_test): Likewise.
38357 * sysdeps/i386/fpu/libm-test-ulps: Update.
38358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38359
823fbbb4
AJ
383602012-04-09 Andreas Jaeger <aj@suse.de>
38361
03879793
AJ
38362 [BZ #6894]
38363 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38364 is an optional BSD extension.
38365
823fbbb4
AJ
38366 [BZ #10254]
38367 * manual/stdio.texi (Opening Streams): Document additional fopen
38368 parameters.
38369
8de131cb
RM
383702012-04-09 Roland McGrath <roland@hack.frob.com>
38371
38372 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38373 %eax without telling the compiler.
38374
c0ed9d7d
CD
383752012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38376
38377 [BZ # 13963]
38378 * manual/install.texi: Use sourceware.org.
38379
c483f6b4
JM
383802012-04-09 Joseph Myers <joseph@codesourcery.com>
38381
d7dd9453
JM
38382 [BZ #13873]
38383 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38384 (__ieee754_pow): Generate overflow and underflow using huge*huge
38385 and tiny*tiny rather than just returning constant infinity or zero
38386 for large exponents.
38387 * math/libm-test.inc (pow_test): Require overflow exceptions for
38388 applicable cases of large exponents.
38389
c483f6b4
JM
38390 [BZ #706]
38391 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38392 (__ieee754_pow): Use iterative multiplication algorithm only for
38393 integer exponents with absolute value below 1024. Check for odd
38394 integer exponents when using algorithm for real exponents.
38395 * math/libm-test.inc (pow_test): Add more tests.
38396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38397
d2de7579
JM
383982012-04-08 Joseph Myers <joseph@codesourcery.com>
38399
38400 [BZ #13705]
38401 * math/libm-test.inc (exp_test): Do not allow overflow exception
38402 on underflow test.
38403
f77f1232
AJ
384042012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38405
38406 [BZ #13705]
38407 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38408 instead of __kernel_standard_f.
38409
3884932b
MF
384102012-04-08 Mike Frysinger <vapier@gentoo.org>
38411
38412 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38413 * sysdeps/x86_64/memset_chk.S: Likewise.
38414
54472e9c
AJ
384152012-04-08 Andreas Jaeger <aj@suse.de>
38416
6ab0fbfc
AJ
38417 [BZ #10153]
38418 * manual/startup.texi (Environment Access): Describe return value
38419 for putenv and setenv.
38420
61efba8c
AJ
38421 [BZ #6895]
38422 * manual/filesys.texi (Directory Entries): Add description for
38423 DT_LNK.
38424
95c3f29a
AJ
38425 [BZ #6890]
38426 * manual/filesys.texi (Directory Entries): Clarify that it's file
38427 system not operating system in the description of DT_UNKNOWN.
38428
54472e9c
AJ
38429 [BZ #6578]
38430 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38431
624254b1
SC
384322012-04-08 Stephen Compall <s11@member.fsf.org>
38433
38434 [BZ #6649]
38435 * manual/llio.texi (Opening and Closing Files): Add cross
38436 reference to explain mode argument.
38437
1e4920e0
MF
384382012-04-07 Mike Frysinger <vapier@gentoo.org>
38439
38440 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38441 * sysdeps/x86_64/memset_chk.S: Likewise.
38442
5ed848f3
DM
384432012-04-07 David S. Miller <davem@davemloft.net>
38444
38445 * elf/elf.h (R_SPARC_WDISP10): Define.
38446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38447 R_SPARC_SIZE32.
38448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38449 R_SPARC_SIZE64 and R_SPARC_H34.
38450
96154cd8
CD
384512012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38452
38453 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38454 conditions and remove no longer applicable assertion.
38455
9904dc47
L
384562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38457
38458 * bits/byteswap.h: Include <features.h>.
38459 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38460 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38461
f8887d0a
L
384622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38463
38464 * bits/byteswap.h (__bswap_16): Removed.
38465 Include <bits/byteswap-16.h> to get __bswap_16.
38466 * sysdeps/i386/bits/byteswap.h: Likewise.
38467 * sysdeps/s390/bits/byteswap.h: Likewise.
38468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38469 * bits/byteswap-16.h: New file.
38470 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38471 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38472 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38473 * string/Makefile (headers): Add bits/byteswap-16.h.
38474
62470f60
PP
384752012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38476
38477 [BZ #13895]
38478 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38479 extra indirection.
38480 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38481 * nss/tst-nss-static.c: New.
38482
4dad7bab
RM
384832012-04-06 Robert Millan <rmh@gnu.org>
38484
38485 [BZ #6486]
38486 * manual/llio.texi (File Position Primitive): lseek
38487 refers to WHENCE when it really means OFFSET.
38488
e9142a17
AJ
384892012-04-06 Andreas Jaeger <aj@suse.de>
38490
2c040eff
AJ
38491 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38492 strncmp declarations.
38493
e9142a17
AJ
38494 * abilist/libc.abilist: Add __poll and __ppoll.
38495
ff9f1c5f
DM
384962012-04-05 David S. Miller <davem@davemloft.net>
38497
dcd2ae90
DM
38498 * scripts/check-local-headers.sh: Accept a host triplet in the
38499 path matched by the exclude regexp.
38500
993eb054
DM
38501 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38502 definition.
38503 * sysdeps/powerpc/powerpc32/dl-machine.h
38504 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38505 * sysdeps/s390/s390-32/dl-machine.h
38506 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38507 * sysdeps/sparc/sparc32/dl-machine.h
38508 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38509 * sysdeps/sparc/sparc64/dl-machine.h
38510 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38511
ff9f1c5f
DM
38512 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38513 lazy binding.
48e2e132 38514 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38515 undefined symbol errors.
38516
48e2e132 38517 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38518 DT_NEEDED entries.
38519
e80d6f94
MM
385202012-04-05 Michael Matz <matz@suse.de>
38521
38522 [BZ #13592]
38523 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38524
349fa79f
AJ
385252012-04-05 Andreas Jaeger <aj@suse.de>
38526
38527 [BZ #13908]
38528 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38529 comment.
38530
f402708f
KK
385312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38532
38533 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38534 which ROUND is no valid rounding mode.
38535
2ecccfc9
KK
385362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38537
38538 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38539 read again.
38540 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38541
8a53f50f
KK
385422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38543
38544 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38545 an exception using FPU order intentionally.
38546
385472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38548
38549 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38550 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38551 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38552 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38553
d653abb7
SJ
385542012-04-05 Simon Josefsson <simon@josefsson.org>
38555
38556 [BZ #12340]
38557 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38558 EINVAL when BUFLEN is too smal.
38559
c3b1bf7d
TS
385602012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38561
38562 [BZ #13553]
38563 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38564 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38565
b1aa60f3
AJ
385662012-04-03 Andreas Jaeger <aj@suse.de>
38567
c3b1bf7d 38568 [BZ #13938]
67f60a26
AJ
38569 * manual/setjmp.texi (System V contexts): Fix sentence.
38570
b1aa60f3
AJ
38571 [BZ #13926]
38572 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38573 New macro for this case.
38574 [!__GNUC__] (__bswap_64): New inline function for this case.
38575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38576 * bits/byteswap.h: Likewise.
38577 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38578 ull, guard with __GLIBC_HAVE_LONG_LONG.
38579
38580 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38581 __GLIBC_HAVE_LONG_LONG.
38582
38583 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38584 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38585
39c59c35
TMQMF
385862012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38587
38588 [BZ #13691]
38589 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38590 inptr and inend, rather than using last_ch.
38591
135ffda8
DM
385922012-04-02 David S. Miller <davem@davemloft.net>
38593
38594 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38595 * stdio-common/printf-parse.h (read_int): Change return type to
38596 'int', return -1 on INT_MAX overflow.
38597 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38598 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38599 overflows INT_MAX. Check for overflow of in-format-string precision
38600 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38601 SIZE_MAX not INT_MAX for integer overflow test.
38602 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38603 skip the construct in the format string but do not record anything.
38604 * stdio-common/bug22.c: Adjust to test both width/prevision
38605 INT_MAX overflow as well as total length INT_MAX overflow. Check
38606 explicitly for proper errno values.
38607
228c019e
TS
386082012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38609
302cadd3
TS
38610 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38611 CHAR_MAX.
38612 * string/test-strcmp.c [! WIDE]: Likewise.
38613 * time/tst-mktime2.c: Likewise for INT_MAX.
38614 * string/test-string.h: #include <sys/param.h> for MIN.
38615
228c019e
TS
38616 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38617 * sysdeps/i386/init-first.c (init): Likewise.
38618 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38619 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38620 * sysdeps/sh/init-first.c (init): Likewise.
38621
cfa633f5
UD
386222012-04-01 Ulrich Drepper <drepper@gmail.com>
38623
38624 * po/ru.po: Update from translation team.
d1635ef8 38625 * po/vi.po: Likewise.
cfa633f5 38626
6cd0a5ea
SP
386272012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38628
38629 * resolv/nss_dns/dns-host.c: Merge copyright years.
38630
4b43400f
LD
386312012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38632
38633 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38634 Optimize memcpy with prefetch if
38635 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38636 src, dst pointers have unequal 16 byte alignments.
38637
48c41d04
SP
386382012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38639
38640 [BZ #13928]
38641 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38642 from a CNAME entry and return the minimum ttl for the query.
38643 (gaih_getanswer_slice): Likewise.
38644
b8dc394d
JL
386452012-03-30 Jeff Law <law@redhat.com>
38646
38647 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38648 due to long keys.
38649 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38650 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38651
2f5a5ed0
JL
38652 * resolv/nss_dns/dns-host.c: Update copyright year.
38653
1d39e359
UD
386542012-03-30 Ulrich Drepper <drepper@gmail.com>
38655
c030f70c 38656 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38657 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38658
1d39e359
UD
38659 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38660 comments for sendmmsg.
38661
386622012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38663
38664 [BZ #13691]
38665 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38666 with only 1 character between 0x0041 and 0x01b0.
38667 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38668 * wcsmbs/tst-mbsnrtowcs.c: New file.
38669
20fde227
DM
386702012-03-29 David S. Miller <davem@davemloft.net>
38671
38672 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38673 small copies by hand.
38674
984a4237
JL
386752012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38676
38677 [BZ #13761]
57f41c40
AS
38678 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38679 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38680 group memberships.
984a4237 38681
18c9d62b
DM
386822012-03-28 David S. Miller <davem@davemloft.net>
38683
88d85d4f
DM
38684 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38685 that branches into memcpy.
38686 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38689 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38691 bits.
38692 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38693 implementation too.
38694 * sysdeps/sparc/mempcpy.S: New file.
38695
e5aa83e1
DM
38696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38697 the IFUNC routine in the libc case.
38698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38699
88570753
DM
38700 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38701 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38702 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38703 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38704 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38705 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38706 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38707 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38708
249d7567
DM
38709 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38710 loop to 256 bytes instead of 64 bytes and fix test signedness.
38711
18c9d62b
DM
38712 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38713 * sysdeps/sparc/sparc32/Makefile: rather than here...
38714 * sysdeps/sparc/sparc64/Makefile: and here.
38715
05f3d1f6
UD
387162012-03-28 Ulrich Drepper <drepper@gmail.com>
38717
38718 * malloc/mallocbug.c: Avoid warnings about unused variables.
38719
86ae07a8
JL
387202012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38721
38722 [BZ #13760]
38723 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38724 in the right place. Discard and retry query if response is
38725 larger than input buffer size.
38726
41bf21a1
JM
387272012-03-28 Joseph Myers <joseph@codesourcery.com>
38728
d6270972
JM
38729 [BZ #369]
38730 [BZ #2678]
38731 [BZ #3866]
38732 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38733 x for large integer exponent.
38734 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38735 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38736 sign of result as needed afterwards.
38737 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38738 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38739 result for underflowing pow the same as for overflow.
38740 (__kernel_standard_l): Handle powl overflow and underflow here
38741 rather than calling __kernel_standard.
38742 * math/libm-test.inc (pow_test): Add more tests.
38743
414fca03 38744 [BZ #3868]
41bf21a1
JM
38745 [BZ #13879]
38746 [BZ #13910]
38747 [BZ #13911]
38748 [BZ #13912]
38749 [BZ #13913]
38750 [BZ #13915]
38751 [BZ #13916]
38752 [BZ #13917]
38753 [BZ #13918]
38754 [BZ #13919]
38755 [BZ #13920]
38756 [BZ #13921]
38757 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38758 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38759 (__kernel_standard_l): New function.
38760 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38761 __kernel_standard.
38762 * math/w_acosl.c (__acosl): Likewise.
38763 * math/w_asinl.c (__asinl): Likewise.
38764 * math/w_atan2l.c (__atan2l): Likewise.
38765 * math/w_atanhl.c (__atanhl): Likewise.
38766 * math/w_coshl.c (__coshl): Likewise.
38767 * math/w_exp10l.c (__exp10l): Likewise.
38768 * math/w_exp2l.c (__exp2l): Likewise.
38769 * math/w_fmodl.c (__fmodl): Likewise.
38770 * math/w_hypotl.c (__hypotl): Likewise.
38771 * math/w_j0l.c (__j0l, __y0l): Likewise.
38772 * math/w_j1l.c (__j1l, __y1l): Likewise.
38773 * math/w_jnl.c (__jnl, __ynl): Likewise.
38774 * math/w_lgammal.c (__lgammal): Likewise.
38775 * math/w_log10l.c (__log10l): Likewise.
38776 * math/w_log2l.c (__log2l): Likewise.
38777 * math/w_logl.c (__logl): Likewise.
38778 * math/w_powl.c (__powl): Likewise.
38779 * math/w_remainderl.c (__remainderl): Likewise.
38780 * math/w_scalbl.c (sysv_scalbl): Likewise.
38781 * math/w_sinhl.c (__sinhl): Likewise.
38782 * math/w_sqrtl.c (__sqrtl): Likewise.
38783 * math/w_tgammal.c (__tgammal): Likewise.
38784 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38785 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38786 * math/libm-test.inc (acos_test): Add more tests.
38787 (acosh_test): Likewise.
38788 (asin_test): Likewise.
38789 (atanh_test): Likewise.
38790 (exp_test): Likewise.
38791 (exp10_test): Likewise.
38792 (exp2_test): Likewise.
38793 (expm1_test): Likewise.
38794 (lgamma_test): Likewise.
38795 (log_test): Likewise.
38796 (log10_test): Likewise.
38797 (log1p_test): Likewise.
38798 (log2_test): Likewise.
38799 (pow_test): Do not allow some spurious overflow exceptions.
38800 (sqrt_test): Add more tests.
38801 (tgamma_test): Likewise.
38802 (y0_test): Likewise.
38803 (y1_test): Likewise.
38804 (yn_test): Likewise.
38805
dd62fda6
AB
388062012-03-27 Anton Blanchard <anton@samba.org>
38807
38808 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38809 MAP_HUGETLB.
38810 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38811 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38813
1e3cdfda
AJ
388142012-03-27 David S. Miller <davem@davemloft.net>
38815
b855ab85
DM
38816 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38817
1e3cdfda
AJ
38818 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38819 have-as-vis3 check.
38820
388212012-03-27 Andreas Jaeger <aj@suse.de>
38822
38823 * sysdeps/x86_64/elf/configure.in: Moved to ...
38824 * sysdeps/x86_64/configure.in: ... here.
38825 * sysdeps/x86_64/elf/start.S: Moved to ...
38826 * sysdeps/x86_64/start.S: ... here.
38827 * sysdeps/x86_64/elf/configure: Delete.
38828
38829 * sysdeps/x86_64/configure.in: Merge contents from
38830 sysdeps/i386/configure.in (without i686 check).
38831
38832 * sysdeps/i386/elf/Versions: Merge into ...
38833 * sysdeps/i386/Versions: ... this.
38834 * sysdeps/i386/elf/Versions: Delete file.
38835 * sysdeps/i386/elf/start.S: Moved to ...
38836 * sysdeps/i386/start.S: ...here.
38837 * sysdeps/i386/elf/configure.in: Merge into...
38838 * sysdeps/i386/configure.in: ...here.
38839 * sysdeps/i386/elf/configure.in: Delete file.
38840 * sysdeps/i386/elf/configure: Delete file.
38841
38842 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38843 * debug/backtracesyms.c: ... here.
38844 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38845 * debug/backtracesymsfd.c: ... here.
38846 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38847 * sysdeps/generic/ifunc-sel.h: ... here.
38848
38849 * sysdeps/unix/i386/start.c: Delete file.
38850 * sysdeps/unix/sparc/start.c: Delete file.
38851 * sysdeps/unix/start.c: Delete file.
38852
38853 * sysdeps/sh/elf/configure.in: Moved to ...
38854 * sysdeps/sh/configure.in: ... here.
38855 * sysdeps/sh/elf/start.S: Moved to ...
38856 * sysdeps/sh/start.S: ... here.
38857 * sysdeps/sh/elf/configure: Delete file.
38858
38859 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38860 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38861 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38862 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38863 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38864 * sysdeps/powerpc/powerpc64/start.S: here.
38865 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38866 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38867 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38868 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38869 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38870
38871 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38872 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38873 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38874 * sysdeps/powerpc/powerpc32/start.S: ... here.
38875 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38876 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38877 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38878
38879 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38880 * sysdeps/powerpc/ifunc-sel.h: ... here.
38881 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38882 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38883
38884 * sysdeps/sparc/elf/configure.in: Moved to ...
38885 * sysdeps/sparc/configure.in: ... here.
38886 * sysdeps/sparc/elf/configure: Delete file.
38887 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38888 * sysdeps/sparc/sparc32/start.S: ... here.
38889 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38890 * sysdeps/sparc/sparc64/start.S: ... here.
38891 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38892 * sysdeps/sparc/sparc32/Makefile: ... this.
38893 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38894 * sysdeps/sparc/sparc64/Makefile: ... this.
38895
38896 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38897 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38898 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38899 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38900 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38901 * sysdeps/s390/s390-32/setjmp.S: ... here.
38902 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38903 * sysdeps/s390/s390-32/configure.in: ... here.
38904 * sysdeps/s390/s390-32/elf/configure: Delete file.
38905 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38906 * sysdeps/s390/s390-32/start.S: ... here.
38907
38908 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38909 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38910 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38911 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38912 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38913 * sysdeps/s390/s390-64/setjmp.S: ... here.
38914 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38915 * sysdeps/s390/s390-64/configure.in: ... here
38916 * sysdeps/s390/s390-64/elf/configure: Delete file.
38917 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38918 * sysdeps/s390/s390-64/start.S: ... here.
38919 * sysdeps/s390/s390-64/elf/configure: Delete.
38920
38921 * configure.in: Remove support for elf directories in sysdeps.
38922
38923 * configure: Regenerated.
38924 * sysdeps/i386/configure: Regenerated.
38925 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38926 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38927 * sysdeps/s390/s390-32/configure: Regenerated.
38928 * sysdeps/s390/s390-64/configure: Regenerated.
38929 * sysdeps/sh/configure: Regenerated.
38930 * sysdeps/sparc/configure: Regenerated.
38931 * sysdeps/x86_64/configure: Regenerated.
38932
a3f61311
AS
389332012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38934
c876e002
AS
38935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38936
a3f61311
AS
38937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38938 denormal result into account.
38939
ac4c54f0
RM
389402012-03-25 Roland McGrath <roland@hack.frob.com>
38941
38942 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38943 Reported by Allan McRae <allan@archlinux.org>.
38944
6a9b9c02
JL
389452012-03-23 Jeff Law <law@redhat.com>
38946
38947 * nss/getnssent.c (__nss_getent): Fix typo.
38948
4c42a0c1
DM
389492012-03-23 David S. Miller <davem@davemloft.net>
38950
38951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38952
1532c7ac
L
389532012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38954
38955 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38956 to pad to uint64_t for each field.
38957 (dl_tls_index): Replace unsigned long with uint64_t.
38958
3ff42526
PP
389592012-03-23 Daniel Jacobowitz <dmj@google.com>
38960 Paul Pluzhnikov <ppluzhnikov@google.com>
38961
38962 [BZ #6528]
38963 * grp/Makefile (otherlibs): Don't set it.
38964 * inet/Makefile (otherlibs): Likewise.
38965 * login/Makefile (otherlibs): Likewise.
38966 * nscd/Makefile (otherlibs): Likewise.
38967 * posix/Makefile (otherlibs): Likewise.
38968 * pwd/Makefile (otherlibs): Likewise.
38969 * rt/Makefile (otherlibs): Likewise.
38970 * sunrpc/Makefile (otherlibs): Likewise.
38971 * nss/Makefile (otherlibs): Likewise.
38972 Add libnss_files to routines and static-only-routines.
38973 ($(objpfx)getent): Remove rule.
38974 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38975 static-only-routines.
38976
7c69cd14
JM
389772012-03-22 Joseph Myers <joseph@codesourcery.com>
38978
38979 [BZ #13892]
38980 * math/s_cexp.c: Include <float.h>.
38981 (__cexp): Handle exp result overflowing not necessarily
38982 overflowing both real and imaginary parts of result.
38983 * math/s_cexpf.c: Likewise.
38984 * math/s_cexpl.c: Likewise.
38985 * math/libm-test.inc (cexp_test): Add more tests.
38986 * sysdeps/i386/fpu/libm-test-ulps: Update.
38987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38988
81b035fe
L
389892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38990
38991 * include/link.h (ELFW): New macro.
38992 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38993 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38994
1da7940c
L
389952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38996
38997 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38998 with uint64_t.
38999
b749dbb9
L
390002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39001
39002 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39003 declaration.
39004 (struct La_x32_retval): Likewise.
39005
2ff87f3f
L
390062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39007
39008 * sysdeps/x86_64/preconfigure.in: New file.
39009 * sysdeps/x86_64/preconfigure: New generated file.
39010
c0df8e69
JM
390112012-03-22 Joseph Myers <joseph@codesourcery.com>
39012
48e44791
JM
39013 [BZ #13824]
39014 * math/e_exp2l.c: Include <float.h>.
39015 (__ieee754_exp2l): Handle overflow and underflow cases
39016 separately. Only pass fractional part of argument to
39017 __ieee754_expl.
39018 * math/libm-test.inc (exp2_test): Add more tests.
39019
c0df8e69
JM
39020 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39021 negating x to take absolute value.
39022 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39023 Likewise.
39024 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39025 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39026 Likewise.
39027 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39028 computing low part if x was negated.
39029 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39030
c8e43ba7
L
390312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39032
39033 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39034 la_x32_gnu_pltexit.
39035 (pltexit): Cast int_retval to ptrdiff_t.
39036 * elf/tst-auditmod3b.c: Likewise.
39037 * elf/tst-auditmod4b.c: Likewise.
39038 * elf/tst-auditmod5b.c: Likewise.
39039 * elf/tst-auditmod6b.c: Likewise.
39040 * elf/tst-auditmod6c.c: Likewise.
39041 * elf/tst-auditmod7b.c: Likewise.
39042
39043 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39044 and x32_gnu_pltexit.
39045
39046 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39047 __ELF_NATIVE_CLASS.
39048 (La_x32_regs): New macro.
39049 (La_x32_retval): Likewise.
39050 (la_x32_gnu_pltenter): New function prototype.
39051 (la_x32_gnu_pltexit): Likewise.
39052
7998fa78
AS
390532012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39054
dcb33988
AS
39055 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39056 exponent.
39057
233fc563
AS
39058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39059
7998fa78
AS
39060 * configure.in (libc_cv_cc_nofma): Check for option to disable
39061 generation of FMA instructions.
39062 * configure: Regenerate.
39063 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39064 * sysdeps/ieee754/dbl-64/Makefile: New file.
39065 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39066 Remove brandred-fma4.
39067 (CFLAGS-brandred-fma4.c): Remove.
39068 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39069 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39070 define.
39071 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39072 define.
39073
8e95c99a
L
390742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39075
39076 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39077 LLONG_MAX != LONG_MAX.
39078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39079 (_fitoa_word): Likewise.
39080 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39081 LLONG_MAX != LONG_MAX.
39082 * stdio-common/_itowa.h: Include <_itoa.h>.
39083 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39084 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39085 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39086 only if not defined.
39087 (_ITOA_WORD_TYPE): Likewise.
39088 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39089 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39090
6f4db457
DM
390912012-03-21 David S. Miller <davem@davemloft.net>
39092
39093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39094
7785fe5a
L
390952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39096
39097 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39098 of x86_64 when setting libc_cv_slibdir, libdir and
39099 libc_cv_localedir.
39100 * sysdeps/unix/sysv/linux/configure: Regenerated.
39101
4535cd55
JM
391022012-03-21 Joseph Myers <joseph@codesourcery.com>
39103
39104 * manual/lang.texi (Old Varargs): Remove section.
39105 (How Variadic): Update menu.
39106 (va_start): Do not mention varargs.h.
39107
17228132
TS
391082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39109 Joseph Myers <joseph@codesourcery.com>
39110
39111 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39112 link test.
39113 * configure: Regenerated.
39114
8149f976
TS
391152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39116
05f3d1f6
UD
39117 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39118 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39119 conformtest.pl
8149f976 39120
1a4ac776
JM
391212012-03-21 Joseph Myers <joseph@codesourcery.com>
39122
be22ce65
JM
39123 * NOTES: Remove.
39124 * Makefile (files-for-dist): Remove NOTES.
39125 (NOTES): Remove rule.
39126 * README: Don't refer to NOTES.
39127 * manual/creature.texi: Don't include macros.texi.
39128 * manual/intro.texi (creature.texi): Remove comment referring to
39129 NOTES.
39130
40b601fb
JM
39131 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39132 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39133 * configure: Regenerated.
39134 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39135 LIBC_TRY_CC_OPTION.
39136 (libc_cv_as_i686): Likewise.
39137 (libc_cv_cc_avx): Likewise.
39138 (libc_cv_cc_sse2avx): Likewise.
39139 (libc_cv_cc_fma4): Likewise.
39140 (libc_cv_cc_novzeroupper): Likewise.
39141 * sysdeps/i386/configure: Regenerated.
39142
1a4ac776
JM
39143 [BZ #13883]
39144 * sysdeps/i386/fpu/s_cexp.S: Remove.
39145 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39146 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39147 * math/libm-test.inc (cexp_test): Add more tests.
39148 * sysdeps/i386/fpu/libm-test-ulps: Update.
39149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39150
a458e7fe
AM
391512012-03-21 Allan McRae <allan@archlinux.org>
39152
39153 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39154
0cb7efc5
JM
391552012-03-21 Joseph Myers <joseph@codesourcery.com>
39156
39157 [BZ #13871]
39158 * math/w_exp2.c: Do not include <float.h>.
39159 (o_threshold, u_threshold): Remove.
39160 (__exp2): Calculate result before checking finiteness and calling
39161 __kernel_standard.
39162 * math/w_exp2f.c: Likewise.
39163 * math/w_exp2l.c: Likewise.
39164 * math/libm-test.inc (exp2_test): Require overflow exception for
39165 1e6 input.
2460d3aa
JM
39166
39167 [BZ #3866]
39168 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39169 range of signed 64-bit integers before using fistpll. Remove
39170 checks for whether integers fit in mantissa bits.
39171 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39172 the range of signed 32-bit integers before using fistpl. Remove
39173 checks for whether integers fit in mantissa bits.
39174 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39175 (__ieee754_powl): Test for y outside the range of signed 64-bit
39176 integers before using fistpll. Reduce 64-bit values to 63-bit
39177 ones as needed.
39178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39179 divide-by-zero is raised for zero to large negative powers.
39180 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39181 (__ieee754_powl): Test for y outside the range of signed 64-bit
39182 integers before using fistpll. Reduce 64-bit values to 63-bit
39183 ones as needed.
39184 * math/libm-test.inc (pow_test): Add more tests.
39185
eb96ffb0
L
391862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39187
39188 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39189 <stdio-common/_itoa.h>.
39190 * debug/segfault.c: Likewise.
39191 * elf/dl-cache.c: Likewise.
39192 * elf/dl-minimal.c: Likewise.
39193 * elf/dl-misc.c: Likewise.
39194 * elf/dl-sysdep.c: Likewise.
39195 * elf/dl-version.c: Likewise.
39196 * elf/rtld.c: Likewise.
39197 * hurd/hurdsock.c: Likewise.
39198 * hurd/lookup-retry.c: Likewise.
39199 * malloc/malloc.c: Likewise.
39200 * malloc/mtrace.c: Likewise.
39201 * nscd/nscd_getgr_r.c: Likewise.
39202 * nscd/nscd_getpw_r.c: Likewise.
39203 * nscd/nscd_getserv_r.c: Likewise.
39204 * posix/getopt_init.c: Likewise.
39205 * posix/wordexp.c: Likewise.
39206 * stdio-common/_itoa.c: Likewise.
39207 * stdio-common/printf_fphex.c: Likewise.
39208 * stdio-common/vfprintf.c: Likewise.
39209 * string/_strerror.c: Likewise.
39210 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39211 * sysdeps/i386/i686/hp-timing.h: Likewise.
39212 * sysdeps/mach/_strerror.c: Likewise.
39213 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39214 * sysdeps/mach/hurd/sethostid.c: Likewise.
39215 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39216 * sysdeps/mach/xpg-strerror.c: Likewise.
39217 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39218 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39219 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39220 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39221 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39222 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39223 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39224 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39225 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39226 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39227 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39228 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39229 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39230 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39231 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39232 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39233 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39234 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39235 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39236 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39237 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39238
39239 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39240
39241 * stdio-common/_itoa.h: Moved to ...
39242 * sysdeps/generic/_itoa.h: Here.
39243
39244 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39245
39246 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39247 instead of "_itoa.h" and "_itowa.h".
39248 * stdio-common/vfprintf.: Likewise.
39249
d1af992d
L
392502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39251
39252 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39253 <bits/wordsize.h>.
39254 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39255 (__signbit): Likwise.
39256 (llrintf): Likwise.
39257 (llrint): Likwise.
39258
114883e0
L
392592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39260
39261 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39262 __WORDSIZE != 64.
39263
c135cc1b
JM
392642012-03-20 Joseph Myers <joseph@codesourcery.com>
39265
39266 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39267 OVERFLOW_EXCEPTION_OK.
39268 * math/libm-test.inc ("Philosophy"): Update comment about
39269 exception testing.
39270 (OVERFLOW_EXCEPTION): Define.
39271 (OVERFLOW_EXCEPTION_OK): Likewise.
39272 (INVALID_EXCEPTION_OK): Renumber.
39273 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39274 (IGNORE_ZERO_INF_SIGN): Likewise.
39275 (test_exceptions): Handle FE_OVERFLOW.
39276 (exp10_test): Expect overflow exceptions.
39277 (exp2_test): Likewise.
39278 (expm1_test): Likewise.
39279 (nextafter_test): Likewise.
39280 (pow_test): Likewise.
39281 (scalbn_test): Likewise.
39282 (scalbln_test): Likewise.
39283
95443d88
L
392842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39285
39286 * sysdeps/x86_64/bits/atomic.h
39287 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39288 64bit integer.
39289 (atomic_exchange_acq): Likewise.
39290 (__arch_exchange_and_add_body): Likewise.
39291 (__arch_add_body): Likewise.
39292 (atomic_add_negative): Likewise.
39293 (atomic_add_zero): Likewise.
39294
490df6c4
L
392952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39296
c2722551 39297 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39298 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39299
5e52b189
L
393002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39301
39302 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39303 Check __x86_64__ instead of __WORDSIZE.
39304
a9879d4c
L
393052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39306
39307 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39308
5df98260
DM
393092012-03-19 David S. Miller <davem@davemloft.net>
39310
e1497744
DM
39311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39312
5df98260
DM
39313 * sysdeps/sparc/fpu/fenv_private.h: New file.
39314 * sysdeps/sparc/fpu/math_private.h: Use it.
39315 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39316 Remove.
57f41c40 39317 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39318 (libc_feholdexcept_setroundl): Remove.
39319 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39320 Remove.
39321 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39322 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39323
b4c35121
L
393242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39325
39326 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39327 int64_t instead of long int.
39328 (INSERT_WORDS64): Likwise.
39329
56965fd7
L
393302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39331
39332 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39333 _Unwind_GetCFA return to _Unwind_Ptr first.
39334
83d1aec8
JM
393352012-03-19 Joseph Myers <joseph@codesourcery.com>
39336
1897ad44
JM
39337 [BZ #13629]
39338 * math/s_clog.c: Include <float.h>.
39339 (__clog): Scale large or subnormal inputs.
39340 * math/s_clogf.c: Likewise.
39341 * math/s_clogl.c: Likewise.
39342 * math/s_clog10.c: Include <float.h>.
39343 (M_LOG10_2): Define.
39344 (__clog10): Scale large or subnormal inputs.
39345 * math/s_clog10f.c: Likewise.
39346 * math/s_clog10l.c: Likewise.
39347 * math/libm-test.inc (clog_test): Add more tests.
39348 (clog10_test): Likewise.
39349 * sysdeps/i386/fpu/libm-test-ulps: Update.
39350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39351
7726d6a9
JM
39352 [BZ #11451]
39353 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39354 x and y.
39355 * math/libm-test.inc (atan2_test): Add another test.
39356
83d1aec8
JM
39357 * Makerules (common-objdir-compile): Remove.
39358 * sysdeps/unix/Makefile (config-generated): Do not add
39359 $(unix-generated) to variable.
39360 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39361 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39362 Remove rule.
39363 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39364 Likewise.
39365 [generic bits/local_lim.h] (before-compile): Do not append to
39366 variable.
39367 [generic bits/local_lim.h] (common-generated): Likewise.
39368 [generic sys/param.h] (before-compile): Do not append to variable.
39369 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39370 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39371 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39372 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39373 include.
39374 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39375 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39376 [generic sys/param.h] ($(addprefix
39377 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39378 [generic sys/param.h] (common-generated): Do not append to
39379 variable.
39380 [generic sys/param.h] (sysdep_headers): Likewise.
39381 [generic bits/errno.h] (before-compile): Do not append to
39382 variable.
39383 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39384 rule.
39385 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39386 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39387 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39388 [generic bits/errno.h] (common-generated): Do not append to
39389 variable.
39390 [generic bits/ioctls.h] (before-compile): Do not append to
39391 variable.
39392 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39393 rule.
39394 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39395 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39396 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39397 rule.
39398 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39399 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39400 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39401 [generic bits/ioctls.h] (common-generated): Do not append to
39402 variable.
39403 [generic sys/syscall.h] (syscall.h): Remove variable.
39404 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39405 rule.
39406 [generic sys/syscall.h] (before-compile): Do not append to
39407 variable.
39408 [generic sys/syscall.h] (common-generated): Likewise.
39409 * sysdeps/unix/errnos-tmpl.c: Remove file.
39410 * sysdeps/unix/errnos.awk: Likewise.
39411 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39412 * sysdeps/unix/ioctls.awk: Likewise.
39413 * sysdeps/unix/mk-local_lim.c: Likewise.
39414 * sysdeps/unix/snarf-ioctls: Likewise.
39415
4851a949
RH
394162012-03-19 Richard Henderson <rth@twiddle.net>
39417
bd37f2ee
RH
39418 * sysdeps/i386/fpu/fenv_private.h: New file.
39419 * sysdeps/i386/fpu/math_private.h: Use it.
39420 (math_opt_barrier, math_force_eval): Remove.
39421 (libc_feholdexcept_setround_53bit): Remove.
39422 (libc_feupdateenv_53bit): Remove.
39423 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39424 (math_opt_barrier, math_force_eval): Remove.
39425 (libc_feholdexcept): Remove.
39426 (libc_feholdexcept_setround): Remove.
39427 (libc_fetestexcept, libc_fesetenv): Remove.
39428 (libc_feupdateenv_test): Remove.
39429 (libc_feupdateenv, libc_feholdsetround): Remove.
39430 (libc_feresetround): Remove.
39431
d0adc922
RH
39432 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39433 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39434
0fe0f1f8
RH
39435 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39436 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39437 (libc_feupdateenv_testl): New.
39438 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39439 (libc_feupdateenv_testf): New.
39440 (libc_feupdateenv): Use libc_feupdateenv_test.
39441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39443
eb92c487
RH
39444 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39445 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39446 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39447 (libc_feresetround_noex): New.
39448 (libc_feresetround_noexf): New.
39449 (libc_feresetround_noexl): New.
39450 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39451 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39452 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39453 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39454 SET_RESTORE_ROUND.
39455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39456 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39457 (__cos): Likewise.
39458 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39459 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39460 SET_RESTORE_ROUND_NOEX.
39461 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39462 SET_RESTORE_ROUND_NOEXF.
39463 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39464 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39465 (libc_feholdsetroundf): New.
39466 (libc_feresetround, libc_feresetroundf): New.
39467
7d2e8012
RH
39468 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39469 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39470 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39471
b4dabbb4
RH
39472 * sysdeps/generic/math_private.h: Include <fenv.h>.
39473 (default_libc_feholdexcept): New.
39474 (default_libc_feholdexcept_setround): New.
39475 (default_libc_fesetenv, default_libc_feupdateenv): New.
39476 (libc_feholdexcept): Only define if undefined.
39477 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39478 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39479 (libc_feholdexcept_setroundl): Likewise.
39480 (libc_feholdexcept_setround_53bit): Likewise.
39481 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39482 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39483 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39484 (libc_feupdateenv_53bit): Likewise.
39485 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39486 (libc_feholdexcept): Convert from macro to inline function.
39487 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39488 (libc_fesetenv, libc_feupdateenv): Likewise.
39489
4851a949
RH
39490 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39491 not previously defined.
39492 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39493 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39494 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39495 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39496 * sysdeps/ieee754/flt-32/math_private.h: New file.
39497 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39498 math_private.h below SET_FLOAT_WORD.
39499 (__isnan, __isinf_ns, __finite): Remove.
39500 (__isnanf, __isinf_nsf, __finitef): Remove.
39501
e79d442e
AS
395022012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39503
39504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39505
90b80344
DM
395062012-03-17 David S. Miller <davem@davemloft.net>
39507
39508 [BZ #6471]
39509 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39510 for 2.16.
39511
edc21804
DM
395122012-03-16 David S. Miller <davem@davemloft.net>
39513
77e927af
DM
39514 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39515 warnings.
39516
374976dd
DM
39517 [BZ #6471]
39518 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39519 properly.
39520 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39521 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39522 sysdep_routines when subdir is sysvipc.
39523 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39524 __getshmlba helper.
39525
edc21804
DM
39526 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39527
473c3ef3
L
395282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39529
39530 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39531 [__LP64__].
39532
eb0f39b6
L
395332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39534
39535 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39536 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39537 (__lround): Renamed to ...
39538 (__llround): This. Replace long int with long long int.
39539 Define lround functions as aliases of llround functions.
39540 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39541
6b6cd74b
L
395422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39543
39544 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39545 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39546 adresses to uintptr_t. Replace "long int" and "unsigned long
39547 int" with "greg_t" on va_arg.
39548
f1a77b01
L
395492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39550
39551 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39552 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39553
39554 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39555 Move e_machine check before EI_CLASS check. Handle x32
39556 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39557 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39558 SKIP_EM_IA_64 and include
39559 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39560
39561 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39562 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39563 (add_system_dir): New macro.
39564
39565 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39566 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39567
11b90b9f
JM
395682012-03-16 Joseph Myers <joseph@codesourcery.com>
39569
c36e1d23
JM
39570 [BZ #2551]
39571 [BZ #2552]
39572 [BZ #2553]
39573 [BZ #2554]
39574 [BZ #2562]
39575 [BZ #2563]
39576 [BZ #2565]
39577 [BZ #2566]
39578 [BZ #2576]
39579 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39580 (y0): Likewise.
39581 * math/w_j0f.c (j0f): Likewise.
39582 (y0f): Likewise.
39583 * math/w_j0l.c (__j0l): Likewise.
39584 (__y0l): Likewise.
39585 * math/w_j1.c (j1): Likewise.
39586 (y1): Likewise.
39587 * math/w_j1f.c (j1f): Likewise.
39588 (y1f): Likewise.
39589 * math/w_j1l.c (__j1l): Likewise.
39590 (__y1l): Likewise.
39591 * math/w_jn.c (jn): Likewise.
39592 (yn): Likewise.
39593 * math/w_jnf.c (jnf): Likewise.
39594 (ynf): Likewise.
39595 * math/w_jnl.c (__jnl): Likewise.
39596 (__ynl): Likewise.
39597 * math/libm-test.inc (j0_test): Add more tests.
39598 (j1_test): Likewise.
39599 (jn_test): Likewise. Add trailing semicolon to existing test.
39600 (y0_test): Likewise.
39601 (y1_test): Likewise.
39602 * sysdeps/i386/fpu/libm-test-ulps: Update.
39603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39604
11b90b9f
JM
39605 [BZ #13851]
39606 [BZ #13854]
39607 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39608 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39609 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39610 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39611 (__tanl): Set errno for infinite argument.
39612 * sysdeps/i386/fpu/mptan.c: Remove.
39613 * sysdeps/i386/fpu/s_tan.S: Likewise.
39614 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39615 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39616 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39617 * math/libm-test.inc (tan_test): Add more tests and enable more
39618 tests for double and long double.
39619 * sysdeps/i386/fpu/libm-test-ulps: Update.
39620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39621
6a1bd2a1
JK
396222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39623
39624 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39625 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39626
10a803e0
RM
396272012-03-16 Roland McGrath <roland@hack.frob.com>
39628
39629 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39630 * configure.in: Use it for both main tree and add-ons.
39631 * configure: Regenerated.
39632
f196c7f7
L
396332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39634
39635 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39636
8848d99d
JM
396372012-03-16 Joseph Myers <joseph@codesourcery.com>
39638
96cbe7f4
JM
39639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39640 in comment.
39641
8848d99d
JM
39642 [BZ #13851]
39643 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39644 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39648 infinite argument.
39649 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39651 != 0 for prec == 2.
39652 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39653 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39654 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39655 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39656 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39657 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39658 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39659 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39660 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39661 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39662 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39663 * math/libm-test.inc (cos_test): Add more tests and enable more
39664 tests for long double.
39665 (sin_test): Likewise.
39666 (sincos_test): Likewise.
39667 * sysdeps/i386/fpu/libm-test-ulps: Update.
39668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39669
dd7f4703
DM
396702012-03-16 David S. Miller <davem@davemloft.net>
39671
39672 * sysdeps/sparc/fpu/math_private.h: New file.
39673
006f1daa
DM
396742012-03-15 David S. Miller <davem@davemloft.net>
39675
c0c83bc8
DM
39676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39677 file.
e6a62e18 39678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39680 file.
e6a62e18
DM
39681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39687 sysdep routines.
39688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39689
88cb87d9
DM
39690 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39691 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39692
006f1daa 39693 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39695 sparc-ifunc.h
006f1daa 39696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39698 Likewise.
39699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39700 Likewise.
006f1daa
DM
39701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39705 Likewise.
006f1daa
DM
39706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39711 Likewise.
39712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39713 Likewise.
006f1daa
DM
39714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39719 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39738
11e0098e
AS
397392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39740
39741 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39742 scaling.
39743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39744
e85b09d0
AJ
397452012-03-15 Andreas Jaeger <aj@suse.de>
39746
39747 [BZ #13852]
39748 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39749 ieee754/flt-32 implementation for sin, cos and sincos.
39750 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39751 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39752 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39753 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39754 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39755 ieee754/flt-32 implementation for tan.
39756
39757 * math/libm-test.inc (cos_test): Enable some large input tests for
39758 float as well
39759 (sin_test): Likewise.
39760 (sincos_test): Likewise.
39761 (tan_test): Add tests for large input.
39762
39763 * sysdeps/i386/fpu/libm-test-ulps: Update.
39764
81c64153
AJ
397652012-03-15 Andreas Jaeger <aj@suse.de>
39766
39767 [BZ #13658]
39768 * math/libm-test.inc (cos_test): Add more test cases.
39769 (sin_test): Likewise.
39770 (sincos_test): Likewise.
39771
7bbfa5c6
AJ
397722012-03-15 Andreas Jaeger <aj@suse.de>
39773
39774 [BZ #13837]
39775 * math/libm-test.inc (cos_test): Add a test case for large input
39776 value.
39777 (sin_test): Likewise.
39778 (sincos_test): Likewise.
39779
57f41c40
AS
397802012-03-15 Andreas Jaeger <aj@suse.de>
39781 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39782
39783 [BZ #13658]
0671f479 39784 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39785 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39786 * sysdeps/i386/fpu/branred.c: Likewise.
39787 * sysdeps/i386/fpu/dosincos.c: Likewise.
39788 * sysdeps/i386/fpu/mpa.c: Likewise.
39789 * sysdeps/i386/fpu/s_cos.S: Likewise.
39790 * sysdeps/i386/fpu/s_sin.S: Likewise.
39791 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39792 * sysdeps/i386/fpu/sincos32.c: Likewise.
39793
39794 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39795 Define.
39796 (libc_feupdateenv_53bit): Define.
39797 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39798 Define.
39799 (libc_feupdateenv_53bit): Define.
39800
39801 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39802 53 bit (without extend i386 double precision).
39803
39804 * math/libm-test.inc (sincos_test): Add tests for large input.
39805 (sin): Likewise.
39806 (cos): Likewise.
39807
39808 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39809
9cad04ea
AS
398102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39811
39812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39813
f7062b9a
DM
398142012-03-15 David S. Miller <davem@davemloft.net>
39815
39816 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39817 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39818 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39819 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39832 file.
f7062b9a 39833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39835 file.
f7062b9a 39836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39838 file.
f7062b9a 39839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39841 file.
f7062b9a
DM
39842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39844 fmin/fmax sysdep routines.
39845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39846
7bd951ff
DM
398472012-03-14 David S. Miller <davem@davemloft.net>
39848
559398ab
DM
39849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39878 routines.
39879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39880 file.
559398ab 39881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39883 file.
559398ab 39884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39886 file.
559398ab 39887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39889 file.
559398ab 39890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39892 file.
559398ab 39893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39895 file.
39896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39897 file.
39898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39899 file.
39900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39901 file.
39902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39903 New file.
39904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39905 file.
39906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39907 file.
559398ab 39908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39910 file.
559398ab 39911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39913 file.
559398ab 39914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39916 file.
559398ab 39917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39919 VIS3 routines.
559398ab
DM
39920
39921 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39922 New file.
39923
5a1c1e32
DM
39924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39925
eae47a36
DM
39926 * sysdeps/sparc/configure.in: New file.
39927 * sysdeps/sparc/configure: Generate.
39928 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39929 * configure: Regenerate.
39930 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39931 * config.make.in (have-as-vis3): New.
39932 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39933 available use -Av9d instead of -Av9a.
39934 * sysdeps/sparc/sparc64/Makefile: Likewise.
39935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39937 New file.
39938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39939 file.
39940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39941 New file.
39942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39943 file.
eae47a36
DM
39944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39949
c0c83bc8
DM
39950 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39951 fzeros/fnegs to load 0x80000000 into a float register instead of
39952 using the stack.
7bd951ff
DM
39953 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39954
bd951ccb
JM
399552012-03-14 Joseph Myers <joseph@codesourcery.com>
39956
39957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39958 bits/syscall.h.
39959 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39960 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39961 ($(inst_includedir)/bits/syscall.h): Remove rule.
39962 ($(objpfx)bits/syscall.d): Include instead of
39963 $(objpfx)syscall-list.d.
39964 (generated): Change syscall-list.h and syscall-list.d to
39965 bits/syscall.h and bits/syscall.d.
39966
bb4e6db2
RM
399672012-03-14 Roland McGrath <roland@hack.frob.com>
39968
39969 [BZ #13846]
39970 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39971
aa4a2ae1
JM
399722012-03-14 Joseph Myers <joseph@codesourcery.com>
39973
e456826d
JM
39974 [BZ #13841]
39975 * math/s_csqrt.c: Include <float.h>.
39976 (__csqrt): Scale large or subnormal inputs.
39977 * math/s_csqrtf.c: Likewise.
39978 * math/s_csqrtl.c: Likewise.
39979 * math/libm-test.inc (csqrt_test): Add more tests.
39980 * sysdeps/i386/fpu/libm-test-ulps: Update.
39981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39982
aa4a2ae1
JM
39983 [BZ #13840]
39984 * math/libm-test.inc (hypot_test): Add more tests.
39985
7c10fd35
DM
399862012-03-13 David S. Miller <davem@davemloft.net>
39987
39988 [BZ #13840]
39989 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39990 double-precision for the calculation instead of scaling.
39991
f453b98b
JM
399922012-03-13 Joseph Myers <joseph@codesourcery.com>
39993
39994 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39995 manipulate bits before adding and subtracting TWO52[sx].
39996 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39998 Likewise.
39999 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40000
09a3453f
DM
400012012-03-13 David S. Miller <davem@davemloft.net>
40002
8e59da90
DM
40003 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40004 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40006 rtld-global-offsets.h
40007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40008
2a8ab7f2
DM
40009 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40010 large parameters.
40011
10f62770
DM
40012 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40013
5f0bdb18
DM
40014 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40015 'err' in the ifdef scope in which it is actually used.
40016
09a3453f
DM
40017 * nss/nss_db/db-init.c: Include string.h
40018
b4b2eb5e
DM
400192012-03-12 David S. Miller <davem@davemloft.net>
40020
98bb2f1c
DM
40021 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40022 masking out of the most significant byte of random value used.
40023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40024 Fix coding style in previous change.
40025
b4b2eb5e
DM
40026 * sysdeps/unix/sysv/linux/kernel-features.h
40027 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40028 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40029 expression.
40030 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40031 later.
40032
6e226b09
DM
400332012-03-11 David S. Miller <davem@davemloft.net>
40034
a1bcbd40
DM
40035 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40036 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40037 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40038 for 'resultvar' otherwise things get truncated on 64-bit.
40039
cb9d6174
DM
40040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40041 Fix masking out of the most significant byte of random value used.
40042
6e226b09
DM
40043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40044
058c132d
AS
400452012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40046
40047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40048
2d2cd515
DM
400492012-03-09 David S. Miller <davem@davemloft.net>
40050
40051 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40052 variables with appropriate CPP guards.
57f41c40
AS
40053 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40054 from the frame pointer, not the stack pointer. Correct layout
40055 comments. Fix test on resulting framesize and the management of
40056 the outregs buffer for pltexit. Preserve floating point return
40057 values across _dl_call_pltexit call.
2d2cd515
DM
40058 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40059 framesize and the management of the outregs buffer for pltexit.
40060 Preserve floating point return values across _dl_call_pltexit
40061 call.
57f41c40
AS
40062 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40063 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40064 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40065 (print_exit): Fix format string for return register value.
40066
9a07f9d0
JM
400672012-03-10 Joseph Myers <joseph@codesourcery.com>
40068
40069 * sunrpc/Makefile (others): Add rpcgen.
40070 ($(objpfx)rpcgen): Remove special build rule and dependency on
40071 libc.
40072 * sunrpc/rpcgen.c: New file.
40073
547b5e30
PE
400742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40075
c524201a
PE
40076 [BZ #13673]
40077 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40078 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40079 * sysdeps/i386/crti.S: Likewise.
40080 * sysdeps/i386/crtn.S: Likewise.
40081 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40082 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40083 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40084 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40085 * sysdeps/sh/crti.S: Likewise.
40086 * sysdeps/sh/crtn.S: Likewise.
40087 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40088
7b6235f2
PE
40089 [BZ #13673]
40090 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40091 with URL.
40092 * locale/programs/locfile-kw.gperf: Likewise.
40093 * locale/programs/charmap-kw.h: Regenerated.
40094 * locale/programs/locfile-kw.h: Likewise.
40095
547b5e30
PE
40096 [BZ #13673]
40097 * intl/plural.y: Replace FSF snail mail address with URL.
40098 * intl/plural.c: Regenerated.
40099
5f0a5dae
RH
401002012-03-09 Richard Henderson <rth@twiddle.net>
40101
40102 * include/math_private.h: Remove file.
40103 * math/math_private.h: Move file ...
40104 * sysdeps/generic/math_private.h: ... here.
40105
b8c03620
RH
40106 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40107 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40108 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40109
4e234f5d 40110 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40111 and <math_private.h>.
40112 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40113 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40114 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40115 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40116 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40117 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40118 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40120 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40121 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40123 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40124 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40126 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40127 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40128 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40131 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40133 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40134 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40136 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40137 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40138 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40142 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40144 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40145 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40146 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40200 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40201 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40202 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40203 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40204 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40205 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40206 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40207 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40208 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40209 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40210 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40211 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40212 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40213 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40214 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40215 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40216 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40217 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40218 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40219 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40220 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40221 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40222 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40223 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40224 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40225 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40226 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40227 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40228 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40229 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40230 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40231 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40232 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40233 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40235 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40236 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40237 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40239 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40240 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40241 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40242 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40243 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40244 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40245 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40246 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40247 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40248 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40249 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40250 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40251 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40252 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40253 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40254 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40255 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40256 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40257 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40258 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40259 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40260 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40261 * sysdeps/ieee754/k_standard.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40275 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40276 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40279 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40281 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40282 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40288 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40289 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40293 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40294 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40295 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40296 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40297 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40298 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40299 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40301 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40381 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40382 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40384 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40385 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40387 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40389 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40392 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40394 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40397 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40404 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40405 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40406 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40411 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40412 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40416 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40417 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40418 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40419 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40420 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40422 * sysdeps/ieee754/s_lib_version.c: Likewise.
40423 * sysdeps/ieee754/s_matherr.c: Likewise.
40424 * sysdeps/ieee754/s_signgam.c: Likewise.
40425 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40426 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40427 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40428 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40429 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40430 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40431 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40432 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40433 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40434 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40435 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40436 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40437 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40438 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40439 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40442 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40443 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40446
1991fa03
JM
404472012-03-09 Joseph Myers <joseph@codesourcery.com>
40448
40449 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40450 * sunrpc/rpc_main.c: Likewise.
40451 * sunrpc/rpc_svcout.c: Likewise.
40452
60d6f5a6
DM
404532012-03-09 David S. Miller <davem@davemloft.net>
40454
40455 * include/math_private.h: New file.
40456
4962050e
JM
404572012-03-09 Joseph Myers <joseph@codesourcery.com>
40458
02a6f887
JM
40459 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40460 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40461 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40462 from <bits/socket_type.h>.
40463 (enum __socket_type): Don't define here.
40464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40466 bits/socket_type.h.
40467
c6e013c1
JM
40468 [BZ #13566]
40469 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40470 checking __USE_GNU.
40471
4962050e
JM
40472 * Makerules ($(inst_includedir)/%.h): New rule.
40473 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40474 (install-others): Remove variable setting.
40475 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40476
38842f45
RH
404772012-03-08 Richard Henderson <rth@twiddle.net>
40478
67bb6da6
RH
40479 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40480 from macro to inline function; merge with the
40481 !__LIBC_INTERNAL_MATH_INLINES version.
40482 (__ieee754_sqrtf): Likewise.
40483
15194b4b
RH
40484 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40485 to inline function.
40486 (__rintf, __floor, __floorf): Likewise.
40487
64e21ede
RH
40488 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40489 macro to inline function.
40490 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40491
38842f45
RH
40492 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40493 not <math/math_private.h>.
40494
c64bf5fe
DM
404952012-03-08 David S. Miller <davem@davemloft.net>
40496
40497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40498 copyright year.
40499 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40500
82d86f28
TS
405012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40502
40503 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40504 normalization.
40505 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40506 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40507
aea5d727
UD
405082012-03-08 Ulrich Drepper <drepper@gmail.com>
40509
40510 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40511 be defined individually, they must be defined as a block. Define
40512 S for printing a string instead of hidint the different by using a
40513 macro for adding the 'l'.
40514 * stdio-common/tst-fphex-wide.c: Adjust.
40515
70bca0a3
MP
405162012-03-07 Marek Polacek <polacek@redhat.com>
40517
40518 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40519
65b81130
MP
405202012-03-08 Marek Polacek <polacek@redhat.com>
40521
40522 [BZ #13806]
40523 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40524 * stdio-common/tst-fphex.c: Define a few macros to make the
40525 test reusable. Use them.
40526 * stdio-common/tst-fphex-wide.c: New file.
40527
07037eeb
JM
405282012-03-08 Joseph Myers <joseph@codesourcery.com>
40529
a7a93d50
JM
40530 [BZ #6911]
40531 * manual/macros.texi (gnusystems): New macro.
40532 (nongnusystems): Likewise.
40533 (gnulinuxhurdsystems): Likewise.
40534 (gnuhurdsystems): Likewise..
40535 (gnulinuxsystems): Likewise.
40536 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40537 variants of the GNU system, not "GNU system".
40538 * manual/conf.texi: Likewise.
40539 * manual/errno.texi: Likewise. Update example of errno macro
40540 expansion.
40541 * manual/filesys.texi: Likewise.
40542 (getumask): Document as specific to GNU/Hurd.
40543 * manual/install.texi: Likewise. Reword some references to
40544 GNU/Linux.
40545 * manual/intro.texi: Likewise.
40546 * manual/io.texi: Likewise.
40547 (File Name Portability): Detail which constraints are inapplicable
40548 to all GNU systems and which are only inapplicable to GNU/Hurd.
40549 * manual/job.texi: Likewise.
40550 * manual/llio.texi: Likewise.
40551 (O_NOCTTY): Document as present on GNU/Linux.
40552 * manual/maint.texi: Likewise.
40553 * manual/memory.texi: Likewise.
40554 * manual/pattern.texi: Likewise.
40555 * manual/pipe.texi: Likewise.
40556 * manual/process.texi: Likewise.
40557 * manual/resource.texi: Likewise.
40558 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40559 child on GNU/Hurd.
40560 * manual/setjmp.texi: Likewise.
40561 * manual/signal.texi: Likewise.
40562 * manual/startup.texi: Likewise.
40563 * manual/stdio.texi: Likewise.
40564 * manual/terminal.texi: Likewise.
40565 (ONLCR): Document as POSIX.
40566 (OXTABS): Document availability on GNU/Linux as XTABS.
40567 (ONOEOT): Document availability separately from other bits.
40568 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40569 * manual/time.texi: Likewise.
40570 * manual/users.texi: Likewise.
40571 * INSTALL: Regenerated.
40572 * sysdeps/gnu/errlist.c: Regenerated.
40573
07037eeb
JM
40574 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40575 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40576 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40577 puts.
40578 * configure: Regenerated.
40579
d1d3431a
JM
405802012-03-07 Joseph Myers <joseph@codesourcery.com>
40581
af6a1e37
JM
40582 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40583 default includes instead of AC_HEADER_CHECK.
40584 * sysdeps/i386/configure: Regenerated.
40585
d1d3431a
JM
40586 [BZ #10716]
40587 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40588 * math/s_cacoshf.c (__cacoshf): Likewise.
40589 * math/s_cacoshl.c (__cacoshl): Likewise.
40590 * math/s_casinh.c (__casinh): Set signs of result from argument.
40591 * math/s_casinhf.c (__casinhf): Likewise.
40592 * math/s_casinhl.c (__casinhl): Likewise.
40593 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40594 (casinh_test): Add more tests.
40595 * sysdeps/i386/fpu/libm-test-ulps: Update.
40596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40597
482ff4da
UD
405982012-03-07 Ulrich Drepper <drepper@gmail.com>
40599
872fda05
UD
40600 * po/zh_TW.po: Update from translation team.
40601
a4300c7a
UD
40602 * login/Makefile (distribute): Remove variable.
40603 * catgets/Makefile: Likewise.
40604 * mach/Makefile: Likewise.
40605 * malloc/Makefile: Likewise.
40606 * misc/Makefile: Likewise.
40607 * iconv/Makefile: Likewise.
40608 * nscd/Makefile: Likewise.
40609 * hurd/Makefile: Likewise.
40610 * manual/Makefile: Likewise.
40611 * locale/Makefile: Likewise.
40612 * intl/Makefile: Likewise.
40613 * conform/Makefile: Likewise.
40614 * nss/Makefile: Likewise.
40615 * time/Makefile: Likewise.
40616 * soft-fp/Makefile: Likewise.
40617 * dirent/Makefile: Likewise.
40618 * gmon/Makefile: Likewise.
40619 * po/Makefile: Likewise.
40620 * rt/Makefile: Likewise.
40621 * socket/Makefile: Likewise.
40622 * math/Makefile: Likewise.
40623 * signal/Makefile: Likewise.
40624 * debug/Makefile: Likewise.
40625 * elf/Makefile: Likewise.
40626 * timezone/Makefile: Likewise.
40627 * stdlib/Makefile: Likewise.
40628 * iconvdata/Makefile: Likewise.
40629 * sunrpc/Makefile: Likewise.
40630 * io/Makefile: Likewise.
40631 * argp/Makefile: Likewise.
40632 * inet/Makefile: Likewise.
40633 * hesiod/Makefile: Likewise.
40634 * grp/Makefile: Likewise.
40635 * csu/Makefile: Likewise.
40636 * wctype/Makefile: Likewise.
40637 * crypt/Makefile: Likewise.
40638 * libio/Makefile: Likewise.
40639 * string/Makefile: Likewise.
40640 * nis/Makefile: Likewise.
40641 * resolv/Makefile: Likewise.
40642 * stdio-common/Makefile: Likewise.
40643 * wcsmbs/Makefile: Likewise.
40644 * dlfcn/Makefile: Likewise.
40645 * posix/Makefile: Likewise.
40646
3b7c4e74 40647 [BZ #6959]
482ff4da
UD
40648 * timezone/Makefile: Don't install timezone files, just the programs
40649 and scripts.
40650
f72ed77d
UD
406512012-03-06 Ulrich Drepper <drepper@gmail.com>
40652
a000466f
UD
40653 * nss/databases.def: Add missing gshadow entry.
40654
f72ed77d
UD
40655 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40656
a53b7a4e
MP
406572012-03-06 Marek Polacek <polacek@redhat.com>
40658
40659 [BZ #13726]
40660 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40661 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40662 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40663 * stdio-common/tst-long-dbl-fphex.c: New file.
40664
e9258400
DM
406652012-03-06 David S. Miller <davem@davemloft.net>
40666
40667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40668 (set_obp_int): New function.
40669 (get_obp_int): New function.
40670 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40671 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40672 Avoid unused variable warnings on 'val' and use builtin_expect.
40673 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40674 __builtin_expect.
e9258400
DM
40675 (INLINE_CLONE_SYSCALL): Likewise.
40676
3bd2c723
DM
406772012-03-05 David S. Miller <davem@davemloft.net>
40678
40679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40680
bbb78d03
AS
406812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40682
884c5db4
AS
40683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40684
bbb78d03
AS
40685 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40686 only for |x| >= 40.
40687 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40688
1c9f702a 406892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40690
40691 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40692 Replace gettimeofday with __vdso_gettimeofday.
40693
7be16f82
RM
40694 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40695 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40696 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40697
40698 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40699 time with __vdso_time.
40700
ed58a00f
JM
407012012-03-05 Joseph Myers <joseph@codesourcery.com>
40702
40703 * manual/lang.texi (size_t): Note types to which size_t may be
40704 equivalent with the GNU C Library, but do not describe when
40705 differences between them are significant.
40706
30ee4ced
AJ
407072012-03-05 Andreas Jaeger <aj@suse.de>
40708
40709 * sysdeps/i386/fpu/libm-test-ulps: Update.
40710
b7cd39e8
JM
407112012-03-05 Joseph Myers <joseph@codesourcery.com>
40712
40713 [BZ #3976]
40714 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40715 (__ieee754_pow): Save and restore rounding mode and use
40716 round-to-nearest for main computations.
40717 * math/libm-test.inc (pow_test_tonearest): New function.
40718 (pow_test_towardzero): Likewise.
40719 (pow_test_downward): Likewise.
40720 (pow_test_upward): Likewise.
40721 (main): Call the new functions.
40722 * sysdeps/i386/fpu/libm-test-ulps: Update.
40723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40724
40725 [BZ #3976]
40726 * math/libm-test.inc (cosh_test_tonearest): New function.
40727 (cosh_test_towardzero): Likewise.
40728 (cosh_test_downward): Likewise.
40729 (cosh_test_upward): Likewise.
40730 (sinh_test_tonearest): Likewise.
40731 (sinh_test_towardzero): Likewise.
40732 (sinh_test_downward): Likewise.
40733 (sinh_test_upward): Likewise.
40734 (main): Call the new functions.
40735 * sysdeps/i386/fpu/libm-test-ulps: Update.
40736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40737
6c6a98c9
TV
407382012-03-05 Tom de Vries <tom@codesourcery.com>
40739
40740 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40741 default stack guard is set in last bytes.
40742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40743
21bb2d2e 407442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40745
21bb2d2e 40746 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40747
21bb2d2e
AJ
40748 [BZ #13656]
40749 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40750 possibly allocate from heap instead of stack.
40751 * stdio-common/bug-vfprintf-nargs.c: New file.
40752 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40753
c6922934
AS
407542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40755
40756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40757
bc957d53
MP
407582012-03-03 Marek Polacek <polacek@redhat.com>
40759
40760 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40761 * math/math_private.h: Likewise.
40762 * stdlib/tst-strtod.c: Likewise.
40763 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40764 * sysdeps/x86_64/bits/atomic.h: Likewise.
40765
6358490d
DM
407662012-03-02 David S. Miller <davem@davemloft.net>
40767
40768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40772 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40773 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40774 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40775 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40776
01ae168d
RM
407772012-03-02 Roland McGrath <roland@hack.frob.com>
40778
d9a17c07
RM
40779 [BZ #13792]
40780 * manual/examples/README: New file, says the example source files
40781 can be used under GPL>=2.
40782 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40783 line containing just "*/".
40784 * manual/examples/add.c: Add copyright header (GPL>=2).
40785 * manual/examples/argp-ex1.c: Likewise.
40786 * manual/examples/argp-ex2.c: Likewise.
40787 * manual/examples/argp-ex3.c: Likewise.
40788 * manual/examples/argp-ex4.c: Likewise.
40789 * manual/examples/atexit.c: Likewise.
40790 * manual/examples/db.c: Likewise.
40791 * manual/examples/dir.c: Likewise.
40792 * manual/examples/dir2.c: Likewise.
40793 * manual/examples/execinfo.c: Likewise.
40794 * manual/examples/filecli.c: Likewise.
40795 * manual/examples/filesrv.c: Likewise.
40796 * manual/examples/fmtmsgexpl.c: Likewise.
40797 * manual/examples/genpass.c: Likewise.
40798 * manual/examples/inetcli.c: Likewise.
40799 * manual/examples/inetsrv.c: Likewise.
40800 * manual/examples/isockad.c: Likewise.
40801 * manual/examples/longopt.c: Likewise.
40802 * manual/examples/memopen.c: Likewise.
40803 * manual/examples/memstrm.c: Likewise.
40804 * manual/examples/mkfsock.c: Likewise.
40805 * manual/examples/mkisock.c: Likewise.
40806 * manual/examples/mygetpass.c: Likewise.
40807 * manual/examples/pipe.c: Likewise.
40808 * manual/examples/popen.c: Likewise.
40809 * manual/examples/rprintf.c: Likewise.
40810 * manual/examples/search.c: Likewise.
40811 * manual/examples/select.c: Likewise.
40812 * manual/examples/setjmp.c: Likewise.
40813 * manual/examples/sigh1.c: Likewise.
40814 * manual/examples/sigusr.c: Likewise.
40815 * manual/examples/stpcpy.c: Likewise.
40816 * manual/examples/strdupa.c: Likewise.
40817 * manual/examples/strftim.c: Likewise.
40818 * manual/examples/strncat.c: Likewise.
40819 * manual/examples/subopt.c: Likewise.
40820 * manual/examples/swapcontext.c: Likewise.
40821 * manual/examples/termios.c: Likewise.
40822 * manual/examples/testopt.c: Likewise.
40823 * manual/examples/testpass.c: Likewise.
40824 * manual/examples/timeval_subtract.c: Likewise.
40825
01ae168d
RM
40826 [BZ #13792]
40827 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40828 function to ...
40829 * manual/timeval_subtract.c.texi: ... here, new file.
40830
49efa33d
DM
408312012-03-02 David S. Miller <davem@davemloft.net>
40832
40833 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40834
28afd92d
JM
408352012-03-02 Joseph Myers <joseph@codesourcery.com>
40836
804360ed
JM
40837 [BZ #3976]
40838 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40839 (__sin): Save and restore rounding mode and use round-to-nearest
40840 for all computations.
40841 (__cos): Save and restore rounding mode and use round-to-nearest
40842 for all computations.
40843 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40844 <fenv.h>.
40845 (tan): Save and restore rounding mode and use round-to-nearest for
40846 all computations.
40847 * math/libm-test.inc (cos_test_tonearest): New function.
40848 (cos_test_towardzero): Likewise.
40849 (cos_test_downward): Likewise.
40850 (cos_test_upward): Likewise.
40851 (sin_test_tonearest): Likewise.
40852 (sin_test_towardzero): Likewise.
40853 (sin_test_downward): Likewise.
40854 (sin_test_upward): Likewise.
40855 (tan_test_tonearest): Likewise.
40856 (tan_test_towardzero): Likewise.
40857 (tan_test_downward): Likewise.
40858 (tan_test_upward): Likewise.
40859 (main): Call the new functions.
40860 * sysdeps/i386/fpu/libm-test-ulps: Update.
40861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40862
a6d06d7b
JM
40863 [BZ #10135]
40864 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40865 small n, then large n, before computing and testing k+n.
40866 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40868 Likewise.
40869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40870 Likewise.
40871 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40872 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40874 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40877 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40879 * math/libm-test.inc (scalbn_test): Add more tests.
40880 (scalbln_test): Likewise.
40881
07e12bb3
JM
40882 * manual/filesys.texi (mode_t): Describe constraints on size and
40883 signedness, not exact equivalence to a particular type.
40884 (ino_t): Likewise.
40885 (ino64_t): Likewise.
40886 (dev_t): Likewise.
40887 (nlink_t): Likewise.
40888 (blkcnt_t): Likewise.
40889 (blkcnt64_t): Likewise.
40890 * manual/llio.texi (off_t): Likewise.
40891
28afd92d
JM
40892 [BZ #3976]
40893 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40894 (__ieee754_exp): Save and restore rounding mode and use
40895 round-to-nearest for all computations.
40896 * math/libm-test.inc (exp_test_tonearest): New function.
40897 (exp_test_towardzero): Likewise.
40898 (exp_test_downward): Likewise.
40899 (exp_test_upward): Likewise.
40900 (main): Call the new functions.
40901 * sysdeps/i386/fpu/libm-test-ulps: Update.
40902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40903
b1eeb65d
CD
409042012-03-01 Chris Demetriou <cgd@google.com>
40905
40906 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40907 have predictable order.
40908
53362a4b
DM
409092012-03-01 David S. Miller <davem@davemloft.net>
40910
3c969083
DM
40911 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40912
759707de
DM
40913 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40914 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40915 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40916 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40917
dfdb8ff2
DM
40918 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40919 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40920 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40922 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40923 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40924 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40925 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40926 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40927
ead89f96
DM
40928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40929
7f66bd07
DM
40930 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40931 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40932 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40933
53362a4b
DM
40934 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40935 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40936 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40937 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40938 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40939 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40940 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40941 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40942 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40943 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40944 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40947 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40950 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40951 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40952 * sysdeps/sparc/elf/configure: Regenerated.
40953
7b1902cb
JM
409542012-03-01 Joseph Myers <joseph@codesourcery.com>
40955
bec039bc
JM
40956 * configure.in (AS, LD): Require binutils 2.20 or later.
40957 * configure: Regenerated.
40958 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40959 as required minimum version.
40960 * INSTALL: Regenerated.
40961
7b1902cb
JM
40962 [BZ #2541]
40963 [BZ #4108]
40964 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40965 before squaring exponent.
40966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40967 bottom long double and 27 bits of top long double before squaring
40968 exponent.
40969 * math/libm-test.inc (erfc_test): Add more tests.
40970 * sysdeps/i386/fpu/libm-test-ulps: Update.
40971 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40973
f775c276
KT
409742012-03-01 Kai Tietz <ktietz@redhat.com>
40975
40976 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40977 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40978 containing bit-fields.
40979 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40980 * soft-fp/single.h (_FP_UNION_S): Likewise.
40981 * soft-fp/double.h (_FP_UNION_D): Likewise.
40982
5b8a4d4a
JM
409832012-02-29 Joseph Myers <joseph@codesourcery.com>
40984
0bab47b6
JM
40985 [BZ #13786]
40986 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40987 not include ../strcmp.S.
40988 [USE_AS_STRNCASECMP_L]: Likewise.
40989 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40990 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40991 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40992 (__strncasecmp_l_ia32): Define as alias to
40993 __strncasecmp_l_nonascii.
40994
0fcad3e2
JM
40995 [BZ #5794]
40996 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40997 * sysdeps/i386/fpu/libm-test-ulps: Update.
40998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40999
5b8a4d4a
JM
41000 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41002
8fdceb2e
JL
410032012-02-29 Jeff Law <law@redhat.com>
41004
41005 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41006 out of bounds read.
41007
1f393a11
MP
410082012-02-29 Marek Polacek <polacek@redhat.com>
41009
41010 [BZ #13706]
41011 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41012 * elf/Makefile: Add rules to run tst-unused-dep.out.
41013
8847f037
DM
410142012-02-28 David S. Miller <davem@davemloft.net>
41015
41016 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41017 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41019 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41020 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41021 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41022
169d7f11
JM
410232012-02-29 Joseph Myers <joseph@codesourcery.com>
41024
41025 * math/libm-test.inc (llround_test): Move one test from
41026 lround_test. Use TEST_f_L in moved test.
41027 (lround_test): Move misplaced test to llround_test. Add testcase
41028 from bug 2561.
41029
39adf059
UD
410302012-02-28 Ulrich Drepper <drepper@gmail.com>
41031
41032 * sysdeps/x86_64/fpu/e_expf.S: New file.
41033 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41034
71b5d1c5
SB
410352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41036
41037 [BZ #13637]
41038 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41039 of remain_len that may cause incomplete multi-byte character and
41040 false match.
41041 * posix/bug-regex33.c: New file.
41042 * posix/Makefile (tests): Add bug-regex33.
41043
1f77f049
JM
410442012-02-28 Joseph Myers <joseph@codesourcery.com>
41045
41046 * manual/macros.texi: New file.
41047 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41048 * manual/libc.texinfo: Include macros.texi.
41049 * manual/creatute.texi: Likewise.
41050 * manual/install.texi: Likewise.
41051 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41052 @glibcadj{} in references to the GNU C Library.
41053 * manual/charset.texi: Likewise.
41054 * manual/conf.texi: Likewise.
41055 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41056 when not using those macros.
41057 * manual/creature.texi: Likewise.
41058 * manual/crypt.texi: Likewise.
41059 * manual/errno.texi: Likewise.
41060 * manual/filesys.texi: Likewise.
41061 * manual/header.texi: Likewise.
41062 * manual/install.texi: Likewise.
41063 * manual/intro.texi: Likewise.
41064 * manual/io.texi: Likewise.
41065 * manual/job.texi: Likewise.
41066 * manual/lang.texi: Likewise.
41067 * manual/libc.texiinfo: Likewise.
41068 * manual/llio.texi: Likewise.
41069 * manual/locale.texi: Likewise.
41070 * manual/maint.texi: Likewise.
41071 * manual/math.texi: Likewise.
41072 * manual/memory.texi: Likewise.
41073 * manual/message.texi: Likewise.
41074 * manual/nss.texi: Likewise.
41075 * manual/pattern.texi: Likewise.
41076 * manual/process.texi: Likewise.
41077 * manual/resource.texi: Likewise.
41078 * manual/search.texi: Likewise.
41079 * manual/setjmp.texi: Likewise.
41080 * manual/signal.texi: Likewise.
41081 * manual/socket.texi: Likewise.
41082 * manual/startup.texi: Likewise.
41083 * manual/stdio.texi: Likewise.
41084 * manual/string.texi: Likewise.
41085 * manual/sysinfo.texi: Likewise.
41086 * manual/syslog.texi: Likewise.
41087 * manual/terminal.texi: Likewise.
41088 * manual/time.texi: Likewise.
41089 * manual/users.texi: Likewise.
41090 * INSTALL: Regenerated.
41091 * NOTES: Regenerated.
d40c5d54 41092 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41093
450bf206
AS
410942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41095
41096 * include/dirent.h: Include <dirstream.h> before
41097 <dirent/dirent.h>.
41098
741a235b
DM
410992012-02-28 David S. Miller <davem@davemloft.net>
41100
41101 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41102 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41103 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41104 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41105
d6b5aa58
DM
411062012-02-27 David S. Miller <davem@davemloft.net>
41107
1aff59a3
DM
41108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41110 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41111 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41112
d6b5aa58
DM
41113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41114 frame pointer instead of stack pointer relative arg slot.
41115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41116 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41117 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41118
433f48bf
CD
411192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41120
41121 [BZ #3992]
41122 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41123
d674b76d
DM
411242012-02-27 David S. Miller <davem@davemloft.net>
41125
41126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41130 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41131 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41132 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41133 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41134
0e7727f7
JM
411352012-02-27 Joseph Myers <joseph@codesourcery.com>
41136
41137 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41138 later. Allow versions 5-9.
43be4ca2 41139 * configure: Regenerated.
0e7727f7
JM
41140 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41141 required minimum version and 4.6 as recommended version. Do not
41142 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41143 * INSTALL: Regenerated.
0e7727f7 41144
a78bc654
DM
411452012-02-27 David S. Miller <davem@davemloft.net>
41146
428d5830
DM
41147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41151 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41152 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41153 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41154 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41155
a78bc654
DM
41156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41157 manipulate bits before adding and subtracting TWO112[sx].
41158 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41159
4579f81c
RM
411602012-02-27 Roland McGrath <roland@hack.frob.com>
41161
36c8acb4
RM
41162 [BZ #13775]
41163 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41164 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41165 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41166 being in POSIX, because they are in 1003.1-2008.
41167
84ad622b
RM
41168 * rt/tst-aio.c: Include <fcntl.h>.
41169 * rt/tst-aio7.c: Likewise.
41170 * rt/tst-aio64.c: Likewise.
41171
4579f81c
RM
41172 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41173
abd923db
JM
411742012-02-27 Joseph Myers <joseph@codesourcery.com>
41175
41176 * manual/install.texi (--with-headers): Describe headers as
41177 interface headers, not private headers.
41178 (Specific advice for GNU/Linux systems): Describe use of headers
41179 from "make headers_install", not private headers from older
41180 kernels.
43be4ca2 41181 * INSTALL: Regenerated.
abd923db
JM
41182 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41183 Change to 2.6.19.
41184 * sysdeps/unix/sysv/linux/configure: Regenerated.
41185
6664049b
JM
41186 * manual/llio.texi (fclean): Remove documentation.
41187
bb8b6697
JM
41188 * manual/Makefile (libc-texi-generated): New variable. Include
41189 version.texi.
41190 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41191 $(libc-texi-generated), not duplicated list of files.
41192 (version.texi, stamp-version): New rules.
41193 (realclean): Remove $(libc-texi-generated), not individual files
41194 from that list. Do not remove dir-add.texinfo.
41195 * manual/libc.texinfo: Comment out uses of edition numbers and
41196 references to printed manual. Remove last-updated dates.
41197 (EDITION): Comment out.
41198 (ISBN): Likewise.
41199 (VERSION, UPDATED): Remove.
41200 (version.texi): Include.
41201
12e5c3b9
AS
412022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41203
41204 * sysdeps/posix/spawni.c: Include <signal.h>.
41205 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41206 * sysdeps/pthread/aio_fsync.c: Likewise.
41207
4efeffc1 412082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41209
ba63ba08
UD
41210 * conform/Makefile (tests): Run only when not cross-compiling and
41211 when fast-check is not defined.
41212
d94a4670
UD
41213 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41214 * conform/data/limits.h-data: Fixes for POSIX2008.
41215 * conform/run-conformtest.sh: Run all tests.
41216 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41217 headers.
41218 * include/bits/dlfcn.h: Likewise.
41219 * include/langinfo.h: Likewise.
41220 * include/monetary.h: Likewise.
41221 * include/sys/poll.h: Likewise.
41222
41223 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41224 for __USE_GNU.
41225 * posix/spawn.h: Define __need_sigset_t.
41226 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41227 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41228 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41229 to get sigevent_t only.
41230 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41231 only for __USE_GNU.
41232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41233 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41234 process_vm_writev only for __USE_GNU.
41235 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41236
41237 * conform/Makefile: For now ignore errors from run-conformtest.
41238 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41239 POSIX to avoid namespace pollution. Don't prepend headers.
41240 * conform/data/aio.h-data: Fixes for POSIX testing.
41241 * conform/data/fcntl.h-data: Likewise.
41242 * conform/data/glob.h-data: Likewise.
41243 * conform/data/grp.h-data: Likewise.
41244 * conform/data/pthread.h-data: Likewise.
41245 * conform/data/pwd.h-data: Likewise.
41246 * conform/data/signal.h-data: Likewise.
41247 * conform/data/spawn.h-data: Likewise.
41248 * conform/data/stdio.h-data: Likewise.
41249 * conform/data/stdlib.h-data: Likewise.
41250 * conform/data/stropts.h-data: Likewise.
41251 * conform/data/sys/mman.h-data: Likewise.
41252 * conform/data/sys/stat.h-data: Likewise.
41253 * conform/data/sys/types.h-data: Likewise.
41254 * conform/data/sys/wait.h-data: Likewise.
41255 * conform/data/time.h-data: Likewise.
41256 * conform/data/unistd.h-data: Likewise.
41257 * conform/data/utime.h-data: Likewise.
41258
41259 * io/sys/stat.h: fchmod was always in POSIX.
41260 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41261 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41262 * rt/aio.h: Define __need_timespec before including <time.h>.
41263 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41264 struct. Add forward declaration of pthread_attr_t and use it in
41265 sigevent.
41266 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41268 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41269 always remove CLK_TCK definition.
41270
c20105c3
AS
412712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41272
41273 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41274
7a270350
UD
412752012-02-25 Ulrich Drepper <drepper@gmail.com>
41276
31341567
UD
41277 * conform/run-conformtest.sh: New file.
41278 * conform/Makefile: Run run-conformtest for tests.
41279 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41280 support.
41281
41282 * conform/data/uchar.h-data: New file.
41283 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41284 * conform/data/arpa/inet.h-data: Likewise.
41285 * conform/data/assert.h-data: Likewise.
41286 * conform/data/complex.h-data: Likewise.
41287 * conform/data/cpio.h-data: Likewise.
41288 * conform/data/ctype.h-data: Likewise.
41289 * conform/data/dirent.h-data: Likewise.
41290 * conform/data/dlfcn.h-data: Likewise.
41291 * conform/data/errno.h-data: Likewise.
41292 * conform/data/fcntl.h-data: Likewise.
41293 * conform/data/float.h-data: Likewise.
41294 * conform/data/fmtmsg.h-data: Likewise.
41295 * conform/data/fnmatch.h-data: Likewise.
41296 * conform/data/ftw.h-data: Likewise.
41297 * conform/data/glob.h-data: Likewise.
41298 * conform/data/grp.h-data: Likewise.
41299 * conform/data/iconv.h-data: Likewise.
41300 * conform/data/inttypes.h-data: Likewise.
41301 * conform/data/langinfo.h-data: Likewise.
41302 * conform/data/libgen.h-data: Likewise.
41303 * conform/data/limits.h-data: Likewise.
41304 * conform/data/locale.h-data: Likewise.
41305 * conform/data/math.h-data: Likewise.
41306 * conform/data/monetary.h-data: Likewise.
41307 * conform/data/mqueue.h-data: Likewise.
41308 * conform/data/ndbm.h-data: Likewise.
41309 * conform/data/net/if.h-data: Likewise.
41310 * conform/data/netdb.h-data: Likewise.
41311 * conform/data/netinet/in.h-data: Likewise.
41312 * conform/data/nl_types.h-data: Likewise.
41313 * conform/data/poll.h-data: Likewise.
41314 * conform/data/pthread.h-data: Likewise.
41315 * conform/data/pwd.h-data: Likewise.
41316 * conform/data/regex.h-data: Likewise.
41317 * conform/data/sched.h-data: Likewise.
41318 * conform/data/search.h-data: Likewise.
41319 * conform/data/semaphore.h-data: Likewise.
41320 * conform/data/setjmp.h-data: Likewise.
41321 * conform/data/signal.h-data: Likewise.
41322 * conform/data/spawn.h-data: Likewise.
41323 * conform/data/stdarg.h-data: Likewise.
41324 * conform/data/stdio.h-data: Likewise.
41325 * conform/data/stdlib.h-data: Likewise.
41326 * conform/data/string.h-data: Likewise.
41327 * conform/data/strings.h-data: Likewise.
41328 * conform/data/stropts.h-data: Likewise.
41329 * conform/data/sys/ipc.h-data: Likewise.
41330 * conform/data/sys/mman.h-data: Likewise.
41331 * conform/data/sys/msg.h-data: Likewise.
41332 * conform/data/sys/resource.h-data: Likewise.
41333 * conform/data/sys/select.h-data: Likewise.
41334 * conform/data/sys/sem.h-data: Likewise.
41335 * conform/data/sys/shm.h-data: Likewise.
41336 * conform/data/sys/socket.h-data: Likewise.
41337 * conform/data/sys/stat.h-data: Likewise.
41338 * conform/data/sys/statvfs.h-data: Likewise.
41339 * conform/data/sys/time.h-data: Likewise.
41340 * conform/data/sys/timeb.h-data: Likewise.
41341 * conform/data/sys/times.h-data: Likewise.
41342 * conform/data/sys/types.h-data: Likewise.
41343 * conform/data/sys/uio.h-data: Likewise.
41344 * conform/data/sys/un.h-data: Likewise.
41345 * conform/data/sys/utsname.h-data: Likewise.
41346 * conform/data/sys/wait.h-data: Likewise.
41347 * conform/data/syslog.h-data: Likewise.
41348 * conform/data/tar.h-data: Likewise.
41349 * conform/data/termios.h-data: Likewise.
41350 * conform/data/utime.h-data: Likewise.
41351 * conform/data/utmpx.h-data: Likewise.
41352 * conform/data/varargs.h-data: Likewise.
41353 * conform/data/wchar.h-data: Likewise.
41354 * conform/data/wctype.h-data: Likewise.
41355 * conform/data/wordexp.h-data: Likewise.
41356
41357 * include/stropts.h: New file.
41358 * include/uchar.h: New file.
41359 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41360 * include/assert.h: Likewise.
41361 * include/ctype.h: Likewise.
41362 * include/dirent.h: Likewise.
41363 * include/dlfcn.h: Likewise.
41364 * include/fcntl.h: Likewise.
41365 * include/fnmatch.h: Likewise.
41366 * include/glob.h: Likewise.
41367 * include/grp.h: Likewise.
41368 * include/libio.h: Likewise.
41369 * include/locale.h: Likewise.
41370 * include/math.h: Likewise.
41371 * include/net/if.h: Likewise.
41372 * include/netdb.h: Likewise.
41373 * include/netinet/in.h: Likewise.
41374 * include/pthread.h: Likewise.
41375 * include/pwd.h: Likewise.
41376 * include/regex.h: Likewise.
41377 * include/sched.h: Likewise.
41378 * include/search.h: Likewise.
41379 * include/setjmp.h: Likewise.
41380 * include/signal.h: Likewise.
41381 * include/stdio.h: Likewise.
41382 * include/stdlib.h: Likewise.
41383 * include/string.h: Likewise.
41384 * include/sys/cdefs.h: Likewise.
41385 * include/sys/mman.h: Likewise.
41386 * include/sys/msg.h: Likewise.
41387 * include/sys/resource.h: Likewise.
41388 * include/sys/select.h: Likewise.
41389 * include/sys/socket.h: Likewise.
41390 * include/sys/stat.h: Likewise.
41391 * include/sys/statvfs.h: Likewise.
41392 * include/sys/time.h: Likewise.
41393 * include/sys/times.h: Likewise.
41394 * include/sys/uio.h: Likewise.
41395 * include/sys/utsname.h: Likewise.
41396 * include/sys/wait.h: Likewise.
41397 * include/termios.h: Likewise.
41398 * include/time.h: Likewise.
41399 * include/ulimit.h: Likewise.
41400 * include/unistd.h: Likewise.
41401 * include/utime.h: Likewise.
41402 * include/wchar.h: Likewise.
41403 * include/wctype.h: Likewise.
41404 * include/wordexp.h: Likewise.
41405
41406 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41407
7a270350
UD
41408 * time/time.h: TIME_UTC must be a macro.
41409 Make timespec_get available for ISO C11 only as well.
41410
7724defc
UD
414112012-02-24 Ulrich Drepper <drepper@gmail.com>
41412
41413 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41414 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41415
6b1d1d46
JM
414162012-02-24 Joseph Myers <joseph@codesourcery.com>
41417
41418 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41419
0f8bbd69
JM
414202012-02-24 Joseph Myers <joseph@codesourcery.com>
41421
41422 * manual/texinfo.tex: Update to version 2012-01-19.16.
41423
66ab80bc
JM
414242012-02-24 Joseph Myers <joseph@codesourcery.com>
41425
41426 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41427
74981cc5
RM
414282012-02-24 Roland McGrath <roland@hack.frob.com>
41429
ee968201
RM
41430 [BZ #13738]
41431 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41432 * manual/fdl-1.3.texi: New file.
41433 * manual/fdl-1.1.texi: File removed.
41434
74981cc5
RM
41435 [BZ #13738]
41436 * manual/libc.texinfo (FDL_VERSION): New @set.
41437 Use it for mention of FDL in cover text.
41438 (Documentation License): Use it in @include file name.
41439
7bb764bc
JM
414402012-02-22 Joseph Myers <joseph@codesourcery.com>
41441 Roland McGrath <roland@hack.frob.com>
41442
41443 [BZ #5461]
57f41c40
AS
41444 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41445 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41446 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41447 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41448 name.
41449 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41450
6cbeae47
JM
414512012-02-22 Joseph Myers <joseph@codesourcery.com>
41452
41453 [BZ #2547]
41454 [BZ #11365]
41455 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41456 manipulate bits before adding and subtracting TWO23[sx].
41457 * math/libm-test.inc (nearbyint_test): Add more tests.
41458
fe45ce09
JM
414592012-02-22 Joseph Myers <joseph@codesourcery.com>
41460
41461 [BZ #2548]
41462 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41463 bits before adding and subtracting TWO23[sx].
41464 * math/libm-test.inc (rint_test): Add more tests.
41465 (rint_test_tonearest): Likewise.
41466 (rint_test_towardzero): Likewise.
41467 (rint_test_downward): Likewise.
41468 (rint_test_upward: Likewise.
41469
ff3b3d82
JM
414702012-02-22 Joseph Myers <joseph@codesourcery.com>
41471
41472 [BZ #10110]
41473 * include/stdc-predef.h: New file. Extracted from features.h.
41474 * include/features.h: Include stdc-predef.h.
41475 * Makefile (headers): Add stdc-predef.h.
41476 * CONFORMANCE (Compiler limitations): Update.
41477
ef0aab35
JM
414782012-02-22 Joseph Myers <joseph@codesourcery.com>
41479
41480 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41481
58639409
DM
414822012-02-21 David S. Miller <davem@davemloft.net>
41483
41484 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41485 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41486
c0e70b25
DM
414872012-02-20 David S. Miller <davem@davemloft.net>
41488
41489 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41490 using a normal save/restore sequence, rather than allocating a
41491 dummy stack frame just to store a frame pointer and restore.
41492 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41493
fb06851d
JM
414942012-02-21 Joseph Myers <joseph@codesourcery.com>
41495
41496 * manual/install.texi: Fix stray word in line-wrapped comment.
41497
7a8b71c3
DM
414982012-02-20 David S. Miller <davem@davemloft.net>
41499
d510c123
DM
41500 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41501 both binutils and gcc support GOTDATA.
41502
0722d7c2
DM
41503 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41504 "rd %pc" in the PIC register setup sequences.
41505
3d2b3019
DM
41506 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41507 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41508 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41509 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41510 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41513 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41515 (SYSCALL_ERROR_HANDLER): Likewise.
41516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41517 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41519 (SYSCALL_ERROR_HANDLER): Likewise.
41520
c80098a9
DM
41521 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41522 (HAVE_GCC_GOTDATA): New.
41523 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41524 relocation support in both binutils and gcc.
41525 * sysdeps/sparc/elf/configure: Regenerate.
41526
3a2545a0
DM
41527 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41528 * sysdeps/sparc/sparc32/elf/configure: Delete.
41529 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41530 * sysdeps/sparc/sparc64/elf/configure: Delete.
41531 * sysdeps/sparc/elf/configure.in: New file.
41532 * sysdeps/sparc/elf/configure: Generate.
41533
7a8b71c3
DM
41534 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41535 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41536 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41537 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41538 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41539
f1e86fca
JM
415402012-02-21 Joseph Myers <joseph@codesourcery.com>
41541
41542 * manual/install.texi: Do not mention specific glibc version
41543 numbers.
41544 * manual/libc.texinfo (VERSION, UPDATED): Update.
41545 (@copying): Use @copyright{} and range of years.
41546
0e7dfaef
JM
415472012-02-21 Joseph Myers <joseph@codesourcery.com>
41548
41549 [BZ #13695]
41550 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41551 [crti.S not in sysdirs] (generated): Do not append.
41552 [crti.S not in sysdirs] (omit-deps): Likewise.
41553 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41554 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41555 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41556 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41557 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41558 Likewise.
41559 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41560 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41561 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41562 * csu/defs.awk: Remove file.
41563 * sysdeps/generic/initfini.c: Likewise.
41564 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41565 variable.
41566 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41567 Likewise.
41568
599af3ca
JM
415692012-02-20 Joseph Myers <joseph@codesourcery.com>
41570
41571 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41572 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41573 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41574 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41576 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41577 <bits/epoll.h>.
41578 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41579 (__EPOLL_PACKED): Define to empty if not defined by
41580 <bits/epoll.h>.
41581 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41583 bits/epoll.h.
41584
0e499750
JM
415852012-02-20 Joseph Myers <joseph@codesourcery.com>
41586
41587 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41588 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41589 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41590 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41591 <bits/timerfd.h>.
41592 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41594 bits/timerfd.h.
41595
5ad91f6e
JM
415962012-02-20 Joseph Myers <joseph@codesourcery.com>
41597
41598 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41599 in C locale.
41600 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41601 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41604
06b99b02
AJ
416052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41606
41607 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41609
7638c0fd
AS
416102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41611
41612 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41613 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41614 defined.
41615 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41616 Likewise.
41617 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41618 entry for 2.16.
41619
92221550
AJ
416202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41621
41622 * math/w_acos.c: Use non-signaling floating-point comparisons.
41623 * math/w_acosf.c: Likewise.
41624 * math/w_acosh.c: Likewise.
41625 * math/w_acoshf.c: Likewise.
41626 * math/w_acoshl.c: Likewise.
41627 * math/w_acosl.c: Likewise.
41628 * math/w_asin.c: Likewise.
41629 * math/w_asinf.c: Likewise.
41630 * math/w_asinl.c: Likewise.
41631 * math/w_atanh.c: Likewise.
41632 * math/w_atanhf.c: Likewise.
41633 * math/w_atanhl.c: Likewise.
41634 * math/w_exp2.c: Likewise.
41635 * math/w_exp2f.c: Likewise.
41636 * math/w_exp2l.c: Likewise.
41637 * math/w_j0.c: Likewise.
41638 * math/w_j0f.c: Likewise.
41639 * math/w_j0l.c: Likewise.
41640 * math/w_j1.c: Likewise.
41641 * math/w_j1f.c: Likewise.
41642 * math/w_j1l.c: Likewise.
41643 * math/w_jn.c: Likewise.
41644 * math/w_jnf.c: Likewise.
41645 * math/w_log.c: Likewise.
41646 * math/w_log10.c: Likewise.
41647 * math/w_log10f.c: Likewise.
41648 * math/w_log10l.c: Likewise.
41649 * math/w_log2.c: Likewise.
41650 * math/w_log2f.c: Likewise.
41651 * math/w_log2l.c: Likewise.
41652 * math/w_logf.c: Likewise.
41653 * math/w_logl.c: Likewise.
41654 * math/w_sqrt.c: Likewise.
41655 * math/w_sqrtf.c: Likewise.
41656 * math/w_sqrtl.c: Likewise.
41657 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41658 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41660 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41661 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41662
ebaf36eb
JM
416632012-02-19 Joseph Myers <joseph@codesourcery.com>
41664
41665 [BZ #9739]
41666 * manual/string.texi (strnlen): Use correct parameter name in
41667 equivalent expression.
41668
71c254a6
JM
416692012-02-19 Joseph Myers <joseph@codesourcery.com>
41670
41671 [BZ #11174]
41672 * manual/users.texi (seteuid): Consistently use neweuid for
41673 argument name.
41674
16d2c631
JM
416752012-02-19 Joseph Myers <joseph@codesourcery.com>
41676
41677 [BZ #13704]
41678 * manual/nss.texi (Services in the NSS configuration): Correct
41679 list of services in example configuration file.
41680
cd837b09
NB
416812012-02-19 Nick Bowler <nbowler@draconx.ca>
41682
41683 [BZ #11322]
41684 * manual/arith.texi: Remove statements about negative zero
41685 behaving identically to zero.
41686
02c4bbad
JM
416872012-02-18 Joseph Myers <joseph@codesourcery.com>
41688
41689 [BZ #5993]
41690 * manual/install.texi: Do not document upgrading from libc5.
41691
366842e7
JM
416922012-02-18 Joseph Myers <joseph@codesourcery.com>
41693
41694 [BZ #4596]
41695 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41696
dd54084d
DM
416972012-02-18 David S. Miller <davem@davemloft.net>
41698
41699 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41700 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41701 %o7 across the call.
41702 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41703 instead.
41704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41705 SETUP_PIC_REG_LEAF.
41706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41707 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41708 * sysdeps/sparc/crtn.S: Likewise.
41709
2bcc53a3
UD
417102012-02-17 Ulrich Drepper <drepper@gmail.com>
41711
41712 * aout/Makefile: Remove.
41713
09c093b5
RK
417142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41715
41716 [BZ #13058]
41717 * manual/examples/argp-ex1.c (main): Format definition in GNU
41718 style.
41719 * manual/examples/argp-ex2.c (main): Likewise.
41720 * manual/examples/argp-ex3.c (main): Likewise.
41721 * manual/examples/argp-ex4.c (main): Likewise.
41722 * manual/examples/longopt.c (main): Use new-style prototype
41723 definition.
41724 * manual/examples/strncat.c (main): Specify return type and use
41725 (void) for arguments.
41726 * manual/examples/subopt.c (main): Use char **argv argument.
41727
2ee633a2
JM
417282012-02-17 Joseph Myers <joseph@codesourcery.com>
41729
41730 [BZ #5077]
41731 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41732 rounding modes.
41733
0520adde
FB
417342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41735
41736 [BZ #6907]
41737 * manual/string.texi (strchr): Change when strchrnul is
41738 recommended.
41739
3f4081cd
DGM
417402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41741
41742 [BZ #174]
41743 * manual/locale.texi (setlocale): Document LOCPATH.
41744
d1b10e78
JM
417452012-02-17 Joseph Myers <joseph@codesourcery.com>
41746
41747 [BZ #10210]
41748 * manual/process.texi (execle): Move @dots{} before last argument.
41749
79c6869c
PB
417502012-02-17 Paul Bolle <pebolle@tiscali.nl>
41751
41752 [BZ #12047]
41753 * manual/charset.texi (Generic Charset Conversion): Fix typo
41754 (LC_TYPE -> LC_CTYPE).
41755
cc6e48bc
NB
417562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41757
41758 [BZ #5805]
41759 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41760 (scalbnf): Likewise.
41761 (scalbnl): Likewise.
41762 (scalbln): Likewise.
41763 (scalblnf): Likewise.
41764 (scalblnl): Likewise.
41765 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41766 (vwarnx): Likewise.
41767 (verr): Likewise.
41768 (verrx): Likewise.
41769 * manual/filesys.texi (telldir): Use braces around return type.
41770 * manual/llio.texi (mmap): Add space after comma.
41771 (mmap64): Likewise.
41772 * manual/math.texi (jn): Use @var{} on parameter names.
41773 (jnf): Likewise.
41774 (jnl): Likewise.
41775 (yn): Likewise.
41776 (ynf): Likewise.
41777 (ynl): Likewise.
41778 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41779 line.
41780 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41781 "...".
41782 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41783 (sched_get_priority_max): Likewise.
41784 * manual/signal.texi (sigvec): Add space after comma.
41785 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41786 names.
41787 (if_indextoname): Likewise.
41788 (if_freenameindex): Likewise.
41789 (sendto): Use ',' instead of '.' in prototype.
41790 * manual/startup.texi (syscall): Use @dots{} instead of literal
41791 "...".
41792 * manual/stdio.texi (__fpending): Separate initial words of
41793 paragraph from @deftypefun line.
41794 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41795 "...".
41796 (vsyslog): Use @var{} on parameter names.
41797 * manual/terminal.texi (stty): Use @var{} on parameter names.
41798 * manual/users.texi (getutmp): Use @var{} on parameter names.
41799 (getutmpx): Likewise.
41800
5b23062f
JM
418012012-02-17 Joseph Myers <joseph@codesourcery.com>
41802
41803 [BZ #6884]
41804 * manual/stdio.texi (fopen): Fix typos in description of
41805 ",ccs=STRING".
41806
8dee4833
AJ
418072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41808
41809 [BZ #4026]
41810 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41811 get clock_id definition.
41812
9078ce93
TS
418132012-02-17 Thomas Schwinge <thomas@schwinge.name>
41814
41815 [BZ #4822]
41816 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41817 (madvise): Cast every argument to void on its own.
41818
3835c55f
JM
418192012-02-17 Joseph Myers <joseph@codesourcery.com>
41820
41821 [BZ #9902]
41822 * manual/startup.texi (Exit Status): Fix typo.
41823
35c47e37
JM
418242012-02-17 Joseph Myers <joseph@codesourcery.com>
41825
41826 [BZ #10140]
41827 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41828 * manual/examples/argp-ex2.c: Likewise.
41829 * manual/examples/argp-ex3.c: Likewise.
41830
e3b69ca7
RH
418312012-02-16 Richard Henderson <rth@redhat.com>
41832
41833 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41834 * sysdeps/s390/s390-32/initfini.c: Remove.
41835 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41836 * sysdeps/s390/s390-64/initfini.c: Remove.
41837
df83af67
KK
418382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41839
41840 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41841 compiler output for sysdeps/generic/initfini.c.
41842 * sysdeps/sh/elf/initfini.c: Remove file.
41843
f63f3380
DM
418442012-02-16 David S. Miller <davem@davemloft.net>
41845
fb59b3a4
DM
41846 [BZ #11494]
41847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41848
f63f3380
DM
41849 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41850 * sysdeps/sparc/crti.S: New file.
41851 * sysdeps/sparc/crtn.S: New file.
41852 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41853 * sysdeps/sparc/sparc64/Makefile: Likewise.
41854
df6a4a4a
MF
418552012-02-15 Mike Frysinger <vapier@gentoo.org>
41856
6dd8f3dc 41857 [BZ #3335]
df6a4a4a
MF
41858 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41859
1cac7236
RM
418602012-02-15 Roland McGrath <roland@hack.frob.com>
41861
d2c736f8
RM
41862 [BZ #4822]
41863 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41864
1cac7236
RM
41865 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41866 (write, read, close): Likewise.
41867 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41868
8e475601
JM
418692012-02-15 Joseph Myers <joseph@codesourcery.com>
41870
41871 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41872 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41873 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41874 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41875 <bits/signalfd.h>.
41876 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41878 bits/signalfd.h.
41879
ed656b40
MP
418802012-02-14 Marek Polacek <polacek@redhat.com>
41881
41882 * sysdeps/x86_64/crti.S: New file.
41883 * sysdeps/x86_64/crtn.S: New file.
41884 * sysdeps/x86_64/elf/initfini.c: Remove file.
41885
2a979d3a
JM
418862012-02-13 Joseph Myers <joseph@codesourcery.com>
41887
41888 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41889 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41890 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41891 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41892 <bits/inotify.h>.
41893 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41895 bits/inotify.h.
41896
2a418ac3
JM
418972012-02-13 Joseph Myers <joseph@codesourcery.com>
41898
41899 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41900 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41901 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41902 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41903 <bits/eventfd.h>.
41904 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41906 bits/eventfd.h.
41907
fb779be7
TS
419082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41909
e19e83c5
RM
41910 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41911 __feraiseexcept instead of feraiseexcept.
7c35ffed 41912
fb779be7
TS
41913 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41914 nanosleep invocations.
41915 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41916 strings, and add error checking for a nanosleep invocations.
41917
59ba27a6
PE
419182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41919
41920 Replace FSF snail mail address with URLs, as per GNU coding standards.
41921 Most of the snail mail addresses were wrong anyway, and omitting
41922 them makes the source code easier to maintain. Almost all of the
41923 changes are to license notices and to locale LC_IDENTIFICATION
41924 addresses, except for this one:
41925 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41926 not its snail mail address.
41927
57b957eb
RH
419282012-02-09 Richard Henderson <rth@twiddle.net>
41929
af850b1c
RH
41930 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41931 of kernel-features.h.
41932
57b957eb
RH
41933 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41934
6b73181a
MP
419352012-02-08 Marek Polacek <polacek@redhat.com>
41936
41937 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41938 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41939 * sysdeps/gnu/_G_config.h: Likewise.
41940 * sysdeps/generic/_G_config.h: Likewise.
41941
26ecc33a
AS
419422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41943
6c6dbc63
AS
41944 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41945 tests.
41946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41947
e216c012
AS
41948 * sysdeps/powerpc/powerpc32/crti.S: New file.
41949 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41950 * sysdeps/powerpc/powerpc64/crti.S: New file.
41951 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41952
26ecc33a
AS
41953 * Makeconfig (have-initfini): Don't set.
41954 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41955 * configure.in (nopic_initfini): Don't substitute.
41956 * config.h.in (HAVE_INITFINI): Don't #undef.
41957 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41958 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41959
3add8e13
JM
419602012-02-08 Joseph Myers <joseph@codesourcery.com>
41961
41962 Support crti.S and crtn.S provided directly by architectures.
41963 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41964 [crti.S in sysdirs] (omit-deps): Likewise.
41965 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41966 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41967 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41968 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41969 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41970 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41971 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41972 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41973 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41974 compiler output for sysdeps/generic/initfini.c.
41975 * sysdeps/i386/elf/Makefile: Remove file.
41976 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41977
a22f12b4
MP
419782012-02-07 Marek Polacek <polacek@redhat.com>
41979
41980 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41981 * sysdeps/gnu/_G_config.h: Likewise.
41982 * sysdeps/mach/hurd/_G_config.h: Likewise.
41983
148cf100
MP
419842012-02-07 Marek Polacek <polacek@redhat.com>
41985
41986 * math/Makefile (tests): Add tst-CMPLX2.
41987 * math/tst-CMPLX2.c: New file.
41988
cfdc0dd7
AS
419892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41990
84ba42c4
AS
41991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41992
cfdc0dd7
AS
41993 * math/libm-test.inc (jn_test): Add missing L suffix.
41994
622c86f4
MP
419952012-02-06 Marek Polacek <polacek@redhat.com>
41996
41997 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41998 * sysdeps/i386/fpu/e_powf.S: Likewise.
41999 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42000 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42001 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42002 * sysdeps/i386/fpu/e_pow.S: Likewise.
42003 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42004 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42005 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42006 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42007 * sysdeps/i386/fpu/e_log2.S: Likewise.
42008 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42009 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42010 * sysdeps/i386/fpu/e_powl.S: Likewise.
42011 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42012 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42013 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42014 * sysdeps/i386/fpu/e_logl.S: Likewise.
42015 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42016 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42017 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42018 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42019 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42020 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42021 * sysdeps/i386/fpu/e_log.S: Likewise.
42022 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42023 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42024 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42025 * sysdeps/i386/fpu/e_logf.S: Likewise.
42026 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42027 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42028 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42029 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42030 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42031 * sysdeps/i386/fpu/e_log10.S: Likewise.
42032 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42033 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42034 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42035 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42036 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42037 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42038 * sysdeps/i386/asm-syntax.h: Likewise.
42039 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42040 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42041 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42042 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42043 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42044 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42045 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42046 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42047 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42048 * sysdeps/powerpc/sysdep.h: Likewise.
42049 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42050 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42051
d4a54ac6
JM
420522012-02-06 Joseph Myers <joseph@codesourcery.com>
42053
42054 [BZ #411]
42055 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42056
314054ea
JM
420572012-02-06 Joseph Myers <joseph@codesourcery.com>
42058
42059 * sysdeps/i386/sysdep.h: Include <features.h>.
42060 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42061 version.
42062
d8e0ca50
JM
420632012-02-05 Joseph Myers <joseph@codesourcery.com>
42064
42065 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42066 Define.
42067 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42068 LOAD_PIC_REG_STR.
42069
b1da7dd9
JM
420702012-02-03 Joseph Myers <joseph@codesourcery.com>
42071
42072 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42073 (SETUP_PIC_REG): Use GET_PC_THUNK.
42074 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42075 macro.
42076
9a1d9254
JM
420772012-02-03 Joseph Myers <joseph@codesourcery.com>
42078
42079 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42080 for non-PIC compilation.
42081 (SETUP_PIC_REG): Add .p2align directive.
42082 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42083 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42084 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42085 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42086 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42087 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42088 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42089 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42090 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42091 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42092 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42093 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42094 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42095 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42096 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42097 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42098 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42099 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42100 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42101 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42104 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42105 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42106 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42108 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42110 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42111 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42112 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42113 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42114 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42115 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42116 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42117 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42118 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42119 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42120 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42121 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42122 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42123
65dc3b75
JM
421242012-02-03 Joseph Myers <joseph@codesourcery.com>
42125
42126 * math/tst-CMPLX.c: Include <stdio.h>.
42127
d55bf177
JM
421282012-01-31 Joseph Myers <joseph@codesourcery.com>
42129
42130 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42131 float.
42132 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42133 * sysdeps/sparc/bits/mathdef.h: Likewise.
42134
69db4f8f
MP
421352012-01-31 Marek Polacek <polacek@redhat.com>
42136
42137 * libio/libio.h: Don't define _PARAMS.
42138 * locale/programs/config.h: Don't define PARAMS.
42139 * stdlib/strtol_l.c: Likewise.
42140 (__strtol_l): Remove PARAMS from the prototype.
42141
41b81892
UD
421422012-01-31 Ulrich Drepper <drepper@gmail.com>
42143
3b49edc0
UD
42144 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42145 names. Just use the correct names. Remove unnecessary wrapper
42146 functions.
42147 * malloc/arena.c: Likewise.
42148 * malloc/hooks.c: Likewise.
42149
41b81892
UD
42150 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42151 ARENA_TEST says not to. Simplify test for creation of a new arena.
42152 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42153
27a25b6e
UD
421542012-01-30 Ulrich Drepper <drepper@gmail.com>
42155
42156 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42157 into tail calls.
42158 (update_get_addr): New function.
42159 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42160 GET_ADDR_MODULE parameter.
42161
c8a89e7d
JM
421622012-01-30 Joseph Myers <joseph@codesourcery.com>
42163
42164 * crypt/cert.c: Remove __STDC__ conditionals.
42165 * crypt/crypt-entry.c: Likewise.
42166 * crypt/crypt_util.c: Likewise.
42167 * libio/filedoalloc.c: Likewise.
42168 * libio/fileops.c: Likewise.
42169 * libio/genops.c: Likewise.
42170 * libio/iofclose.c: Likewise.
42171 * libio/iofdopen.c: Likewise.
42172 * libio/iofopen.c: Likewise.
42173 * libio/iofopen64.c: Likewise.
42174 * libio/iogetdelim.c: Likewise.
42175 * libio/iopopen.c: Likewise.
42176 * libio/obprintf.c: Likewise.
42177 * libio/oldfileops.c: Likewise.
42178 * libio/oldiofclose.c: Likewise.
42179 * libio/oldiofdopen.c: Likewise.
42180 * libio/oldiofopen.c: Likewise.
42181 * libio/oldiopopen.c: Likewise.
42182 * libio/wfiledoalloc.c: Likewise.
42183 * libio/wgenops.c: Likewise.
42184 * locale/programs/xmalloc.c: Likewise.
42185 * misc/syslog.c: Likewise.
42186 * stdio-common/xbug.c: Likewise.
42187 * string/memchr.c: Likewise.
42188 * string/memcmp.c: Likewise.
42189 * string/memrchr.c: Likewise.
42190 * string/rawmemchr.c: Likewise.
42191 * sysdeps/posix/getcwd.c: Likewise.
42192 * time/strftime_l.c: Likewise.
42193
3b100462
JM
421942012-01-30 Joseph Myers <joseph@codesourcery.com>
42195
42196 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42197 * config.make.in (config-cflags-sse2avx): Define.
42198 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42199 Fix typo.
42200
607998af
CM
422012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42202
42203 * scripts/config.guess: Update from upstream config git repository.
42204 * scripts/config.sub: Likewise.
42205
3601428f
CM
422062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42207
3ac8b282
CM
42208 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42209 (EM_NUM): Update.
42210 (R_TILEPRO_*, R_TILEGX_*): New macros.
42211
e034841e
CM
42212 * scripts/firstversions.awk: Fix bug in version range handling.
42213
540d7568
CM
42214 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42215
3601428f
CM
42216 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42217
463de862
CM
42218 * include/sys/epoll.h: New file.
42219 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42220 libc_hidden_def.
42221
73139a76
UD
422222012-01-28 Ulrich Drepper <drepper@gmail.com>
42223
96bc5b45
UD
42224 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42225 Avoid unnecessary __WORDSIZE == 64 test.
42226 (fmaxf): Use VEX format if possible.
42227 (fmax): Likewise.
42228 (fminf): Likewise.
42229 (fmin): Likewise.
42230
56f6f6a2
UD
42231 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42232 * math/math_private.h: Remove libc_fegetround* and
42233 libc_fesetround*.
42234 * sysdeps/i386/configure.in: Check for -msse2avx.
42235 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42236 also if SSE2AVX is defined.
42237 Remove libc_fegetround* and libc_fesetround*.
42238 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42239 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42240 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42241 of HAS_YMM_USABLE.
42242 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42243 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42244 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42245 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42246 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42247
73139a76
UD
42248 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42249
d73f93a4
AZ
422502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42251
42252 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42253 size is not set.
42254 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42255
6ee65ed6
UD
422562012-01-27 Ulrich Drepper <drepper@gmail.com>
42257
42258 [BZ #13618]
42259 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42260 relocation.
42261 * Makeconfig (libm): Define.
42262 * elf/Makefile: Add rules to build and run tst-relsort1.
42263 * elf/tst-relsort1.c: New file.
42264 * elf/tst-relsort1mod1.c: New file.
42265 * elf/tst-relsort1mod2.c: New file.
42266
8db21882
JM
422672012-01-27 Joseph Myers <joseph@codesourcery.com>
42268
42269 * math/s_ldexp.c: Remove __STDC__ conditionals.
42270 * math/s_ldexpf.c: Likewise.
42271 * math/s_ldexpl.c: Likewise.
42272 * math/s_nextafter.c: Likewise.
42273 * math/s_nexttowardf.c: Likewise.
42274 * math/s_significand.c: Likewise.
42275 * math/s_significandf.c: Likewise.
42276 * math/s_significandl.c: Likewise.
42277 * math/w_jnl.c: Likewise.
42278 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42279 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42280 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42281 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42282 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42292 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42293 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42297 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42298 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42299 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42300 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42301 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42302 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42303 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42304 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42305 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42306 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42307 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42308 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42309 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42310 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42311 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42312 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42314 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42315 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42316 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42317 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42318 * sysdeps/ieee754/k_standard.c: Likewise.
42319 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42320 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42321 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42322 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42323 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42324 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42325 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42326 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42327 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42380 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42385 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42393 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42394 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42398 * sysdeps/ieee754/s_matherr.c: Likewise.
42399 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42400 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42403
965a54a4
JM
424042012-01-26 Joseph Myers <joseph@codesourcery.com>
42405
42406 * crypt/md5.h: Remove __STDC__ conditionals.
42407 * libio/libioP.h: Likewise.
42408 * locale/programs/config.h: Likewise.
42409 * sysdeps/generic/sysdep.h: Likewise.
42410 * sysdeps/i386/asm-syntax.h: Likewise.
42411 * sysdeps/s390/asm-syntax.h: Likewise.
42412 * sysdeps/unix/sysdep.h: Likewise.
42413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42415
7071ad79
JM
424162012-01-26 Joseph Myers <joseph@codesourcery.com>
42417
42418 * libio/libio.h: Remove __STDC__ conditionals.
42419 * malloc/obstack.h: Likewise.
42420 * math/complex.h: Likewise.
42421 * math/math.h: Likewise.
42422 * sysdeps/generic/_G_config.h: Likewise.
42423 * sysdeps/gnu/_G_config.h: Likewise.
42424 * sysdeps/mach/hurd/_G_config.h: Likewise.
42425 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42426 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42427 * sysdeps/sparc/bits/mathdef.h: Likewise.
42428
afc5ed09
UD
424292012-01-26 Ulrich Drepper <drepper@gmail.com>
42430
42431 [BZ #13583]
42432 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42433 Clean up HAS_* macros.
afc5ed09 42434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42435 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42436 possible.
42437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42438 HAS_AVX.
42439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42444
bdb6de1d
JM
424452012-01-25 Joseph Myers <joseph@codesourcery.com>
42446
42447 * elf/tst-unique3.cc (gets): Remove declaration.
42448 * elf/tst-unique3lib.cc (gets): Likewise.
42449 * elf/tst-unique3lib2.cc (gets): Likewise.
42450 * elf/tst-unique4.cc (gets): Likewise.
42451
b15549e6
UD
424522012-01-24 Ulrich Drepper <drepper@gmail.com>
42453
42454 * include/stdio.h: Add C++ protection. Add gets declarations and
42455 definitions.
42456 * debug/tst-chk1.c: Don't declare gets here.
42457 * stdio-common/tst-gets.c: Likewise.
42458
a037381f
JM
424592012-01-24 Joseph Myers <joseph@codesourcery.com>
42460
42461 * posix/glob: Remove directory.
42462
f1d4aa75
JM
424632012-01-24 Joseph Myers <joseph@codesourcery.com>
42464
42465 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42466
81c0c964
PT
424672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42468
42469 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42470 of the non-standard EPFNOSUPPORT.
42471
0ea698ae
ST
424722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42473
42474 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42475 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42476 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42477
d220b117
UD
424782012-01-21 Ulrich Drepper <drepper@gmail.com>
42479
42480 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42481
3e1aa84e
UD
424822012-01-20 Ulrich Drepper <drepper@gmail.com>
42483
42484 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42485 transient errors.
42486 * nscd/grpcache.c (cache_addgr): Likewise.
42487 * nscd/hstcache.c (cache_addhst): Likewise.
42488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42489 * nscd/pwdcache.c (cache_addpw): Likewise.
42490 * nscd/servicescache.c (cache_addserv): Likewise.
42491
400aa020
UD
424922012-01-16 Ulrich Drepper <drepper@gmail.com>
42493
d77e7869
UD
42494 * malloc/malloc.c: Various cleanups.
42495 * malloc/hooks.c: Likewise.
42496
400aa020
UD
42497 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42498 * stdlib/bug-fmtmsg1.c: New file.
42499
42500 * stdlib/fmtmsg.c (init): Add missing unlock.
42501 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42502
e0a309cf
MP
425032012-01-12 Marek Polacek <polacek@redhat.com>
42504
42505 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42506 and _GNU_SOURCE.
42507
929d11c7
WS
425082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42509
42510 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42512 macro to ensure uniqueness of label name.
42513 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42514 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42515
41d0e869
UD
425162012-01-11 Ulrich Drepper <drepper@gmail.com>
42517
0cc5ed3b
UD
42518 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42519
41d0e869
UD
42520 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42521 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42522 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42524
a47a831a
UD
425252012-01-10 Ulrich Drepper <drepper@gmail.com>
42526
daa891c0
UD
42527 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42528
42529 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42530 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42531 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42532
e58ef0f2
UD
42533 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42534
a47a831a 42535 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42536 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42537 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42539
42540 * math/bits/math-finite.h: Add ldexp support.
42541
a0bfc9c7
MP
425422012-01-10 Marek Polacek <polacek@redhat.com>
42543
42544 * locale/programs/localedef.h (show_archive_content): Add noreturn
42545 attribute.
42546
d6e97a1d
UD
425472012-01-09 Ulrich Drepper <drepper@gmail.com>
42548
42549 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42550
d5835c26
UD
425512012-01-08 Ulrich Drepper <drepper@gmail.com>
42552
e5f484c6
UD
42553 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42554
d5835c26
UD
42555 * io/Makefile (headers): Add bits/poll2.h.
42556
d1f741e9
WS
425572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42558
42559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42560 typo #include statement.
42561
ec09c1c4
UD
425622012-01-08 Ulrich Drepper <drepper@gmail.com>
42563
42564 * include/sys/cdefs.h: Define __attribute_alloc_size.
42565 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42566 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42567 * elf/pldd.c: Likewise.
42568 * iconv/iconv_charmap.c: Likewise.
42569 * iconv/iconvconfig.c: Likewise.
42570 * iconv/strtab.c: Likewise.
42571 * locale/programs/locale.c: Likewise.
42572 * locale/programs/localedef.h: Likewise.
42573 * locale/programs/simple-hash.c: Likewise.
42574 * nscd/nscd.h: Likewise.
42575 * nss/makedb.c: Likewise.
42576 * sysdeps/generic/ldconfig.h: Likewise.
42577 * locale/programs/localedef.c: Remove xmalloc prototype.
42578 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42579
20b38e03
PP
425802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42581
42582 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42583 appropriate.
42584
a0da5fe1
UD
425852012-01-08 Ulrich Drepper <drepper@gmail.com>
42586
1d5a644a 42587 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42588 * math/tst-CMPLX.c: New file.
1d5a644a 42589
8784a6db
UD
42590 * math/complex.h (CMPLXL): Fix typo.
42591
d9a216c0
UD
42592 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42593 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42594 GLIBC_2.16.
42595 * debug/tst-chk1.c: Add poll and ppoll tests.
42596 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42597 * include/sys/poll.h: Add hidden proto for ppoll.
42598 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42599 * sysdeps/mach/hurd/ppoll.c: Likewise.
42600 * io/ppoll.c: Likewise.
42601 * debug/poll_chk.c: New file.
42602 * debug/ppoll_chk.c: New file.
42603 * include/bits/poll2.h: New file.
42604 * io/bits/poll2.h: New file.
42605
ac097f5c
UD
42606 [BZ #1350]
42607 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42608
2119dcfa
UD
42609 * configure.in: static is always set to yes. Remove.
42610 * config.make.in: Don't set build-static.
42611 * Makeconfig: Remove use of build-static.
42612 * dlfcn/Makefile: Likewise.
42613 * elf/Makefile: Likewise.
42614 * math/Makefile: Likewise.
42615 * misc/Makefile: Likewise.
42616 * nptl/Makefile: Likewise.
42617 * sysdeps/mach/hurd/Makefile: Likewise.
42618
121766a9
UD
42619 * configure.in: PWD_P is not used anymore.
42620 * config.make.in: Remove PWD_P entry.
42621
51a1d39c 42622 * configure.in: Remove last remnants of RANLIB.
8720d066 42623 No need to check for signed size_t anymore.
215f4bdc
UD
42624 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42625 and IA-64.
3857022a 42626 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42627 * aclocal.m4: Likewise.
42628
d3ed7225
UD
42629 * wcsmbs/mbrtoc16.c: Implement using towc function.
42630 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42631 * wcsmbs/wcsmbsload.c: Likewise.
42632 * iconv/gconv_simple.c: Likewise.
42633 * iconv/gconv_int.h: Likewise.
42634 * iconv/gconv_builtin.h: Likewise.
42635 * iconv/iconv_prog.c: Remove CHAR16 handling.
42636
42637 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42638
42639 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42640
a0da5fe1
UD
42641 * configure.in: Remove --with-elf and --enable-bounded options.
42642 Dont set base_machine for ia64. More non-ELF conditions removed.
42643 Remove testing and setting of leading underscore information.
42644 * config.make.in (build-bounded): Set to no.
42645 * config.h.in: Remove NO_UNDERSCORES entry.
42646 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42647 them.
42648 * csu/start.c: Remove !NO_UNDERSCORE code.
42649 * locale/localeinfo.h: Likewise.
42650 * sysdeps/generic/machine-gmon.h: Likewise.
42651 * sysdeps/generic/sysdep.h: Likewise.
42652 * sysdeps/i386/sysdep.h: Likewise.
42653 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42654 * sysdeps/mach/sysdep.h: Likewise.
42655 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42656 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42657 * sysdeps/sh/sysdep.h: Likewise.
42658 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42659 * sysdeps/unix/i386/sysdep.S: Likewise.
42660 * sysdeps/unix/sparc/start.c: Likewise.
42661 * sysdeps/unix/sparc/sysdep.S: Likewise.
42662 * sysdeps/unix/sparc/sysdep.h: Likewise.
42663 * sysdeps/unix/start.c: Likewise.
42664 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42665 * sysdeps/x86_64/sysdep.h: Likewise.
42666
df78418a
UD
426672012-01-07 Ulrich Drepper <drepper@gmail.com>
42668
a784e502
UD
42669 [BZ #13553]
42670 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42671 for non-gcc.
42672 * argp/argp-fmtstream.h: Use const instead __const.
42673 * argp/argp.h: Likewise.
42674 * assert/assert.h: Likewise.
42675 * bits/fenv.h: Likewise.
42676 * bits/sched.h: Likewise.
42677 * bits/sigset.h: Likewise.
42678 * bits/sigthread.h: Likewise.
42679 * catgets/nl_types.h: Likewise.
42680 * conform/data/pthread.h-data: Likewise.
42681 * crypt/crypt-private.h: Likewise.
42682 * crypt/crypt.h: Likewise.
42683 * crypt/crypt_util.c: Likewise.
42684 * ctype/ctype.h: Likewise.
42685 * debug/execinfo.h: Likewise.
42686 * debug/mbsnrtowcs_chk.c: Likewise.
42687 * debug/mbsrtowcs_chk.c: Likewise.
42688 * debug/wcsnrtombs_chk.c: Likewise.
42689 * debug/wcsrtombs_chk.c: Likewise.
42690 * debug/wcstombs_chk.c: Likewise.
42691 * dirent/dirent.h: Likewise.
42692 * dlfcn/dlfcn.h: Likewise.
42693 * elf/neededtest4.c: Likewise.
42694 * grp/grp.h: Likewise.
42695 * gshadow/gshadow.h: Likewise.
42696 * iconv/gconv.h: Likewise.
42697 * iconv/gconv_int.h: Likewise.
42698 * iconv/gconv_simple.c: Likewise.
42699 * iconv/iconv.h: Likewise.
42700 * iconv/loop.c: Likewise.
42701 * iconv/skeleton.c: Likewise.
42702 * include/aio.h: Likewise.
42703 * include/aliases.h: Likewise.
42704 * include/argz.h: Likewise.
42705 * include/arpa/inet.h: Likewise.
42706 * include/assert.h: Likewise.
42707 * include/dirent.h: Likewise.
42708 * include/dlfcn.h: Likewise.
42709 * include/execinfo.h: Likewise.
42710 * include/fcntl.h: Likewise.
42711 * include/fenv.h: Likewise.
42712 * include/glob.h: Likewise.
42713 * include/grp.h: Likewise.
42714 * include/libintl.h: Likewise.
42715 * include/mntent.h: Likewise.
42716 * include/netdb.h: Likewise.
42717 * include/pwd.h: Likewise.
42718 * include/rpc/netdb.h: Likewise.
42719 * include/sched.h: Likewise.
42720 * include/search.h: Likewise.
42721 * include/shadow.h: Likewise.
42722 * include/signal.h: Likewise.
42723 * include/stdio.h: Likewise.
42724 * include/stdlib.h: Likewise.
42725 * include/string.h: Likewise.
42726 * include/sys/socket.h: Likewise.
42727 * include/sys/stat.h: Likewise.
42728 * include/sys/statfs.h: Likewise.
42729 * include/sys/statvfs.h: Likewise.
42730 * include/sys/syslog.h: Likewise.
42731 * include/sys/time.h: Likewise.
42732 * include/sys/uio.h: Likewise.
42733 * include/time.h: Likewise.
42734 * include/unistd.h: Likewise.
42735 * include/utmp.h: Likewise.
42736 * include/wchar.h: Likewise.
42737 * include/wctype.h: Likewise.
42738 * inet/aliases.h: Likewise.
42739 * inet/arpa/inet.h: Likewise.
42740 * inet/netinet/ether.h: Likewise.
42741 * inet/netinet/in.h: Likewise.
42742 * intl/libintl.h: Likewise.
42743 * io/bits/fcntl2.h: Likewise.
42744 * io/fcntl.h: Likewise.
42745 * io/ftw.h: Likewise.
42746 * io/sys/poll.h: Likewise.
42747 * io/sys/stat.h: Likewise.
42748 * io/sys/statfs.h: Likewise.
42749 * io/sys/statvfs.h: Likewise.
42750 * io/utime.h: Likewise.
42751 * libio/bits/stdio.h: Likewise.
42752 * libio/bits/stdio2.h: Likewise.
42753 * libio/libio.h: Likewise.
42754 * libio/libioP.h: Likewise.
42755 * libio/stdio.h: Likewise.
42756 * locale/lc-ctype.c: Likewise.
42757 * locale/locale.h: Likewise.
42758 * login/utmp.h: Likewise.
42759 * malloc/arena.c: Likewise.
42760 * malloc/malloc.c: Likewise.
42761 * malloc/malloc.h: Likewise.
42762 * malloc/mcheck.c: Likewise.
42763 * malloc/mtrace.c: Likewise.
42764 * math/bits/mathcalls.h: Likewise.
42765 * math/fenv.h: Likewise.
42766 * math/math_private.h: Likewise.
42767 * misc/bits/error.h: Likewise.
42768 * misc/bits/syslog.h: Likewise.
42769 * misc/err.h: Likewise.
42770 * misc/error.h: Likewise.
42771 * misc/fstab.h: Likewise.
42772 * misc/mntent.h: Likewise.
42773 * misc/regexp.h: Likewise.
42774 * misc/search.h: Likewise.
42775 * misc/sgtty.h: Likewise.
42776 * misc/sys/mman.h: Likewise.
42777 * misc/sys/syslog.h: Likewise.
42778 * misc/sys/uio.h: Likewise.
42779 * misc/sys/xattr.h: Likewise.
42780 * misc/ttyent.h: Likewise.
42781 * nis/rpcsvc/ypclnt.h: Likewise.
42782 * nss/nss.h: Likewise.
42783 * posix/bits/unistd.h: Likewise.
42784 * posix/fnmatch.h: Likewise.
42785 * posix/glob.h: Likewise.
42786 * posix/sched.h: Likewise.
42787 * posix/spawn.h: Likewise.
42788 * posix/sys/wait.h: Likewise.
42789 * posix/unistd.h: Likewise.
42790 * posix/wordexp.h: Likewise.
42791 * pwd/pwd.h: Likewise.
42792 * resolv/netdb.h: Likewise.
42793 * resource/sys/resource.h: Likewise.
42794 * rt/aio.h: Likewise.
42795 * rt/bits/mqueue2.h: Likewise.
42796 * rt/mqueue.h: Likewise.
42797 * shadow/shadow.h: Likewise.
42798 * signal/signal.h: Likewise.
42799 * socket/send.c: Likewise.
42800 * socket/sendto.c: Likewise.
42801 * socket/sys/socket.h: Likewise.
42802 * stdio-common/printf.h: Likewise.
42803 * stdlib/bits/stdlib.h: Likewise.
42804 * stdlib/fmtmsg.h: Likewise.
42805 * stdlib/monetary.h: Likewise.
42806 * stdlib/stdlib.h: Likewise.
42807 * stdlib/ucontext.h: Likewise.
42808 * streams/stropts.h: Likewise.
42809 * string/argz.h: Likewise.
42810 * string/bits/string2.h: Likewise.
42811 * string/string.h: Likewise.
42812 * string/strings.h: Likewise.
42813 * sunrpc/rpc/auth.h: Likewise.
42814 * sunrpc/rpc/auth_des.h: Likewise.
42815 * sunrpc/rpc/clnt.h: Likewise.
42816 * sunrpc/rpc/netdb.h: Likewise.
42817 * sunrpc/rpc/pmap_clnt.h: Likewise.
42818 * sunrpc/rpc/xdr.h: Likewise.
42819 * sysdeps/generic/inttypes.h: Likewise.
42820 * sysdeps/generic/net/if.h: Likewise.
42821 * sysdeps/generic/sys/swap.h: Likewise.
42822 * sysdeps/gnu/net/if.h: Likewise.
42823 * sysdeps/gnu/utmpx.h: Likewise.
42824 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42825 * sysdeps/i386/i486/bits/string.h: Likewise.
42826 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42827 * sysdeps/s390/bits/string.h: Likewise.
42828 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42829 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42830 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42831 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42832 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42833 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42834 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42835 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42836 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42837 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42838 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42839 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42840 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42841 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42842 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42843 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42844 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42846 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42847 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42849 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42850 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42851 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42852 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42853 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42854 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42855 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42856 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42857 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42858 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42859 * sysvipc/sys/ipc.h: Likewise.
42860 * sysvipc/sys/msg.h: Likewise.
42861 * sysvipc/sys/sem.h: Likewise.
42862 * sysvipc/sys/shm.h: Likewise.
42863 * termios/termios.h: Likewise.
42864 * time/sys/time.h: Likewise.
42865 * time/time.h: Likewise.
42866 * wcsmbs/bits/wchar2.h: Likewise.
42867 * wcsmbs/uchar.h: Likewise.
42868 * wcsmbs/wchar.h: Likewise.
42869 * wctype/wctype.h: Likewise.
42870
0269750c
UD
42871 [BZ #13551]
42872 * Makeconfig: Remove all but ELF support including AIX support.
42873 * Makerules: Likewise.
42874 * config.h.in: Likewise.
42875 * config.make.in: Likewise.
42876 * configure: Likewise.
42877 * configure.in: Likewise.
42878 * csu/Makefile: Likewise.
42879 * csu/version.c: Likewise.
42880 * debug/Makefile: Likewise.
42881 * dlfcn/Makefile: Likewise.
42882 * elf/Makefile: Likewise.
42883 * extra-lib.mk: Likewise.
42884 * iconv/Makefile: Likewise.
42885 * include/libc-symbols.h: Likewise.
42886 * include/shlib-compat.h: Likewise.
42887 * resolv/Makefile: Likewise.
42888 * resolv/res_libc.c: Likewise.
42889 * rt/Makefile: Likewise.
42890 * sysdeps/i386/asm-syntax.h: Likewise.
42891 * sysdeps/i386/sysdep.h: Likewise.
42892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42893 * sysdeps/mach/sysdep.h: Likewise.
42894 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42895 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42896 * sysdeps/s390/asm-syntax.h: Likewise.
42897 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42899 * sysdeps/sh/sysdep.h: Likewise.
42900 * sysdeps/unix/sparc/sysdep.h: Likewise.
42901 * sysdeps/wordsize-32/divdi3.c: Likewise.
42902 * sysdeps/x86_64/sysdep.h: Likewise.
42903
00bbd29b
UD
42904 * argp/Versions: Remove _argp_unlock_xxx.
42905
42906 [BZ #13559]
42907 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42908 * abilist/libBrokenLocale.abilist: Likewise.
42909 * abilist/libanl.abilist: Likewise.
42910 * abilist/libc.abilist: Likewise.
42911 * abilist/libcrypt.abilist: Likewise.
42912 * abilist/libdl.abilist: Likewise.
42913 * abilist/libm.abilist: Likewise.
42914 * abilist/libnsl.abilist: Likewise.
42915 * abilist/libpthread.abilist: Likewise.
42916 * abilist/libresolv.abilist: Likewise.
42917 * abilist/librt.abilist: Likewise.
42918 * abilist/libthread_db.abilist: Likewise.
42919 * abilist/libutil.abilist: Likewise.
42920 * abilist/libnss_db.abilist: New file.
42921
42922 * scripts/abilist.awk: Add support for indirect functions.
42923
a2693a0e
UD
42924 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42925
3f05895f
UD
42926 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42927
ecb6fb48
UD
42928 * shlib-versions: Remove entries for ports architectures.
42929
664f8cb9
UD
42930 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42931 files in ports.
42932 * elf/stackguard-macros.h: Remove support for IA-64.
42933 * elf/tst-auditmod1.c: Likewise.
42934 * sysdeps/generic/ldsodefs.h: Likewise.
42935
7ae81d88
UD
42936 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42937 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42938 configure files.
42939
bdeba135
UD
42940 [BZ #13552]
42941 * configure.in: Remove --enable-omitfp support.
42942 * FAQ.in: Adjust.
42943 * config.make.in: Likewise.
42944 * Makeconfig: Likewise.
42945 * manual/install.texi: Likewise.
42946
d75a0a62
UD
42947 In case anyone cares, the IA-64 architecture could move to ports.
42948 * sysdeps/ia64/*: Removed.
42949 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42950 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42951
dcc9756b
UD
42952 [BZ #13555]
42953 * configure.in: Remove entries for unsupported architectures.
42954
d3761ebc 42955 [BZ #13533]
9954432e
UD
42956 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42957 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42958 routines.
42959 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42960 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42961 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42962 fall back to using wcrtomb.
42963 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42964 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42965 renaming.
42966 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42967 * wcsmbs/tst-c16c32-1.c: New file.
42968
42969 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42970 local variable.
42971
c3a87236
UD
42972 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42973
28926a1b
UD
42974 * elf/tst-unique3.cc: Add explicit declaration of gets.
42975 * elf/tst-unique3lib.cc: Likewise.
42976 * elf/tst-unique3lib2.cc: Likewise.
42977 * elf/tst-unique4.cc: Likewise.
42978
df78418a
UD
42979 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42980
8ecd6b2a
JM
429812012-01-06 Joseph Myers <joseph@codesourcery.com>
42982
42983 [BZ #13566]
42984 * assert/assert.h (static_assert): Don't define for C++.
42985 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42986 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42987
9f115170
UD
429882012-01-03 Ulrich Drepper <drepper@gmail.com>
42989
5e0d0300
UD
42990 * iconv/loop.c (single loop): Fix assertion in storing of
42991 remaining bytes.
42992
9f115170
UD
42993 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42994
81fb02b0
UD
429952012-01-01 Ulrich Drepper <drepper@gmail.com>
42996
42997 * posix/getconf.c: Update copyright year.
42998 * nss/getent.c: Likewise.
a316c1f6 42999 * nss/makedb.c: Likewise.
81fb02b0
UD
43000 * iconv/iconvconfig.c: Likewise.
43001 * iconv/iconv_prog.c: Likewise.
43002 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43003 * elf/pldd.c: Likewise.
43004 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43005 * catgets/gencat.c: Likewise.
43006 * csu/version.c: Likewise.
43007 * elf/ldd.bash.in: Likewise.
43008 * elf/sprof.c (print_version): Likewise.
43009 * locale/programs/locale.c: Likewise.
43010 * locale/programs/localedef.c: Likewise.
a316c1f6 43011 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43012 * nscd/nscd.c (print_version): Likewise.
43013 * debug/xtrace.sh: Likewise.
43014 * malloc/memusage.sh: Likewise.
43015 * malloc/mtrace.pl: Likewise.
43016 * debug/catchsegv.sh: Likewise.
43017
2ba92745
JJ
430182011-12-30 Jakub Jelinek <jakub@redhat.com>
43019
43020 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43021 pure attribute.
43022
dadebdae
UD
430232011-12-24 Ulrich Drepper <drepper@gmail.com>
43024
d3761ebc 43025 [BZ #13533]
db6af3eb
UD
43026 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43027 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43028 transformations.
43029 * iconv/gconv_int.h: Likewise.
43030 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43031 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43032 from libc for GLIBC_2.16.
43033 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43034 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43035 * wcsmbs/uchar.h: Really define mbstate_t.
43036 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43037 * wcsmbs/c16rtomb.c: New file.
43038 * wcsmbs/mbrtoc16.c: New file.
43039 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43040 for C/POSIX locale.
43041 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43042 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43043
dadebdae
UD
43044 * wcsmbs/wchar.h: Add missing __restrict.
43045
67371b56
UD
430462011-12-23 Ulrich Drepper <drepper@gmail.com>
43047
74033a25
UD
43048 [BZ #13532]
43049 * time/Makefile (routines): Add timespec_get.
43050 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43051 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43052 timespec for ISO C11.
43053 * time/timespec_get.c: New file.
43054 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43055 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43056
380d7e87
UD
43057 [BZ #13531]
43058 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43059 * stdlib/stdlib.h: Declare aligned_alloc.
43060 * Versions.def: Add GLIBC_2.16 for libc.
43061 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43062
4e9e7a35
UD
43063 [BZ 13527]
43064 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43065 ISO C11.
43066
380d7e87 43067 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43068 code.
43069
03a71829
UD
43070 [BZ #13528]
43071 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43072
839e283e
UD
43073 [BZ #13529]
43074 * assert/assert.h (static_assert): Define.
43075
ce5294e2 43076 * version.h: Update for 2.16 development version.
90fa7312 43077
8d44e150 43078 [BZ #13526]
d7809905
UD
43079 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43080 _ISOC11_SOURCE.
43081
c0da14cd
UD
43082 * version.h (RELEASE): Bump for 2.15 release.
43083 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43084
530a3249
MP
43085 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43086 Patch by Marek Polacek <mpolacek@redhat.com>.
43087
67371b56
UD
43088 * bits/byteswap.h: Protect long long constants with __extension__.
43089 * sysdeps/i386/bits/byteswap.h: Likewise.
43090 * sysdeps/ia64/bits/byteswap.h: Likewise.
43091 * sysdeps/s390/bits/byteswap.h: Likewise.
43092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43093
15db4de1
LD
430942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43095
43096 [BZ #13540]
bbe315ea
LD
43097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43098 destination buffer.
15db4de1
LD
43099 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43100
2b2596b1
MP
431012011-12-23 Marek Polacek <polacek@redhat.com>
43102
43103 * elf/dl-addr.c (determine_info): Add inline keyword.
43104 * elf/tst-auditmod4b.c (check_avx): Likewise.
43105 * elf/tst-auditmod6b.c (check_avx): Likewise.
43106 * elf/tst-auditmod6c.c (check_avx): Likewise.
43107 * elf/tst-auditmod7b.c (check_avx): Likewise.
43108
70c6c246
UD
431092011-12-23 Ulrich Drepper <drepper@gmail.com>
43110
43111 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43112 !__SSE_MATH__.
43113
c044cf14
LD
431142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43115
15db4de1 43116 [BZ #13540]
c044cf14
LD
43117 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43118 processing for last bytes.
43119
6b13d9d9
BH
431202011-08-06 Bruno Haible <bruno@clisp.org>
43121
d455f537
BH
43122 [BZ #13061]
43123 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43124 U+0385, not to U+1FEE.
43125
6b13d9d9
BH
43126 [BZ #13062]
43127 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43128 entry for U+00A5 U+0301.
43129
db910efd
UD
431302011-12-22 Ulrich Drepper <drepper@gmail.com>
43131
27deeafc
UD
43132 [BZ #13166]
43133 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43134 buffer for the output is too small.
43135
aed9d171
UD
43136 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43137 optimization.
43138
db910efd
UD
43139 [BZ #13185]
43140 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43141 SSE flags if possible.
43142
2bd779ae
LD
431432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43144
e7f9dac3 43145 [BZ #13540]
2bd779ae
LD
43146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43147 processing for last bytes.
43148
154bfc16
JM
431492011-12-22 Joseph Myers <joseph@codesourcery.com>
43150
43151 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43152 (syscall-list-default-options, syscall-list-default-condition)
43153 (syscall-list-includes): Define.
43154 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43155 list of ABIs and options and #if conditions for each ABI. Do not
43156 handle common syscalls between ABIs specially.
43157 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43158 Remove.
43159 (syscall-list-variants, syscall-list-32bit-options)
43160 (syscall-list-32bit-condition, syscall-list-64bit-options)
43161 (syscall-list-64bit-condition): Define.
43162 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43163 (syscall-list-variants, syscall-list-32bit-options)
43164 (syscall-list-32bit-condition, syscall-list-64bit-options)
43165 (syscall-list-64bit-condition): Define.
43166 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43167 Remove.
43168 (syscall-list-variants, syscall-list-32bit-options)
43169 (syscall-list-32bit-condition, syscall-list-64bit-options)
43170 (syscall-list-64bit-condition): Define.
43171 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43172 Remove.
43173 (syscall-list-variants, syscall-list-32bit-options)
43174 (syscall-list-32bit-condition, syscall-list-64bit-options)
43175 (syscall-list-64bit-condition): Define.
43176
21eaf3a5
UD
431772011-12-22 Ulrich Drepper <drepper@gmail.com>
43178
16c6f992
UD
43179 * locale/iso-639.def: Add brx entry.
43180
41043168
UD
43181 [BZ #13328]
43182 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43183 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43184
21eaf3a5
UD
43185 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43186 __feraiseexcept_renamed.
43187
e3a851a2
UD
431882011-12-21 Ulrich Drepper <drepper@gmail.com>
43189
4920765e
UD
43190 [BZ #13538]
43191 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43192 EPOLLET with unsigned values.
43193 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43194 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43195
e3a851a2
UD
43196 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43197 to large cancellation.
43198 * math/s_cacoshf.c: Likewise.
43199 * math/s_cacoshl.c: Likewise.
43200
b27e24b8
RK
432012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43202
43203 [BZ #13305]
aebefeee 43204 [BZ #12786]
b27e24b8
RK
43205 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43206 * math/s_cacoshf.c: Likewise.
43207 * math/s_cacoshl.c: Likewise.
43208
ee190f67
UD
432092011-12-21 Ulrich Drepper <drepper@gmail.com>
43210
43211 [BZ #13439]
43212 * iconv/gconv.h: Define __GCONV_SWAP.
43213 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43214 * iconvdata/utf-16.c: Likewise.
43215 * iconvdata/utf-32.c: Likewise.
43216
707f25df
AS
432172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43218
43219 [BZ #13524]
43220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43221 numerator after shifting it by one limb.
43222
d2daaa1e
RÁE
432232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43224
43225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43226 under [__USE_EXTERN_INLINES].
43227
a4647e72
UD
432282011-12-17 Ulrich Drepper <drepper@gmail.com>
43229
43230 [BZ #13446]
43231 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43232
f0b264f1
AZ
432332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43234
43235 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43236 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43237 optimized code.
43238 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43239 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43240 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43241 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43242 for strncasecmp/strncasecmp_l compilation.
43243 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43244 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43245
8ef4f244
MP
432462011-12-08 Marek Polacek <mpolacek@redhat.com>
43247
43248 [BZ #13484]
43249 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43250 of __asm__.
43251
97ac2654
UD
432522011-12-17 Ulrich Drepper <drepper@gmail.com>
43253
43254 [BZ #13506]
43255 * time/tzfile.c (__tzfile_read): Check values from file header.
43256
91d2a845
WS
432572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43258
43259 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43260 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43261 * powerpc/powerpc32/dl-start.S: Likewise.
43262 * powerpc/powerpc32/elf/start.S: Likewise.
43263 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43264 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43265 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43266 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43267 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43268 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43269 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43270 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43271 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43272 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43273 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43274 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43275 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43276 * powerpc/powerpc32/memset.S: Likewise.
43277 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43278 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43279 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43280 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43281 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43282 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43283 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43284 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43285 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43286 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43287 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43288 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43289 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43290
a1267ba1
AZ
432912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43292
43293 * math/libm-test.inc: Added more nearbyint tests.
43294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43295 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43298
ad8ac1bd
RL
432992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43300
43301 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43302 FD_CLOEXEC.
43303
1d3e4b61
UD
433042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43305
43306 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43307 Add wcscpy-ssse3 wcscpy-c.
43308 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43309 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43310 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43311 * sysdeps/x86_64/wcschr.S: New file.
43312 * sysdeps/x86_64/wcsrchr.S: New file.
43313 * string/test-strcmp.c: Remove checking of wcscmp function for
43314 wrong alignments.
43315 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43316 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43317 wcsrchr-sse2 wcsrchr-c.
43318 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43319 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43320 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43321 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43322 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43323 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43324 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43325 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43326 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43327 * wcsmbc/wcschr.c (WCSCHR): New macro.
43328
5b330a2d
UD
433292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43330
43331 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43332 * wcsmbs/test-wcsrchr.c: New file.
43333 * string/test-strrchr.c: Add wcsrchr support.
43334 (WIDE): New macro.
43335 * wcsmbs/test-wcscpy.c: New file.
43336 * string/test-strcpy.c: Add wcscpy support.
43337 (WIDE): New macro.
26428b7c 43338
f039c043
UD
433392011-12-10 Ulrich Drepper <drepper@gmail.com>
43340
43341 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43342 the inner loop.
43343
850fb039
AS
433442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43345
43346 [BZ #13472]
43347 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43348
4efbd5cb
UD
433492011-12-04 Ulrich Drepper <drepper@gmail.com>
43350
52ff5dd0 43351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43352 Minor optimizations.
52ff5dd0 43353
4efbd5cb
UD
43354 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43355 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43356 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43357
8a426e12
UD
433582011-12-03 Ulrich Drepper <drepper@gmail.com>
43359
aff2453d
UD
43360 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43361 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43362 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43363 for gcc to avoid warnings.
43364 * inet/Makefile (tests): Add tst-checks.
43365 * inet/tst-checks.c: New file.
43366
43367 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43368 warning.
43369
43370 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43371 __wmemcmp_sse2.
43372
43373 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43374 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43375
8a426e12
UD
43376 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43377
9bea3473
UD
433782011-12-02 Ulrich Drepper <drepper@gmail.com>
43379
3a965496
UD
43380 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43381 problem.
43382
9bea3473
UD
43383 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43384
f101631b
UD
433852011-11-29 Joseph Myers <joseph@codesourcery.com>
43386
43387 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43388 conditional on GCC version.
43389 (__arch_compare_and_exchange_val_8_acq)
43390 (__arch_compare_and_exchange_val_16_acq)
43391 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43392 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43393 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43394
a98275aa
UD
433952011-12-02 Joseph Myers <joseph@codesourcery.com>
43396
43397 * sysdeps/sh/backtrace.c: New file.
43398
d4cc29a2
AS
433992011-12-02 Andreas Schwab <schwab@redhat.com>
43400
43401 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43402 parenthesis.
43403
6257af2d
AS
434042011-12-01 Andreas Schwab <schwab@redhat.com>
43405
43406 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43407 falling back to utime.
43408
b5f44c1a
AS
434092011-11-30 Andreas Schwab <schwab@redhat.com>
43410
43411 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43412 expectations for float.
43413
f3a6cc0a
AS
434142011-11-29 Andreas Schwab <schwab@redhat.com>
43415
43416 * locale/weight.h (findidx): Add parameter len.
43417 * locale/weightwc.h (findidx): Likewise.
43418 * posix/fnmatch_loop.c (FCT): Adjust caller.
43419 * posix/regcomp.c (build_equiv_class): Likewise.
43420 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43421 * posix/regexec.c (check_node_accept_bytes): Likewise.
43422 * string/strcoll_l.c (STRCOLL): Likewise.
43423 * string/strxfrm_l.c (STRXFRM): Likewise.
43424
9d65ea3a
UD
434252011-11-17 Ulrich Drepper <drepper@gmail.com>
43426
43427 * Makefile.in: Remove CVSOPT handling.
43428 * configure.in: Remove use of AC_REVISION.
43429 * iconvdata/Makefile (distribute): No need to filter out CVS.
43430 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43431 handling.
43432
5583a086
AS
434332011-11-16 Andreas Schwab <schwab@redhat.com>
43434
43435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43436 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43437 [USE_AS_STRNCASECMP_L]: Likewise.
43438 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43439 NO_TLS_DIRECT_SEG_REFS.
43440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43441 Fix argument offsets for non-PIC.
43442 [USE_AS_STRNCASECMP_L]: Likewise.
43443 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43444 NO_TLS_DIRECT_SEG_REFS.
43445
d62a8200
UD
434462011-11-15 Ulrich Drepper <drepper@gmail.com>
43447
9d65ea3a 43448 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43449 O_CLOEXEC.
43450 * locale/loadlocale.c (_nl_load_locale): Likewise.
43451
09f93bd3
AS
434522011-11-15 Andreas Schwab <schwab@redhat.com>
43453
446514f9
AS
43454 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43455 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43457 (SYSCALL_GETTIME): Set errno on error.
43458
09f93bd3
AS
43459 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43460 count references to noai6ai_cached.
43461
312be3f9
UD
434622011-11-15 Ulrich Drepper <drepper@gmail.com>
43463
43464 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43465
43466 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43467 FD_CLOEXEC for /proc/self/maps.
43468
43469 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43470 FD_CLOEXEC for /proc/meminfo.
43471
43472 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43473 gai.conf.
43474
43475 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43476 FD_CLOEXEC for given file.
43477
43478 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43479
43480 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43481 FD_CLOEXEC for /etc/hosts.
43482 (_gethtent): Likewise.
43483
43484 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43485
43486 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43487 cancellation and set FD_CLOEXEC for /etc/netgroup.
43488
43489 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43490 reading /etc/publickey.
43491
43492 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43493 allow cancellation when reading /etc/group.
43494
43495 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43496 cancellation.
43497 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43498
43499 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43500 when using data file.
43501
43502 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43503
43504 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43505 (write_nis_obj): Use "c" and "e" in fopen.
43506
43507 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43508
43509 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43510
43511 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43512
43513 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43514
43515 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43516 locale.alias.
43517
43518 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43519
43520 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43521
43522 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43523
43524 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43525 file parsing and set FD_CLOEXEC.
43526
82af0fa8
UD
435272011-11-14 Ulrich Drepper <drepper@gmail.com>
43528
43529 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43530
a5fb313c
AS
435312011-11-14 Andreas Schwab <schwab@redhat.com>
43532
43533 * malloc/arena.c (arena_get2): Don't call reused_arena when
43534 _int_new_arena failed.
43535
6abf3465
UD
435362011-11-14 Ulrich Drepper <drepper@gmail.com>
43537
43538 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43539 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43541 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43544 to compile strcasecmp and strncasecmp.
43545 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43546 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43547
43548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43549
76e3966e
UD
435502011-11-13 Ulrich Drepper <drepper@gmail.com>
43551
43552 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43553 locale-defines.sym to gen-as-const-headers.
43554 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43555 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43557 to compile strcasecmp and strncasecmp.
43558 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43559 strcasecmp_l and strncasecmp_l.
43560 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43561 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43562 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43563 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43564 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43565 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43566 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43567 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43568 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43569 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43570 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43571
ab26144e
UD
435722011-11-12 Ulrich Drepper <drepper@gmail.com>
43573
7edb22ef
UD
43574 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43575 result of SYSDEP_GETTIME_CPU to retval.
43576 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43577 parameter list to macro. Remove trailing semicolon. Adjust users.
43578
9694fc44
UD
43579 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43580 variable.
43581
8ad89ef8
UD
43582 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43583 mantissa words.
43584 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43585
0c822ef9
UD
43586 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43587 from unused variable.
43588
874e0564
UD
43589 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43590 DWARF definitions.
43591 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43592 for assembling.
43593
3a2edc79
UD
43594 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43595 over namespaces.
43596
f3c2577f
UD
43597 * sunrpc/rpc_prot.c (rejected): Fix case value.
43598
294ce126
UD
43599 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43600 unsigned long long int to avoid warnings in shift.
43601
5e2b63c6
UD
43602 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43603 of use of trans.
43604 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43605 variable tmp.
43606
e7f4b08e
UD
43607 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43608 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43609 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43610
ab26144e
UD
43611 * nis/nis_table.c (nis_list): Use variable of correct type for
43612 result of __follow_path call.
43613
8a6d5255
AZ
436142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43615
43616 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43617 of math functions ceil, trunc, floor, round, and sqrt, when
43618 avaliable on the platform.
43619 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43620 name clash.
43621 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43622 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43623 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43624
aaddc98c
MP
436252011-10-30 Marek Polacek <mpolacek@redhat.com>
43626
43627 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43628 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43629
95b7042b
RM
436302011-11-11 Roland McGrath <roland@hack.frob.com>
43631
43632 * include/unistd.h: Fix __readlink return type.
43633 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43634
57769839
UD
436352011-11-11 Ulrich Drepper <drepper@gmail.com>
43636
43637 * stdlib/ucontext.h: Undo last change for makecontext.
43638
edc5984d
AS
436392011-11-11 Andreas Schwab <schwab@redhat.com>
43640
98591e58
AS
43641 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43642
edc5984d
AS
43643 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43644 * setjmp/setjmp.h: Mark functions as non-leaf.
43645 * setjmp/bits/setjmp2.h: Likewise.
43646 * stdlib/ucontext.h: Likewise.
43647
77cdc054
AS
436482011-11-10 Andreas Schwab <schwab@redhat.com>
43649
43650 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43651 (reused_arena): Don't check arena limit.
43652 (arena_get2): Atomically check arena limit.
43653
fe72eebd
UD
436542011-11-08 Ulrich Drepper <drepper@gmail.com>
43655
5f078c32
UD
43656 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43657 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43658
fe72eebd
UD
43659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43660 instructions.
43661
ae1bc2fa
AS
436622011-11-07 Andreas Schwab <schwab@redhat.com>
43663
7583a88d
AS
43664 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43665 handler when locking.
43666
ae1bc2fa
AS
43667 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43668 Fix size of allocated buffer.
43669
10fb0bfa
AS
436702011-11-04 Andreas Schwab <schwab@redhat.com>
43671
998832a4
AS
43672 [BZ #10103]
43673 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43674 declarations for long double functions.
43675 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43676
10fb0bfa
AS
43677 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43678
3d7ba52b
AS
436792011-11-03 Andreas Schwab <schwab@redhat.com>
43680
a9ae54a1
AS
43681 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43682 installed.
43683
3d7ba52b
AS
43684 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43685 is disabled.
43686
bc8db248
ST
436872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43688
43689 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43690
45b96dd6
AS
436912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43692
647776f6
AS
43693 * include/alloca.h (stackinfo_alloca_round): Define.
43694 (extend_alloca): Use it.
43695 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43696 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43697 here.
43698
d91a8b93
AS
43699 * scripts/check-local-headers.sh: Ignore libaudit.h.
43700
45b96dd6
AS
43701 * nscd/Makefile (extra-objs): Make recursively expanded.
43702
432d41ce
UD
437032011-11-01 Ulrich Drepper <drepper@gmail.com>
43704
34372fc6
UD
43705 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43707
fadb59f8
UD
43708 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43709 * posix/tst-rfc3484-2.c: Likewise.
43710 * posix/tst-rfc3484-3.c: Likewise.
43711
78239589
UD
43712 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43713 process_vm_writev.
43714 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43715 process_vm_writev.
43716 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43717 process_vm_writev from libc using GLIBC_2.15 version.
43718
432d41ce
UD
43719 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43720
02f9c6cf
PP
437212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43722
43723 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43724 stack usage.
43725
3a2c0242
UD
437262011-10-31 Ulrich Drepper <drepper@gmail.com>
43727
f4ec4833
UD
43728 [BZ #13367]
43729 * nss/getent.c (initgroups_keys): Show error message in case no group
43730 names are given.
43731
3a2c0242
UD
43732 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43733 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43734 __bump_nl_timestamp.
43735 * nscd/connections (nscd_init): When host database is served open
43736 netlink socket and request notification about configuration changes.
43737 (main_loop_poll): Track netlink file descriptor and bump timestamp
43738 in case data becomes available.
43739 (main_loop_epoll): Likewise.
43740 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43741 (database_pers_head): Add extra_data fileds.
43742 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43743 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43744 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43745 Adjust caller.
43746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43747 in6ai data, call __free_in6ai.
43748 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43749 Add -DHAVE_NETLINK.
43750 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43751 interface information. Reuse previous data if netlink timestamp
43752 is not changed.
43753 (__bump_nl_timestamp): New function.
43754 (__free_in6ai): New function.
43755
636064eb
UD
437562011-10-30 Ulrich Drepper <drepper@gmail.com>
43757
43758 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43759 close_not_cancel_no_status here.
43760 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43761
9beb2334
UD
437622011-10-29 Ulrich Drepper <drepper@gmail.com>
43763
6ef76f3b
UD
43764 [BZ #13276]
43765 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43766 return value.
43767
0ffc4f3e 43768 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43769 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43770 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43771
cb95113e
UD
437722011-07-03 Andreas Jaeger <aj@suse.de>
43773
43774 [BZ #10709]
43775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43776 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43777 * math/libm-test.inc (sin_test): Add test case.
43778
a1b560ff
UD
437792011-10-29 Ulrich Drepper <drepper@gmail.com>
43780
c9aaface
UD
43781 [BZ #13337]
43782 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43783 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43784
d272e7f1
UD
43785 * elf/chroot_canon.c (chroot_canon): Cleanups.
43786
1bc33071
UD
43787 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43788
1760874d
TJ
43789 [BZ #13335]
43790 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43791 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43792
51d91b18
UD
43793 * string/test-strchr.c: Make usable for strchrnul testing.
43794 * string/test-strchrnul.c: New file.
43795 * string/Makefile (strop-tests): Add strchrnul.
43796
a1b560ff 43797 * po/it.po: Update from translation team.
b611fb81 43798 * po/es.po: Likewise.
a1b560ff 43799
a5b81e1f
UD
438002011-10-28 Ulrich Drepper <drepper@gmail.com>
43801
fd52bc6d
UD
43802 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43803 the three constants needed as parameters. Drop the others.
43804 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43805 __m128i_strloadu_tolower.
52e4b9eb
UD
43806 Create and initialize variable zero and use it in all the places
43807 where _mm_setzero_si128 was used.
fd52bc6d 43808
a5b81e1f
UD
43809 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43810 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43811 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43812 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43813 anymore.
43814 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43815 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43816 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43817 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43818 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43819 __mpranred, __mptan.
43820 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43821 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43822 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43823 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43824 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43825 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43827 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43828 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43829
b4343346
AS
438302011-10-28 Andreas Schwab <schwab@redhat.com>
43831
0c92d8a8
AS
43832 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43833 redefine if SHARED.
43834 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43835
b4343346
AS
43836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43837 wide char related routines to wcsmbs subdir.
43838
3871f58f
AS
438392011-10-27 Andreas Schwab <schwab@redhat.com>
43840
43841 [BZ #13344]
43842 * misc/sys/cdefs.h (__THROWNL): Define.
43843 * posix/unistd.h: Use __THREADNL instead of __THREAD
43844 for memory synchronization functions.
43845
94d44d9f
RM
438462011-10-26 Roland McGrath <roland@hack.frob.com>
43847
21b64b15 43848 [BZ #13349]
94d44d9f
RM
43849 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43850 doesn't exist.
43851 * manual/stdio.texi (Obstack Streams): Node removed.
43852
f6ce9294
AS
438532011-10-26 Andreas Schwab <schwab@redhat.com>
43854
80479147
AS
43855 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43856 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43857 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43858
f6ce9294
AS
43859 * math/math_private.h (math_force_eval): Allow non-addressable
43860 arguments.
43861 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43862
618280a1
UD
438632011-10-25 Ulrich Drepper <drepper@gmail.com>
43864
e0016b11
UD
43865 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43866 file is not needed.
43867
43868 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43875 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43876 Add AVX variants.
43877 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43878 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43879 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43880 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43881 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43882 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43883 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43884 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43885 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43886 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43887 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43888 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43890 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43891 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43892 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43893 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43894 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43895 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43896
43897 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43898 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43899
618280a1
UD
43900 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43901 place. Use VEX encoding when compiling for AVX.
43902
37822576
AS
439032011-10-25 Andreas Schwab <schwab@redhat.com>
43904
1f1e1947
AS
43905 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43906 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43907
37822576
AS
43908 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43909
31ea014d
UD
439102011-10-25 Ulrich Drepper <drepper@gmail.com>
43911
d7826aa1 43912 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43913 useless if() expression.
d7826aa1
UD
43914 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43915 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43916 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43917 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43918 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43919 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43920 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43922 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43924 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43925 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43926 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43927 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43928 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43929 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43930 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43932 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43933
31ea014d
UD
43934 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43935
16437fec
AS
439362011-10-25 Andreas Schwab <schwab@redhat.com>
43937
43938 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43939 condition.
43940 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43941
31d3cc00
UD
439422011-10-25 Ulrich Drepper <drepper@gmail.com>
43943
43944 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43945 .text section. Avoid duplicate constants.
43946 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43948 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43954 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43955 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43956 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43958 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43959 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43960 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43961 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43962 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43963 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43964 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43966 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43967 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43969 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43970 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43971 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43972 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43973 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43974 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43975 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43976 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43977 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43978 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43979 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43980 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43981 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43982 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43984 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43985 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43988 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43990 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43991
58985aa9
UD
439922011-10-24 Ulrich Drepper <drepper@gmail.com>
43993
202c9deb
UD
43994 * sysdeps/x86_64/dla.h: Move to ...
43995 * sysdeps/x86_64/fpu/dla.h: ...here.
43996 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43997 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43998
af968f62
UD
43999 * config.make.in: Add have-mfma4 entry.
44000 * configure.in: Substitute libc_cv_cc_fma4.
44001 * math/Makefile (dbl-only-routines): Add sincostab.
44002 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44003 Use __sincostab not sincos.
44004 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44005 name is a macro.
44006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44010 using __copysign.
44011 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44012 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44013 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44014 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44015 and __inv.
44016 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44017 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44018 __copysign.
44019 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44020 define aliases when function name is a macro.
44021 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44022 sysdeps/ieee754/dbl-64/sincos.tbl.
44023 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44024 fma4-enabled routines.
44025 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44026 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44027 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44028 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44029 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44030 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44032 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44034 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44035 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44036 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44037 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44038 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44039 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44040 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44041 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44042 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44043 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44044 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44045 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44046 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44047 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44048 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44049 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44050 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44051 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44052 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44053 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44054 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44055
58985aa9
UD
44056 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44057 rename.
44058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44066
a201fbcf
AS
440672011-10-24 Andreas Schwab <schwab@redhat.com>
44068
44069 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44070
fc2ee42a
LD
440712011-10-23 Ulrich Drepper <drepper@gmail.com>
44072
bb3129bd
UD
44073 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44074
0275fff8
UD
44075 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44076 prediction.
44077 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44078
2fa2ae85
UD
44079 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44080 Remove unused variable magic_bits.
44081 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44082
fc2ee42a
LD
44083 * string/strnlen.c: Define and use STRNLEN macro.
44084 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44085 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44086 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44087 * wcsmbs/wcslen.c: Define and use WCSLEN.
44088 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44089 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44090 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44091 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44092 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44093 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44094 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44095
ce7dd29f
LD
440962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44097
44098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44099 strnlen-sse2-no-bsf.
44100 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44102 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44103 Add strnlen support.
44104 (USE_AS_STRNLEN): New macro.
44105 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44106 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44107 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44108 * sysdeps/x86_64/wcslen.S: New file.
44109
979c70a3
MZ
441102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44111
44112 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44113 XMM-moves are used for copying on small sizes.
44114
2d09f82f
LD
441152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44116
44117 * wcsmbs/Makefile (strop-tests): Add wcschr.
44118 * wcsmbs/test-wcschr.c: New file.
44119 * string/test-strchr.c: Update.
44120 Add wcschr support.
44121 (WIDE): New macro.
44122
619fccca
LD
441232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44124
2d09f82f 44125 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44126 * wcsmbs/test-wcslen.c: New file.
44127 * string/test-strlen.c: Update.
44128 Add wcslen support.
44129 (WIDE): New macro.
44130
09f699ea
UD
441312011-10-23 Ulrich Drepper <drepper@gmail.com>
44132
44133 * po/it.po: Update from translation team.
44134
95584d3b
LD
441352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44136
44137 * sysdeps/x86_64/wcscmp.S: Update.
44138 Fix wrong comparison semantics.
44139 wcscmp shall use signed comparison not unsigned.
44140 Don't use substraction to avoid overflow bug.
44141 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44142 * wcsmbc/wcscmp.c: Likewise.
44143 * string/test-strcmp.c: Likewise.
44144 Add new tests to check cases with negative values.
44145
c8b3296b
UD
441462011-10-23 Ulrich Drepper <drepper@gmail.com>
44147
44148 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44149 * sysdeps/x86_64/dla.h: ...here. New file.
44150 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44159
246ad57a
AS
441602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44161
44162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44163 __ynl_finite aliases.
44164
a1a87169
UD
441652011-10-22 Ulrich Drepper <drepper@gmail.com>
44166
0d355eb7
UD
44167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44168
a1a87169
UD
44169 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44170 define DLA_FMA.
44171 [DLA_FMA] (EMULV): Use DLA_FMA.
44172 [DLA_FMA] (MUL12): Use EMULV.
44173 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44174 that are not needed.
44175 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44178 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44180 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44181 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44182
ee2aafe0
AS
441832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44184
44185 * math/s_nan.c: Undef __nan.
44186 * math/s_nanf.c: Undef __nanf.
44187 * math/s_nanl.c: Undef __nanl.
44188 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44189 "math_private.h".
44190
bc62c2fb
UD
441912011-10-22 Ulrich Drepper <drepper@gmail.com>
44192
77425c63
UD
44193 * math/s_catan.c: Add branch predictions.
44194 * math/s_catanf.c: Likewise.
44195 * math/s_catanh.c: Likewise.
44196 * math/s_catanhf.c: Likewise.
44197 * math/s_catanhl.c: Likewise.
44198 * math/s_catanl.c: Likewise.
44199 * math/s_cexp.c: Likewise.
44200 * math/s_cexpf.c: Likewise.
44201 * math/s_cexpl.c: Likewise.
44202 * math/s_clog.c: Likewise.
44203 * math/s_clog10.c: Likewise.
44204 * math/s_clog10f.c: Likewise.
44205 * math/s_clog10l.c: Likewise.
44206 * math/s_clogf.c: Likewise.
44207 * math/s_clogl.c: Likewise.
44208 * math/s_csqrt.c: Likewise.
44209 * math/s_csqrtf.c: Likewise.
44210 * math/s_csqrtl.c: Likewise.
44211 * math/s_ctanf.c: Likewise.
44212 * math/s_ctanh.c: Likewise.
44213 * math/s_ctanhf.c: Likewise.
44214 * math/s_ctanhl.c: Likewise.
44215 * math/s_ctanl.c: Likewise.
44216
bc62c2fb
UD
44217 * math/math_private.h: Define __nan, __nanf, __nanl.
44218 * math/s_cacosh.c: Include <math_private.h>.
44219 * math/s_cacoshl.c: Likewise.
44220 * math/s_casinh.c: Likewise.
44221 * math/s_casinhf.c: Likewise.
44222 * math/s_casinhl.c: Likewise.
44223 * math/s_ccos.c: Rely entire on ccosh.
44224 * math/s_ccosf.c: Rely entire on ccoshf.
44225 * math/s_ccosl.c: Rely entirely on ccoshl.
44226 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44227 Remove tests for FE_INVALID.
44228 * math/s_ccoshf.c: Likewise.
44229 * math/s_ccoshl.c: Likewise.
44230 * math/s_csin.c: Likewise.
44231 * math/s_csinf.c: Likewise.
44232 * math/s_csinh.c Likewise.
44233 * math/s_csinhf.c: Likewise.
44234 * math/s_csinhl.c: Likewise.
44235 * math/s_csinl.c: Likewise.
44236 * math/s_ctan.c: Likewise.
44237 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44238 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44239 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44240
8ec250a4
UD
442412011-10-21 Ulrich Drepper <drepper@gmail.com>
44242
c196fed8
UD
44243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44244 compilation problems.
44245
8ec250a4
UD
44246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44247 __builtin_expect.
44248
8d4f46c6
UD
442492011-10-20 Ulrich Drepper <drepper@gmail.com>
44250
ed72b654
UD
44251 * sysdeps/i386/configure.in: Test for -mfma4 option.
44252 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44253 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44254 COMMON_CPUID_INDEX_80000001.
44255 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44256 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44257 use it if FMA3 is not supported.
44258 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44259
8d4f46c6
UD
44260 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44261 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44262
d45c60c2
AS
442632011-10-20 Andreas Schwab <schwab@redhat.com>
44264
44265 [BZ #12892]
44266 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44267 it would create a cycle with a link time dependency.
44268
d9a4d2ab
UD
442692011-10-19 Ulrich Drepper <drepper@gmail.com>
44270
855d1560
UD
44271 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44272 instruction.
44273 * string/Makefile (strop-tests): Add rawmemchr.
44274 * string/test-rawmemchr.c: New file.
44275
d9a4d2ab
UD
44276 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44278 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44279 when compiling str{,n}casecmp and when AVX is available. Hook up
44280 new optimized code in initializers.
44281
8f3b1ffe
AS
442822011-10-19 Andreas Schwab <schwab@redhat.com>
44283
44284 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44285 __feraiseexcept instead of feraiseexcept.
44286
d38f1dba
UD
442872011-10-18 Ulrich Drepper <drepper@gmail.com>
44288
d9a8d0ab
UD
44289 * math/math_private.h: Define defaults for libc_fetestexcept and
44290 libc_feupdateenv.
44291 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44292 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44293 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44294 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44295 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44296 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44297 libc_fetestexcept and libc_feupdateenv.
44298
4855e3dd
UD
44299 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44300 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44301 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44302 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44303 libc_feholdexcept_setround.
44304
581d30e3
UD
44305 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44306 Add s_nearbyint-c and s_nearbyintf-c.
44307 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44308 nearbyintf inlines.
44309 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44310 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44311 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44312 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44313
d38f1dba
UD
44314 * math/math_private.h: Define defaults for libc_fegetround,
44315 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44316 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44317 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44318 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44319 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44320 standard functions.
44321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44322 Remove comments and hacks for old compiler versions.
44323 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44324 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44325 libc_feholdexceptl.
44326
caa6c9d8
AS
443272011-10-18 Andreas Schwab <schwab@redhat.com>
44328
44329 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44330 (__feraiseexcept_renamed): Add __NTH.
44331 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44332 namespace violations.
44333
97c066e6
UD
443342011-10-17 Ulrich Drepper <drepper@gmail.com>
44335
99ce7b04
UD
44336 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44337
1004d182
UD
44338 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44339
228a984d
UD
44340 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44341 recently added interfaces.
44342 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44343
c8553a6a
UD
44344 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44345 about macro parameter expansion.
44346
ed22dcf6
UD
44347 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44348 __NO_MATH_INLINES is defined. Cleanups.
44349
44350 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44351 and __floorf is target has SSE4.1.
44352 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44353 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44354 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44355 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44356
b171c137
UD
44357 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44358 name.
44359 (floorf): Likewise.
44360
97c066e6
UD
44361 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44362
629f62ef
AS
443632011-10-17 Andreas Schwab <schwab@redhat.com>
44364
49a43d80
AS
44365 * misc/sys/cdefs.h: Fix last change.
44366
629f62ef
AS
44367 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44368 database lookup.
44369
e453f6cd
UD
443702011-10-16 Ulrich Drepper <drepper@gmail.com>
44371
aa78043a
UD
44372 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44373
ad0f5cad
UD
44374 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44380 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44381 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44382 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44383 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44384 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44385 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44386 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44387 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44388 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44389 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44390 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44391 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44392 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44393 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44394 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44395 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44396
44397 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44398 ceil, ceilf, floor, floorf.
44399
44400 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44401 Perform IRELATIVE relocations last.
44402
e453f6cd
UD
44403 * elf/do-rel.h: Add another parameter nrelative, replacing the
44404 local variable with the same name. Change name of the function
44405 to end in Rel or Rela (uppercase).
44406 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44407 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44408 elf_dynamic_do_##reloc function.
44409
fd5bdc09
UD
444102011-10-15 Ulrich Drepper <drepper@gmail.com>
44411
79b195b5
UD
44412 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44413 is sufficient, at least on modern CPUs.
44414
d4a28569
UD
44415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44416
b61099b5
UD
44417 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44418 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44419
bcf01e6d
UD
44420 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44421 __expl_finite.
44422 * math/bits/math-finite.h: Add entries for exp.
44423 * math/e_expl.c: Add __*_finite alias.
44424 * sysdeps/i386/fpu/e_exp.S: Likewise.
44425 * sysdeps/i386/fpu/e_expf.S: Likewise.
44426 * sysdeps/i386/fpu/e_expl.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44428 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44429 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44430 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44432 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44433 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44434
ba1a0d59
UD
44435 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44436 is sufficient, at least on modern CPUs.
44437
fd5bdc09
UD
44438 * ctype/ctype-info.c (__ctype_init): Define.
44439 * include/ctype.h (__ctype_init): Declare.
44440 (__ctype_b_loc): The variable is always initialized.
44441 (__ctype_toupper_loc): Likewise.
44442 (__ctype_tolower_loc): Likewise.
44443 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44444 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44445
7872cfb0
AS
444462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44447
b468825a
AS
44448 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44449
7872cfb0
AS
44450 * configure.in: Also look in $cxxmachine/include for C++ system
44451 headers.
44452
be13f7bf
LD
444532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44454
44455 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44456 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44457 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44458 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44459 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44460 (USE_AS_WMEMCMP): New macro.
44461 Fixing indents.
44462 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44463 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44464 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44465 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44467 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44468 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44469 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44470 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44471 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44472 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44473 (USE_AS_WMEMCMP): New macro.
44474 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44475 * sysdeps/string/test-memcmp.c: Update.
44476 Fix simple_wmemcmp.
44477 Add new tests.
44478 * wcsmbs/wmemcmp.c: Update.
44479 (WMEMCMP): New macro.
44480 Fix overflow bug.
44481
556a2007
AJ
444822011-10-12 Andreas Jaeger <aj@suse.de>
44483
44484 [BZ #13268]
44485 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44486
538faaa7
UD
444872011-10-15 Ulrich Drepper <drepper@gmail.com>
44488
ab6737ff
UD
44489 * libio/iofwide.c (do_length): Avoid warning.
44490
538faaa7
UD
44491 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44492
396a21b1
UD
444932011-10-14 Ulrich Drepper <drepper@gmail.com>
44494
cdf2901f
UD
44495 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44496
38ad40ce
UD
44497 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44498 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44499 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44500 * sysdeps/i386/i686/fpu/e_log.S: New file.
44501 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44502 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44503
396a21b1
UD
44504 * ctype/ctype.h: Add support for inlined isXXX functions when
44505 compiling C++ code.
44506
6b1f68c9
AS
445072011-10-14 Andreas Schwab <schwab@redhat.com>
44508
349290c0
AS
44509 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44510
6b1f68c9
AS
44511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44512
f2282d42
RM
445132011-10-13 Roland McGrath <roland@hack.frob.com>
44514
44515 [BZ #13291]
44516 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44517
5298ffa8
AS
445182011-10-13 Andreas Schwab <schwab@redhat.com>
44519
714fad23
AS
44520 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44521 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44522 feraiseexcept.
44523
81dcc7fb
AS
44524 * sysdeps/x86_64/memrchr.S: Check for zero size.
44525
5298ffa8
AS
44526 * string/stratcliff.c: Add memrchr tests.
44527
951fbcec
LD
445282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44529
44530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44531 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44532 rawmemchr-sse2 rawmemchr-sse2-bsf.
44533 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44534 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44535 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44536 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44537 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44538 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44539 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44540 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44541 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44542 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44543 * string/memrchr.c (MEMRCHR): New macro.
44544
0ac5ae23
UD
445452011-10-12 Ulrich Drepper <drepper@gmail.com>
44546
44547 Add integration with gcc's -ffinite-math-only and optimize wrapper
44548 functions in libm.
44549 * Versions.def: Define GLIBC_2.15 version for libm.
44550 * math/Makefile (headers): Add bits/math-finite.h.
44551 * math/bits/math-finite.h: New file.
44552 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44553 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44554 * math/e_acoshl.c: Add __*_finite alias.
44555 * math/e_acosl.c: Likewise.
44556 * math/e_asinl.c: Likewise.
44557 * math/e_atan2l.c: Likewise.
44558 * math/e_atanhl.c: Likewise.
44559 * math/e_coshl.c: Likewise.
44560 * math/e_exp10.c: Likewise.
44561 * math/e_exp10f.c: Likewise.
44562 * math/e_exp10l.c: Likewise.
44563 * math/e_exp2l.c: Likewise.
44564 * math/e_fmodl.c: Likewise.
44565 * math/e_gammal_r.c: Likewise.
44566 * math/e_hypotl.c: Likewise.
44567 * math/e_j0l.c: Likewise.
44568 * math/e_j1l.c: Likewise.
44569 * math/e_jnl.c: Likewise.
44570 * math/e_lgammal_r.c: Likewise.
44571 * math/e_log10l.c: Likewise.
44572 * math/e_log2l.c: Likewise.
44573 * math/e_logl.c: Likewise.
44574 * math/e_powl.c: Likewise.
44575 * math/e_sinhl.c: Likewise.
44576 * math/e_sqrtl.c: Likewise.
44577 * math/e_scalb.c: Completely rewritten and optimized.
44578 * math/e_scalbf.c: Likewise.
44579 * math/e_scalbl.c: Likewise.
44580 * math/w_acos.c: Likewise.
44581 * math/w_acosf.c: Likewise.
44582 * math/w_acosl.c: Likewise.
44583 * math/w_acosh.c: Likewise.
44584 * math/w_acoshf.c: Likewise.
44585 * math/w_acoshl.c: Likewise.
44586 * math/w_asin.c: Likewise.
44587 * math/w_asinf.c: Likewise.
44588 * math/w_asinl.c: Likewise.
44589 * math/w_atan2.c: Likewise.
44590 * math/w_atan2f.c: Likewise.
44591 * math/w_atan2l.c: Likewise.
44592 * math/w_atanh.c: Likewise.
44593 * math/w_atanhf.c: Likewise.
44594 * math/w_atanhl.c: Likewise.
44595 * math/w_exp10.c: Likewise.
44596 * math/w_exp10f.c: Likewise.
44597 * math/w_exp10l.c: Likewise.
44598 * math/w_fmod.c: Likewise.
44599 * math/w_fmodf.c: Likewise.
44600 * math/w_fmodl.c: Likewise.
44601 * math/w_j0.c: Likewise.
44602 * math/w_j0f.c: Likewise.
44603 * math/w_j0l.c: Likewise.
44604 * math/w_j1.c: Likewise.
44605 * math/w_j1f.c: Likewise.
44606 * math/w_j1l.c: Likewise.
44607 * math/w_jn.c: Likewise.
44608 * math/w_jnf.c: Likewise.
44609 * math/w_log.c: Likewise.
44610 * math/w_logf.c: Likewise.
44611 * math/w_logl.c: Likewise.
44612 * math/w_log10.c: Likewise.
44613 * math/w_log10f.c: Likewise.
44614 * math/w_log10l.c: Likewise.
44615 * math/w_log2.c: Likewise.
44616 * math/w_log2f.c: Likewise.
44617 * math/w_log2l.c: Likewise.
44618 * math/w_pow.c: Likewise.
44619 * math/w_powf.c: Likewise.
44620 * math/w_powl.c: Likewise.
44621 * math/w_remainder.c: Likewise.
44622 * math/w_remainderf.c: Likewise.
44623 * math/w_remainderl.c: Likewise.
44624 * math/w_scalb.c: Likewise.
44625 * math/w_scalbf.c: Likewise.
44626 * math/w_scalbl.c: Likewise.
44627 * math/w_sqrt.c: Likewise.
44628 * math/w_sqrtf.c: Likewise.
44629 * math/w_sqrtl.c: Likewise.
44630 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44631 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44632 used.
44633 * math/math_private.h: Declare __kernel_standard_f.
44634 * math/w_cosh.c: Remove cruft and optimize a bit.
44635 * math/w_coshf.c: Likewise.
44636 * math/w_coshl.c: Likewise.
44637 * math/w_exp2.c: Likewise.
44638 * math/w_exp2f.c: Likewise.
44639 * math/w_exp2l.c: Likewise.
44640 * math/w_hypot.c: Likewise.
44641 * math/w_hypotf.c: Likewise.
44642 * math/w_hypotl.c: Likewise.
44643 * math/w_lgamma.c: Likewise.
44644 * math/w_lgamma_r.c: Likewise.
44645 * math/w_lgammaf.c: Likewise.
44646 * math/w_lgammaf_r.c: Likewise.
44647 * math/w_lgammal.c: Likewise.
44648 * math/w_lgammal_r.c: Likewise.
44649 * math/w_sinh.c: Likewise.
44650 * math/w_sinhf.c: Likewise.
44651 * math/w_sinhl.c: Likewise.
44652 * math/w_tgamma.c: Likewise.
44653 * math/w_tgammaf.c: Likewise.
44654 * math/w_tgammal.c: Likewise.
44655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44656 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44657 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44658 Minor optimizations. Pretty printing. Remove cruft.
44659 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44660 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44661 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44662 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44663 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44664 * sysdeps/i386/fpu/e_asin.S: Likewise.
44665 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44666 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44667 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44668 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44669 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44670 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44671 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44672 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44673 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44674 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44675 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44676 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44677 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44678 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44679 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44680 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44681 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44682 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44683 * sysdeps/i386/fpu/e_log.S: Likewise.
44684 * sysdeps/i386/fpu/e_log10.S: Likewise.
44685 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44686 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44687 * sysdeps/i386/fpu/e_log2.S: Likewise.
44688 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44689 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44690 * sysdeps/i386/fpu/e_logf.S: Likewise.
44691 * sysdeps/i386/fpu/e_logl.S: Likewise.
44692 * sysdeps/i386/fpu/e_pow.S: Likewise.
44693 * sysdeps/i386/fpu/e_powf.S: Likewise.
44694 * sysdeps/i386/fpu/e_powl.S: Likewise.
44695 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44696 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44697 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44698 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44701 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44702 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44703 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44704 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44705 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44707 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44708 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44709 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44710 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44711 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44712 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44713 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44714 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44715 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44717 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44718 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44720 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44721 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44722 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44724 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44725 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44728 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44729 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44730 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44731 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44732 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44733 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44735 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44736 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44737 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44738 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44739 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44740 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44741 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44742 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44743 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44744 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44745 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44746 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44747 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44749 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44750 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44751 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44752 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44753 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44758 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44759 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44760 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44761 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44762 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44763 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44781 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44783 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44785 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44789 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44790 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44792 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44795 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44796 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44797 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44798 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44799 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44800 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44801 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44802 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44803 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44804 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44805 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44806 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44807 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44809 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44810 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44811 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44812 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44813 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44814 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44815 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44816 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44817 (__isnanf): Likewise.
44818 (__isinf_ns): Likewise.
44819 (__isinf_nsf): Likewise.
44820 (__finite): Likewise.
44821 (__finitef): Likewise.
44822 (__ieee754_sqrt): Define as macro.
44823 (__ieee754_sqrtf): Define as macro.
44824 (__ieee754_sqrtl): Define as macro.
44825 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44826 inlined copy.
44827 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44828 __FINITE_MATH_ONLY__ consistent.
44829 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44830
12cc2fcd
AS
448312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44832
a843a204
AS
44833 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44834 of rawmemchr.
44835
12cc2fcd
AS
44836 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44837
c853acd5
UD
448382011-10-09 Ulrich Drepper <drepper@gmail.com>
44839
44840 * po/ja.po: Update from translation team.
44841
c658d255
RM
448422011-10-08 Roland McGrath <roland@hack.frob.com>
44843
110946e4
RM
44844 * locale/programs/locarchive.c (prepare_address_space): New function.
44845 (create_archive, enlarge_archive, open_archive): Use it.
44846
50604220
RM
44847 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44848 inside [SHARED], where it is used.
44849
c658d255
RM
44850 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44851
44852 * nss/getent.c (netgroup_keys): Remove unused variable.
44853 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44854
6a621eb7
UD
448552011-10-08 Ulrich Drepper <drepper@gmail.com>
44856
7edb55ce
UD
44857 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44858 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44861 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44862 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44863 * math/Makefile (libm-calls): Add s_isinf_ns.
44864 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44865 * math/multc3.c: Likewise.
44866 * math/s_casin.c: Likewise.
44867 * math/s_casinf.c: Likewise.
44868 * math/s_casinl.c: Likewise.
44869 * math/s_ccos.c: Likewise.
44870 * math/s_ccosf.c: Likewise.
44871 * math/s_ccosl.c: Likewise.
44872 * math/s_ctan.c: Likewise.
44873 * math/s_ctanf.c: Likewise.
44874 * math/s_ctanh.c: Likewise.
44875 * math/s_ctanhf.c: Likewise.
44876 * math/s_ctanhl.c: Likewise.
44877 * math/s_ctanl.c: Likewise.
44878 * math/w_fmod.c: Likewise.
44879 * math/w_fmodf.c: Likewise.
44880 * math/w_fmodl.c: Likewise.
44881 * math/w_remainder.c: Likewise.
44882 * math/w_remainderf.c: Likewise.
44883 * math/w_remainderl.c: Likewise.
44884 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44885 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44886 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44888 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44889 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44890 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44891 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44892
187da0ae
UD
44893 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44894 of the number.
44895 * stdio-common/printf_fphex.c: Likewise.
44896 * stdio-common/printf_size.c: Likewise.
44897
9277c064
UD
44898 * math/e_exp10.c: Include math_private.h using <...> not "...".
44899 * math/e_exp10f.c: Likewise.
44900 * math/e_exp10l.c: Likewise.
44901 * math/e_exp2l.c: Likewise.
44902 * math/e_j0l.c: Likewise.
44903 * math/e_j1l.c: Likewise.
44904 * math/e_jnl.c: Likewise.
44905 * math/e_lgammal_r.c: Likewise.
44906 * math/e_rem_pio2l.c: Likewise.
44907 * math/e_scalb.c: Likewise.
44908 * math/e_scalbf.c: Likewise.
44909 * math/e_scalbl.c: Likewise.
44910 * math/k_cosl.c: Likewise.
44911 * math/k_sinl.c: Likewise.
44912 * math/k_tanl.c: Likewise.
44913 * math/s_cacoshf.c: Likewise.
44914 * math/s_catan.c: Likewise.
44915 * math/s_catanf.c: Likewise.
44916 * math/s_catanh.c: Likewise.
44917 * math/s_catanhf.c: Likewise.
44918 * math/s_catanhl.c: Likewise.
44919 * math/s_catanl.c: Likewise.
44920 * math/s_ccosh.c: Likewise.
44921 * math/s_ccoshf.c: Likewise.
44922 * math/s_ccoshl.c: Likewise.
44923 * math/s_cexp.c: Likewise.
44924 * math/s_cexpf.c: Likewise.
44925 * math/s_cexpl.c: Likewise.
44926 * math/s_clog.c: Likewise.
44927 * math/s_clog10.c: Likewise.
44928 * math/s_clog10f.c: Likewise.
44929 * math/s_clog10l.c: Likewise.
44930 * math/s_clogf.c: Likewise.
44931 * math/s_clogl.c: Likewise.
44932 * math/s_csin.c: Likewise.
44933 * math/s_csinf.c: Likewise.
44934 * math/s_csinh.c: Likewise.
44935 * math/s_csinhf.c: Likewise.
44936 * math/s_csinhl.c: Likewise.
44937 * math/s_csinl.c: Likewise.
44938 * math/s_csqrt.c: Likewise.
44939 * math/s_csqrtf.c: Likewise.
44940 * math/s_csqrtl.c: Likewise.
44941 * math/s_ctan.c: Likewise.
44942 * math/s_ctanf.c: Likewise.
44943 * math/s_ctanh.c: Likewise.
44944 * math/s_ctanhf.c: Likewise.
44945 * math/s_ctanhl.c: Likewise.
44946 * math/s_ctanl.c: Likewise.
44947 * math/s_ldexp.c: Likewise.
44948 * math/s_ldexpf.c: Likewise.
44949 * math/s_ldexpl.c: Likewise.
44950 * math/s_significand.c: Likewise.
44951 * math/s_significandf.c: Likewise.
44952 * math/s_significandl.c: Likewise.
44953 * math/w_acos.c: Likewise.
44954 * math/w_acosf.c: Likewise.
44955 * math/w_acosh.c: Likewise.
44956 * math/w_acoshf.c: Likewise.
44957 * math/w_acoshl.c: Likewise.
44958 * math/w_acosl.c: Likewise.
44959 * math/w_asin.c: Likewise.
44960 * math/w_asinf.c: Likewise.
44961 * math/w_asinl.c: Likewise.
44962 * math/w_atan2.c: Likewise.
44963 * math/w_atan2f.c: Likewise.
44964 * math/w_atan2l.c: Likewise.
44965 * math/w_atanh.c: Likewise.
44966 * math/w_atanhf.c: Likewise.
44967 * math/w_atanhl.c: Likewise.
44968 * math/w_cosh.c: Likewise.
44969 * math/w_coshf.c: Likewise.
44970 * math/w_coshl.c: Likewise.
44971 * math/w_dremf.c: Likewise.
44972 * math/w_exp10.c: Likewise.
44973 * math/w_exp10f.c: Likewise.
44974 * math/w_exp10l.c: Likewise.
44975 * math/w_exp2.c: Likewise.
44976 * math/w_exp2f.c: Likewise.
44977 * math/w_fmod.c: Likewise.
44978 * math/w_fmodf.c: Likewise.
44979 * math/w_fmodl.c: Likewise.
44980 * math/w_hypot.c: Likewise.
44981 * math/w_hypotf.c: Likewise.
44982 * math/w_hypotl.c: Likewise.
44983 * math/w_j0.c: Likewise.
44984 * math/w_j0f.c: Likewise.
44985 * math/w_j0l.c: Likewise.
44986 * math/w_j1.c: Likewise.
44987 * math/w_j1f.c: Likewise.
44988 * math/w_j1l.c: Likewise.
44989 * math/w_jn.c: Likewise.
44990 * math/w_jnf.c: Likewise.
44991 * math/w_jnl.c: Likewise.
44992 * math/w_lgamma.c: Likewise.
44993 * math/w_lgamma_r.c: Likewise.
44994 * math/w_lgammaf.c: Likewise.
44995 * math/w_lgammaf_r.c: Likewise.
44996 * math/w_lgammal.c: Likewise.
44997 * math/w_lgammal_r.c: Likewise.
44998 * math/w_log.c: Likewise.
44999 * math/w_log10.c: Likewise.
45000 * math/w_log10f.c: Likewise.
45001 * math/w_log10l.c: Likewise.
45002 * math/w_log2.c: Likewise.
45003 * math/w_log2f.c: Likewise.
45004 * math/w_log2l.c: Likewise.
45005 * math/w_logf.c: Likewise.
45006 * math/w_logl.c: Likewise.
45007 * math/w_pow.c: Likewise.
45008 * math/w_powf.c: Likewise.
45009 * math/w_powl.c: Likewise.
45010 * math/w_remainder.c: Likewise.
45011 * math/w_remainderf.c: Likewise.
45012 * math/w_remainderl.c: Likewise.
45013 * math/w_scalb.c: Likewise.
45014 * math/w_scalbf.c: Likewise.
45015 * math/w_scalbl.c: Likewise.
45016 * math/w_sinh.c: Likewise.
45017 * math/w_sinhf.c: Likewise.
45018 * math/w_sinhl.c: Likewise.
45019 * math/w_sqrt.c: Likewise.
45020 * math/w_sqrtf.c: Likewise.
45021 * math/w_sqrtl.c: Likewise.
45022 * math/w_tgamma.c: Likewise.
45023 * math/w_tgammaf.c: Likewise.
45024 * math/w_tgammal.c: Likewise.
45025
6a621eb7
UD
45026 * po/ja.po: Update from translation team.
45027
bf582445
AJ
450282011-09-29 Andreas Jaeger <aj@suse.de>
45029
f9efbf3a
AJ
45030 [BZ #13179]
45031 * sunrpc/netname.c (netname2host): Fix logic.
45032
bf582445
AJ
45033 [BZ #6779]
45034 [BZ #6783]
45035 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45036 correctly.
45037 * math/w_remainder.c (__remainder): Likewise.
45038 * math/w_remainderf.c (__remainderf): Likewise.
45039 * math/libm-test.inc (remainder_test): Add test cases.
45040
48693bea
AK
450412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45042
45043 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45044 sdiv_qrnnd.
45045
42622229
LD
450462011-10-07 Ulrich Drepper <drepper@gmail.com>
45047
45048 * string/test-memcmp.c: Avoid unncessary #defines.
45049 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45050
093ecf92
LD
450512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45052
45053 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45054 Use new sse2 version for core i3 - i7 as it's faster
45055 than sse42 version.
45056 (bit_Prefer_PMINUB_for_stringop): New.
45057 * sysdeps/x86_64/rawmemchr.S: Update.
45058 Replace with faster SSE2 version.
45059 * sysdeps/x86_64/memrchr.S: New file.
45060 * sysdeps/x86_64/memchr.S: Update.
45061 Replace with faster SSE2 version.
45062
fde56e5c
MP
450632011-09-12 Marek Polacek <mpolacek@redhat.com>
45064
45065 * elf/dl-load.c (lose): Add cast to avoid warning.
45066
21fd49a9
UD
450672011-10-07 Ulrich Drepper <drepper@gmail.com>
45068
5a06e643
UD
45069 * po/ca.po: Update from translation team.
45070
684ae515
UD
45071 * inet/getnetgrent_r.c: Hook up nscd.
45072 * nscd/Makefile (routines): Add nscd_netgroup.
45073 (nscd-modules): Add netgroupcache.
45074 (CFLAGS-netgroupcache.c): Define.
45075 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45076 (cache_search): Add const to second parameter.
45077 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45078 INNETGR.
45079 (dbs): Add netgrdb entry.
45080 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45081 (verify_persistent_db): Handle netgrdb.
45082 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45083 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45084 GETFDNETGR.
45085 (netgroup_response_header): Define.
45086 (innetgroup_response_header): Define.
45087 (datahead): Add netgroup_response_header and innetgroup_response_header
45088 elements.
45089 * nscd/nscd.conf: Add entries for netgroup cache.
45090 * nscd/nscd.h (dbtype): Add netgrdb.
45091 (_PATH_NSCD_NETGROUP_DB): Define.
45092 (netgroup_iov_disabled): Declare.
45093 (xmalloc, xcalloc, xrealloc): Move declarations here.
45094 (cache_search): Adjust prototype.
45095 Add netgroup-related prototypes.
45096 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45097 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45098 (__nscd_innetgr): Declare.
45099 * nscd/selinux.c (perms): Use access_vector_t as element type and
45100 add netgroup-related initializers.
45101 * nscd/netgroupcache.c: New file.
45102 * nscd/nscd_netgroup.c: New file.
45103 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45104 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45105 For four parameters use innetgr.
45106 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45107 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45108 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45109 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45110
21fd49a9
UD
45111 * nscd/connections.c (register_traced_file): Don't register file
45112 for disabled databases.
45113
054c0457
UD
451142011-10-06 Ulrich Drepper <drepper@gmail.com>
45115
32b63198
UD
45116 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45117
054c0457
UD
45118 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45119 from tree and freeing node.
45120
64031225
JO
451212011-09-25 Jiri Olsa <jolsa@redhat.com>
45122
45123 * nss/nsswitch.c (__nss_database_lookup): Handle
45124 nss_parse_service_list out of memory case.
45125
0490345c
JO
451262011-09-15 Jiri Olsa <jolsa@redhat.com>
45127
45128 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45129 out of memory case.
45130
3a62d00d
AS
451312011-10-04 Andreas Schwab <schwab@redhat.com>
45132
45133 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45134 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45135 pass it down.
45136 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45137 elf_machine_rela, elf_machine_lazy_rel.
45138 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45139 (ELF_DYNAMIC_DO_REL): Likewise.
45140 (ELF_DYNAMIC_DO_RELA): Likewise.
45141 (ELF_DYNAMIC_RELOCATE): Likewise.
45142 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45143 to ELF_DYNAMIC_DO_REL.
45144 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45145 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45146 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45147 elf_machine_rela.
45148 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45149 skip_ifunc, don't call ifunc function if non-zero.
45150 (elf_machine_rela): Likewise.
45151 (elf_machine_lazy_rel): Likewise.
45152 (elf_machine_lazy_rela): Likewise.
45153 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45154 (elf_machine_lazy_rel): Likewise.
45155 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45156 Likewise.
45157 (elf_machine_lazy_rel): Likewise.
45158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45159 Likewise.
45160 (elf_machine_lazy_rel): Likewise.
45161 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45162 (elf_machine_lazy_rel): Likewise.
45163 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45164 (elf_machine_lazy_rel): Likewise.
45165 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45166 (elf_machine_lazy_rel): Likewise.
45167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45168 (elf_machine_lazy_rel): Likewise.
45169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45170 (elf_machine_lazy_rel): Likewise.
45171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45172 (elf_machine_lazy_rel): Likewise.
45173
68577918
UD
451742011-09-28 Ulrich Drepper <drepper@gmail.com>
45175
45176 * nss/nss_files/files-init.c (_nss_files_init): Use static
45177 initialization for all the *_traced_file variables.
45178
68822d74
AS
451792011-09-28 Andreas Schwab <schwab@redhat.com>
45180
45181 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45182
2056100b
RM
451832011-09-27 Roland McGrath <roland@hack.frob.com>
45184
45185 [BZ #13226]
45186 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45187
32c76b63
AS
451882011-09-27 Andreas Schwab <schwab@redhat.com>
45189
45190 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45191 Reread the line before reparsing it.
45192
bf972c9d
AS
451932011-09-26 Andreas Schwab <schwab@redhat.com>
45194
45195 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45196
e057a1b5
JM
451972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45198 Maxim Kuvyrkov <maxim@codesourcery.com>
45199 Joseph Myers <joseph@codesourcery.com>
45200
45201 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45202 if needed for __stack_chk_guard.
45203
bc7e1c36
RM
452042011-09-19 Roland McGrath <roland@hack.frob.com>
45205
ecb1482f
RM
45206 * sysdeps/posix/spawni.c (script_execute): Always define it.
45207 It will be optimized away if unused.
45208 (maybe_script_execute): New function.
45209 (__spawni): Call it.
45210
bc7e1c36
RM
45211 * Makerules: Don't include tls.make.
45212 (config-tls): Always set to thread.
45213 * tls.make.c: File removed.
45214
1c3b002b
MF
452152011-09-19 Mike Frysinger <vapier@gentoo.org>
45216
45217 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45218 * config.make.in (CPPFLAGS-config): New substituted variable.
45219
2840865d
UD
452202011-09-15 Ulrich Drepper <drepper@gmail.com>
45221
88738eb6
UD
45222 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45223
cbf645a6 45224 [BZ #13192]
2840865d
UD
45225 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45226 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45227
b402e91a
RM
452282011-09-15 Roland McGrath <roland@hack.frob.com>
45229
45230 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45231 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45233 (CALL_FAIL): Likewise.
45234 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45235 (CALL_FAIL): Macro removed.
45236 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45237
4c1a1f71
UD
452382011-09-15 Ulrich Drepper <drepper@gmail.com>
45239
45240 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45241 for __FINITE_MATH_ONLY__ == 1.
45242
edc121be
AS
452432011-09-15 Andreas Schwab <schwab@redhat.com>
45244
45245 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45246 __ieee754_sqrt instead of sqrt.
45247 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45248 __ieee754_sqrtf instead of sqrtf.
45249 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45250 __floorf instead of floorf.
45251 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45252 __floorf, __truncf instead of floorf, truncf.
45253
cd205654
UD
452542011-09-14 Ulrich Drepper <drepper@gmail.com>
45255
ee4d0315
UD
45256 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45257
cd205654
UD
45258 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45259 __extern_always_inline.
45260 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45261 32-bit.
45262
48b67d71
AS
452632011-09-14 Andreas Schwab <schwab@redhat.com>
45264
45265 * elf/rtld.c (dl_main): Also relocate in dependency order when
45266 doing symbol dependency testing.
45267
1ae12c75
AS
452682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45269
45270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45271 Always define `refsym'.
45272
995a80df
AS
452732011-09-13 Andreas Schwab <schwab@redhat.com>
45274
e529793b
AS
45275 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45276 (__FD_ELT): Renamed from __FDELT.
45277 * misc/bits/select2.h (__FD_ELT): Likewise.
45278 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45279 __FD_MASK instead of __FDELT, __FDMASK.
45280 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45281 Likewise.
45282 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45283 Likewise.
45284
52d4fef8
AS
45285 * elf/Makefile (gen-ldd): Fix pattern.
45286
995a80df
AS
45287 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45288 (init_tls): Likewise.
45289
8682f8b0
UD
452902011-09-12 Ulrich Drepper <drepper@gmail.com>
45291
45292 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45293
de82006d
AS
452942011-09-12 Andreas Schwab <schwab@redhat.com>
45295
a7c8e6a1
AS
45296 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45297 `struct cmsghdr *' instead of `void *'.
45298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45299 Likewise.
45300
0f31fe77
AS
453012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45302
45303 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45304 if non-absolute.
45305 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45306 ldd_rewrite_script.
0f31fe77 45307
32b4c839
UD
453082011-09-11 Ulrich Drepper <drepper@gmail.com>
45309
83cd1420
UD
45310 * configure.in: Remove --with-tls option.
45311 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45312 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45313 out in case it is missing.
45314 * sysdeps/ia64/elf/configure.in: Likewise.
45315 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45316 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45317 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45318 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45319 * sysdeps/sh/elf/configure.in: Likewise.
45320 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45321 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45322 * sysdeps/x86_64/elf/configure.in: Likewise.
45323 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45324 * sysdeps/mach/hurd/tls.h: Likewise.
45325
633f745d
UD
45326 [BZ #13067]
45327 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45328
f318beb8
UD
45329 [BZ #13090]
45330 * configure.in: Fix use of AC_INIT.
45331
32b4c839
UD
45332 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45333
3ce1f295
UD
453342011-09-10 Ulrich Drepper <drepper@gmail.com>
45335
bb016596
UD
45336 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45337 __set_errno.
8e58439c
UD
45338 * malloc/hooks.c: Likewise.
45339
aebae053 45340 [BZ #11929]
02d46fc4
UD
45341 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45342 variables statically.
45343 (narenas): Initialize.
45344 (list_lock): Initialize.
bb016596
UD
45345 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45346 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45347 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45348 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45349 Add initializers to main_arena and mp_.
45350 (malloc_state): Remove pagesize member. Change all users to use
45351 GLRO(dl_pagesize).
45352
45353 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45354 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45355 is always initialized.
45356
22a89187
UD
45357 * malloc/malloc.c: Removed unused configurations and dead code.
45358 * malloc/arena.c: Likewise.
45359 * malloc/hooks.c: Likewise.
02d46fc4 45360 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45361
d063d164
UD
45362 * include/tls.h: Removed. USE___THREAD must always be defined.
45363 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45364 * elf/dl-libc.c: Likewise.
45365 * elf/dl-tsd.c: Likewise.
45366 * include/errno.h: Likewise.
45367 * include/netdb.h: Likewise.
45368 * include/resolv.h: Likewise.
45369 * inet/herrno-loc.c: Likewise.
45370 * inet/herrno.c: Likewise.
45371 * malloc/arena.c: Likewise.
45372 * malloc/hooks.c: Likewise.
45373 * malloc/malloc.c: Likewise.
45374 * resolv/res-state.c: Likewise.
45375 * resolv/res_libc.c: Likewise.
45376 * sysdeps/i386/dl-machine.h: Likewise.
45377 * sysdeps/ia64/dl-machine.h: Likewise.
45378 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45379 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45380 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45381 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45382 * sysdeps/sh/dl-machine.h: Likewise.
45383 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45384 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45385 * sysdeps/unix/i386/sysdep.S: Likewise.
45386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45387 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45392 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45396 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45397 * sysdeps/x86_64/dl-machine.h: Likewise.
45398 * tls.make.c: Likewise.
45399
3ce1f295
UD
45400 * configure.in: Remove --with-__thread option. Make tests for
45401 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45402 tls_model attribute fail if no support is available. Remove
45403 USE_IN_LIBIO.
45404 * Makeconfig: Adjust for dropped configure option. All features are
45405 now mandatory.
45406 * Makerules: Likewise.
45407 * Versions.def: Likewise.
45408 * argp/argp-fmtstream.c: Likewise.
45409 * argp/argp-fmtstream.h: Likewise.
45410 * argp/argp-help.c: Likewise.
45411 * assert/assert.c: Likewise.
45412 * config.h.in: Likewise.
45413 * config.make.in: Likewise.
45414 * configure: Likewise.
45415 * configure.in: Likewise.
45416 * csu/Versions: Likewise.
45417 * csu/init.c: Likewise.
45418 * elf/tst-audit2.c: Likewise.
45419 * elf/tst-tls10.c: Likewise.
45420 * elf/tst-tls10.h: Likewise.
45421 * elf/tst-tls11.c: Likewise.
45422 * elf/tst-tls12.c: Likewise.
45423 * elf/tst-tls14.c: Likewise.
45424 * elf/tst-tlsmod11.c: Likewise.
45425 * elf/tst-tlsmod12.c: Likewise.
45426 * elf/tst-tlsmod13.c: Likewise.
45427 * elf/tst-tlsmod13a.c: Likewise.
45428 * elf/tst-tlsmod14a.c: Likewise.
45429 * elf/tst-tlsmod15b.c: Likewise.
45430 * elf/tst-tlsmod16a.c: Likewise.
45431 * elf/tst-tlsmod16b.c: Likewise.
45432 * elf/tst-tlsmod7.c: Likewise.
45433 * elf/tst-tlsmod8.c: Likewise.
45434 * elf/tst-tlsmod9.c: Likewise.
45435 * gmon/gmon.c: Likewise.
45436 * grp/fgetgrent_r.c: Likewise.
45437 * grp/putgrent.c: Likewise.
45438 * hurd/fopenport.c: Likewise.
45439 * include/libc-symbols.h: Likewise.
45440 * include/tls.h: Likewise.
45441 * intl/gettextP.h: Likewise.
45442 * intl/loadinfo.h: Likewise.
45443 * locale/global-locale.c: Likewise.
45444 * locale/localeinfo.h: Likewise.
45445 * mach/devstream.c: Likewise.
45446 * malloc/arena.c: Likewise.
45447 * malloc/set-freeres.c: Likewise.
45448 * misc/err.c: Likewise.
45449 * misc/getttyent.c: Likewise.
45450 * misc/mntent_r.c: Likewise.
45451 * posix/getopt.c: Likewise.
45452 * posix/wordexp.c: Likewise.
45453 * pwd/fgetpwent_r.c: Likewise.
45454 * resolv/Versions: Likewise.
45455 * resolv/res_hconf.c: Likewise.
45456 * shadow/fgetspent_r.c: Likewise.
45457 * shadow/putspent.c: Likewise.
45458 * stdio-common/printf_fphex.c: Likewise.
45459 * stdio-common/tmpfile.c: Likewise.
45460 * stdlib/abort.c: Likewise.
45461 * stdlib/fmtmsg.c: Likewise.
45462 * sunrpc/auth_unix.c: Likewise.
45463 * sunrpc/clnt_perr.c: Likewise.
45464 * sunrpc/clnt_tcp.c: Likewise.
45465 * sunrpc/clnt_udp.c: Likewise.
45466 * sunrpc/clnt_unix.c: Likewise.
45467 * sunrpc/openchild.c: Likewise.
45468 * sunrpc/svc_simple.c: Likewise.
45469 * sunrpc/svc_tcp.c: Likewise.
45470 * sunrpc/svc_udp.c: Likewise.
45471 * sunrpc/svc_unix.c: Likewise.
45472 * sunrpc/xdr.c: Likewise.
45473 * sunrpc/xdr_array.c: Likewise.
45474 * sunrpc/xdr_rec.c: Likewise.
45475 * sunrpc/xdr_ref.c: Likewise.
45476 * sunrpc/xdr_stdio.c: Likewise.
45477
1248c1c4
PB
454782011-09-09 Ulrich Drepper <drepper@gmail.com>
45479
45480 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45481
454822011-07-03 Andreas Jaeger <aj@suse.de>
45483
45484 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45485 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45486 regenerate with gen-libm-tests.pl.
45487
454882010-05-12 Petr Baudis <pasky@suse.cz>
45489
45490 [BZ #11589]
45491 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45492 around j0() zero points by switching to j1().
45493 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45494 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45496 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45497
f22e1074
UD
454982011-09-09 Ulrich Drepper <drepper@gmail.com>
45499
f19009c1
UD
45500 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45501 instead of 0.
45502 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45503 instead of 0.
f19009c1
UD
45504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45505 Patch in part by Pavel Roskin <proski@gnu.org>.
45506
3f8cc204
UD
45507 [BZ #13138]
45508 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45509 realloc.
45510 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45511 Free memory block if necessary.
45512
f22e1074
UD
45513 [BZ #12847]
45514 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45515 be NULL. Don't lock in this case.
45516
0a2349f9
RM
455172011-09-09 Roland McGrath <roland@hack.frob.com>
45518
45519 * elf/elf.h (ELFOSABI_GNU): New macro.
45520 (ELFOSABI_LINUX): Define to that.
45521
f3cdd467
DZ
455222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45523
45524 * string/strncat.c (strncat): Undef the symbol in case it has been
45525 defined in bits/string.h.
45526
74718d13
UD
455272011-09-09 Ulrich Drepper <drepper@gmail.com>
45528
633e9e0f
UD
45529 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45530
0a2349f9 45531 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45532 link map.
45533
f9924780
AJ
455342011-08-17 Andreas Jaeger <aj@suse.de>
45535
45536 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45537
7f5517aa
PP
455382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45539 Ian Lance Taylor <iant@google.com>
45540
45541 * math/libm-test.inc (lround_test): New testcase.
45542 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45543
762011fe
UD
455442011-09-08 Ulrich Drepper <drepper@gmail.com>
45545
92963737
UD
45546 * Makefile: Remove support for automatic cvs check-ins.
45547 * Makerules: Likewise.
45548 * config.make.in: Likewise.
45549 * configure.in: Likewise.
45550 * intl/Makefile: Likewise.
45551 * locale/Makefile: Likewise.
45552 * po/Makefile: Likewise.
45553 * posix/Makefile: Likewise.
45554 * sysdeps/gnu/Makefile: Likewise.
45555 * sysdeps/mach/hurd/Makefile: Likewise.
45556 * sysdeps/sparc/sparc32/Makefile: Likewise.
45557
b0727fd8
JS
45558 [BZ #13118]
45559 * posix/Makefile (bug-regex32-ENV): Define.
45560 Patch by John Stanley <jpsinthemix@verizon.net>.
45561
a0f33f99
UD
45562 * misc/Makefile (headers): Add bits/select2.h.
45563 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45564 * misc/bits/select2.h: New file.
45565 * include/bits/select2.h: New file.
45566 * debug/Makefile (routines): Add fdelt_chk.
45567 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45568 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45569 FD_ISSET.
45570 * debug/fdelt_chk.c: New file.
45571
762011fe
UD
45572 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45573 * wcsmbs/test-wmemcmp.c: Likewise.
45574 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45575 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45576
455772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45578
45579 * string/Makefile (strop-tests): Add memcmp.
45580 * string/test-wmemcmp.c: New file.
45581 * string/test-memcmp.c: Add wmemcmp support.
45582
7f513ec8
RM
455832011-09-08 Roland McGrath <roland@hack.frob.com>
45584
0442afb4
RM
45585 [BZ #13153]
45586 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45587 2011-07-19 change.
45588
7f513ec8
RM
45589 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45590 garbage value in a __mach_port_mod_refs call in the cases of the
45591 task-self and thread-self ports.
45592
a12b2239
ST
455932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45594
45595 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45596
610f9ab4
AS
455972011-09-08 Andreas Schwab <schwab@redhat.com>
45598
7f513ec8 45599 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45600
48882a1a
LD
456012011-09-07 Ulrich Drepper <drepper@gmail.com>
45602
b49865be
UD
45603 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45604
fdc86bc9
UD
45605 * elf/dl-libc.c (dlerror_run): Pass back error code from
45606 dl_catch_error.
45607
c966526a
UD
45608 [BZ #13123]
45609 * elf/dl-load.c (lose): Free l_origin if it is valid.
45610
48882a1a
LD
45611 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45612 names.
45613 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45614 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45616 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45617 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45618 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45619
77a2a8b4
AZ
456202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45621
45622 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45623 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45624 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45625 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45626 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45627 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45628 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45629 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45630 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45631 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45632
24f579d8
AM
456332011-08-15 Alan Modra <amodra@gmail.com>
45634
45635 [BZ #13092]
45636 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45637 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45638 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45639 ppc_mcount to static-only-routines.
45640 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45641 __mcount_internal.
45642 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45643 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45644
3d4837df
UD
456452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45646
45647 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45648 for finite and infinity parameters.
45649
22700377
WS
456502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45651
45652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45653 and add nop instructions for throughput optimization.
45654 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45655
5025581e
WS
456562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45657
45658 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45659 aligned copy for power7 with vector-scalar instructions.
45660 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45661
08a300c9
L
456622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45663
45664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45665 AVX check.
45666
59178ef9
AS
456672011-09-07 Andreas Schwab <schwab@redhat.com>
45668
45669 [BZ #13144]
45670 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45671 last change.
45672
e38ba7ab
UD
456732011-09-07 Ulrich Drepper <drepper@gmail.com>
45674
45675 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45676 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45677 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45678 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45679 clock_gettime.
45680
d53a73ac
UD
456812011-09-06 Ulrich Drepper <drepper@gmail.com>
45682
fc8bffcc
UD
45683 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45684 Forgot to demangle the pointer.
45685
ceaa0c5d
UD
45686 * sysdeps/i386/sysdep.h: Define atom_text_section.
45687 * sysdeps/x86_64/sysdep.h: Likewise.
45688 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45689 section with atom_text_section.
45690 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45691 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45692 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45693 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45694 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45695
a77d3c17
UD
45696 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45697 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45698 already be defined. Change to take two parameters and don't assign
45699 result to variable. Adjust all users.
45700 Define INTERNAL_GETTIME if not already defined.
45701 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45702 call.
45703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45704 HAVE_CLOCK_GETTIME_VSYSCALL.
45705 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45706
d53a73ac
UD
45707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45708 gettimeofday vsyscall, just use time.
45709
a8f84144
AS
457102011-09-06 Andreas Schwab <schwab@redhat.com>
45711
45712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45713 <errno.h>.
45714
ef606249
UD
457152011-09-06 Ulrich Drepper <drepper@gmail.com>
45716
45717 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45718 syscall on x86-64.
45719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45720 syscall.
45721 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45722 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45723 syscall if possible.
45724
6585cb60
UD
457252011-09-05 Ulrich Drepper <drepper@gmail.com>
45726
45727 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45728 e_ident. Don't pass to find_mapsXX.
45729 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45730
a5f524e4
LD
457312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45732
45733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45734 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45735 * sysdeps/x86_64/multiarch/strchr.S: Update.
45736 Check bit_slow_BSF bit.
45737 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45738 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45739 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45740
554881ef
UD
457412011-09-05 Ulrich Drepper <drepper@gmail.com>
45742
d96de963
UD
45743 [BZ #13134]
45744 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45745 before glibc 2.15.
45746 (tryshell): Define.
45747 (__spawni): Change last parameter to be flag. Test
45748 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45749 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45750 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45751 * posix/spawni.c: Likewise.
45752 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45753 * posix/spawnp.c: Likewise. Change normal version to use
45754 SPAWN_XFLAGS_USE_PATH.
45755 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45756 SPAWN_XFLAGS_TRY_SHELL.
45757
d48e5868
UD
45758 [BZ #13150]
45759 * posix/glob.h: Remove gcc 1.x support.
45760
554881ef
UD
45761 [BZ #13068]
45762 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45763
693fb948
LD
457642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45765
45766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45767 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45768 strrchr-sse2-bsf
45769 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45770 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45771 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45772 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45773 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45774 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45775
1b48c537
UD
457762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45777
49d42c37
UD
45778 * sysdeps/x86_64/wcscmp.S: New file.
45779
1b48c537
UD
45780 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45781 wcscmp-c wcscmp-sse2
45782 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45783 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45784 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45785 * wcsmbs/wcscmp.c: Allow renaming.
45786
15c95c5d
DM
457872011-09-05 David S. Miller <davem@davemloft.net>
45788
45789 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45790 stack slot, rather than the struct return pointer slot.
45791 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45792 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45794 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45795
2f0ad8f3
UD
457962011-09-05 Ulrich Drepper <drepper@gmail.com>
45797
d88ae418
UD
45798 * po/ja.po: Update from translation team.
45799
2f0ad8f3
UD
45800 [BZ #13144]
45801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45802 kernel in 64-bit binaries.
45803
5f4318d1
DM
458042011-09-01 David S. Miller <davem@davemloft.net>
45805
45806 * elf/elf.h (HWCAP_SPARC_*): Move to..
45807 * sysdeps/sparc/sysdep.h: this new file and add new values.
45808 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45809 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45810 _DL_HWCAP_COUNT to 24.
45811 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45812 entries.
45813 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45814 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45815 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45817 instead of magic constants.
45818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45819
3ba57516
DM
458202011-08-31 David S. Miller <davem@davemloft.net>
45821
45822 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45824 Reimplement to do errno handling inline.
45825 (SYSCALL_ERROR_HANDLER): New macro.
45826 (__SYSCALL_STRING): Do not do errno handling in asm.
45827 (__CLONE_SYSCALL_STRING): Delete.
45828 (__INTERNAL_SYSCALL_STRING): Delete.
45829 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45830 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45831 (PSEUDO): Reimplement to do errno handling inline.
45832 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45833 (SYSCALL_ERROR_HANDLER): New macro.
45834 (__SYSCALL_STRING): Do not do errno handling in asm.
45835 (__CLONE_SYSCALL_STRING): Delete.
45836 (__INTERNAL_SYSCALL_STRING): Delete.
45837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45838 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45839 i386.
45840 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45841 (inline_syscall*): Add 'err' argument.
45842 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45843 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45844 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45845 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45846
45847 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45848 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45849
2bc17433
AS
458502011-08-30 Andreas Schwab <schwab@redhat.com>
45851
45852 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45853
fbeb5f4d
JO
458542011-08-29 Jiri Olsa <jolsa@redhat.com>
45855
45856 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45857 directive.
45858
ad69cc26
DM
458592011-08-24 David S. Miller <davem@davemloft.net>
45860
45861 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45862
39dd69df
AS
458632011-08-24 Andreas Schwab <schwab@redhat.com>
45864
45865 * elf/Makefile: Add rules to build and run unload8 test.
45866 * elf/unload8.c: New file.
45867 * elf/unload8mod1.c: New file.
45868 * elf/unload8mod1x.c: New file.
45869 * elf/unload8mod2.c: New file.
45870 * elf/unload8mod3.c: New file.
45871
45872 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45873 it wasn't used.
45874
2c0b250a
DM
458752011-08-23 David S. Miller <davem@davemloft.net>
45876
45877 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45878 subtract stack bias.
45879 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45880 %sp not %fp in calculations.
45881 (_JMPBUF_UNWINDS_ADJ): Likewise.
45882
22044b48
DM
45883 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45884 (aio_suspend): Call it to force an exception region around the
45885 AIO_MISC_WAIT() invocation.
45886
2cae4995
AS
458872011-08-23 Andreas Schwab <schwab@redhat.com>
45888
45889 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45890 backslash.
45891
873a772e
AJ
458922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45893
45894 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45895 protection macro.
45896 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45897 and <dl-machine.h>.
45898 (Elf64_FuncDesc): Remove.
45899
25ad0df1
DM
459002011-08-22 David S. Miller <davem@davemloft.net>
45901
45902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45903 sigaltstack check, add missing cfi directives.
45904 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45905 missing cfi directives, and sigaltstack handling.
45906
e888bcbe
AS
459072011-08-16 Andreas Schwab <schwab@redhat.com>
45908
45909 [BZ #11724]
45910 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45911 object is seen twice.
45912 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45913
45914 * elf/Makefile (distribute): Add tst-initorder2.c.
45915 (tests): Add tst-initorder2.
45916 (modules-names): Add tst-initorder2a tst-initorder2b
45917 tst-initorder2c tst-initorder2d. Add rules to build them.
45918 ($(objpfx)tst-initorder2.out): New rule.
45919 * elf/tst-initorder2.c: New file.
45920 * elf/tst-initorder2.exp: New file.
45921
87162f46
AS
459222011-08-22 Andreas Schwab <schwab@redhat.com>
45923
70538b7f
AS
45924 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45925
f55ffe58
AS
45926 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45927 dependencies back to end of function.
45928
87162f46
AS
45929 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45930 $(elfobjdir)/ld.so.
45931
91b392a4
UD
459322011-08-21 Ulrich Drepper <drepper@gmail.com>
45933
45934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45935 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45937 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45938 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45939 of __vdso_gettimeofday.
45940 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45941 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45942 attribute_hidden.
45943 (_libc_vdso_platform_setup): Remove initialization of
45944 __vdso_gettimeofday and __vdso_time.
45945
5c43483f
UD
459462011-08-20 Ulrich Drepper <drepper@gmail.com>
45947
775a77e7
UD
45948 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45949 and fgetc_unlocked.
45950 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45951 getc_unlocked.
89f447ed 45952
49c74ba9
UD
45953 * elf/dl-open.c (add_to_global): Report additions to the global scope
45954 for LD_DEBUG=scopes.
45955 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45956 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45957
5c43483f
UD
45958 [BZ #13114]
45959 * stdio-common/Makefile (tests): Add bug24.
45960 * stdio-common/bug24.c: New file.
45961
a101b025
AJ
459622011-08-19 Andreas Jaeger <aj@suse.de>
45963
45964 [BZ #13114]
45965 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45966 non-existant file when using close-on-exec mode.
45967
c88f1766
UD
459682011-08-20 Ulrich Drepper <drepper@gmail.com>
45969
0276a718
UD
45970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45971 the very first instruction.
45972
c88f1766
UD
45973 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45974 the CFI state in the end.
45975 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45976 inclusion of dl-trampoline.h.
45977 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45978
51ccffa0
AS
459792011-08-19 Andreas Schwab <schwab@redhat.com>
45980
94d7165f
AS
45981 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45982 expectations for long double.
45983
51ccffa0
AS
45984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45985 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45986
fd708658 459872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45988
45989 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45990 artificual limit depends upon the system page size.
45991
44f0a71e
UD
459922011-08-17 Ulrich Drepper <drepper@gmail.com>
45993
45994 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45995 * resolv/Makefile: Define CFLAGS-libresolv.
45996
8de79a24
AS
459972011-08-17 Andreas Schwab <schwab@redhat.com>
45998
45999 * nss/makedb.c (compute_tables): Make variables used in nested
46000 function static.
46001
27724598
UD
460022011-08-17 Ulrich Drepper <drepper@gmail.com>
46003
c5305d88
UD
46004 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46005 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46006 if buffer was too small.
46007
27724598
UD
46008 * elf/pldd.c (main): Attach to all threads in the process.
46009 Rewrite /proc handling to use *at functions.
46010
076fe015
UD
460112011-08-16 Ulrich Drepper <drepper@gmail.com>
46012
174baab3
UD
46013 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46014 specifies first scope to show.
46015 (dl_open_worker): Update callers. Move printing scope of new
46016 object to before the relocation.
44f0a71e 46017 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46018 * sysdeps/generic/ldsodefs.h: Update declaration.
46019
076fe015
UD
46020 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46021 string for the scope number.
46022
a60df2c3
UD
460232011-08-14 Ulrich Drepper <drepper@gmail.com>
46024
46025 * nscd/servicescache.c (cache_addserv): Make sure written is always
46026 initialized.
46027
5e4287d1
RM
460282011-08-14 Roland McGrath <roland@hack.frob.com>
46029
85ae0589
RM
46030 * sysdeps/i386/i486/bits/atomic.h
46031 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46032 statement expression, so as to suppress "set but not used" warning.
46033 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46034
69f63097
RM
46035 * string/strncat.c (STRNCAT): Use prototype definition.
46036
675456ef
RM
46037 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46038 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46039 -Iprograms here.
46040 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46041 (localedef-modules): Add localedef.
46042 (locale-modules): Add locale.
46043
5e4287d1
RM
46044 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46045 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46046 to avoid a warning.
46047
9c96ff23
DM
460482011-08-14 David S. Miller <davem@davemloft.net>
46049
46050 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46051 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46052
f9ddf089
UD
460532011-08-13 Ulrich Drepper <drepper@gmail.com>
46054
44f0a71e 46055 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46056 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46057 * elf/rtld.c (dl_main): Set l_name of vDSO.
46058 Call _dl_show_scope when DL_DEBUG_SCOPES.
46059 (process_dl_debug): Recognize scopes flag and also set it for all.
46060 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46061 Declare _dl_show_scope.
46062
1dc27704
UD
46063 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46064 (do_dlopen): Pass caller_dlopen to dl_open.
46065 (__libc_dlopen_mode): Initialize caller_dlopen.
46066
f9ddf089
UD
46067 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46068 of libc. Make tolower call locale-independent. Optimize a bit by
46069 using isdigit instead of isalnum.
46070 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46071
9ac533d3
UD
460722011-08-12 Ulrich Drepper <drepper@gmail.com>
46073
46074 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46075 was a dependency or dynamically loaded.
46076
89edf2e9
UD
460772011-08-11 Ulrich Drepper <drepper@gmail.com>
46078
8e999d29
UD
46079 * intl/l10nflist.c: Allow architecture-specific pop function.
46080 * sysdeps/x86_64/l10nflist.c: New file.
46081
89edf2e9
UD
46082 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46083 classification.
46084
14d96785
AS
460852011-08-10 Andreas Schwab <schwab@redhat.com>
46086
46087 * include/dirent.h: Add libc_hidden_proto for scandirat and
46088 scandirat64. Don't declare __scandirat64.
46089 * dirent/scandirat.c: Add libc_hidden_def.
46090 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46091 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46092
6761ac04
DM
460932011-08-10 David S. Miller <davem@davemloft.net>
46094
46095 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46096 enum.
46097 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46098 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46099 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46100
c55fbd1e
UD
461012011-08-09 Ulrich Drepper <drepper@gmail.com>
46102
46103 * Versions.def [libc]: Add GLIBC_2.15.
46104 * dirent/Makefile (routines): Add scandirat and scandirat64.
46105 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46106 GLIBC_2.15.
46107 * dirent/dirent.h: Declare scandirat and scandirat64.
46108 * dirent/scandirat.c: New file.
46109 * dirent/scandirat64.c: New file.
46110 * sysdeps/wordsize-64/scandirat.c: New file.
46111 * sysdeps/wordsize-64/scandirat64.c: New file.
46112 * dirent/opendir.c: Define opendirat.
46113 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46114 using scandirat.
46115 * dirent/scandir64.c: Adjust for scandir.c change.
46116 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46117 __scandirat64, and __scandir_cancel_handler.
46118 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46119 additional parameter and use openat instead of open (outside of ld.so).
46120 Add new __opendir as wrapper around __opendirat.
46121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46122 here without requiring old scandirat implementation.
46123
879165f2
UD
461242011-08-08 Ulrich Drepper <drepper@gmail.com>
46125
46126 * dirent/scandir.c (cancel_handler): Renamed to
46127 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46128 defined. Adjust users.
46129 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46130 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46131
cb7e923b
UD
461322011-08-04 Ulrich Drepper <drepper@gmail.com>
46133
16292edd
UD
46134 * string/test-string.h (IMPL): Use __STRING to expand name and then
46135 stringify it.
46136
cb7e923b
UD
46137 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46138 of cleanups.
46139
cff82933
LD
461402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46141
46142 * string/Makefile: Update.
46143 (strop-tests): Append strncat.
46144 * string/test-wcscmp.c: New file.
46145 New comprehensive test for wcscmp.
46146 * string/test-strcmp.c: Update.
46147 (WIDE): New define.
46148
9be9bfcc
AS
461492011-07-22 Andreas Schwab <schwab@redhat.com>
46150
46151 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46152 line.
46153
2e96f1c7
AS
461542011-07-26 Andreas Schwab <schwab@redhat.com>
46155
46156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46157 encoding to ACE if AI_IDN.
46158
85188888
JJ
461592011-08-01 Jakub Jelinek <jakub@redhat.com>
46160
46161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46162 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46163
5fa16e9b
LD
461642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46165
46166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46167 Fix overflow bug in strncat.
46168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46169
46170 * string/test-strncat.c: Update.
46171 Add new tests for checking overflow bugs.
46172
461732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46174
46175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46176 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46177 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46178 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46179 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46180 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46181 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46182 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46183 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46184
46185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46186 (USE_AS_STRCAT): Define.
46187 Add strcat and strncat support.
46188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46189
8c1a459f
AS
461902011-07-25 Andreas Schwab <schwab@redhat.com>
46191
46192 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46193 __n bigger than INT_MAX+1.
46194 (__strncmp_g): Likewise.
46195
bba33c28
UD
461962011-07-23 Ulrich Drepper <drepper@gmail.com>
46197
798be72d
UD
46198 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46199 * libio/stido.h: Likewise.
46200
8accd4dc
UD
46201 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46202 (AF_NFC): Define.
46203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46204 (AF_NFC): Define.
46205
cbff0d96
UD
46206 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46209 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46211
9191c04a
UD
46212 [BZ #13021]
46213 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46214 installed.
46215
bba33c28
UD
46216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46217 typo.
46218 (_dl_x86_64_save_sse): Likewise.
46219
90f139dd
UD
462202011-07-22 Ulrich Drepper <drepper@gmail.com>
46221
1aae088a
UD
46222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46223 OSXSAVE.
46224 (_dl_x86_64_save_sse): Likewise.
46225
8e2045f5
UD
46226 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46227
90f139dd
UD
46228 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46229
1d002f25
AS
462302011-07-21 Andreas Schwab <schwab@redhat.com>
46231
46232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46233 change.
46234 (_dl_x86_64_save_sse): Use correct AVX check.
46235
21137f89
UD
462362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46237
46238 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46239 bug in strncpy/strncat.
46240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46241
a65c0b7a
UD
462422011-07-21 Ulrich Drepper <drepper@gmail.com>
46243
46244 * string/tester.c (test_strcat): Add tests for different alignments
46245 of source and destination.
46246 (test_strncat): Likewise.
46247
6986b98a
UD
462482011-07-20 Ulrich Drepper <drepper@gmail.com>
46249
90bb2039
UD
46250 [BZ #12852]
46251 * posix/glob.c (glob): Check passed in values before using them in
46252 expressions to avoid some overflows.
46253 (glob_in_dir): Likewise.
46254
5644ef54
UD
46255 [BZ #13007]
46256 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46257 check for AVX enablement so that we don't crash with old kernels and
46258 new hardware.
46259 * elf/tst-audit4.c: Add same checks here.
46260 * elf/tst-audit6.c: Likewise.
46261
46262 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46263
bfc9dc9b
AS
462642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46265
46266 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46267
702e64bb
UD
462682011-07-20 Ulrich Drepper <drepper@gmail.com>
46269
46270 * po/cs.po: Update from translation team.
46271 * po/bg.po: Likewise.
46272
295e904f
MP
462732011-07-12 Marek Polacek <mpolacek@redhat.com>
46274
46275 * misc/sys/cdefs.h: Add support for const attribute.
46276 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46277 to gnu_dev_{major,minor,makedev} functions.
46278
3ff94596
MP
462792011-07-20 Marek Polacek <mpolacek@redhat.com>
46280
46281 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46282
28b59fca
AS
462832011-07-20 Andreas Schwab <schwab@redhat.com>
46284
46285 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46286 strlen results.
46287
19df733e
AK
462882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46289
46290 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46291 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46292 register in order to avoid conflicts with the soft frame pointer
46293 being held in r11 when necessary.
46294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46295 (INTERNAL_VSYSCALL_NCS): Likewise.
46296
c8835729
MP
462972011-07-14 Marek Polacek <mpolacek@redhat.com>
46298
46299 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46300 * elf/dl-fini.c (_dl_fini): Adjust caller.
46301 * elf/dl-close.c (_dl_close_worker): Likewise.
46302 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46303
b902330c
MP
463042011-07-15 Marek Polacek <mpolacek@redhat.com>
46305
8991e135
MP
46306 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46307 "aux_cache->nlibs < 0".
46308
b902330c
MP
46309 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46310 in the reload-count case.
46311
99710781
LD
463122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46313
46314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46315 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46316 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46317 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46318 * sysdeps/x86_64/multiarch/strcat.S: New file.
46319 * sysdeps/x86_64/multiarch/strncat.S: New file.
46320 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46322 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46323 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46324 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46325 (USE_AS_STRCAT): Define.
46326 Add strcat and strncat support.
46327 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46328 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46329 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46330 * string/strncat.c: Update.
46331 (USE_AS_STRNCAT): Define.
46332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46333 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46334 and i7.
46335 * sysdeps/x86_64/multiarch/init-arch.h
46336 (bit_Prefer_PMINUB_for_stringop): New.
46337 (index_Prefer_PMINUB_for_stringop): Likewise.
46338 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46339 bit_Prefer_PMINUB_for_stringop.
46340
7dc6bd90
UD
463412011-07-19 Ulrich Drepper <drepper@gmail.com>
46342
46343 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46344 buffer64.
46345 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46346 of casting of buffer.
46347 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46348 buffer32 and buffer64.
46349 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46350 writes instead of casting of buffer.
46351 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46352 buffer32.
46353 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46354 casting of buffer.
46355
e0e72284
AS
463562011-07-19 Andreas Schwab <schwab@redhat.com>
46357
46358 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46359
feb1eb0b
UD
463602011-07-19 Ulrich Drepper <drepper@gmail.com>
46361
46362 * nscd/nscd.c (termination_handler): Don't do anything for a database
46363 if it has not yet been initialized.
46364
298711ff
UD
463652011-07-18 Ulrich Drepper <drepper@gmail.com>
46366
46367 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46368
463692011-07-15 Marek Polacek <mpolacek@redhat.com>
46370
46371 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46372
f9d68389
UD
463732011-07-18 Ulrich Drepper <drepper@gmail.com>
46374
46375 * po/nl.po: Update from translation team.
46376 * po/sv.po: Likewise.
46377
db290cf5
RM
463782011-07-16 Roland McGrath <roland@hack.frob.com>
46379
46380 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46381 now disallowed by GCC.
5c550700 46382
fd5e21c7
RM
46383 * configure.in (use-default-link): Default to yes if a test -shared
46384 link meets our qualifications.
46385 * configure: Regenerated.
46386
5c550700
RM
46387 * config.make.in (output-format): New variable.
46388 * configure.in: Check for ld --print-output-format support.
46389 * configure: Regenerated.
46390 * Makerules ($(common-objpfx)format.lds)
46391 [$(output-format) != unknown]: Just use $(output-format),
46392 instead of the linker-script munging.
46393
9fa2c032
RM
463942011-07-14 Roland McGrath <roland@hack.frob.com>
46395
a6928d51
RM
46396 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46397 of $(common-objpfx)shlib.lds.
46398 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46399
661607b3
RM
46400 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46401 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46402
9fa2c032
RM
46403 * configure.in (-z relro check): Adjust test code to add a large
46404 writable data section after it.
46405 * configure: Regenerated.
46406
defe9061
RM
464072011-07-11 Roland McGrath <roland@hack.frob.com>
46408
46409 * configure.in (-z relro check): Fix test code to make the variable
46410 truly const.
46411 * configure: Regenerated.
46412
319b9ad4
UD
464132011-07-11 Ulrich Drepper <drepper@gmail.com>
46414
46415 * nscd/nscd.h (struct traced_file): Define.
46416 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46417 elements. Add traced_files.
46418 (inotify_fd): Declare.
46419 (register_traced_file): Declare.
46420 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46421 (inotify_fd): Export.
46422 (resolv_conf_descr): Remove.
46423 (nscd_init): Move inotify descriptor creation to main.
46424 Don't register files for notification here.
46425 (register_traced_file): New function.
46426 (invalidate_cache): Don't use reset_res to determine whether to call
46427 res_init, go through the list of registered files.
46428 (main_loop_poll): The inotify descriptors are now stored in the
46429 structures for the traced files.
46430 (main_loop_epoll): Likewise
46431 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46432 to __nss_disable_nscd.
46433 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46434 for a database anymore. Check the records for all the registered
46435 files instead.
46436 * nss/Makefile (libnss_files-routines): Add files-init.
46437 (libnss_db-routines): Add db-init.
46438 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46439 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46440 * nss/nss_db/db-init.c: New file.
46441 * nss/nss_files/files-init.c: New file.
46442 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46443 __nss_lookup_function.
46444 (__nss_lookup_function): Call nss_load_library.
46445 (nss_load_all_libraries): New function.
46446 (__nss_disable_nscd): Take parameter with callback function for files
46447 to register. Set is_nscd. Load all the DSOs for the NSS modules
46448 used for the cached services.
46449 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46450 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46451 options for features to all the files in nscd.
46452
46453 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46454
23bee3e8
RM
464552011-07-10 Roland McGrath <roland@hack.frob.com>
46456
46457 * csu/elf-init.c (__libc_csu_init): Comment typo.
46458
46a5b7f0
UD
464592011-07-09 Ulrich Drepper <drepper@gmail.com>
46460
46461 * po/pl.po: Update from translation team.
46462 * po/ja.po: Likewise.
46463 * po/ru.po: Likewise.
46464 * po/ko.po: Likewise.
46465 * po/fr.po: Likewise.
46466
d30cf5bb
RM
464672011-07-09 Roland McGrath <roland@hack.frob.com>
46468
113ddea4
RM
46469 * configure.in (.ctors/.dtors header and trailer check):
46470 Use an empirical test on a built program.
46471 * configure: Regenerated.
46472
574920b4
RM
46473 * configure.in (-z relro check): Use an empirical test on a built DSO.
46474 Detect, but do not require, on ia64.
46475 * configure: Regenerated.
46476
d30cf5bb
RM
46477 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46478 Update tests that use readelf to use $READELF instead.
46479 * configure: Regenerated.
46480
8538fdb3
UD
464812011-07-08 Ulrich Drepper <drepper@gmail.com>
46482
46483 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46484 if the result is not used.
46485
04d08991
AJ
464862011-07-05 Andreas Jaeger <aj@suse.de>
46487
46488 [BZ#9696]
46489 * stdlib/tst-strtod.c: Add testcase.
46490
de283087
AD
464912011-07-07 Ulrich Drepper <drepper@gmail.com>
46492
4e5f31c8 46493 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46494 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46495 The latter has a higher limit. Take additional parameter to pass to
46496 the new function.
46497 (__pathconf): Pass file to __statfs_link_max.
46498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46499 __statfs_link_max.
46500 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46501 __statfs_link_max.
46502
de283087
AD
46503 [BZ #12868]
46504 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46505 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46506 Handle Lustre.
46507 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46508 (__statfs_filesize_max): Likewise.
46509 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46510
c75fa153
AJ
465112011-07-05 Andreas Jaeger <aj@suse.de>
46512
46513 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46514
1a544854
UD
465152011-07-06 Marek Polacek <mpolacek@redhat.com>
46516
46517 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46518 `status' variable.
46519 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46520 Likewise.
46521
6f0eec67
UD
465222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46523
46524 * Makefile (strop-tests): Add strncat.
46525 * string/test-strncat.c: New file.
46526
aae30307
UD
465272011-06-30 Marek Polacek <mpolacek@redhat.com>
46528
46529 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46530
c0cfb5eb
UD
465312011-06-21 Andreas Jaeger <aj@suse.de>
46532
46533 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46534 Copy rule from iconvdata/Makefile.
46535
01636b21
UD
465362011-07-06 Ulrich Drepper <drepper@gmail.com>
46537
46538 [BZ #12922]
46539 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46540 but no long options are defined, just return 'W'.
46541
9895c8bc
UD
465422011-06-22 Marek Polacek <mpolacek@redhat.com>
46543
46544 [BZ #9696]
46545 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46546
5d4cf042
UD
465472011-07-06 Ulrich Drepper <drepper@gmail.com>
46548
46549 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46550 netgroups to read.
960e5535 46551 (innetgr): Likewise.
5d4cf042 46552
751eb97e
RM
465532011-07-05 Roland McGrath <roland@hack.frob.com>
46554
46555 * config.make.in (install_root): Default to $(DESTDIR).
46556
f15f1e45
UD
465572011-07-05 Ulrich Drepper <drepper@gmail.com>
46558
46559 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46560
4e34ac6a
RM
465612011-07-02 Roland McGrath <roland@hack.frob.com>
46562
5e9b6af4
RM
46563 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46564
84f9ea0f
RM
46565 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46566 containing directory rather than embedding absolute directory names.
46567
ea5ee9f7
RM
46568 * scripts/check-local-headers.sh: Rewritten using awk.
46569 Match by word, not by line. Print error messages for matches.
46570 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46571
1b74661a
RM
46572 * Makerules [shlib-lds-flags empty]:
46573 ($(common-objpfx)libc_pic.opts): New target.
46574 ($(common-objpfx)libc_pic.os.clean): New target.
46575 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46576
46577 * config.make.in (OBJCOPY): New variable.
46578 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46579 * configure: Regenerated.
46580
f781ef40
RM
46581 * config.make.in (use-default-link): New variable.
46582 * configure.in (use_default_link): Grok --with-default-link to set it.
46583 * configure: Regenerated.
46584 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46585 (shlib-lds, shlib-lds-flags): Define to empty.
46586
2d4fa81e
RM
46587 * Makerules (shlib-lds): New variable.
46588 (shlib-lds-flags): New variable.
46589 (build-shlib, build-moduile, build-module-asneeded): Use it.
46590 ($(common-objpfx)libc.so): Use $(shlib-lds).
46591 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46592 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46593
31fffa6b
RM
46594 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46595 DT_FLAGS/DT_FLAGS_1 with zero flags.
46596
4e34ac6a
RM
46597 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46598 linker script munging.
46599
fcfc776b
UD
466002011-07-02 Ulrich Drepper <drepper@gmail.com>
46601
46602 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46603 as 128-bit value.
46604 * crypt/sha512.c (sha512_process_block): Perform total addition using
46605 128-bit if possible.
46606 (__sha512_finish_ctx): Likewise.
46607 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46608 as 64-bit value.
46609 * crypt/sha256.c (SWAP64): Define.
46610 (sha256_process_block): Perform total addition using 64-bit if
46611 possible.
46612 (__sha256_finish_ctx): Likewise.
46613
99231d9a
UD
466142011-07-01 Ulrich Drepper <drepper@gmail.com>
46615
46616 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46618 * nscd/hstcache.c (cache_addhst): Likewise.
46619 * nscd/grpcache.c (cache_addgr): Likewise.
46620 * nscd/aicache.c (addhstaiX): Likewise
46621 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46622
445b4a53
TK
466232011-07-01 Thorsten Kukuk <kukuk@suse.de>
46624
46625 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46626 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46627 * nscd/hstcache.c (cache_addhst): Likewise.
46628 * nscd/grpcache.c (cache_addgr): Likewise.
46629 * nscd/aicache.c (addhstaiX): Likewise
46630
6d4d8e8e
AS
466312011-07-01 Andreas Schwab <schwab@redhat.com>
46632
46633 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46634 domain only when needed.
46635
89f654c5
AS
466362011-06-30 Andreas Schwab <schwab@redhat.com>
46637
46638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46639 is always restored.
46640
cf3b23ff
UD
466412011-06-29 Ulrich Drepper <drepper@gmail.com>
46642
46643 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46644 are re-adding the entry.
46645 * nscd/servicescache.c (cache_addserv): Likewise.
46646
751626f9
AJ
466472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46648
46649 * sysdeps/generic/dl-irel.h: fix protection against multiple
46650 inclusions.
46651 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46652
9113ea1f
UD
466532011-06-28 Ulrich Drepper <drepper@gmail.com>
46654
5c0b8d90
UD
46655 [BZ #12935]
46656 * malloc/memusage.sh: Fix quoting in message.
46657 * debug/xtrace.sh: Likewise.
46658
9113ea1f
UD
46659 * configure.in: Remove support for --experimental-malloc option, make
46660 it the default.
46661 * config.make.in: Likewise.
46662 * malloc/Makefile: Likewise.
46663
a4172181
AS
466642011-06-27 Andreas Schwab <schwab@redhat.com>
46665
46666 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46667 two-byte characters.
46668
78a7eee7
RM
466692011-06-27 Roland McGrath <roland@hack.frob.com>
46670
62bede13
RM
46671 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46672 AC_CACHE_CHECK invocation.
46673 * configure: Regenerated.
46674
78a7eee7
RM
46675 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46676
5ce33a62
UD
466772011-06-27 Ulrich Drepper <drepper@gmail.com>
46678
034807a9
UD
46679 [BZ #12350]
46680 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46681 bit from old_res_options.
46682
4902da17
UD
46683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46684
5ce33a62
UD
46685 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46686 value type for setfct.
46687
c2344f56
L
466882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46689
46690 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46691 __gettimeofday instead of gettimeofday.
46692
68468076
UD
466932011-06-26 Ulrich Drepper <drepper@gmail.com>
46694
46695 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46696
acb0d739
L
466972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46698
46699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46700
46701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46702 info.
46703
8912479f
L
467042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46705
46706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46707 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46708 strcpy-sse2-unaligned strncpy-sse2-unaligned
46709 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46710 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46711 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46712 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46713 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46714 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46715 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46716 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46717 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46718 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46719 (STRCPY): Support SSE2 and SSSE3 versions.
46720
d5495a11
UD
467212011-06-24 Ulrich Drepper <drepper@gmail.com>
46722
46723 [BZ #12874]
46724 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46725 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46726 kernels which artificially limit size of requests.
46727
0b1cbaae
L
467282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46729
46730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46731 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46732 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46733 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46734 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46735 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46736 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46737 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46740 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46741 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46742 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46743 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46744 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46746 Enable unaligned load optimization for Intel Core i3, i5 and i7
46747 processors.
46748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46749 Define.
46750 (index_Fast_Unaligned_Load): Define.
46751 (HAS_FAST_UNALIGNED_LOAD): Define.
46752
07f494a0
MP
467532011-06-23 Marek Polacek <mpolacek@redhat.com>
46754
46755 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46756
fa3fc0fe
UD
467572011-06-22 Ulrich Drepper <drepper@gmail.com>
46758
46759 [BZ #12907]
46760 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46761 until it is clear that the information is realy needed.
46762 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46763
e12df166
AS
467642011-06-22 Andreas Schwab <schwab@redhat.com>
46765
46766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46767
852eb34d
UD
467682011-06-22 Ulrich Drepper <drepper@gmail.com>
46769
84e2a551
UD
46770 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46771 /sys/devices/system/cpu/online if it is usable.
46772
852eb34d
UD
46773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46774 reading the information from the /proc filesystem to once a second.
46775
6e502e19
UD
467762011-06-21 Andreas Jaeger <aj@suse.de>
46777
46778 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46779 NULL after inclusion of kernel headers.
46780
75d39ff2
UD
467812011-06-21 Ulrich Drepper <drepper@gmail.com>
46782
51f9aa6a
UD
46783 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46784 calls to internal_setent.
46785
c0244a9d
UD
46786 [BZ #12885]
46787 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46788 addresses using gethostbyname4_r ignore IPv4 addresses.
46789
c5e3c2ae
UD
46790 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46791 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46792
75d39ff2
UD
46793 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46794
42675c6f
DM
467952011-06-20 David S. Miller <davem@davemloft.net>
46796
46797 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46798 inclusions.
46799 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46800
46801 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46802 (elf_irel): Use it.
46803 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46804 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46805 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46806 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46807 * sysdeps/x86_64/dl-irel.h: Likewise.
46808
46809 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46810 * elf/dl-sym.c: Likewise.
46811
57912a71
UD
468122011-06-15 Ulrich Drepper <drepper@gmail.com>
46813
46814 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46815 need to dereference resplen2.
46816
ee22793d
AS
468172011-06-14 Andreas Schwab <schwab@redhat.com>
46818
46819 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46820
a9e836b0
UD
468212011-06-15 Ulrich Drepper <drepper@gmail.com>
46822
77fb9117
UD
46823 * Makeconfig: Define vardbdir and inst_vardbdir.
46824 * nss/Makefile: Add rules to install db-Makefile.
46825
40c1b22c
UD
46826 * nss/nss_db/db-XXX.c: Cleanup.
46827
9f2da732
UD
46828 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46829 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46830 GLIBC_PRIVATE.
46831 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46832 * nss/makedb.c: Implement -g option to specify that value strings
46833 are generated and should not be added to table iterated over for
46834 get*ent calls.
46835 * nss/nss_db/db-initgroups.c: New file.
46836
82e9a1f7
UD
46837 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46838 interface.
46839
c41af17e
UD
46840 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46841 (internal_getgrouplist): Adjust to name change.
46842 Update use_initgroups_entry if this is not the first call.
46843 * nss/databases.def: Add initgroups entry.
46844
a9e836b0
UD
46845 * nss/makedb.c (compute_tables): Check result of multiple hash table
46846 sizes to minimize maximum chain length.
46847
2666d441
UD
468482011-06-14 Ulrich Drepper <drepper@gmail.com>
46849
46850 * Versions.def: Add entry for libnss_db.
46851 * shlib-versions: Likewise.
46852 * nss/Makefile: Add rules to build libnss_db.
46853 * nss/Versions: Add libnss_db information. Organize libnss_files
46854 entries better.
46855 * nss/db-Makefile: Add gshadow support. Change rules for the new
46856 makedb progra. Some minor improvements to generate smaller files.
46857 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46858 here from...
46859 * nss/makedb.c: ...here.
46860 Improve database format to be smaller and require less memory at
46861 runtime.
46862 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46863 db anymore.
46864 * nss/nss_db/db-netgrp.c: Likewise.
46865 * nss/nss_db/db-open.c: Likewise.
46866 * nss/nss_files/flies-XXX.x: Adjust comments.
46867 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46868 * nss/nss_files/files-grp.c: Likewise.
46869 * nss/nss_files/files-hosts.c: Likewise.
46870 * nss/nss_files/files-network.c: Likewise.
46871 * nss/nss_files/files-proto.c: Likewise.
46872 * nss/nss_files/files-pwd.c: Likewise.
46873 * nss/nss_files/files-rpc.c: Likewise.
46874 * nss/nss_files/files-service.c: Likewise.
46875 * nss/nss_files/files-sgrp.c: Likewise.
46876 * nss/nss_files/files-spwd.c: Likewise.
46877 * nss/nss_db/db-alias.c: Removed.
46878 * nss/nss_db/dummy-db.h: Removed.
46879
9ee76b5a
UD
468802011-06-02 Ulrich Drepper <drepper@gmail.com>
46881
46882 * nss/makedb.c: Rewritten to not use database library.
46883 * nss/Makefile: Update to build new makedb program.
46884
c71ca1f8
AJ
468852011-06-14 Andreas Jaeger <aj@suse.de>
46886
46887 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46888 memset declaration.
46889
3154bfb8
UD
468902011-06-10 Andreas Schwab <schwab@redhat.com>
46891
46892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46893 tmpbuf.
46894
b350afab
RM
468952011-06-10 Roland McGrath <roland@hack.frob.com>
46896
decd4e50
RM
46897 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46898 * elf/Makefile ($(objpfx)ld.so): Likewise.
46899
5615eaf2
RM
46900 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46901 Don't list ld.so twice in dependencies.
46902
46903 * posix/bug-regex31.c: Include <stdlib.h>.
46904
46905 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46906
46907 * nis/nss_compat/compat-spwd.c
46908 (getspent_next_nss_netgr): Remove unused variable.
46909 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46910
46911 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46912 nonmembers" output to use the right array.
46913
46914 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46915
46916 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46917
46918 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46919 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46920 * catgets/gencat.c (read_input_file): Likewise.
46921 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46922
46923 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46924 variable definition inside #if's controlling its use.
46925
46926 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46927
46928 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46929
46930 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46931
46932 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46933 unreachable code.
46934
46935 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46936
b68e08db
RM
46937 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46938 * configure: Regenerated.
46939
b350afab
RM
46940 * Makerules: Revert last change.
46941 * elf/Makefile: Likewise.
46942
28368601
RM
469432011-06-09 Roland McGrath <roland@hack.frob.com>
46944
46945 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46946 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46947 (reloc-link): Likewise.
46948
11988f8f
UD
469492011-06-09 Ulrich Drepper <drepper@gmail.com>
46950
46951 * elf/Makefile: Add rules to build pldd.
46952 * elf/pldd.c: New file.
46953 * elf/pldd-xx.c: New file.
46954
e80fab37
UD
469552011-06-07 Ulrich Drepper <drepper@gmail.com>
46956
46957 * version.h: Update for 2.15 development version.
46958
9b849836
DM
469592011-06-07 David S. Miller <davem@davemloft.net>
46960
46961 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46962 ifuncs.
46963 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46964 elf_machine_lazy_rel): Likewise.
46965 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46967 elf_machine_lazy_rel): Likewise.
46968 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46969 dl_hwcap via passed in argument.
46970 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46971 Likewise.
46972
5a31b283
AK
469732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46974
46975 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46976
069e52f8
RM
469772011-06-06 Roland McGrath <roland@hack.frob.com>
46978
46979 [BZ #12849]
46980 * manual/fdl-1.1.texi: New file, verbatim from:
46981 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46982 * manual/lgpl-2.1.texi: New file, verbatim from:
46983 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46984 * manual/Makefile (licenses): New variable, list those new file names.
46985 (texis): Use it.
46986 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46987
46988 * manual/fdl.texi: File removed.
46989 * manual/lesser.texi: File removed.
46990 * manual/libc.texinfo (Copying, Documentation License):
46991 Use new @include file names, put @appendix directive before @include.
46992
f16846a5
JJ
469932011-06-04 Jakub Jelinek <jakub@redhat.com>
46994
46995 [BZ #12841]
46996 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46997 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46998 (mq_open): Add __NTH.
46999
3d29045b
L
470002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47001
47002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47003 Assume Intel Core i3/i5/i7 processor if AVX is available.
47004
8c297311
UD
470052011-05-31 Ulrich Drepper <drepper@gmail.com>
47006
47007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47008 typo.
47009
c8fc0c91
UD
470102011-05-31 Andreas Schwab <schwab@redhat.com>
47011
47012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47013 memory. Use alloca_account. Fix memory leak when retrying.
47014
5b27a807
UD
470152011-05-31 Ulrich Drepper <drepper@gmail.com>
47016
356f8bc6
UD
47017 * version.h (RELEASE): Bump for 2.14 release.
47018 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47019
5b27a807
UD
47020 * config.make.in (RANLIB): Remove entry.
47021
01f16ab0
UD
470222011-05-30 Ulrich Drepper <drepper@gmail.com>
47023
41fce8bd
UD
47024 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47025 (libc.pot): Work around missing support for .ksh extension in xgettext.
47026
4769ae77
UD
47027 [BZ #12684]
47028 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47029 if both request failed.
47030 (send_dg): In case of server errors clear resplen or *resplen2.
47031
6b1e7d19
UD
47032 [BZ #12454]
47033 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47034 when there are multiple maps.
47035 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47036 (_dl_fini): Remove test here.
47037
01f16ab0
UD
47038 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47039
b1ebd700
UD
470402011-05-29 Ulrich Drepper <drepper@gmail.com>
47041
7ae22829
UD
47042 [BZ #12350]
47043 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47044 bit from old_res_options.
47045 (gaih_inet): Likewise.
47046
553149f6 47047 [BZ #11099]
18a84741 47048 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47049 as signed.
47050
652ffab1
UD
47051 * resolv/res_init.c (res_setoptions): Make the code more compact.
47052
16985fd0
UD
47053 [BZ #11558]
47054 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47055 set RES_USEVC.
47056
0464f746
UD
47057 [BZ #11634]
47058 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47059
7d17596c
UD
47060 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47061
cf6bbbd7
UD
47062 [BZ #11781]
47063 * malloc/malloc.h: Declare malloc hook variables as volatile.
47064
13f1ab36
UD
47065 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47066 in last patch.
47067
b1ebd700
UD
47068 [BZ #11799]
47069 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47070 raise in the comment.
80e2212d
UD
47071 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47072 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47073 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47074
ce67228d
UD
470752011-05-28 Ulrich Drepper <drepper@gmail.com>
47076
8887a920
UD
47077 [BZ #12811]
47078 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47079 grow the buffers more if it already has to be sufficient.
47080 (build_wcs_upper_buffer): Likewise.
47081 * posix/regexec.c (check_matching): Likewise.
47082 (clean_state_log_if_needed): Likewise.
47083 (extend_buffers): Don't enlarge buffers beyond size of the input
47084 buffer.
47085 Patches mostly by Emil Wojak <emil@wojak.eu>.
47086 * posix/bug-regex32.c: New file.
47087 * posix/Makefile (tests): Add bug-regex32.
47088
4f031072
UD
47089 * locale/findlocale.c (_nl_find_locale): Return right away if
47090 _nl_explode_name failed.
47091 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47092
d0478f0c
UD
47093 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47094
de81b246
UD
47095 * debug/xtrace.sh: Unify messages.
47096 * malloc/memusage.sh: Likewise.
47097
c738465a
UD
47098 [BZ #12813]
47099 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47100 time symbol from vDSO. Substitute with vsyscall if not available.
47101 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47102 __vdso_time.
47103
f1f929d7
UD
47104 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47105 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47106 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47107 Add sendmmsg and internal_sendmmsg.
47108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47109 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47110 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47111
ce67228d
UD
47112 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47113 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47114 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47115
e57420c6
UD
471162011-05-27 Ulrich Drepper <drepper@gmail.com>
47117
a8509ca5
UD
47118 [BZ #12813]
47119 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47120 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47121 available.
47122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47123 __vdso_getcpu.
47124
e57420c6
UD
47125 [BZ #12814]
47126 * iconvdata/Makefile (tests): Add bug-iconv9.
47127 * iconvdata/bug-iconv9.c: New file.
47128
4d07db15
AS
471292011-05-27 Andreas Schwab <schwab@redhat.com>
47130
47131 [BZ #12814]
47132 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47133
ea486f69
JJ
471342011-05-25 Jakub Jelinek <jakub@redhat.com>
47135
47136 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47137 (struct user_regs_struct): Change intcs field back to cs.
47138
6f038433
UD
471392011-05-25 Ulrich Drepper <drepper@gmail.com>
47140
47141 * po/ja.po: Update from translation team.
47142
67f86a25
UD
471432011-05-23 Ulrich Drepper <drepper@gmail.com>
47144
47145 [BZ #12795]
47146 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47147 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47148
def7fbd6
AS
471492011-05-20 Andreas Schwab <schwab@redhat.com>
47150
47151 * stdlib/longlong.h: Update from GCC.
47152
f50ef8f1
AS
471532011-05-23 Andreas Schwab <schwab@redhat.com>
47154
47155 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47156 parameter name.
47157 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47158 Add parameter name.
47159 (__sysconf): Pass it down.
47160
de7ce8f1
UD
471612011-05-22 Ulrich Drepper <drepper@gmail.com>
47162
f2962a71
UD
47163 [BZ #12671]
47164 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47165 some situations.
47166 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47167 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47168 add in in __libc_use_alloca calls. Adjust callers.
47169 (glob): Use malloc in some situations.
47170
de7ce8f1
UD
47171 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47172 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47173 pltexit.
47174
aec84f53
UD
471752011-05-21 Ulrich Drepper <drepper@gmail.com>
47176
05bb4a68
UD
47177 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47178 and CLOCK_BOOTTIME_ALARM.
47179
7ea72f99
UD
47180 [BZ #12782]
47181 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47182 is returned.
47183
7e4afad5
UD
47184 * string/_strerror.c (__strerror_r): Print negative errors as signed
47185 numbers.
47186
8e211fec
UD
47187 [BZ #12777]
47188 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47189 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47190 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47191
f7d82dc9
UD
47192 * configure.in: Fix typo in redirection and correct removal of test
47193 files in two cases.
47194
cc9e536d
UD
47195 [BZ #12788]
47196 * locale/setlocale.c (new_composite_name): Fix test to check for
47197 identical name of all categories.
47198
aec84f53
UD
47199 [BZ #12792]
47200 * libio/filedoalloc.c (local_isatty): New function.
47201 (_IO_file_doallocate): Use local_isatty.
47202 * stdio-common/perror.c (perror): In case a new stream is used
47203 forward the stream error.
47204 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47205 error flag.
47206
78e64fdc
RT
472072011-05-20 Ulrich Drepper <drepper@gmail.com>
47208
34a9094f
UD
47209 [BZ #11869]
47210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47211 alloca.
47212 * include/alloca.h (extend_alloca_account): Define.
47213
78e64fdc
RT
47214 [BZ #11857]
47215 * posix/regex.h: Fix comments with documentation of user-accessible
47216 fields after compilation and describe correct free'ing of pattern
47217 after re_compile_pattern.
47218 Patch by Reuben Thomas <rrt@sc3d.org>.
47219
457bddfc
RA
472202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47221
47222 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47223 and -mno-altivec to prevent the compiler from using Altivec and/or
47224 VSX instructions when the corresponding registers are not available.
47225
a4527b51
AS
472262011-05-19 Andreas Schwab <schwab@redhat.com>
47227
47228 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47229
ed690b2f
UD
472302011-05-19 Ulrich Drepper <drepper@gmail.com>
47231
47232 * libio/freopen.c (freopen): Use __dup2, not dup2.
47233 * libio/freopen64.c (freopen64): Likewise.
47234
8db73634
L
472352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47236
47237 [BZ #12775]
47238 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47239 * math/Makefile (tests): Add test-powl.
47240 (CFLAGS-test-powl.c): Define.
47241 * math/test-powl.c: New file.
47242
0a197a9d
L
472432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47244
47245 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47246
ee30c380
UD
472472011-05-17 Ulrich Drepper <drepper@gmail.com>
47248
47249 [BZ #11837]
47250 * iconvdata/gb18030.c: Update to GB18020-2005.
47251
6ce75379
UD
472522011-05-16 Ulrich Drepper <drepper@gmail.com>
47253
a4b89fd8
AR
47254 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47255 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47256 Patch by Aharon Robbins <arnold@skeeve.com>.
47257
ea389b12
UD
47258 [BZ #11892]
47259 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47260 on the stack.
47261
68a3f91f
UD
47262 [BZ #11895]
47263 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47264 through underflows.
47265
15cc7dd1
UD
47266 [BZ #12766]
47267 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47268 point to strings before performing equality test for error_one_per_line
47269 mode.
47270
f3799213
UD
47271 [BZ #11697]
47272 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47273
d79a9c94
UD
47274 [BZ #11820]
47275 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47276 (struct user_fpregs_struct): Avoid __uint*_t types.
47277
56e5eb46
UD
47278 [BZ #6420]
47279 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47280 symbol info. Use it instead of calling _dl_addr locally.
47281 (lock_and_info): New function.
47282 (tr_freehook): Call lock_and_info and pass symbol info as additional
47283 parameter to tr_where.
47284 (tr_mallochook): Likewise.
47285 (tr_reallochook): Likewise.
47286 (tr_memalignhook): Likewise.
47287
6ce75379
UD
47288 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47289 used and couldn't be at all thread-safe.
47290
f8a3b5bf
UD
472912011-05-15 Ulrich Drepper <drepper@gmail.com>
47292
94b7cc37
UD
47293 * libio/freopen.c (freopen): Don't close old file descriptor
47294 before the new one is opened. Instead dup the new file descriptor
47295 to the old one after the new stream is created.
47296 * libio/freopen64.c (freopen64): Likewise.
47297 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47298 * libio/fileops.c (_IO_new_file_close_it): Handle new
47299 _IO_FLAGS2_NOCLOSE flag.
47300 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47301 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47302 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47303 _IO_FLAGS2_NOCLOSE flag.
47304 * include/unistd.h: Add hidden_proto for dup3.
47305 Define __have_dup3.
47306 * io/dup3.c: Define hidden symbol.
47307 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47308
bd25564e
UD
47309 [BZ #7101]
47310 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47311 when an incomplete long option is used.
47312 * posix/tst-getopt_long1.c: New file.
47313 * posix/Makefile (tests): Add tst-getopt_long1.
47314
c84cfef4
UD
47315 [BZ #10138]
47316 * scripts/config.guess: Update from autoconf-2.68.
47317 * scripts/config.sub: Likewise.
47318
3b85df27
UD
47319 [BZ #10157]
47320 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47321 tests into ...
47322 (has_cpuclock): ...this. New function.
47323 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47324 macro here based on has_cpuclock code.
47325
15a856b1
UD
47326 [BZ #10149]
47327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47328 First byte (not low byte) is now always NUL.
47329 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47330
05f399e6
UD
47331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47332 Use non-cancelable interfaces.
47333
10a52685 47334 [BZ #9809]
94ecc67d
UD
47335 * locale/iso-639.def: Add entry for Sorani.
47336
f8a3b5bf
UD
47337 [BZ #11901]
47338 * include/stdlib.h: Move include protection to the right place.
47339 Define abort_msg_s. Declare __abort_msg with it.
47340 * stdlib/abort.c (__abort_msg): Adjust type.
47341 * assert/assert.c (__assert_fail_base): New function. Majority
47342 of code from __assert_fail. Allocate memory for __abort_msg with
47343 mmap.
47344 (__assert_fail): Now call __assert_fail_base.
47345 * assert/assert-perr.c: Remove bulk of implementation. Use
47346 __assert_fail_base.
47347 * include/assert.hL Declare __assert_fail_base.
47348 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47349 mmap.
47350 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47351
1af4e298
UD
473522011-05-14 Ulrich Drepper <drepper@gmail.com>
47353
f8a3b5bf 47354 [BZ #11952]
d26dfc60
MG
47355 [BZ #12453]
47356 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47357 until all modules are registered in the DTV.
47358 * elf/Makefile: Add rules to build and run tst-tls19.
47359 * elf/tst-tls19.c: New file.
47360 * elf/tst-tls19mod1.c: New file.
47361 * elf/tst-tls19mod2.c: New file.
47362 * elf/tst-tls19mod3.c: New file.
47363 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47364
2fc54d6f
UD
47365 [BZ #12083]
47366 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47367 correctly.
47368
98d76b46
UD
47369 [BZ #12601]
47370 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47371 two-byte sequence errors.
47372 * iconvdata/Makefile (tests): Add bug-iconv8.
47373 * iconvdata/bug-iconv8.c: New file.
47374
da3c19ef
UD
47375 [BZ #12626]
47376 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47377 buf2 definition.
47378
ca408c15
UD
47379 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47380
d6f67f7d
UD
47381 [BZ #12432]
47382 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47383 (dummy_getcfa): New function.
47384 (init): Get _Unwind_GetCFA address, use dummy if not found.
47385 (backtrace_helper): In recursion check, also check whether CFA changes.
47386 (__backtrace): Completely initialize arg.
47387
1af4e298 47388 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47389 storing incomplete byte sequence in state object. Avoid testing for
47390 guaranteed too small input if we know there is enough data available.
1af4e298 47391
da62f81b
AS
473922011-05-11 Andreas Schwab <schwab@redhat.com>
47393
47394 * Makeconfig (+link-pie): Indent.
47395 * Rules (binaries-pie): Define if $(have-fpie) and
47396 $(build-shared).
47397 (binaries-shared): Also filter out $(binaries-pie).
47398 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47399 * nscd/Makefile (others-pie): Add nscd.
47400 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47401 ($(objpfx)nscd): Remove command override.
47402 * login/Makefile (others-pie): Add pt_chown.
47403 ($(objpfx)pt_chown): Remove command override.
47404 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47405 remove command overrides.
47406
fcabc0f8
UD
474072011-05-13 Ulrich Drepper <drepper@gmail.com>
47408
20030ae6
UD
47409 * libio/tst_putwc.c: Fix error messages.
47410
fcabc0f8
UD
47411 [BZ #12724]
47412 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47413 currently writing and seek to current position when not.
47414 * libio/Makefile (tests): Add bug-fclose1.
47415 * libio/bug-fclose1.c: New file.
47416
320a5dc0
PB
474172011-05-12 Ulrich Drepper <drepper@gmail.com>
47418
47419 [BZ #12511]
47420 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47421 don't set DF_1_NODELETE here.
47422 (do_lookup_x): When entering new entry test for copy relocation
47423 and if necessary set DF_1_NODELETE flag.
47424 * elf/tst-unique4.cc: New file.
47425 * elf/tst-unique4.h: New file.
47426 * elf/tst-unique4lib.cc: New file.
47427 * elf/Makefile: Add rules to build and run tst-unique4.
47428 Patch by Piotr Bury <pbury@goahead.com>.
47429
22836f52
UD
474302011-05-11 Ulrich Drepper <drepper@gmail.com>
47431
f574184a
UD
47432 [BZ #12052]
47433 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47434
e1fb097f
UD
47435 [BZ #12625]
47436 * misc/mntent_r.c (addmntent): Flush the stream after the output
47437
22836f52
UD
47438 [BZ #12393]
47439 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47440 (is_trusted_path_normalize): Skip initial colon. Append slash
47441 to empty buffer. Duplicate is_trusted_path code but allow
47442 constructed patch to be prefix.
47443 (is_dst): Allow $ORIGIN followed by /.
47444 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47445 Correct testing of result of is_trusted_path_normalize
47446 (decompose_rpath): Fix warning.
47447
7b3b0b2a
UD
474482011-05-10 Ulrich Drepper <drepper@gmail.com>
47449
47450 [BZ #11257]
47451 * grp/initgroups.c (internal_getgrouplist): When we found the service
47452 list through the initgroups entry in nsswitch.conf do not always
47453 continue on a successful lookup. Don't always use the
eac80ce2 47454 __nss_group_database value if it is set.
7b3b0b2a
UD
47455 * nss/nsswitch.conf (initgroups): Change action for successful db
47456 lookup to continue for compatibility.
47457
2a81eaa5
UD
474582011-05-09 Ulrich Drepper <drepper@gmail.com>
47459
be97a69e
UD
47460 [BZ #11532]
47461 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47462 and CP774 modules.
47463 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47464 and CP774 modules.
47465 * iconvdata/tst-tables.sh: Likewise.
47466 * iconvdata/cp770.c: New file.
47467 * iconvdata/cp771.c: New file.
47468 * iconvdata/cp772.c: New file.
47469 * iconvdata/cp773.c: New file.
47470 * iconvdata/cp774.c: New file.
47471 * iconvdata/testdata/CP770: New file.
47472 * iconvdata/testdata/CP770..UTF8: New file.
47473 * iconvdata/testdata/CP771: New file.
47474 * iconvdata/testdata/CP771..UTF8: New file.
47475 * iconvdata/testdata/CP772: New file.
47476 * iconvdata/testdata/CP772..UTF8: New file.
47477 * iconvdata/testdata/CP773: New file.
47478 * iconvdata/testdata/CP773..UTF8: New file.
47479 * iconvdata/testdata/CP774: New file.
47480 * iconvdata/testdata/CP774..UTF8: New file.
47481
47482 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47483 END CHARMAP line.
47484 * iconvdata/gen-8bit-gap.sh: Likewise.
47485 * iconvdata/gen-8bit.sh: Likewise.
47486
c1e9e399
UD
47487 * locale/iso-639.def: Add ary entry.
47488
24c55fb3 47489 [BZ #11258]
96b4b1b0
UD
47490 * locale/C-translit.h.in: Add U20A1 transliteration.
47491
bdc2f971
KB
47492 [BZ #12178]
47493 * locale/iso-639.def: Add wae entry.
47494 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47495
2952b117
UD
47496 [BZ #12545]
47497 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47498 for n.
47499
2a81eaa5
UD
47500 [BZ #12711]
47501 * locale/C-translit.h.in: Add entry for U20B9.
47502 Patch by pravin.d.s@gmail.com.
47503
28377d1b
UD
475042011-05-08 Ulrich Drepper <drepper@gmail.com>
47505
7fb90fb8
UD
47506 [BZ #12713]
47507 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47508 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47509 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47510 in rtld. Use *stat64.
7fb90fb8 47511 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47512 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47513 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47514 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47515 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47516 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47517 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47518 __fstatat64 macros.
7fb90fb8
UD
47519 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47520 * dirent/rewinddir.c: Add libc_hidden_def.
47521 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47522 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47523
28377d1b
UD
47524 * include/dirent.h (__alloc_dir): Add flags parameter.
47525 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47526 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47527 __alloc_dir.
47528 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47529 from fdopendir if O_CLOEXEC is already set.
47530
66bdbaa4
AM
475312011-03-15 Alan Modra <amodra@gmail.com>
47532
47533 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47534 l_tls_firstbyte_offset non-zero. Save padding offset in
47535 l_tls_firstbyte_offset for later use.
47536 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47537 freeing static tls block.
47538
95721191
JN
475392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47540
47541 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47542 where #ifdef was intended. The intent is to prevent ARG_MAX from
47543 being defined by the kernel headers.
47544
f87dfb1f
UD
475452011-05-07 Ulrich Drepper <drepper@gmail.com>
47546
47547 [BZ #12734]
47548 * resolv/resolv.h: Define RES_NOTLDQUERY.
47549 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47550 no-tld-query and set RES_NOTLDQUERY.
47551 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47552 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47553 modern BIND to search name as TLD unless forbidden.
47554
47c3cd7a
UD
475552011-05-07 Petr Baudis <pasky@suse.cz>
47556 Ulrich Drepper <drepper@gmail.com>
47557
47558 [BZ #12393]
47559 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47560 (is_trusted_path): ...to here.
c1e9ea35 47561 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47562 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47563 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47564
8a35c912
PP
475652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47566
47567 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47568 __BEGIN/__END_DECLS.
47569
acd41f47
UD
475702011-05-06 Ulrich Drepper <drepper@gmail.com>
47571
47572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47573 NSS_STATUS_NOTFOUND if no record was found.
47574
597df647
AS
475752011-05-05 Andreas Schwab <schwab@redhat.com>
47576
47577 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47578 (headers-not-in-tirpc): Remove rpc/netdb.h
47579 * resolv/netdb.h: Revert last change.
47580
b9af1301
PP
475812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47582
47583 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47584 circular dependency between libgcc.a and libc.a.
47585
4e34d5f5
AS
475862011-05-05 Andreas Schwab <schwab@redhat.com>
47587
47588 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47589 * nis/Makefile: Don't install rpcsvc/*.
47590 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47591 instead of <rpc/types.h>.
47592 (MAXHOSTNAMELEN): Define.
47593
00ee369c
AS
475942011-05-03 Andreas Schwab <schwab@redhat.com>
47595
47596 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47597
0b592a30
MB
475982011-04-28 Maciej Babinski <mbabinski@google.com>
47599
47600 [BZ #12714]
47601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47602 gethostbyname4_r when IPv6 results are possible.
47603
6e04cbbe
UD
476042011-05-02 Ulrich Drepper <drepper@gmail.com>
47605
47606 [BZ #12723]
47607 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47608 _PC_PIPE_BUF handling.
47609
e4ecafe0
BH
476102011-04-30 Bruno Haible <bruno@clisp.org>
47611
47612 [BZ #12717]
47613 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47614 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47615 to 'int'.
47616 * inet/getnameinfo.c (getnameinfo): Likewise.
47617
125ee683
UD
476182011-04-29 Ulrich Drepper <drepper@gmail.com>
47619
47620 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47621 to groups setting in database lookup.
47622 * nss/nsswitch.conf: Add initgroups entry.
47623
b722481a
EB
476242011-04-22 Ulrich Drepper <drepper@gmail.com>
47625
47626 [BZ #12685]
47627 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47628 mode string.
47629 Patch by Eric Blake <eblake@redhat.com>.
47630
4df46dbd
L
476312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47632
47633 * sunrpc/Makefile (need-export-routines): Add svc_run.
47634 (routines): Remove svc_run.
47635 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47636 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47637 * sunrpc/svc_run.c (svc_run): Likewise.
47638 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47639
e84142d2
UD
476402011-04-21 Ulrich Drepper <drepper@gmail.com>
47641
47642 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47643 problem in reallocation in last patch.
47644
877175d8
UD
476452011-04-20 Ulrich Drepper <drepper@gmail.com>
47646
47647 * sunrpc/Makefile: Move inclusion of Rules.
47648
ab8eed78
UD
476492011-04-19 Ulrich Drepper <drepper@gmail.com>
47650
47651 * nss/nss_files/files-initgroups.c: New file.
47652 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47653 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47654 _nss_files_initgroups_dyn.
47655
e3d8f584
RS
476562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47657
47658 * elf/elf.h (R_ARM_IRELATIVE): Define.
47659
af190f45
UD
476602011-04-19 Ulrich Drepper <drepper@gmail.com>
47661
47662 * po/ru.po: Update from translation team.
47663
53cf59ef
UD
476642011-04-17 Ulrich Drepper <drepper@gmail.com>
47665
47666 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47667 dependencies.
47668
4c559bcd
MF
476692011-02-06 Mike Frysinger <vapier@gentoo.org>
47670
47671 [BZ #12653]
47672 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47673 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47675 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47677
4420675c
AS
476782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47679
47680 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47681 differing bytes.
47682 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47683 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47684 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47685
75ea32ab
UD
476862011-04-17 Ulrich Drepper <drepper@gmail.com>
47687
47688 [BZ #12420]
47689 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47690 storing it.
47691 * stdlib/bug-getcontext.c: New file.
47692 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47693
27390476
AK
476942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47695
47696 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47697 instructions into .machine "z9-109".
47698 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47699 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47700
10442705
AK
477012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47702
47703 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47704 between environment variables and auxiliary vector.
47705
7b57bfe5
UD
477062011-04-16 Ulrich Drepper <drepper@gmail.com>
47707
47708 * Makefile: Add rules to build linkobj/libc.so.
47709 * include/libc-symbols.h: Define libc_hidden_nolink.
47710 * include/rpc/auth.h: Mark functions which are to be hidden.
47711 * include/rpc/auth_des.h: Likewise.
47712 * include/rpc/auth_unix.h: Likewise.
47713 * include/rpc/clnt.h: Likewise.
47714 * include/rpc/des_crypt.h: Likewise.
47715 * include/rpc/key_prot.h: Likewise.
47716 * include/rpc/pmap_clnt.h: Likewise.
47717 * include/rpc/pmap_prot.h: Likewise.
47718 * include/rpc/pmap_rmt.h: Likewise.
47719 * include/rpc/rpc_msg.h: Likewise.
47720 * include/rpc/svc.h: Likewise.
47721 * include/rpc/svc_auth.h: Likewise.
47722 * include/rpc/xdr.h: Likewise.
47723 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47724 * nss/Makefile: Likewise.
47725 * sunrpc/Makefile: Don't install headers. Build library with normal
47726 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47727 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47728 for the compat linking library. Remove use of INTDEF/INTUSE.
47729 * sunrpc/auth_none.c: Likewise.
47730 * sunrpc/auth_unix.c: Likewise.
47731 * sunrpc/authdes_prot.c: Likewise.
47732 * sunrpc/authuxprot.c: Likewise.
47733 * sunrpc/clnt_gen.c: Likewise.
47734 * sunrpc/clnt_perr.c: Likewise.
47735 * sunrpc/clnt_raw.c: Likewise.
47736 * sunrpc/clnt_simp.c: Likewise.
47737 * sunrpc/clnt_tcp.c: Likewise.
47738 * sunrpc/clnt_udp.c: Likewise.
47739 * sunrpc/clnt_unix.c: Likewise.
47740 * sunrpc/des_crypt.c: Likewise.
47741 * sunrpc/des_soft.c: Likewise.
47742 * sunrpc/get_myaddr.c: Likewise.
47743 * sunrpc/key_call.c: Likewise.
47744 * sunrpc/key_prot.c: Likewise.
47745 * sunrpc/netname.c: Likewise.
47746 * sunrpc/pm_getmaps.c: Likewise.
47747 * sunrpc/pm_getport.c: Likewise.
47748 * sunrpc/pmap_clnt.c: Likewise.
47749 * sunrpc/pmap_prot.c: Likewise.
47750 * sunrpc/pmap_prot2.c: Likewise.
47751 * sunrpc/pmap_rmt.c: Likewise.
47752 * sunrpc/publickey.c: Likewise.
47753 * sunrpc/rpc_cmsg.c: Likewise.
47754 * sunrpc/rpc_common.c: Likewise.
47755 * sunrpc/rpc_dtable.c: Likewise.
47756 * sunrpc/rpc_prot.c: Likewise.
47757 * sunrpc/rpc_thread.c: Likewise.
47758 * sunrpc/rtime.c: Likewise.
47759 * sunrpc/svc.c: Likewise.
47760 * sunrpc/svc_auth.c: Likewise.
47761 * sunrpc/svc_authux.c: Likewise.
47762 * sunrpc/svc_raw.c: Likewise.
47763 * sunrpc/svc_run.c: Likewise.
47764 * sunrpc/svc_simple.c: Likewise.
47765 * sunrpc/svc_tcp.c: Likewise.
47766 * sunrpc/svc_udp.c: Likewise.
47767 * sunrpc/svc_unix.c: Likewise.
47768 * sunrpc/svcauth_des.c: Likewise.
47769 * sunrpc/xcrypt.c: Likewise.
47770 * sunrpc/xdr.c: Likewise.
47771 * sunrpc/xdr_array.c: Likewise.
47772 * sunrpc/xdr_float.c: Likewise.
47773 * sunrpc/xdr_intXX_t.c: Likewise.
47774 * sunrpc/xdr_mem.c: Likewise.
47775 * sunrpc/xdr_rec.c: Likewise.
47776 * sunrpc/xdr_ref.c: Likewise.
47777 * sunrpc/xdr_sizeof.c: Likewise.
47778 * sunrpc/xdr_stdio.c: Likewise.
47779
e6c61494
UD
477802011-04-10 Ulrich Drepper <drepper@gmail.com>
47781
47782 [BZ #12650]
47783 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47784 * sysdeps/ia64/dl-tls.h: Likewise.
47785 * sysdeps/powerpc/dl-tls.h: Likewise.
47786 * sysdeps/s390/dl-tls.h: Likewise.
47787 * sysdeps/sh/dl-tls.h: Likewise.
47788 * sysdeps/sparc/dl-tls.h: Likewise.
47789 * sysdeps/x86_64/dl-tls.h: Likewise.
47790 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47791
34fe483e
AS
477922011-03-14 Andreas Schwab <schwab@redhat.com>
47793
47794 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47795 rpath element also skip the following colon.
47796 (expand_dynamic_string_token): Add is_path parameter and pass
47797 down to DL_DST_REQUIRED and _dl_dst_substitute.
47798 (decompose_rpath): Call expand_dynamic_string_token with
47799 non-zero is_path. Ignore empty rpaths.
47800 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47801 with zero is_path.
47802
f12a32e6
AS
478032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47804
47805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47806 Make cancelable.
47807
38a7d692
UD
478082011-04-09 Ulrich Drepper <drepper@gmail.com>
47809
47810 [BZ #12655]
47811 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47812 Patch by Filipe David Manana <fdmanana@apache.org>.
47813
e451d22b
AS
478142011-04-07 Andreas Schwab <schwab@redhat.com>
47815
47816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47817 Maintain aligned stack.
47818 (CHECK_RSP): Remove unused macro.
47819
dedc7c7b
UD
478202011-04-03 Ulrich Drepper <drepper@gmail.com>
47821
47822 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47823 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47824
94521213
UD
478252011-04-02 Ulrich Drepper <drepper@gmail.com>
47826
47827 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47828
8cb700c0 47829 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47830
0354e355
L
478312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47832
47833 [BZ #12518]
47834 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47835 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47836 * sysdeps/x86_64/memmove.c: New file.
47837 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47838 (memcpy): Renamed to ...
47839 (__new_memcpy): This.
47840 (memcpy): Provide GLIBC_2_14 memcpy.
47841 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47842 (memcpy): Provide GLIBC_2_2_5 memcpy.
47843
8593482f
UD
478442011-04-01 Ulrich Drepper <drepper@gmail.com>
47845
47846 [BZ #12631]
47847 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47848
81a5726b
AS
478492011-03-30 Andreas Schwab <schwab@redhat.com>
47850
47851 * misc/syncfs.c: New file.
47852 * misc/Makefile (routines): Add syncfs.
47853 * posix/unistd.h: Declare syncfs.
47854 * sysdeps/unix/syscalls.list: Add syncfs.
47855
00e5419f
AS
478562011-04-01 Andreas Schwab <schwab@redhat.com>
47857
47858 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47859 open_by_handle_at.
47860 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47861 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47865 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47866 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47867
748876bf
UD
478682011-04-01 Ulrich Drepper <drepper@gmail.com>
47869
658e451d
UD
47870 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47871 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47872 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47874 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47877
748876bf
UD
47878 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47879 sync_file_range.c with -fexceptions.
47880 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47881 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47882 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47883 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47884 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47885 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47887 sync_file_range as cancellation point
47888 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47889 now a wrapper around __call_sync_file_range with cancellation handling.
47890 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47891 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47892 function name to __call_sync_file_range.
47893 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47894 Add call_sync_file_range.
748876bf 47895
6e63d5e1
AS
478962011-04-01 Andreas Schwab <schwab@redhat.com>
47897
47898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47899 bits/timex.h.
6e63d5e1 47900
46998f74
UD
479012011-04-01 Ulrich Drepper <drepper@gmail.com>
47902
4c1423ed
UD
47903 * iconv/iconv.h: Fix typo in comment.
47904 * io/fcntl.h: Likewise.
47905 * libio/stdio.h: Likewise.
47906 * posix/spawn.h: Likewise.
47907 * posix/unistd.h: Likewise.
47908 * stdlib/stdlib.h: Likewise.
47909 * time/time.h: Likewise.
47910 * wcsmbs/wchar.h: Likewise.
47911
158648c0
UD
47912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47913 open_by_handle): Add.
47914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47915 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47916 Augment a few comments.
47917 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47922 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47923 open_by_handle.
47924
46998f74
UD
47925 * io/fcntl.h (AT_EMPTY_PATH): Define.
47926
83fe108b
UD
479272011-03-30 Ulrich Drepper <drepper@gmail.com>
47928
47929 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47930 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47931 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47932 to...
47933 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47934 * Versions.def: Add GLIBC_2.14.
47935 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47936 Export.
83fe108b 47937
bb242059
UD
479382011-03-22 Ulrich Drepper <drepper@gmail.com>
47939
47940 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47941 round counter.
47942 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47943
c97a1282
L
479442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47945
47946 [BZ #12597]
47947 * string/test-strncmp.c (do_page_test): New function.
47948 (check2): Likewise.
47949 (test_main): Call check2.
47950 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47951
2a115601
UD
479522011-03-20 Ulrich Drepper <drepper@gmail.com>
47953
47954 [BZ #12587]
47955 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47956 Handle cache information in CPU leaf 4.
47957 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47958
8126d904
UD
479592011-03-18 Ulrich Drepper <drepper@gmail.com>
47960
042c49c6 47961 [BZ #12583]
8126d904
UD
47962 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47963 character representation.
47964 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47965
ccfe366e
RA
479662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47967
47968 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47969 END(__isnan) to END(__isnanf) to match function entry point/label
47970 EALIGN(__isnanf,...).
47971
c6e13027
JJ
479722011-03-10 Jakub Jelinek <jakub@redhat.com>
47973
47974 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47975
33f85a3f
UD
479762011-03-10 Ulrich Drepper <drepper@gmail.com>
47977
028478fa
UD
47978 [BZ #12510]
47979 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47980 copy from the symbol referenced in the relocation to initialize the
47981 used variable.
47982 Patch by Piotr Bury <pbury@goahead.com>.
47983 * elf/Makefile: Add rules to build and tst-unique3.
47984 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47985 * elf/tst-unique3.cc: New file.
47986 * elf/tst-unique3.h: New file.
47987 * elf/tst-unique3lib.cc: New file.
47988 * elf/tst-unique3lib2.cc: New file.
47989
33f85a3f
UD
47990 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47991
03592fc7
MF
479922011-03-10 Mike Frysinger <vapier@gentoo.org>
47993
47994 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47995 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47996 to _start.
03592fc7 47997
6a5ee102
UD
479982011-03-06 Ulrich Drepper <drepper@gmail.com>
47999
48000 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48001 to-be-loaded object along a path to loader is ld.so.
48002
7e4ba49c
HJ
480032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48004 Ulrich Drepper <drepper@gmail.com>
48005
48006 * sysdeps/x86_64/memset.S: After aligning destination, code
48007 branches to different locations depending on the value of
48008 misalignment, when multiarch is enabled. Fix this.
48009
480102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48011
48012 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48013 Set _x86_64_preferred_memory_instruction for AMD processsors.
48014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48015 Set bit_Prefer_SSE_for_memop for AMD processors.
48016
13a804de
UD
480172011-03-04 Ulrich Drepper <drepper@gmail.com>
48018
48019 * libio/fmemopen.c (fmemopen): Optimize a bit.
48020
9d25c392
AS
480212011-03-03 Andreas Schwab <schwab@redhat.com>
48022
48023 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48024
a5543c6a
RM
480252011-03-03 Roland McGrath <roland@redhat.com>
48026
48027 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48028
012d35f7
DM
480292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48030
7e4ba49c 48031 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48032 __bzero_ultra1 instead of __memset_ultra1.
48033
4bff6e01
AS
480342011-02-23 Andreas Schwab <schwab@redhat.com>
48035 Ulrich Drepper <drepper@gmail.com>
48036
48037 [BZ #12509]
48038 * include/link.h (struct link_map): Add l_orig_initfini.
48039 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48040 returning unsuccessfully.
48041 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48042 close of a file loaded at startup, restore the original l_initfini
48043 list.
48044 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48045 list, store the pointer.
48046 * elf/Makefile ($(objpfx)noload-mem): New rule.
48047 (noload-ENV): Define.
48048 (tests): Add $(objpfx)noload-mem.
48049 * elf/noload.c: Include <memcheck.h>.
48050 (main): Call mtrace. Close all opened handles.
48051
f2092faf
AS
480522011-02-17 Andreas Schwab <schwab@redhat.com>
48053
48054 [BZ #12454]
48055 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48056 dependencies are missing.
48057
6c8a2e88
ST
480582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48059
f2092faf 48060 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48061 Hurd needs munmap.
48062 * sysdeps/mach/hurd/ifreq.h: New file.
48063
84a42118
PB
480642011-01-27 Petr Baudis <pasky@suse.cz>
48065 Ulrich Drepper <drepper@gmail.com>
48066
071f805e 48067 [BZ 12445]#
84a42118
PB
48068 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48069 to extend_alloca().
48070 * stdio-common/bug23.c: New file.
48071 * stdio-common/Makefile (tests): Add bug23.
48072
e23fe25b
AS
480732010-09-28 Andreas Schwab <schwab@redhat.com>
48074 Ulrich Drepper <drepper@gmail.com>
48075
48076 [BZ #12489]
48077 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48078 before performing relro protection. At old place add assertion
48079 to make sure nothing changed.
48080
d3f02e10
NS
480812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48082 Glauber de Oliveira Costa <glommer@gmail.com>
48083
48084 * elf/elf.h: Add new ARM TLS relocs.
48085
d55fd7a5
RA
480862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48087
48088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48089 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48090 cast from r3.
48091 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48092 'tests' variable.
48093 * sysdeps/wordsize-64/tst-writev.c: New file.
48094
2206397e
RA
480952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48096
48097 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48098 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48099 insns in _dl_start to prevent a TOC reference before relocs are
48100 resolved.
48101
e9433893
UD
481022011-02-15 Ulrich Drepper <drepper@gmail.com>
48103
48104 [BZ #12469]
48105 * Makeconfig: Remove RANLIB definition.
48106 * Makerules: Don't use RANLIB.
48107 * aclocal.m4: Remove ranlib test.
48108 * configure.in: No need to check for ranlib.
48109 * elf/rtld-Rules: Don't use RANLIB.
48110
f75286c6
ST
481112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48112
8e31c82d
ST
48113 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48114 protection macro.
48115 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48116 inclusion protection macro.
48117
f75286c6
ST
48118 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48119 SIGRTMIN and SIGRTMAX and print information in that case only when
48120 SIGRTMIN is defined.
48121
c1d0e639
JJ
481222011-02-11 Jakub Jelinek <jakub@redhat.com>
48123
48124 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48125 arginfo fn returning -1.
48126
48127 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48128 and thousands string is zero terminated.
48129
edf9294e
AS
481302011-02-03 Andreas Schwab <schwab@redhat.com>
48131
48132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48133 sysdeps/unix/sysv/linux/bits/socket.h.
48134
2b7e92df
ST
481352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48136
edf9294e
AS
48137 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48138 (__CPU_COUNT): Remove old macros.
48139 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48140 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48141 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48142 (__sched_cpualloc, __sched_cpufree): Add declarations.
48143
a4c7ea7b
UD
481442011-02-05 Ulrich Drepper <drepper@gmail.com>
48145
48146 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48147 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48148 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48149 (readdhstai): Return value of addhstaiX call.
48150 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48151 (addgrbyX): Return value returned by cache_addgr.
48152 (readdgrbyname): Return value returned by addgrbyX.
48153 (readdgrbygid): Likewise.
48154 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48155 (addpwbyX): Return value returned by cache_addpw.
48156 (readdpwbyname): Return value returned by addhstbyX.
48157 (readdpwbyuid): Likewise.
48158 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48159 (addservbyX): Return value returned by cache_addserv.
48160 (readdservbyname): Return value returned by addservbyX:
48161 (readdservbyport): Likewise.
48162 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48163 (addhstbyX): Return value returned by cache_addhst.
48164 (readdhstbyname): Return value returned by addhstbyX.
48165 (readdhstbyaddr): Likewise.
48166 (readdhstbynamev6): Likewise.
48167 (readdhstbyaddrv6): Likewise.
48168 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48169 (readdinitgroups): Return value returned by addinitgroupsX.
48170 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48171 (prune_cache): Keep track of timeout value of re-added entries.
48172 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48173 * nscd/nscd.h: Adjust prototypes of readd* functions.
48174
a0bf67cc
RM
481752011-02-04 Roland McGrath <roland@redhat.com>
48176
48177 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48178 (nis_stats): Likewise.
48179 * nis/nis_modify.c (nis_modify): Likewise.
48180 * nis/nis_remove.c (nis_remove): Likewise.
48181 * nis/nis_add.c (nis_add): Likewise.
48182
48183 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48184
48185 * posix/fnmatch_loop.c: Add some consts.
48186
48187 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48188
435b95eb
L
481892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48190
48191 [BZ #12460]
48192 * config.make.in (config-cflags-novzeroupper): Define.
48193 * configure.in: Substitute libc_cv_cc_novzeroupper.
48194 * elf/Makefile (AVX-CFLAGS): Define.
48195 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48196 (CFLAGS-tst-auditmod4a.c): Likewise.
48197 (CFLAGS-tst-auditmod4b.c): Likewise.
48198 (CFLAGS-tst-auditmod6b.c): Likewise.
48199 (CFLAGS-tst-auditmod6c.c): Likewise.
48200 (CFLAGS-tst-auditmod7b.c): Likewise.
48201 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48202
8517b15e
UD
482032011-02-02 Ulrich Drepper <drepper@gmail.com>
48204
48205 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48206 function to the callback.
48207 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48208
10a656fe
AS
482092011-02-02 Andreas Schwab <schwab@redhat.com>
48210
48211 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48212 of errno.
48213
968dad0a
UD
482142011-01-19 Ulrich Drepper <drepper@gmail.com>
48215
9f94d2ea 48216 [BZ #11724]
968dad0a
UD
48217 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48218 of constructors.
48219 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48220 of destructors.
48221 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48222
48223 [BZ #11724]
48224 * elf/Makefile: Add rules to build and run new test.
48225 * elf/tst-initorder.c: New file.
48226 * elf/tst-initorder.exp: New file.
48227 * elf/tst-initordera1.c: New file.
48228 * elf/tst-initordera2.c: New file.
48229 * elf/tst-initordera3.c: New file.
48230 * elf/tst-initordera4.c: New file.
48231 * elf/tst-initorderb1.c: New file.
48232 * elf/tst-initorderb2.c: New file.
48233 * elf/tst-order-a1.c: New file.
48234 * elf/tst-order-a2.c: New file.
48235 * elf/tst-order-a3.c: New file.
48236 * elf/tst-order-a4.c: New file.
48237 * elf/tst-order-b1.c: New file.
48238 * elf/tst-order-b2.c: New file.
48239 * elf/tst-order-main.c: New file.
48240 New test case by George Gensure <werkt0@gmail.com>.
48241
86e92359
UD
482422010-10-01 Andreas Schwab <schwab@redhat.com>
48243
48244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48245 decoding ACE if AI_CANONIDN.
48246
5d5732b0
UD
482472011-01-18 Ulrich Drepper <drepper@gmail.com>
48248
48249 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48250
a77e8cbc
UD
482512011-01-17 Ulrich Drepper <drepper@gmail.com>
48252
6392473f
UD
48253 * version.h (RELEASE): Bump for 2.13 release.
48254 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48255
620a0529
UD
48256 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48257
18ba70a5
UD
48258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48259 MADV_NOHUGEPAGE.
32465c3e
UD
48260 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48262 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48264 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48265 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48266
c0dafcf1
UD
48267 * posix/getconf.c: Update copyright year.
48268 * catgets/gencat.c: Likewise.
48269 * csu/version.c: Likewise.
48270 * debug/catchsegv.sh: Likewise.
48271 * debug/xtrace.sh: Likewise.
48272 * elf/ldconfig.c: Likewise.
48273 * elf/ldd.bash.in: Likewise.
48274 * elf/sprof.c (print_version): Likewise.
48275 * iconv/iconv_prog.c: Likewise.
48276 * iconv/iconvconfig.c: Likewise.
48277 * locale/programs/locale.c: Likewise.
48278 * locale/programs/localedef.c: Likewise.
48279 * malloc/memusage.sh: Likewise.
48280 * malloc/mtrace.pl: Likewise.
48281 * nscd/nscd.c (print_version): Likewise.
48282 * nss/getent.c: Likewise.
48283
a77e8cbc
UD
48284 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48285 PF_CAIF, and PF_ALG.
48286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48287
77e8bddf
AS
482882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48289
1f20b93a
AS
48290 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48291 (modules-names): Use them.
48292 (ifunc-test-modules, ifunc-pie-tests): Define.
48293 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48294 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48295 (test-extras): Likewise.
48296 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48297 $(compile-command.c).
48298 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48299 (all-built-dso): Define.
48300 (check-textrel.out, check-execstack.out): Depend on it.
48301
77e8bddf
AS
48302 * configure.in: Don't override --enable-multi-arch.
48303
bc425b33
UD
483042011-01-15 Ulrich Drepper <drepper@gmail.com>
48305
48306 [BZ #6812]
48307 * nscd/hstcache.c (tryagain): Define.
48308 (cache_addhst): Return tryagain not notfound for temporary errors.
48309 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48310 failed.
48311
794c3ad3
UD
483122011-01-14 Ulrich Drepper <drepper@gmail.com>
48313
70181fdd
UD
48314 [BZ #10563]
48315 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48316 to make the syscall.
48317 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48318
794c3ad3
UD
48319 [BZ #12378]
48320 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48321 and fall back to matching as normal character if the string ends before
48322 the matching ']' is found. This is what POSIX requires.
48323 * posix/testfnm.c: Adjust test result.
48324 * posix/globtest.sh: Adjust test result. Add new test.
48325 * posix/tst-fnmatch.input: Likewise.
48326 * posix/tst-fnmatch2.c: Add new test.
48327
68dc9497
AS
483282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48329
48330 * elf/Makefile (check-execstack): Revert last change. Depend on
48331 check-execstack.h.
48332 (check-execstack.h): New target.
48333 (generated): Add check-execstack.h.
48334 * elf/check-execstack.c: Include "check-execstack.h".
48335 (main): Revert last change.
48336 (handle_file): Return zero if GNU_STACK is absent and
48337 DEFAULT_STACK_PERMS doesn't include PF_X.
48338
451f001b
UD
483392011-01-13 Ulrich Drepper <drepper@gmail.com>
48340
cfa28e56
UD
48341 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48342 in child fails because the descriptor is already closed.
8cf8ce17
UD
48343 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48344 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48345 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48346
1086d70d
UD
48347 [BZ #12397]
48348 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48349 syscall.
48350
451f001b
UD
48351 [BZ #10484]
48352 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48353 temporary buffer used to handle multi lookups locally.
a85b5cb4 48354 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48355
08769175
UD
483562011-01-12 Ulrich Drepper <drepper@gmail.com>
48357
48358 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48359 loader is ld.so.
48360
5e49c52e
UD
483612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48362
48363 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48364 alignment for SSE2.
48365
60522a5f
UD
483662011-01-12 Ulrich Drepper <drepper@gmail.com>
48367
48368 [BZ #12394]
48369 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48370 characters. When rounding increased number of integer digits recompute
48371 number of groups.
48372 * stdio-common/tst-grouping.c: New file.
48373 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48374
f257bbd7
UD
483752011-01-09 Ulrich Drepper <drepper@gmail.com>
48376
48377 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48378 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48379
48380 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48381 void.
48382 * bits/select.h: Likewise.
48383
fa9c15cb
UD
483842011-01-08 Ulrich Drepper <drepper@gmail.com>
48385
48386 * po/ja.po: Update from translation team.
48387
16c2895f
DM
483882011-01-04 David S. Miller <davem@sunset.davemloft.net>
48389
48390 [BZ #11155]
48391 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48392 implementation just like for lxstat, fxstatat, et al.
48393
2543fef2
JM
483942010-12-27 Jim Meyering <meyering@redhat.com>
48395
48396 [BZ #12348]
48397 * posix/regexec.c (build_trtable): Return failure indication upon
48398 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48399
98727dbe
UD
484002010-12-25 Ulrich Drepper <drepper@gmail.com>
48401
5bd6dc5c
UD
48402 [BZ #12201]
48403 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48404 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48405 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48406 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48407
97983464
UD
48408 [BZ #12207]
48409 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48410
98727dbe
UD
48411 [BZ #12204]
48412 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48413 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48414
4a531bb0
L
484152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48416
48417 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48418 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48419 script has SORT_BY_INIT_PRIORITY.
48420 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48421 NO_CTORS_DTORS_SECTIONS is defined.
48422 * elf/soinit.c: Likewise.
48423 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48424 NO_CTORS_DTORS_SECTIONS is defined.
48425 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48426 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48427 * sysdeps/sh/init-first.c: Likewise.
48428 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48429
07eb4b71
UD
484302010-12-24 Ulrich Drepper <drepper@gmail.com>
48431
48432 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48433 always use the slow path.
48434
30950a5f
RA
484352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48436
48437 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48438 similar rule which adds the sysdep directories to the header search in
48439 order to pick up the correct platform stackinfo.h.
48440 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48441 perform test if it is, otherwise return successfully without testing.
48442 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48443 DEFAULT_STACK_PERMS define in stackinfo.h.
48444 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48445 defined in stackinfo.h.
48446 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48447 DEFAULT_STACK_PERMS defined in stackinfo.h.
48448 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48449 * sysdeps/ia64/stackinfo.h: Likewise.
48450 * sysdeps/s390/stackinfo.h: Likewise.
48451 * sysdeps/sh/stackinfo.h: Likewise.
48452 * sysdeps/sparc/stackinfo.h: Likewise.
48453 * sysdeps/x86_64/stackinfo.h: Likewise.
48454 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48455 PF_X for powerpc64. Retain PF_X for powerpc32.
48456
db753e2c
UD
484572010-12-19 Ulrich Drepper <drepper@gmail.com>
48458
14b697f7
UD
48459 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48460 accurately.
db753e2c
UD
48461 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48462 GETDENTS_64BIT_ALIGNED.
48463
28300719
UD
484642010-12-14 Ulrich Drepper <dreper@gmail.com>
48465
14b697f7 48466 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48467
4f197237
AS
484682010-12-10 Andreas Schwab <schwab@redhat.com>
48469
dbb0472f
AS
48470 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48471 _GNU_SOURCE.
48472
4f197237
AS
48473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48474 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48475 Remove __restrict.
48476 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48477 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48478
fb88ac72
UD
484792010-12-09 Ulrich Drepper <drepper@gmail.com>
48480
48481 [BZ #11655]
48482 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48483 are initialized.
48484
42acbb92
JJ
484852010-12-09 Jakub Jelinek <jakub@redhat.com>
48486
48487 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48488
c038d98d
UD
484892010-12-03 Ulrich Drepper <drepper@gmail.com>
48490
48491 * po/it.po: Update from translation team.
48492
3a4a2499
L
484932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48494
48495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48496 unused codes.
48497
1e24cf6e
UD
484982010-11-30 Ulrich Drepper <drepper@gmail.com>
48499
48500 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48501
a7690819
AS
485022010-11-24 Andreas Schwab <schwab@redhat.com>
48503
48504 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48505 specially.
48506 (gaih_getanswer_slice): Likewise.
48507
3bf8d1b1
JJ
485082010-10-20 Jakub Jelinek <jakub@redhat.com>
48509
48510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48511
6db52fbb
PB
485122010-05-31 Petr Baudis <pasky@suse.cz>
48513
48514 [BZ #11149]
48515 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48516 silently even in the chroot mode.
48517
eaca7569
UD
485182010-11-22 Ulrich Drepper <drepper@gmail.com>
48519
48520 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48521 last patch a bit. Pretty printing
48522
3056dcdb
UD
485232010-05-31 Petr Baudis <pasky@suse.cz>
48524
48525 [BZ #10085]
48526 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48527 initialization of skip_initgroups_dyn.
48528
cf7c9078
UD
485292010-11-19 Ulrich Drepper <drepper@gmail.com>
48530
48531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48533
a1fb5e3e
UD
485342010-11-16 Ulrich Drepper <drepper@gmail.com>
48535
48536 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48537
3540d66b
AS
485382010-11-11 Andreas Schwab <schwab@redhat.com>
48539
48540 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48541 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48542 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48543 ($(objpfx)tst-fnmatch-mem): New rule.
48544 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48545 * posix/tst-fnmatch.c (main): Call mtrace.
48546
13b69574
L
485472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48548
48549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48550 Support Intel processor model 6 and model 0x2c.
48551
da93d214
LM
485522010-11-10 Luis Machado <luisgpm@br.ibm.com>
48553
48554 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48555 signed comparison.
48556
8ca52c6e
L
485572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48558
48559 [BZ #12205]
48560 * string/test-strncasecmp.c (check_result): New function.
48561 (do_one_test): Use it.
48562 (check1): New function.
48563 (test_main): Use it.
48564 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48565 Support strcasecmp and strncasecmp.
48566
69da074d
UD
485672010-11-08 Ulrich Drepper <drepper@gmail.com>
48568
48569 [BZ #12194]
48570 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48571 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48572
ff02d528
L
485732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48574
48575 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48576 IFUNC support.
48577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48578 memset-x86-64.
48579 * sysdeps/x86_64/multiarch/bzero.S: New file.
48580 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48581 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48582 * sysdeps/x86_64/multiarch/memset.S: New file.
48583 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48585 Set bit_Prefer_SSE_for_memop for Intel processors.
48586 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48587 Define.
48588 (index_Prefer_SSE_for_memop): Define.
48589 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48590
344d0b54
LM
485912010-11-04 Luis Machado <luisgpm@br.ibm.com>
48592
48593 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48595
c0dde15b
UD
485962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48597
48598 [BZ #12191]
48599 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48600 (__x86_64_raw_data_cache_size_half): Likewise.
48601 (__x86_64_raw_shared_cache_size): Likewise.
48602 (__x86_64_raw_shared_cache_size_half): Likewise.
48603
48604 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48605 (__x86_64_raw_data_cache_size_half): Likewise.
48606 (__x86_64_raw_shared_cache_size): Likewise.
48607 (__x86_64_raw_shared_cache_size_half): Likewise.
48608 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48609 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48610 and __x86_64_raw_shared_cache_size_half. Round
48611 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48612 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48613 to multiple of 256 bytes.
48614
0e516e0e
MS
486152010-11-03 Ulrich Drepper <drepper@gmail.com>
48616
48617 [BZ #12167]
48618 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48619 of inacessible symlinks. Verify result of symlink before returning it.
48620 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48621 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48622
0e012e87
ER
486232010-10-28 Erich Ritz <erichritz@gmail.com>
48624
48625 * math/math.h (isinf): Fix typo in comment.
48626
de0ff7bc
UD
486272010-11-01 Ulrich Drepper <drepper@gmail.com>
48628
48629 * po/da.po: Update from translation team.
48630
fa41c84d
UD
486312010-10-26 Ulrich Drepper <drepper@gmail.com>
48632
48633 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48634 is added to the list.
48635
f0967738
AK
486362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48637 Ulrich Drepper <drepper@gmail.com>
48638
48639 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48640 the global list here. Move code to...
48641 (_dl_add_to_namespace_list): ...here. New function.
48642 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48643 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48644 * elf/dl-load.c (lose): Don't remove the element from the list.
48645 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48646 (_dl_map_object): Likewise.
48647
486482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48649
48650 [BZ #12159]
48651 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48652 into all bytes of SSE register.
48653 Patch by Richard Li <richardpku@gmail.com>.
48654
f0967738 486552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48656
48657 [BZ #12140]
48658 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48659 perturbing.
48660
d0b9e94f
MB
486612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48662
48663 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48664 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48665 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48666 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48668 submachine.
48669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48670
8e9f92e9
AS
486712010-10-22 Andreas Schwab <schwab@redhat.com>
48672
48673 * include/dlfcn.h (__RTLD_SECURE): Define.
48674 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48675 mode & __RTLD_SECURE instead.
48676 (open_path): Rename preloaded parameter to secure.
48677 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48678 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48679 * elf/dl-deps.c (openaux): Likewise.
48680 * elf/rtld.c (struct map_args): Remove is_preloaded.
48681 (map_doit): Don't use it.
48682 (dl_main): Likewise.
48683 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48684 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48685
bc96fbda
AS
486862010-09-09 Andreas Schwab <schwab@redhat.com>
48687
48688 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48689 (sysd-rules-targets): Remove duplicates.
48690 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48691 rtld-%.$o dependency.
48692
22cd1c9b
AS
486932010-10-18 Andreas Schwab <schwab@redhat.com>
48694
48695 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48696 _dl_map_object do it.
48697
18edac48
UD
486982010-10-19 Ulrich Drepper <drepper@gmail.com>
48699
48700 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48701 fast fma builtins, define the macros in the C99 standard.
48702 (FP_FAST_FMAF): Likewise.
48703 (FP_FAST_FMAL): Likewise.
48704 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48705
48706 * bits/mathdef.h: Update copyright year.
48707 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48708
d2050124
MM
487092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48710
48711 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48712 builtins, define the macros in the C99 standard.
48713 (FP_FAST_FMAF): Likewise.
48714 (FP_FAST_FMAL): Likewise.
48715 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48716 multiply/add.
48717 (FP_FAST_FMAF): Likewise.
48718
475facd1
JJ
487192010-10-15 Jakub Jelinek <jakub@redhat.com>
48720
48721 [BZ #3268]
48722 * math/libm-test.inc (fma_test): Some new testcases.
48723 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48724 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48725 y and infinite z. Do multiplication by C already in long double.
48726 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48728 y and infinite z. Do bitwise or of inexact bit into u.d.
48729 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48730 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48731 * sysdeps/i386/fpu/s_fma.S: Removed.
48732 * sysdeps/i386/fpu/s_fmal.S: Removed.
48733
7c08a05c
JJ
487342010-10-16 Jakub Jelinek <jakub@redhat.com>
48735
48736 [BZ #3268]
48737 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48739 computation is not scheduled after fetestexcept. Fix value
48740 of minimum denormal long double.
48741
f3f7372d
JJ
487422010-10-14 Jakub Jelinek <jakub@redhat.com>
48743
48744 [BZ #3268]
48745 * math/libm-test.inc (fma_test): Add some more tests.
48746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48747 correctly.
48748
14d43591
AS
487492010-10-15 Andreas Schwab <schwab@redhat.com>
48750
48751 * scripts/data/localplt-s390-linux-gnu.data: New file.
48752 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48753
5e908464
JJ
487542010-10-13 Jakub Jelinek <jakub@redhat.com>
48755
48756 [BZ #3268]
48757 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48758 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48759 instead of dbl-64.
48760 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48761 inlines.
48762 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48764 if one of x and y is very large and the other is subnormal.
48765 * sysdeps/s390/fpu/s_fmaf.c: New file.
48766 * sysdeps/s390/fpu/s_fma.c: New file.
48767 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48768 * sysdeps/powerpc/fpu/s_fma.S: New file.
48769 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48770 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48771 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48772
487732010-10-12 Jakub Jelinek <jakub@redhat.com>
48774
48775 [BZ #3268]
48776 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48777 fma tests.
48778 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48779 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48780 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48781 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48782 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48783 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48784 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48785
b833d51f
UD
487862010-10-12 Ulrich Drepper <drepper@redhat.com>
48787
48788 [BZ #12078]
48789 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48790 * posix/bug-regex31.input: Add test case.
48791
1751705d
UD
487922010-10-11 Ulrich Drepper <drepper@gmail.com>
48793
e9b9cbf5
UD
48794 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48795 * posix/bug-regex31.input: New file.
48796
48797 [BZ #12078]
48798 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48799 (parse_sub_exp): Fix last change, use postorder.
48800
ef06edbe
UD
48801 * posix/bug-regex31.c: New file.
48802 * posix/Makefile: Add rules to build and run bug-regex31.
48803
a129c80d
UD
48804 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48805
48806 [BZ #12078]
48807 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48808
b76b818e
UD
48809 [BZ #12108]
48810 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48811 to have entries in sys_siglist.
48812
1751705d
UD
48813 [BZ #12093]
48814 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48815 be NULL.
48816
9ff8d36f
JJ
488172010-10-07 Jakub Jelinek <jakub@redhat.com>
48818
48819 [BZ #3268]
48820 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48821 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48822 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48823 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48824 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48825 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48826 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48827 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48828 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48829 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48830 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48831 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48832 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48833 * math/ftestexcept.c (fetestexcept): Likewise.
48834 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48835 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48836 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48837 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48838 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48839 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48840 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48841
af325969
UD
488422010-10-11 Ulrich Drepper <drepper@gmail.com>
48843
c579b202 48844 [BZ #12107]
af325969
UD
48845 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48846 newline.
48847
67a67b95
UD
488482010-10-06 Ulrich Drepper <drepper@gmail.com>
48849
48850 * string/bug-strstr1.c: New file.
48851 * string/Makefile: Add rules to build and run bug-strstr1.
48852
5fb308bc
EB
488532010-10-05 Eric Blake <eblake@redhat.com>
48854
48855 [BZ #12092]
48856 * string/str-two-way.h (two_way_long_needle): Always clear memory
48857 when skipping input due to the shift table.
48858
45db99c7
UD
488592010-10-03 Ulrich Drepper <drepper@gmail.com>
48860
3b111893
UD
48861 [BZ #12005]
48862 * malloc/mcheck.c: Handle large requests.
48863
45db99c7
UD
48864 [BZ #12077]
48865 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48866 for strncmp and strncasecmp.
48867 * string/stratcliff.c: Add tests for strcmp and strncmp.
48868 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48869
cf7a1eb8
NI
488702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48871
48872 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48873 __set_fpscr.
48874
6484ba5e
AJ
488752010-09-30 Andreas Jaeger <aj@suse.de>
48876
48877 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48878 (CGROUP_SUPER_MAGIC): Define.
48879 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48880 Handle btrfs and cgroup file systems.
48881 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48882 Likewise.
48883
91c42559
LM
488842010-09-27 Luis Machado <luisgpm@br.ibm.com>
48885
48886 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48887 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48888
87a97932
AK
488892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48890
48891 [BZ #12067]
48892 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48893 trying to locate the ELF header.
48894
c21cc9bc
AS
488952010-09-27 Andreas Schwab <schwab@redhat.com>
48896
48897 [BZ #11611]
48898 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48899 Mask out sign-bit copies when constructing f_fsid.
48900
315970f6
PB
489012010-09-24 Petr Baudis <pasky@suse.cz>
48902
48903 * debug/stack_chk_fail_local.c: Add missing licence exception.
48904 * debug/warning-nop.c: Likewise.
48905
1ac7a2c7
JM
489062010-09-15 Joseph Myers <joseph@codesourcery.com>
48907
48908 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48909 implementing getdents64 using getdents syscall, set d_type if
48910 __ASSUME_GETDENTS32_D_TYPE.
48911
56801c50
AS
489122010-09-16 Andreas Schwab <schwab@redhat.com>
48913
48914 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48915 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48916
dda51327
UD
489172010-09-21 Ulrich Drepper <drepper@redhat.com>
48918
48919 [BZ #12037]
48920 * posix/unistd.h: Undo change of feature selection for ftruncate from
48921 2010-01-11.
48922
8ffcee4a
UD
489232010-09-20 Ulrich Drepper <drepper@redhat.com>
48924
a545ecd9 48925 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48926 detection.
48927
e24f0a8b
AS
489282010-09-20 Andreas Schwab <schwab@redhat.com>
48929
48930 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48931 fanotify_mark.
48932 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48933
7291c56f
AS
489342010-09-14 Andreas Schwab <schwab@redhat.com>
48935
48936 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48937 variables after CHECK_SP call.
48938 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48939
bc5fb037
AS
489402010-09-13 Andreas Schwab <schwab@redhat.com>
48941 Ulrich Drepper <drepper@redhat.com>
48942
48943 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48944 re-relocationg ld.so.
48945 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48946 _dl_init_paths call.
48947 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48948 here anymore.
48949
e66e7419
UD
489502010-09-14 Ulrich Drepper <drepper@redhat.com>
48951
48952 * resolv/res_init.c (__res_vinit): Count the default server we added.
48953
c044aa75
CLT
489542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48955 Ulrich Drepper <drepper@redhat.com>
48956
48957 [BZ #11968]
48958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48959 (____longjmp_chk): Use %ebx for saving value across system call.
48960 Add unwind info.
48961
32cf4069
AS
489622010-09-06 Andreas Schwab <schwab@redhat.com>
48963
48964 * manual/Makefile: Don't mix pattern rules with normal rules.
48965
817328ee
AS
489662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48967
48968 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48969 operation.
48970 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48971 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48972 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48973 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48975 Likewise.
48976
29fddf61
UD
489772010-09-04 Ulrich Drepper <drepper@redhat.com>
48978
48979 [BZ #11979]
48980 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48981 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48982
0959ffc9
UD
489832010-09-02 Ulrich Drepper <drepper@redhat.com>
48984
48985 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48986 * sysdeps/x86_64/addmul_1.S: Likewise.
48987 * sysdeps/x86_64/lshift.S: Likewise.
48988 * sysdeps/x86_64/mul_1.S: Likewise.
48989 * sysdeps/x86_64/rshift.S: Likewise.
48990 * sysdeps/x86_64/sub_n.S: Likewise.
48991 * sysdeps/x86_64/submul_1.S: Likewise.
48992
ece29840
ST
489932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48994
0959ffc9
UD
48995 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48996 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48997 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48998 * bits/sched.h [__need_schedparam]
ece29840 48999 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49000 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49001 (__defined_schedparam): Define to 1.
ece29840
ST
49002 (__sched_param): New structure, identical to sched_param.
49003 (__need_schedparam): Undefine.
49004
e53a31fe
MF
490052010-08-31 Mike Frysinger <vapier@gentoo.org>
49006
fdc0c10d
MF
49007 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49008 (epoll_create1): Declare.
49009
e53a31fe
MF
49010 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49011
a726d796
AS
490122010-08-31 Andreas Schwab <schwab@redhat.com>
49013
49014 [BZ #7066]
49015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49016 shifting retval into place.
49017
2f3e3dc7
UD
490182010-09-01 Ulrich Drepper <drepper@redhat.com>
49019
f2933da9
UD
49020 * nis/rpcsvc/nis.h: Update copyright notice.
49021 * nis/rpcsvc/nis.x: Likewise.
49022 * nis/rpcsvc/nis_callback.h: Likewise.
49023 * nis/rpcsvc/nis_callback.x: Likewise.
49024 * nis/rpcsvc/nis_object.x: Likewise.
49025 * nis/rpcsvc/nis_tags.h: Likewise.
49026 * nis/rpcsvc/yp.h: Likewise.
49027 * nis/rpcsvc/yp.x: Likewise.
49028 * nis/rpcsvc/ypupd.h: Likewise.
49029 * nis/yp_xdr.c: Likewise.
49030 * nis/ypupdate_xdr.c: Likewise.
49031
2f3e3dc7
UD
49032 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49033 mainly the body of pmap_getport. Add parameters to specify timeouts.
49034 (pmap_getport): Use __libc_rpc_getport.
49035 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49036 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49037 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49038
f3dcc2f9
AS
490392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49040
49041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49042 fanotify_mark.
49043
6d34eb5b
RM
490442010-08-27 Roland McGrath <roland@redhat.com>
49045
49046 * sysdeps/i386/i686/multiarch/Makefile
49047 (CFLAGS-varshift.c): New variable.
49048
9ea3de11
UD
490492010-08-27 Ulrich Drepper <drepper@redhat.com>
49050
c96d23fc
UD
49051 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49052 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49053
9ea3de11
UD
49054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49055
49056 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49057
623aac7f
L
490582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49059
49060 * sysdeps/x86_64/strlen.S: Unroll the loop.
49061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49062 strlen-sse2 strlen-sse2-bsf.
49063 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49064 __strlen_no_bsf if bit_Slow_BSF is set.
49065 (__strlen_sse42): Removed.
49066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49067 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49068
8b2b7715
RM
490692010-08-25 Roland McGrath <roland@redhat.com>
49070
49071 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49072 * sysdeps/x86_64/multiarch/varshift.c: New file.
49073 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49074 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49075 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49076 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49077
e73015f2
L
490782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49079
49080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49081 strlen-sse2 strlen-sse2-bsf.
49082 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49083 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49084 (__strlen_sse2): Removed.
49085 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49086 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49088 bit_Slow_BSF for Atom.
49089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49090 (index_Slow_BSF): Define.
49091 (HAS_SLOW_BSF): Define.
49092
df24a73e
UD
490932010-08-25 Ulrich Drepper <drepper@redhat.com>
49094
49095 [BZ #10851]
49096 * resolv/res_init.c (__res_vinit): When no server address at all
49097 is given default to loopback.
49098
f2ac4868
RM
490992010-08-24 Roland McGrath <roland@redhat.com>
49100
09055553
RM
49101 * configure.in: Remove config-name.h generation.
49102 * configure: Regenerated.
49103 * config-name.in: File removed.
49104 * scripts/config-uname.sh: New file.
49105 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49106 ($(objdir)config-name.h): New target.
49107
f2ac4868
RM
49108 * sunrpc/rpc_parse.h: Avoid nested comment.
49109
73f27d5e
RH
491102010-08-24 Richard Henderson <rth@redhat.com>
49111 Ulrich Drepper <drepper@redhat.com>
49112 H.J. Lu <hongjiu.lu@intel.com>
49113
49114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49116 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49117 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49118 _mm_alignr_epi8 with _mm_loadu_si128.
49119 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49120 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49121 (__m128i_shift_right): Removed.
49122 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49123 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49124 * sysdeps/x86_64/multiarch/varshift.h: New file.
49125 * sysdeps/x86_64/multiarch/varshift.S: New file.
49126
84b9230c
MF
491272010-08-21 Mike Frysinger <vapier@gentoo.org>
49128
49129 * configure.in: Move assembler checks to before sysdep dir checking.
49130
9bbd0ddc
PB
491312010-08-20 Petr Baudis <pasky@suse.cz>
49132
49133 * LICENSES: Sync the sunrpc license.
49134
9da4bb31
UD
491352010-08-19 Ulrich Drepper <drepper@redhat.com>
49136
a7ab6ec8
UD
49137 * sunrpc/auth_des.c: Update copyright notice once again.
49138 * sunrpc/auth_none.c: Likewise.
49139 * sunrpc/auth_unix.c: Likewise.
49140 * sunrpc/authdes_prot.c: Likewise.
49141 * sunrpc/authuxprot.c: Likewise.
49142 * sunrpc/bindrsvprt.c: Likewise.
49143 * sunrpc/clnt_gen.c: Likewise.
49144 * sunrpc/clnt_perr.c: Likewise.
49145 * sunrpc/clnt_raw.c: Likewise.
49146 * sunrpc/clnt_simp.c: Likewise.
49147 * sunrpc/clnt_tcp.c: Likewise.
49148 * sunrpc/clnt_udp.c: Likewise.
49149 * sunrpc/clnt_unix.c: Likewise.
49150 * sunrpc/des_crypt.c: Likewise.
49151 * sunrpc/des_soft.c: Likewise.
49152 * sunrpc/get_myaddr.c: Likewise.
49153 * sunrpc/getrpcport.c: Likewise.
49154 * sunrpc/key_call.c: Likewise.
49155 * sunrpc/key_prot.c: Likewise.
49156 * sunrpc/openchild.c: Likewise.
49157 * sunrpc/pm_getmaps.c: Likewise.
49158 * sunrpc/pm_getport.c: Likewise.
49159 * sunrpc/pmap_clnt.c: Likewise.
49160 * sunrpc/pmap_prot.c: Likewise.
49161 * sunrpc/pmap_prot2.c: Likewise.
49162 * sunrpc/pmap_rmt.c: Likewise.
49163 * sunrpc/rpc/auth.h: Likewise.
49164 * sunrpc/rpc/auth_unix.h: Likewise.
49165 * sunrpc/rpc/clnt.h: Likewise.
49166 * sunrpc/rpc/des_crypt.h: Likewise.
49167 * sunrpc/rpc/key_prot.h: Likewise.
49168 * sunrpc/rpc/netdb.h: Likewise.
49169 * sunrpc/rpc/pmap_clnt.h: Likewise.
49170 * sunrpc/rpc/pmap_prot.h: Likewise.
49171 * sunrpc/rpc/pmap_rmt.h: Likewise.
49172 * sunrpc/rpc/rpc.h: Likewise.
49173 * sunrpc/rpc/rpc_des.h: Likewise.
49174 * sunrpc/rpc/rpc_msg.h: Likewise.
49175 * sunrpc/rpc/svc.h: Likewise.
49176 * sunrpc/rpc/svc_auth.h: Likewise.
49177 * sunrpc/rpc/types.h: Likewise.
49178 * sunrpc/rpc/xdr.h: Likewise.
49179 * sunrpc/rpc_clntout.c: Likewise.
49180 * sunrpc/rpc_cmsg.c: Likewise.
49181 * sunrpc/rpc_common.c: Likewise.
49182 * sunrpc/rpc_cout.c: Likewise.
49183 * sunrpc/rpc_dtable.c: Likewise.
49184 * sunrpc/rpc_hout.c: Likewise.
49185 * sunrpc/rpc_main.c: Likewise.
49186 * sunrpc/rpc_parse.c: Likewise.
49187 * sunrpc/rpc_parse.h: Likewise.
49188 * sunrpc/rpc_prot.c: Likewise.
49189 * sunrpc/rpc_sample.c: Likewise.
49190 * sunrpc/rpc_scan.c: Likewise.
49191 * sunrpc/rpc_scan.h: Likewise.
49192 * sunrpc/rpc_svcout.c: Likewise.
49193 * sunrpc/rpc_tblout.c: Likewise.
49194 * sunrpc/rpc_util.c: Likewise.
49195 * sunrpc/rpc_util.h: Likewise.
49196 * sunrpc/rpcinfo.c: Likewise.
49197 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49198 * sunrpc/rpcsvc/key_prot.x: Likewise.
49199 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49200 * sunrpc/rpcsvc/mount.x: Likewise.
49201 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49202 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49203 * sunrpc/rpcsvc/rex.x: Likewise.
49204 * sunrpc/rpcsvc/rstat.x: Likewise.
49205 * sunrpc/rpcsvc/rusers.x: Likewise.
49206 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49207 * sunrpc/rpcsvc/spray.x: Likewise.
49208 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49209 * sunrpc/rtime.c: Likewise.
49210 * sunrpc/svc.c: Likewise.
49211 * sunrpc/svc_auth.c: Likewise.
49212 * sunrpc/svc_authux.c: Likewise.
49213 * sunrpc/svc_raw.c: Likewise.
49214 * sunrpc/svc_run.c: Likewise.
49215 * sunrpc/svc_simple.c: Likewise.
49216 * sunrpc/svc_tcp.c: Likewise.
49217 * sunrpc/svc_udp.c: Likewise.
49218 * sunrpc/svc_unix.c: Likewise.
49219 * sunrpc/svcauth_des.c: Likewise.
49220 * sunrpc/xcrypt.c: Likewise.
49221 * sunrpc/xdr.c: Likewise.
49222 * sunrpc/xdr_array.c: Likewise.
49223 * sunrpc/xdr_float.c: Likewise.
49224 * sunrpc/xdr_mem.c: Likewise.
49225 * sunrpc/xdr_rec.c: Likewise.
49226 * sunrpc/xdr_ref.c: Likewise.
49227 * sunrpc/xdr_sizeof.c: Likewise.
49228 * sunrpc/xdr_stdio.c: Likewise.
49229
9da4bb31
UD
49230 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49231 handling.
49232
bdaa77bc
AS
492332010-08-19 Andreas Schwab <schwab@redhat.com>
49234
49235 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49236
fe2f79db
LM
492372010-08-19 Luis Machado <luisgpm@br.ibm.com>
49238
49239 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49240 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49241 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49242 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49243 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49244 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49245 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49246 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49247 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49248 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49249 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49250 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49251 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49252 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49253
b9b42ee0
AB
492542010-07-26 Anton Blanchard <anton@samba.org>
49255
49256 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49257 * malloc/arena.c (heap_trim): Likewise.
49258
1c06ba31
UD
492592010-08-16 Ulrich Drepper <drepper@redhat.com>
49260
49261 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49262 here. Not...
49263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49264 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49265
f8392f40
L
492662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49267
49268 * sysdeps/i386/elf/Makefile: New file.
49269
3162f12e
AS
492702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49271
49272 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49273 from fanotify_init.
49274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49276
28c90b2c
UD
492772010-08-15 Ulrich Drepper <drepper@redhat.com>
49278
49279 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49280 of strncasecmp_l.
1feccb6c 49281 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49282
ca6bb004
UD
492832010-08-14 Ulrich Drepper <drepper@redhat.com>
49284
e9f82e0d
UD
49285 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49286 strncase_l-nonascii.
49287 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49288 Add strncase_l-ssse3.
49289 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49290 * sysdeps/x86_64/strcmp.S: Likewise.
49291 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49292 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49293 * sysdeps/x86_64/strncase.S: New file.
49294 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49295 * sysdeps/x86_64/strncase_l.S: New file.
49296 * string/Makefile (strop-tests): Add strncasecmp.
49297 * string/test-strncasecmp.c: New file.
49298
49299 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49300 warning.
49301
ca6bb004
UD
49302 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49303 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49304
052fa7b3
AS
493052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49306
49307 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49308
962dba78
UD
493092010-08-12 Ulrich Drepper <drepper@redhat.com>
49310
49311 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49312 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49313 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49314
bebff237
AM
493152010-05-01 Alan Modra <amodra@gmail.com>
49316
49317 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49318 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49319 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49320 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49321 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49322 tidying. Don't tail-call __sigjmp_save for static lib.
49323 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49324 save location.
49325 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49326 (CALL_MCOUNT): Add eh info, and nop after bl.
49327 (TAIL_CALL_SYSCALL_ERROR): New macro.
49328 (PSEUDO_RET): Use it.
49329 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49330 Correct save location of integer regs and cr.
49331 (_dl_profile_resolve): Correct cr save location. Delete nops
49332 after bl when SHARED. Reduce cfi size a little by better
49333 placement of cfi directives.
49334 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49335 make a stack frame. Instead use parm save area as a temp.
49336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49337 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49339 Don't make a stack frame for parent, use parm save area.
49340 Increase child stack frame to 112 bytes. Don't save unused reg,
49341 and adjust reg usage. Set up cfi on error recovery and
49342 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49344 (__makecontext): Add dummy nop after jump to exit.
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49346 Use correct parm save area and cr save, reduce stack frame.
49347 Correct cfi for possible PSEUDO_RET frame setup.
49348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49349 Branch to local label emitted by PSEUDO_RET rather than
49350 __syscall_error.
49351
02637374
AS
493522010-08-12 Andreas Schwab <schwab@redhat.com>
49353
49354 [BZ #11904]
49355 * locale/programs/locale.c (print_assignment): New function.
49356 (show_locale_vars): Use it.
49357
c3e2f19b
UD
493582010-08-11 Ulrich Drepper <drepper@redhat.com>
49359
3cdaa6ad
UD
49360 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49361 field.
49362 (struct statfs64): Likewise.
49363 (_STATFS_F_FLAGS): Define.
49364 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49366 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49367 (ST_VALID): Define locally.
49368 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49369 __statvfs_getflags, use the provided value.
49370 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49371 __ASSUME_STATFS_F_FLAGS.
49372
754f7da3
UD
49373 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49374
10b3bedc
UD
49375 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49376 Add sys/fanotify.h.
49377 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49378 fanotify_mask for GLIBC_2.13.
49379 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49380 fanotify_init and fanotify_mark.
49381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49382 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49383
c08fb0d7
UD
49384 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49385 Add prlimit.
49386 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49387 prlimit64 for GLIBC_2.13.
49388 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49389 prlimit64.
49390 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49391 syscall.
49392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49393 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49394 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49395 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49397 add prlimit alias.
49398 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49399
15bac72b
UD
49400 [BZ #11903]
49401 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49402 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49403
c3e2f19b
UD
49404 * nss/Makefile: Add rules to build and run tst-nss-test1.
49405 * shlib-versions: Add entry for libnss_test1.
49406 * nss/nss_test1.c: New file.
49407 * nss/tst-nss-test1.c: New file.
49408
49409 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49410 (__nss_configure_lookup): Set appropriate entry in
49411 __nss_configure_lookup to true.
49412 * nss/nsswitch.h: Define enum with indeces of databases in
49413 databases and __nss_database_custom arrays. Declare
49414 __nss_database_custom.
49415 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49416 to avoid using nscd when custom rules are installed.
49417 * nss/getXXbyYY_r.c: Likewise.
49418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49419
49420 * nss/nss_files/files-parse.c: Whitespace fixes.
49421
f15ce4d8
UD
494222010-08-09 Ulrich Drepper <drepper@redhat.com>
49423
49424 [BZ #11883]
49425 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49426 * posix/fnmatch_loop.c: Likewise.
49427
d22e4cc9
AK
494282010-07-17 Andi Kleen <ak@linux.intel.com>
49429
49430 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49431 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49432 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49433 * Versions.def [GLIBC_2.13]: Add.
49434
805bc17d
UD
494352010-08-06 Ulrich Drepper <drepper@redhat.com>
49436
49437 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49438 Also fail if tpwd after pwuid call is NULL.
49439
5a42321d
ST
494402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49441
49442 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49443 when converting to ms.
49444
fd3ebeda
ST
494452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49446
49447 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49448 EOPNOTSUPP errors with ENOTTY.
49449 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49450 EOPNOTSUPP errors with ENOTTY.
49451
73507d3a
UD
494522010-07-31 Ulrich Drepper <drepper@redhat.com>
49453
49454 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49455 Add strcasecmp_l-ssse3.
49456 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49457 strcasecmp.
49458 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49459 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49460 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49461
fe36dd02
UD
494622010-07-30 Ulrich Drepper <drepper@redhat.com>
49463
66f6765a
UD
49464 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49465
42e08a54
UD
49466 * string/Makefile (strop-tests): Add strcasecmp.
49467 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49468 strcasecmp_l-nonascii.
49469 (gen-as-const-headers): Add locale-defines.sym.
49470 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49471 * sysdeps/x86_64/strcasecmp.S: New file.
49472 * sysdeps/x86_64/strcasecmp_l.S: New file.
49473 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49474 * sysdeps/x86_64/locale-defines.sym: New file.
49475 * string/test-strcasecmp.c: New file.
49476
fe36dd02
UD
49477 * string/test-strcasestr.c: Test both ends of the range of characters.
49478 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49479
48cbc0d6
RM
494802010-07-29 Roland McGrath <roland@redhat.com>
49481
76e6d6bc 49482 [BZ #11856]
48cbc0d6
RM
49483 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49484
880113d9
UD
494852010-07-27 Ulrich Drepper <drepper@redhat.com>
49486
49487 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49488 for ld.so.
49489
deb9cabb
AS
494902010-07-27 Andreas Schwab <schwab@redhat.com>
49491
49492 * manual/memory.texi (Malloc Tunable Parameters): Document
49493 M_PERTURB.
49494
1c7570ff
RM
494952010-07-26 Roland McGrath <roland@redhat.com>
49496
49497 [BZ #11840]
49498 * configure.in (-fgnu89-inline check): Set and substitute
49499 gnu89_inline, not libc_cv_gnu89_inline.
49500 * configure: Regenerated.
49501 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49502
24fb0f88
UD
495032010-07-26 Ulrich Drepper <drepper@redhat.com>
49504
49505 * string/test-strnlen.c: New file.
49506 * string/Makefile (strop-tests): Add strnlen.
49507 * string/tester.c (test_strnlen): Add a few more test cases.
49508 * string/tst-strlen.c: Better error reporting.
49509
49510 * sysdeps/x86_64/strnlen.S: New file.
49511
8e96b93a
UD
495122010-07-24 Ulrich Drepper <drepper@redhat.com>
49513
49514 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49515 lower-latency instructions.
49516
dbc676d4
UD
495172010-07-23 Ulrich Drepper <drepper@redhat.com>
49518
49519 * string/test-strcasestr.c: New file.
49520 * string/test-strstr.c: New file.
49521 * string/Makefile (strop-tests): Add strstr and strcasestr.
49522 * string/str-two-way.h: Don't undefine MAX.
49523 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49524
f6a31e0e
AS
495252010-07-21 Andreas Schwab <schwab@redhat.com>
49526
49527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49528 strcasestr-nonascii.
49529 (CFLAGS-strcasestr-nonascii.c): Define.
49530 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49531 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49532 Remove unused attribute.
49533
5dbc3b6c
RM
495342010-07-20 Roland McGrath <roland@redhat.com>
49535
49536 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49537 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49538 ld.so.cache was broken. With it, there is no way to disable dsocaps
49539 like LD_HWCAP_MASK can disable hwcaps.
49540
23d101d8
EPM
495412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49542
49543 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49544
cc9f2e47
UD
495452010-07-16 Ulrich Drepper <drepper@redhat.com>
49546
49547 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49548 call in strcasestr.
49549 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49550 __strcasestr_sse42_nonascii.
49551 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49552 strcasestr-nonascii.c.
49553 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49554
77c1b069
LM
495552010-06-15 Luis Machado <luisgpm@br.ibm.com>
49556
49557 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49559 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49560 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49561
440566c3
UD
495622010-07-09 Ulrich Drepper <drepper@redhat.com>
49563
49564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49565 fcntl.
49566
5be9d05d
AS
495672010-07-06 Andreas Schwab <schwab@redhat.com>
49568
c30b7ee2 49569 [BZ #11577]
5be9d05d
AS
49570 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49571 dl_signal_cerror.
49572
8a492a67
UD
495732010-07-06 Ulrich Drepper <drepper@redhat.com>
49574
49575 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49576 _PC_PIPE_BUF using F_GETPIPE_SZ.
49577
713df3d5
RM
495782010-07-05 Roland McGrath <roland@redhat.com>
49579
49580 * manual/arith.texi (Rounding Functions): Fix rint description
49581 implicit in round description.
49582
702e8f14
UD
495832010-07-02 Ulrich Drepper <drepper@redhat.com>
49584
49585 * elf/Makefile: Fix linking for a few tests to make recent linker
49586 happy.
49587
52ed8be9
AS
495882010-06-30 Andreas Schwab <schwab@redhat.com>
49589
49590 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49591 $(common-objpfx)libc_nonshared.a.
49592
f47c9a11
LM
495932010-06-21 Luis Machado <luisgpm@br.ibm.com>
49594
49595 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49596 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49597 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49598 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49599 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49600 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49601 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49602 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49617 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49618 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49619 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49620 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49621 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49622 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49623 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49624 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49625 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49626 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49627 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49628 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49643
6fb8cbcb
L
496442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49645
49646 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49647 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49648 * string/memmove.c (memmove): Renamed to ...
49649 (MEMMOVE): ...this. Default to memmove.
49650 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49651 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49652 (END_CHK): Define.
49653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49654 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49655 mempcpy-ssse3-back memmove-ssse3-back.
49656 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49658 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49659 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49660 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49661 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49662 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49663 * sysdeps/x86_64/multiarch/memmove.c: New file.
49664 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49665 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49666 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49667 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49668 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49670 Define.
49671 (index_Fast_Copy_Backward): Define.
49672 (HAS_ARCH_FEATURE): Define.
49673 (HAS_FAST_REP_STRING): Define.
49674 (HAS_FAST_COPY_BACKWARD): Define.
49675
4e733bac 496762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49677
49678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49679 Restore proper fallback handling.
49680
63c4ed22
UD
496812010-06-19 Ulrich Drepper <drepper@redhat.com>
49682
ac2b484c
UD
49683 [BZ #11701]
49684 * posix/group_member.c (__group_member): Correct checking loop.
49685
63c4ed22
UD
49686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49687 OOM in getpwuid_r correctly. Return error number when the caller
49688 should return, otherwise -1.
49689 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49690 call returning > 0 value.
49691 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49692
765ade4b
AS
496932010-06-07 Andreas Schwab <schwab@redhat.com>
49694
49695 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49696 libc_nonshared.a from targets in modules-names.
49697
80da2e09
KS
496982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49699
49700 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49701 requires it.
49702
158db122
LM
497032010-06-10 Luis Machado <luisgpm@br.ibm.com>
49704
49705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49707 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49708 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49709
caa78cf8
AS
497102010-06-02 Andreas Schwab <schwab@redhat.com>
49711
49712 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49713
b2ef2c01
UD
497142010-06-14 Ulrich Drepper <drepper@redhat.com>
49715
49716 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49717 and F_GETPIPE_SZ.
49718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49723 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49724
fbd643b6
RM
497252010-06-14 Roland McGrath <roland@redhat.com>
49726
49727 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49728
f32f2869
JJ
497292010-06-07 Jakub Jelinek <jakub@redhat.com>
49730
49731 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49732 __REDIRECT followed by __THROW.
49733 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49734 * posix/getopt.h (getopt): Likewise.
49735
2a50c078
EPM
497362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49737
49738 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49739 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49740 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49741 in AT_FLAGS.
49742 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49743 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49744
eb5ad2eb
LM
497452010-05-28 Luis Machado <luisgpm@br.ibm.com>
49746
49747 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49748
3c88fe1e
L
497492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49750
49751 [BZ #11640]
49752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49753 Properly check family and model.
49754
d2f73151
TY
497552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49756
49757 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49758
ebd2e13d
LM
497592010-05-24 Luis Machado <luisgpm@br.ibm.com>
49760
49761 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49762
b32b8b45
UD
497632010-05-21 Ulrich Drepper <drepper@redhat.com>
49764
49765 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49766 symbol reference.
49767
9acbe24d
AS
497682010-05-19 Andreas Schwab <schwab@redhat.com>
49769
49770 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49771 symbol reference.
49772
f0ccf6ea
AS
497732010-05-21 Andreas Schwab <schwab@redhat.com>
49774
3d04ff3a
AS
49775 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49776 and internal_recvmmsg.
49777 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49778 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49779 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49780 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49781
f0ccf6ea
AS
49782 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49783 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49784 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49785
5b08ac57
AS
497862010-05-20 Andreas Schwab <schwab@redhat.com>
49787
49788 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49789
4828935d
LM
497902010-05-17 Luis Machado <luisgpm@br.ibm.com>
49791
49792 POWER7 optimizations.
49793 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49794 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49795
373d545e
UD
497962010-05-19 Ulrich Drepper <drepper@redhat.com>
49797
49798 * version.h: Update for 2.13 development version.
49799
21a2b1ae
AS
498002010-05-12 Andrew Stubbs <ams@codesourcery.com>
49801
49802 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49803 exceptions. Return 0.
49804
3f7dcb2b
RM
498052010-05-07 Roland McGrath <roland@redhat.com>
49806
49807 * elf/ldconfig.c (main): Add a const.
49808
5f24d53a 498092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49810
a160f8d8
UD
49811 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49812 (args_options): Add no-idn option.
49813 (ahosts_keys_int): Add idn_flags to ai_flags.
49814 (parse_option): Handle 'i' option to clear idn_flags.
49815
5f24d53a
UD
49816 * malloc/malloc.c (_int_free): Possible race in the most recently
49817 added check. Only act on the data if no current modification
49818 happened.
265bb1ce
UD
49819
49820See ChangeLog.17 for earlier changes.