]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9a8a5720
RM
12014-08-12 Roland McGrath <roland@hack.frob.com>
2
3 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4
4e75751c
BO
52014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6
7 [BZ #16892]
8 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10
bb2ce416
SA
112014-08-12 Sean Anderson <seanga2@gmail.com>
12
13 * malloc/malloc.c: Fix typo in comment.
14
7950a4ee
AM
152014-08-09 Allan McRae <allan@archlinux.org>
16
17 * Regenerate libc.po.
18
f469c49f
MF
192014-08-08 Mike Frysinger <vapier@gentoo.org>
20
21 * intl/tst-gettext2.sh: Check every lang file for creation.
22
656b84c2
WD
232014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
24
25 * sysdeps/aarch64/fpu/math_private.h
26 (libc_feholdsetround_noex_aarch64_ctx): New function.
27
538e9e45
W
282014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
29
30 * sysdeps/arm/armv6/strcpy.S (strcpy):
31 Fix performance issue in misaligned cases.
32
d4795e4a
AZ
332014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34
35 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36 Move definition from termios.h.
37 (struct termio): Likewise.
38 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42 Likewise.
43 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
44 Move definition to ioctl-types.h
45 (struct termio): Likewise.
46 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
48 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
49 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
50 Likewise.
51
64accb62
RH
522014-08-05 Richard Henderson <rth@redhat.com>
53
27bb6dc0
RH
54 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
55 exceptions.
56 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
57 Add fraiseexcpt.
58 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
59 Use __feraiseexcept.
60 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
61 Protect libm symbols with IS_IN_libm.
62
64accb62
RH
63 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
64
e5292691
BO
652014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
66
67 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
68
5b4bd2d4
WN
692014-08-04 Will Newton <will.newton@linaro.org>
70
71 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
72 file.
73
fcadaeef
MF
742014-08-04 Mike Frysinger <vapier@gentoo.org>
75
76 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
77 variants for each function.
78
43a94c64
RM
792014-08-04 Roland McGrath <roland@hack.frob.com>
80
81 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
82 appended ...
83 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
84 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
85 appended ...
86 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
87 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
88 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
89 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
90 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
91 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
92 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
93 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
94 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
95 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
97 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
99 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
101 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
103 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
105 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
107 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
109 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
111 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
113 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
115 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
117 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
118 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
119 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
121 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
122 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
123 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
124 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
125 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
126 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
128 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
130 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
131 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
132 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
133 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
134 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
135 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
136 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
137 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
138 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
139 Update #include.
140 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
141 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
142
8f3c1fa4
RM
1432014-08-04 Roland McGrath <roland@hack.frob.com>
144
145 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
146 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
147 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
148 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
149 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
150 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
151
ca08746f
RM
1522014-08-04 Roland McGrath <roland@hack.frob.com>
153
154 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
155 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
156 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
157 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
158
9c925ff9
RM
1592014-08-04 Roland McGrath <roland@hack.frob.com>
160
161 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
162 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
163 (__libc_vfork): Define function under this name.
164 (__vfork): Define as an alias.
165 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
166 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
167
e641054c
RM
1682014-08-04 Roland McGrath <roland@hack.frob.com>
169
170 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
171 that was previously under [RESET_PID].
172 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
173
dacdc867
AS
1742014-08-04 Andreas Schwab <schwab@suse.de>
175
176 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
177
41f725ff
MF
1782014-08-03 Mike Frysinger <vapier@gentoo.org>
179
180 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
181 (main): Likewise.
182
277cfb31
RM
1832014-08-01 Roland McGrath <roland@hack.frob.com>
184
185 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
186
4896f049
RH
1872014-08-01 Richard Henderon <rth@redhat.com>
188
189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
190 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
191 typo in exact zero test.
192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
193 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
195
6f64e7d7
RM
1962014-08-01 Roland McGrath <roland@hack.frob.com>
197
198 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
199 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
200 * sysdeps/arm/sysdep.h: ... here.
201 [!__ASSEMBLER__]: Include <stdint.h>.
202
3f3dd810
SP
2032014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
204
a476ac4b
SP
205 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
206 (HAVE_WCTYPE_H): Likewise.
207 (HAVE_ISWCTYPE): Likewise.
208 (ENABLE_NLS): Likewise.
209 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
210 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
211
78dd658a
SP
212 * posix/regex_internal.c: Check if DEBUG is defined and is
213 set.
214
3f3dd810
SP
215 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
216 (HAVE_MBSRTOWCS): Likewise.
217 * posix/fnmatch.c: Include string.h unconditionally.
218
95ee7fb1
SL
2192014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
220
221 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
222 reversal.
223
23fe486b
RM
2242014-07-31 Roland McGrath <roland@hack.frob.com>
225
f61a113f
RM
226 * sysdeps/generic/safe-fatal.h: New file.
227 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
228 * nptl/forward.c: Include it.
229 (__pthread_unwind): Use __safe_fatal as default action, rather
230 than a bogus use of INTERNAL_SYSCALL that could never work.
231
9fe7e787
RM
232 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
233 * configure.ac (libc_cv_builtin_trap): New test.
234 * configure: Regenerated.
235 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
236 (ABORT_INSTRUCTION): Define using __builtin_trap.
237
23fe486b
RM
238 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
239 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
240 * sysdeps/nptl/nptl-signals.h: New file.
241 * nptl/pthreadP.h: Include <nptl-signals.h>.
242
f349489e
SL
2432014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
244
245 * sysdeps/s390/s390-64/utf16-utf32-z9.c
246 (ONE_DIRECTION): Define.
247 * sysdeps/s390/s390-64/utf8-utf16-z9.c
248 (ONE_DIRECTION): Define.
249 * sysdeps/s390/s390-64/utf8-utf32-z9.c
250 (ONE_DIRECTION): Define.
251
2f438e20
SL
2522014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
253
254 * sysdeps/s390/Makefile: Delete file.
255 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
256 * sysdeps/s390/__longjmp.c: Delete file.
257 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
258 Remove fields __flags and __reserved.
259 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
260 and add versioning.
261 * sysdeps/s390/rtld-__longjmp.c: Delete file.
262 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
263 * sysdeps/s390/rtld-setjmp.S: Likewise.
264 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
265 * sysdeps/s390/s390-32/__longjmp.c: ... here.
266 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
267 * sysdeps/s390/s390-32/setjmp.S: ... here.
268 Add versioning.
269 (__sigsetjmp): Remove setting __flags field.
270 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
271 * sysdeps/s390/s390-64/__longjmp.c: ... here.
272 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
273 * sysdeps/s390/s390-64/setjmp.S: ... here.
274 Add versioning.
275 (__sigsetjmp): Remove setting __flags field.
276 * sysdeps/s390/setjmp.S: Delete file.
277 * sysdeps/s390/sigjmp.c: Likewise.
278 * sysdeps/s390/v1-longjmp.c: Likewise.
279 * sysdeps/s390/v1-setjmp.h: Likewise.
280 * sysdeps/s390/v1-sigjmp.c: Likewise.
281 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
282 Remove v1-longjmp_chk.
283 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
284 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
285 Include debug/longjmp_chk.c and add versioning.
286 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
287 Include nptl/pt-longjmp.c and add versioning.
288 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
289 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
290 Include __longjmp.c.
291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
292 Move to ...
293 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
294 (__getcontext): Remove setting __flags field.
295 Add versioning.
296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
297 Don't restore upper high grps.
298 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
299 Likewise.
300 (__swapcontext): Remove setting uc_flags field.
301 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
302 Delete file.
303 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
304 Include __longjmp.c.
305 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
306 Move to ...
307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
308 (__getcontext): Remove setting __flags field.
309 Add versioning.
310 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
311 (__swapcontext): Remove setting uc_flags field.
312 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
314 Remove fields uc_high_gprs and __reserved.
315 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
316 New file with reverted content.
317 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
318 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
319 Regenerated.
320 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
321 Regenerated.
322
6c9578a2
AS
3232014-07-31 Andreas Schwab <schwab@suse.de>
324
325 * config.h.in (HAVE_IFUNC): Define to 0.
326 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
327 definedness.
328
05f3633d
LM
3292014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
330
331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
332 memmove-avx-unaligned, memcpy-avx-unaligned and
333 mempcpy-avx-unaligned.
334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
335 Add tests for AVX memcpy functions.
336 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
337 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
338 memcpy_chk.
339 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
340 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
341 memmove_chk.
342 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
343 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
344 mempcpy_chk.
345 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
346 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
347 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
348
a53fbd8e
AZ
3492013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
350
351 [BZ #17213]
352 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
353 powerpc64le.
354
0961f7e1
JL
3552014-07-29 Jeff Layton <jlayton@poochiereds.net>
356
357 [BZ #16839]
358 * manual/llio.texi: Add section about open file description locks.
359 * manual/examples/ofdlocks.c: Example of open file description
360 lock usage.
361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
362 F_OFD_SETLK, and F_OFD_SETLKW.
363
cc5fb300
AM
3642014-07-23 Allan McRae <allan@archlinux.org>
365
366 * po/es.po: Update Spanish translation from translation project.
367
23329dca
AS
3682014-07-18 Andreas Schwab <schwab@linux-m68k.org>
369
370 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
371
9c82da17
MR
3722014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
373
374 [BZ #17078]
375 * sysdeps/arm/dl-machine.h (elf_machine_rela)
376 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
377 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
378
29c4f53e
JM
3792014-07-17 Joseph Myers <joseph@codesourcery.com>
380
831b9896
JM
381 [BZ #17088]
382 * math/fesetenv.c (__fesetenv)
383 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
384 * math/feupdateenv.c (__feupdateenv)
385 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
386
b21c2d50
JM
387 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
388 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
389 (__ASSUME_SOCKETCALL): Do not define.
390
067764ef
JM
391 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
392 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
393 (__ASSUME_SOCKETCALL): Do not define.
394 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
395 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
396 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
397 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
398 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
399 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
401 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
402
642530c1
JM
403 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
404 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
405 (__ASSUME_SOCKETCALL): Do not define.
406 (__ASSUME_IPC64): Define unconditionally.
407 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
408 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
409 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
410 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
411 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
412 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
413 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
414 Likewise.
415
03f77315
JM
416 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
417 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
418 (__ASSUME_SOCKETCALL): Do not define.
419 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
420 (__ASSUME_FUTEX_LOCK_PI): Likewise.
421 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
422 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
423 (__ASSUME_REQUEUE_PI): Define unconditionally.
424 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
425 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
426 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
427 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
428 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
429 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
430
083b1f7c
JM
431 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
432 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
433 (__ASSUME_SOCKETCALL): Do not define.
434 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
435 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
436 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
437 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
438 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
439 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
440
5be44ea6
JM
441 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
442 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
443 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
444 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
445 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
446 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
447 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
448 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
449 (__ASSUME_GETCPU_SYSCALL): Likewise.
450
d95ffd4c
JM
451 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
452 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
453 cases for individual architectures.
454 * sysdeps/gnu/configure: Regenerated.
455 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
456 LIBC_SLIBDIR_RTLDDIR.
457 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
458 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
459 LIBC_SLIBDIR_RTLDDIR.
460 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
462 LIBC_SLIBDIR_RTLDDIR.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
464 Regenerated.
465 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
466 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
467 file.
468 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
469 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
470 file.
471 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
472 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
473 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
474 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
475
29c4f53e
JM
476 * sysdeps/aarch64/shlib-versions: Move to ...
477 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
478 * sysdeps/alpha/shlib-versions: Move to ...
479 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
480 * sysdeps/arm/shlib-versions: Move to ...
481 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
482 * sysdeps/hppa/shlib-versions: Move all contents except for
483 libgcc_s entry to ...
484 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
485 entry from ...
486 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
487 * sysdeps/ia64/shlib-versions: Move to ...
488 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
489 entry from ...
490 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
491 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
492 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
493 * sysdeps/microblaze/shlib-versions: Move to ...
494 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
495 * sysdeps/mips/shlib-versions: Move to ...
496 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
497 entry from ...
498 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
499 * sysdeps/tile/shlib-versions: Move to ...
500 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
501 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
502 from ...
503 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
504 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
505 entry from ...
506 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
507
32bead5b
WN
5082014-07-17 Will Newton <will.newton@linaro.org>
509
57977c4b
WN
510 * sysdeps/arm/bits/atomic.h
511 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
512 (__arch_compare_and_exchange_bool_16_int): Likewise.
513 (__arch_compare_and_exchange_bool_64_int): Likewise.
514
32bead5b
WN
515 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
516 into an #else block.
517
37fccd41
RM
5182014-07-16 Roland McGrath <roland@hack.frob.com>
519
520 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
521 just Linux configurations. Test empirically that the compiler sets
522 __ARM_EABI__, rather than using the tuple to decide.
523 * sysdeps/arm/preconfigure: Regenerated.
524 * sysdeps/unix/sysv/linux/arm/configure: File removed.
525 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
526 contents appended ...
527 * sysdeps/arm/configure.ac: ... here.
528 * sysdeps/arm/configure: Regenerated.
529
b365f3ec
RM
5302014-07-15 Roland McGrath <roland@hack.frob.com>
531
8badf496
RM
532 * nptl/pthread_kill.c: New file.
533 * nptl/pthread_sigmask.c: New file.
534 * nptl/pthread_sigqueue.c: New file.
535
3df6f22e
RM
536 * sysdeps/nptl/lowlevellock.h: New file.
537 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
538 * sysdeps/nptl/lowlevellock-futex.h: New file.
539
b365f3ec
RM
540 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
541 Remove dead declarations.
542
f2fef657
L
5432014-07-14 H.J. Lu <hongjiu.lu@intel.com>
544
545 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
546 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
547 config-cflags-avx2.
548 * sysdeps/x86_64/configure.ac: Likewise.
549 * sysdeps/i386/configure: Regenerated.
550 * sysdeps/x86_64/configure: Likewise.
551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
552 memset-avx2 only if config-cflags-avx2 is yes.
553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
554 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
555 defined.
556 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
557 only if HAVE_AVX2_SUPPORT is defined.
558 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
559
f6c44d47
AM
5602014-07-14 Alan Modra <amodra@gmail.com>
561
562 [BZ #17153]
563 * elf/elf.h (DT_PPC64_NUM): Correct value.
564 * NEWS: Add to fixed bug list.
565
7ee03f00
JM
5662014-07-13 Jim Meyering <meyering@fb.com>
567
568 [BZ 17150]
569 regex: don't deref NULL upon heap allocation failure
570 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
571 failure in one more place.
572 To trigger the segfault, configure grep -with-included-regex,
573 build it, and run these commands:
574 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
575
9d39d517
AS
5762014-07-13 Andreas Schwab <schwab@linux-m68k.org>
577
578 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
579
a75b89b7
RH
5802014-07-11 Richard Henderson <rth@redhat.com>
581
582 * sysdeps/aarch64/libm-test-ulps: Update.
583
771eb141
FW
5842014-07-10 Florian Weimer <fweimer@redhat.com>
585
586 [BZ #17135]
587 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
588 * nptl/allocatestack.c (__nptl_setxid_error): New function.
589 (__nptl_setxid): Initialize error member. Call
590 __nptl_setxid_error.
591 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
592 * nptl/descr.h (struct xid_command): Add error member.
593 * nptl/tst-setuid3.c: New file.
594 * nptl/Makefile (tests): Add it.
595
bc1da176
AZ
5962014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597
598 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
599 New define.
600 (__lll_trylock): Use __lll_base_trylock.
601 (__lll_cond_trylock): Likewise.
602
887865fc
RM
6032014-07-10 Roland McGrath <roland@hack.frob.com>
604
c0c6bac9
RM
605 * nptl/pthread_create.c (start_thread): Use atomic_or and
606 lll_futex_wake directly rather than lll_robust_dead.
607 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
608 (lll_robust_dead): Macro removed.
6a42be57 609 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
610 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
611 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
612 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
613 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
614 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
615 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
616 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
617 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
618 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
619 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
620 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
621 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
622 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
624
887865fc
RM
625 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
626 Use atomic_compare_and_exchange_val_acq directly rather than
627 lll_robust_trylock.
628 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
629 (__lll_robust_trylock, lll_robust_trylock): Removed.
630 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
631 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
632 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
633 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
634 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
635 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
636 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
637 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
638 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
639 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
640 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
641 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
642 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
643 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
644
58536726
FW
6452014-07-02 Florian Weimer <fweimer@redhat.com>
646
647 * manual/locale.texi (Locale Names): New section documenting
648 locale name syntax. Adjust menu and node chaining accordingly.
649 (Choosing Locale): Reference Locale Names, Locale Categories.
650 Mention setting LC_ALL=C. Reflect that name syntax is now
651 documented.
652 (Locale Categories): New section title. Reference Locale Names.
653 LC_ALL is an environment variable, but not a category.
654 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
655 description, now in Locale Name. Reference that section. Locale
656 name syntax is now documented.
657
4e8f95a0
FW
6582014-07-02 Florian Weimer <fweimer@redhat.com>
659
660 [BZ #17137]
661 * locale/findlocale.c (name_present, valid_locale_name): New
662 functions.
663 (_nl_find_locale): Use the loc_name variable to store name
664 candidates. Call name_present and valid_locale_name to check and
665 validate locale names. Return an error if the locale is invalid.
666
d1836456
FW
6672014-07-02 Florian Weimer <fweimer@redhat.com>
668
669 * locale/setlocale.c (setlocale): Use strdup for allocating
670 composite name copy.
671
d69b7f5a
SP
6722014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
673
888c679b
SP
674 Sync up with gnulib.
675 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
676 [!_LIBC && ENABLE_NLS]: Include gettext.h.
677 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
678 and _GL_ARG_NONNULL.
679 [USE_UNLOCKED_IO]: Include unlocked-io.h.
680 [!_LIBC]: Include code for Windows and Cygwin.
681 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
682 Include prototype for int strerror_r.
683 [!_LIBC] (is_open): New function.
684 (flush_stdout): New function.
685 (print_errno_message): Use it.
686 (error): Likewise.
687 (error_at_line): Likewise.
688 (error_tail) Add function attribute macros. Use
689 __builtin_expect.
690
180e0e4b
SP
691 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
692
d22f1fe2
SP
693 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
694
12f2254b
SP
695 * io/ftw.c: Include sys/param.h unconditionally.
696
c3c7c360
SP
697 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
698
d62aa75a
SP
699 [BZ #17125]
700 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
701 libc_freeres_ptr.
702 (freecache): New function to free CACHE on exit.
703
d69b7f5a
SP
704 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
705 initialization.
706
5efe06a1
DM
7072014-07-09 David S. Miller <davem@davemloft.net>
708
709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
710
7000d82e
DM
711 * sysdeps/sparc/nptl/internaltypes.h: Delete.
712 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
713 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
714 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
715 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
716 * sysdeps/sparc/nptl/sem_init.c: Likewise.
717 * sysdeps/sparc/nptl/sem_post.c: Likewise.
718 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
719 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
720 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
721 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
722 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
723 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
724
c213442d
AS
7252014-07-09 Andreas Schwab <schwab@suse.de>
726
4a2552c3
AS
727 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
728 output.
729 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
730 (do_test): Likewise.
731
c213442d
AS
732 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
733
82374e65
WN
7342014-07-09 Will Newton <will.newton@linaro.org>
735
736 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
737 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
738 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
739 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
740 * sysdeps/hppa/start.S (_start): Likewise.
741
6680738a
SP
7422014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
743
6ee3eab4
SP
744 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
745
6680738a
SP
746 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
747 defined.
748
80b5c505
SP
7492014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
750
e35c53e3
SP
751 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
752 after checking that it is non-NULL.
753
80b5c505
SP
754 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
755
91f4b564
AZ
7562014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
757
27b75f56
AZ
758 * sysdeps/powerpc/memmove.c: Remove file.
759 * sysdeps/powerpc/powerpc32/power4/memcopy.h
760 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
761 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
762 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
763 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
764 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
765 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
766 string memmove instead of removed powerpc one.
767
e7f95bb5
AZ
768 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
769 [weak_alias]: Fix compiler warning due trailing data.
770 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
771 [weak_alias]: Likewise.
772 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
773 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
774
91f4b564
AZ
775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
776 (__libc_ifunc_impl_list): Add memmove functions.
777
7c33f1e5
SP
7782014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
779
780 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
781 Remove code.
782 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
783 Likewise
784 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
785 Likewise
786 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
787 Likewise
788 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
789 Likewise
790 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
791 Likewise
792 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
793 Likewise
794 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
795 Likewise
796 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
797 Likewise
798 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
799 Likewise
800 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
801 Likewise
802 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
803 Likewise
804 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
805 Likewise
806 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
807 Likewise
808 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
809 Likewise
810 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
811 Likewise
812 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
813 Likewise
814
3f17b03b
AZ
8152014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816
87868c24
AZ
817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
818 to avoid alignment traps in non-cacheable memory.
819 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
820
07aedd78
AZ
821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
822 multiarch objects.
823 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
824 file: multiarch power7 memmove.
825 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
826 multiarch default memmove.
827 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
828 multiarch memove for powerpc32/power4.
829
17762f66
AZ
830 * string/bcopy.c: Use full path to include memmove.c.
831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
832 multiarch objects.
833 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
834 bcopy for powerpc64.
835 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
836 bcopy for powerpc64.
837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
838 and memmove implementations.
839 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
840 optimized multiarch memmove for POWER7/powerpc64.
841 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
842 default multiarch memmove for powerpc64.
843 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
844 multiarch for powerpc64.
845 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
846 for POWER7/powerpc64.
847 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
848 memmove for POWER7/powerpc64.
849
d6f68bbe
AZ
850 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
851 glibc default one.
852
3f17b03b
AZ
853 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
854 __ELF_NATIVE_CLASS equal to 64.
855
08192659
RM
8562014-07-07 Roland McGrath <roland@hack.frob.com>
857
f4c4021b
RM
858 * sysdeps/nptl/lowlevellock.h: File removed.
859
f083450f
RM
860 * NEWS: NPTL is no longer an add-on!
861 * nptl/internaltypes.h: Moved ...
862 * sysdeps/nptl/internaltypes.h: ... here.
863 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
864 * sysdeps/nptl/fork.c: Likewise.
865 * sysdeps/nptl/gai_misc.h: Likewise.
866 * sysdeps/nptl/librt-cancellation.c: Likewise.
867 * sysdeps/nptl/jmp-unwind.c: Likewise.
868 * sysdeps/nptl/setxid.h: Likewise.
869 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
870 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
871 * sysdeps/unix/sysv/linux/arm/Implies: New file.
872 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
873 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
874 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
875 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
876 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
877 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
878 * sysdeps/unix/sysv/linux/mips/Implies: New file.
879 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
880 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
881 * sysdeps/unix/sysv/linux/sh/Implies: New file.
882 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
883 * sysdeps/unix/sysv/linux/tile/Implies: New file.
884 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
885 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
886 * nptl/Makeconfig: Moved ...
887 * sysdeps/nptl/Makeconfig: ... here.
888 * nptl/configure: File removed.
889 * nptl/ANNOUNCE: File removed.
890 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
891 * sysdeps/unix/sysv/linux/configure: Regenerated.
892
08192659
RM
893 * nptl/Makefile (routines): Add libc_pthread_init,
894 libc_multiple_threads, register-atfork and unregister-atfork.
895 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
896 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
897 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
898 pthread-pi-defines.sym, structsem.sym.
899 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
900 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
901 [$(subdir) = nptl] (tests): Add tst-setgetname.
902 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
903 * sysdeps/unix/sysv/linux/sigaction.c: Just include
904 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
905 [!LIBC_SIGACTION]: Remove aliases.
906 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
907 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
908 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
909 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
910 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
911 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
912 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
914 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
915 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
916 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
917 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
918 __libc_allocate_rtsig_private.
919 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
920 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
921 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
922 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
923 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
924 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
925 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
926 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
927 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
928 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
929 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
930 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
931 * nptl/internaltypes.h: ... here.
932 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
933 * sysdeps/nptl/jmp-unwind.c: ... here.
934 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
935 * nptl/libc-lowlevellock.c: ... here.
936 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
937 * nptl/libc_multiple_threads.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
939 * nptl/libc_pthread_init.c: ... here.
940 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
941 * nptl/lowlevelbarrier.sym: ... here.
942 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
943 * nptl/lowlevelcond.sym: ... here.
944 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
945 * nptl/lowlevellock.c: ... here.
946 * nptl/lowlevellock.h: Moved ...
947 * sysdeps/nptl/lowlevellock.h: ... here.
948 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
949 * nptl/lowlevelrobustlock.c: ... here.
950 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
951 * nptl/lowlevelrobustlock.sym: ... here.
952 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
953 * nptl/lowlevelrwlock.sym: ... here.
954 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
955 * nptl/pt-fork.c: ... here.
956 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
957 * nptl/pthread-pi-defines.sym: ... here.
958 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
959 * nptl/pthread_attr_getaffinity.c: ... here.
960 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
961 * nptl/pthread_attr_setaffinity.c: ... here.
962 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
963 * nptl/pthread_mutex_cond_lock.c: ... here.
964 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
965 Update #include.
966 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
967 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
968 * nptl/pthread_once.c: ... here, replacing old file.
969 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
970 * nptl/pthread_yield.c: ... here.
971 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
972 * nptl/register-atfork.c: ... here.
973 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
974 * nptl/sem_post.c: ... here.
975 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
976 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
977 * nptl/sem_timedwait.c: ... here.
978 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
979 * nptl/sem_trywait.c: ... here.
980 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
981 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
982 * nptl/sem_wait.c: ... here.
983 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
984 * nptl/structsem.sym: ... here.
985 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
986 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
987 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
988 * nptl/unregister-atfork.c: ... here.
989 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
990 * nptl/unwindbuf.sym: ... here.
991 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
992 * sysdeps/nptl/fork.c: ... here.
993 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
994 * sysdeps/nptl/fork.h: ... here.
995 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
996 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
997 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
998 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
999 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1000 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1001 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1002 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1003 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1005 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1007 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1009 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1011 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1013 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1015 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1017 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1019 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1021 * sysdeps/unix/sysv/linux/raise.c: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1023 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1024 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1025 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1027 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1029 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1030 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1031 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1032 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1033 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1034 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1035 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1036 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1037
96baf6ff
SP
10382014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1039
1040 * sysdeps/generic/memcopy.h: Add comment for
1041 MEMCPY_OK_FOR_FWD_MEMMOVE.
1042
6b7b14b2
WN
10432014-07-04 Will Newton <will.newton@linaro.org>
1044
1570a72b
WN
1045 * string/memchr.c: Merge from gnulib.
1046 [_LIBC]: Remove conditionals.
1047 (__ptr_t): Remove define.
1048 (LONG_MAX_32_BITS): Likewise.
1049 (LONG_MAX): Likewise.
1050 (MEMCHR): Use ANSI prototype and optimize algorithm.
1051
6b7b14b2
WN
1052 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1053
38851324
SP
10542014-07-03 Roland McGrath <roland@hack.frob.com>
1055
3d9eb57c
RM
1056 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1057 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1058
78b984ae
RM
1059 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1060 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1061 in a bare environment with no <stdlib.h> installed.
1062 * sysdeps/nptl/configure: Regenerated.
1063
2d5976a5
RM
1064 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1065
c1f5acd4
RM
1066 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1067 AC_EGREP_CPP for kernel header checks, so they only succeed if
1068 including <linux/version.h> actually works right.
1069 * sysdeps/unix/sysv/linux/configure: Regenerated.
1070
4d614fe5
RM
1071 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1072 value so it's not diagnosed as unused.
1073
38851324
SP
1074 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1075 thing) with "ifeq ($(subdir),rt)".
1076
b3ec00e5
RH
10772014-07-03 Richard Henderson <rth@redhat.com>
1078
69862e25
RH
1079 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1080 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1081 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1082
d5e16ade
RH
1083 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1084 (math_force_eval): New.
1085
ca7b945c
RH
1086 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1087 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1088
cd1175a3
RH
1089 * sysdeps/alpha/fpu/s_round.c: Remove file.
1090 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1091
b3ec00e5
RH
1092 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1093 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1094 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1095 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1096 (_dl_start, print_statistics): Likewise.
1097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1098 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1099
1100 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1101 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1102 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1103 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1105 (HP_SMALL_TIMING_AVAIL): Define.
1106 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1108 (HP_SMALL_TIMING_AVAIL): Define.
1109 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1110 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1111
1112 * sysdeps/aarch64/hp-timing.h: New file.
1113
1114 * sysdeps/generic/hp-timing.h: Remove dead comment.
1115 * sysdeps/generic/hp-timing-common.h: New file.
1116 * sysdeps/alpha/hp-timing.h: Include it.
1117 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1118 * sysdeps/i386/i686/hp-timing.h: Likewise.
1119 * sysdeps/ia64/hp-timing.h: Likewise.
1120 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1121 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1123 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1124 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1125 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1126 (hp_timing_t): New.
1127
1128 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1129 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1130 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1131 * elf/rtld.c (_dl_start_final): Likewise.
1132 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1133 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1134 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1135 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1136 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1138 (HP_TIMING_DIFF_INIT): Remove.
1139 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1141 (HP_TIMING_DIFF_INIT): Remove.
1142 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1143 * sysdeps/i386/i686/hp-timing.c: Remove file.
1144 * sysdeps/x86_64/hp-timing.c: Remove file.
1145 * sysdeps/ia64/hp-timing.c: Remove file.
1146 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1147 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1149 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1150
1151 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1152 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1153 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1154 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1155 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1156 (HP_TIMING_ACCUM): Remove.
1157 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1159 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1160
1161 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1162 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1163 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1164 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1166 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1167 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1168 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1169
1170 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1171
225f410f
MR
11722014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1173
1174 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1175
3247f285
SP
11762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1177
1178 Sync up with gettext.
1179 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1180 [_MSC_VER]: Include malloc.h
1181 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1182 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1183 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1184 TEMP_FAILURE_RETRY. Cast return of alloca.
1185 [!_LIBC] Call gl_rwlock_init.
1186 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1187
d12704c7
SP
11882014-07-02 Roland McGrath <roland@hack.frob.com>
1189
1190 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1191 before checking its value.
1192
99f8dc92
SP
11932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1194
05fdac77
SP
1195 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1196
99f8dc92
SP
1197 * debug/memcpy_chk.c: Don't include pagecopy.h.
1198 * debug/mempcpy_chk.c: Likewise.
1199 * string/memcpy.c: Likewise.
1200 * string/memmove.c: Likewise.
1201 * sysdeps/powerpc/memmove.c: Likewise.
1202 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1203 definition of PAGE_COPY_FWD_MAYBE here...
1204 * sysdeps/generic/pagecopy.h: ... from here.
1205 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1206
bc8ea385
VR
12072014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1208 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1212 optimizations.
1213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1214 (__libc_ifunc_impl_list): Likewise.
1215 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1216 multiarch strcat for PPC64.
1217 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1218 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1219
fe5f34e4
RM
12202014-07-02 Roland McGrath <roland@hack.frob.com>
1221
1222 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1223
256aa665
SP
12242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1225
d4eb8195
SP
1226 * intl/loadmsgcat.c: Remove declaration of
1227 get_sysdep_segment_value.
1228 (get_sysdep_segment_value): Use ISO C style.
1229 (_nl_load_domain): Use ISO C style. Get rid of redundant
1230 semicolon. Fix typo and formatting in comment.
1231 (_nl_unload_domain): Use ISO C style.
1232
256aa665
SP
1233 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1234
b100f9aa
WN
12352014-07-02 Will Newton <will.newton@linaro.org>
1236
1237 * malloc/obstack.c: Merge from gnulib master.
1238 [HAVE_CONFIG_H]: Remove conditional code.
1239 [!_LIBC]: Include config.h.
1240 [!ELIDE_CODE]: Don't include inttypes.h, include
1241 stdint.h unconditionally.
1242 (print_and_abort): Mark as _Noreturn.
1243 (_obstack_allocated_p): Mark as __attribute_pure__.
1244 (obstack_free): Rename to __obstack_free.
1245 [!__attribute__]: Remove conditional code.
1246 * malloc/obstack.h: Merge from gnulib master.
1247 [__cplusplus]: Move conditional down.
1248 [!__attribute_pure__]: Define __attribute_pure__ here
1249 if it is not already defined.
1250 (_obstack_memory_used): Mark as __attribute_pure__.
1251 [!__obstack_free]: Define as obstack_free.
1252 [__GNUC__]: Remove check for ancient NeXT gcc.
1253
c4c41244
PE
12542014-07-02 Will Newton <will.newton@linaro.org>
1255 Paul Eggert <eggert@cs.ucla.edu>
1256
1257 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1258
e1e041c4
SP
12592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1260
1261 * resolv/gethnamaddr.c: Add comment warning that the file is
1262 not maintained.
1263
ccf431ff
CD
12642014-07-01 Carlos O'Donell <carlos@redhat.com>
1265
d34570a6
CD
1266 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1267 entries.
1268
ccf431ff
CD
1269 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1270 entry for aio_cancel and aio_cancel64.
1271 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1272 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1273 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1274 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1275 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1276 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1277 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1278 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1279 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1280 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1281 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1282 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1283 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1284
ca06321d
RM
12852014-07-01 Roland McGrath <roland@hack.frob.com>
1286
1287 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1288 * nptl/pthread_mutex_lock.c: Likewise.
1289 * nptl/pthread_mutex_timedlock.c: Likewise.
1290 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1291
a1ac3184
RH
12922014-07-01 Richard henderson <rth@redhat.com>
1293
631021e0
RH
1294 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1295 (__isnan, __isnanl): Remove.
1296 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1297
a1ac3184
RH
1298 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1299
0c1d731f
SL
13002014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1301
1302 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1303
76985d3e
SP
13042014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1305
1306 * resolv/nss_dns/dns-host.c (getanswer_r)
1307 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1308
b0cb3096
JM
13092014-07-01 Joseph Myers <joseph@codesourcery.com>
1310
1311 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1312 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1313 undefine.
1314 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1315 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1316
4d76cb39
RM
13172014-07-01 Roland McGrath <roland@hack.frob.com>
1318
1319 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1320 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1321
1322 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1323 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1324
1325 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1326 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1327 ... here.
1328 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1329 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1330
1331 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1332 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1333 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1334 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1335
1336 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1337 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1338 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1339 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1341 Moved ...
1342 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1343 ... here.
1344 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1345 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1347 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1348 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1349 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1351 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1353 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1357 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1359 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1361 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1364 ... here.
1365 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1366 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1368 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1369 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1370 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1371 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1372 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1373
0cdcad17
DH
13742014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1375
1376 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1377 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1378 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1379 Add sysdep.
1380
9b71d0e3
AZ
13812014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382
1383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1384
665390c2
JM
13852014-06-30 Joseph Myers <joseph@codesourcery.com>
1386
ae05a9d7
JM
1387 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1388 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1389
a7672a2f
JM
1390 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1391
665390c2
JM
1392 * sysdeps/arm/libm-test-ulps: Regenerated.
1393
d7a05d07
MR
13942014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1395 Roland McGrath <roland@hack.frob.com>
1396
1397 * test-skeleton.c (signal_handler): Kill the whole process group
1398 before killing the child individually.
1399 (main): Report any failure on `setpgid'.
1400
46f1d8a6
RM
14012014-06-30 Roland McGrath <roland@hack.frob.com>
1402
1403 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1404 from _TLS_H to _ARM_NPTL_TLS_H.
1405 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1406 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1407
9c37ec0b
JM
14082014-06-30 Joseph Myers <joseph@codesourcery.com>
1409
ce9c5b3e
JM
1410 [BZ #16539]
1411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1412 (__expm1l): Return argument unchanged when small but not
1413 subnormal.
1414
3a6e9887
JM
1415 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1416 include macro name.
1417 (_FP_UNPACK_RAW_1_P): Likewise.
1418 (_FP_PACK_RAW_1): Likewise.
1419 (_FP_PACK_RAW_1_P): Likewise.
1420 (_FP_MUL_MEAT_1_wide): Likewise.
1421 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1422 (_FP_MUL_MEAT_1_hard): Likewise.
1423 (_FP_DIV_MEAT_1_imm): Likewise.
1424 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1425 (_FP_DIV_MEAT_1_udiv): Likewise.
1426 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1427 (_FP_UNPACK_RAW_2): Likewise.
1428 (_FP_UNPACK_RAW_2_P): Likewise.
1429 (_FP_PACK_RAW_2): Likewise.
1430 (_FP_PACK_RAW_2_P): Likewise.
1431 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1432 (_FP_MUL_MEAT_2_wide): Likewise.
1433 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1434 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1435 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1436 (_FP_MUL_MEAT_2_gmp): Likewise.
1437 (_FP_DIV_MEAT_2_udiv): Likewise.
1438 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1439 (_FP_FRAC_SRL_4): Likewise.
1440 (_FP_FRAC_SRST_4): Likewise.
1441 (_FP_FRAC_SRS_4): Likewise.
1442 (_FP_UNPACK_RAW_4): Likewise.
1443 (_FP_UNPACK_RAW_4_P): Likewise.
1444 (_FP_PACK_RAW_4): Likewise.
1445 (_FP_PACK_RAW_4_P): Likewise.
1446 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1447 (_FP_MUL_MEAT_4_wide): Likewise.
1448 (_FP_MUL_MEAT_4_gmp): Likewise.
1449 (umul_ppppmnnn): Likewise.
1450 (_FP_DIV_MEAT_4_udiv): Likewise.
1451 (__FP_FRAC_ADD_4): Likewise.
1452 (__FP_FRAC_SUB_3): Likewise.
1453 (__FP_FRAC_SUB_4): Likewise.
1454 (__FP_FRAC_DEC_3): Likewise.
1455 (__FP_FRAC_DEC_4): Likewise.
1456 (__FP_FRAC_ADDI_4): Likewise.
1457 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1458 (_FP_FRAC_SRL_8): Likewise.
1459 (_FP_FRAC_SRS_8): Likewise.
1460
9c37ec0b
JM
1461 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1462 include macro name.
1463 (FP_UNPACK_RAW_EP): Likewise.
1464 (FP_PACK_RAW_E): Likewise.
1465 (FP_PACK_RAW_EP): Likewise.
1466 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1467 (_FP_ISSIGNAN): Likewise.
1468 (_FP_ADD_INTERNAL): Likewise.
1469 (_FP_FMA): Likewise.
1470 (_FP_CMP): Likewise.
1471 (_FP_SQRT): Likewise.
1472 (_FP_TO_INT): Likewise.
1473 (_FP_FROM_INT): Likewise.
1474 (FP_EXTEND): Likewise.
1475 (_FP_DIV_MEAT_N_loop): Likewise.
1476
2125f674
MR
14772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1478
1479 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1480 throughout.
1481
edea4028
JM
14822014-06-29 Joseph Myers <joseph@codesourcery.com>
1483
1484 [BZ #17097]
1485 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1486 result with correct sign in case of exponents that produce
1487 overflow except for X very close to 1.
1488
dd0ba018
PE
14892014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1490
1491 mktime: merge #if/#ifdef usage from glibc
1492 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1493 as that works with both Glibc's and Gnulib's style.
1494 See thread starting at Siddhesh Poyarekar's bug report at:
1495 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1496
64df73c2
SP
14972014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1498
1499 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1500 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1501 * sysdeps/tile/tilegx/memmove.c: Remove file.
1502
f1eafb41
JM
15032014-06-27 Joseph Myers <joseph@codesourcery.com>
1504
1505 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1506 abi-name definition.
1507 * scripts/soversions.awk: Do not handle or generate ABI lines.
1508 * shlib-versions: Remove ABI entries.
1509 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1510 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1511
58eb0862
RM
15122014-06-27 Roland McGrath <roland@hack.frob.com>
1513
37caf178
RM
1514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1515 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1516 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1519 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1521 Moved ...
1522 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1523 ... here.
1524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1527 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1529 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1531 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1535 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1537 Moved ...
1538 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1539 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1540 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1544 Moved ...
1545 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1547 Moved ...
1548 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1550 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1552 Moved ...
1553 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1555 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1557 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1559 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1561 Moved ...
1562 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1564 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1565 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1566 Moved ...
1567 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1569 Moved ...
1570 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1572 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1574 Moved ...
1575 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1576 ... here.
1577 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1578 Identical file removed.
1579 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1580 Moved ...
1581 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1582 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1583 Identical file removed.
1584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1585 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1587 Moved ...
1588 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1589 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1590 Identical file removed.
1591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1592 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1594 Identical file removed.
1595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1596 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1598 Identical file removed.
1599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1600 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1602 Identical file removed.
1603 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1604 Moved ...
1605 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1607 Identical file removed.
1608 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1609 Moved ...
1610 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1614 Identical file removed.
1615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1616 Moved ...
1617 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1618 ... here.
1619 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1620 Identical file removed.
1621 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1622 Moved ...
1623 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1625 Identical file removed.
1626 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1627 Moved ...
1628 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1629 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1634 Moved ...
1635 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1637 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1638
58eb0862
RM
1639 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1640 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1641 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1642 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1643 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1644
6f12d062
AS
16452014-06-27 Arjun Shankar <arjun.is@lostca.se>
1646
1647 [BZ #17092]
1648 * nscd/nscd.c (monitor_child): Return exit status of child
1649 instead of return value from wait syscall.
1650
be254932
JM
16512014-06-27 Joseph Myers <joseph@codesourcery.com>
1652
cb403c34
JM
1653 * configure.ac (libc_commonpagesize): Remove variable.
1654 (libc_relro_required): Likewise.
1655 (libc_cv_z_relro): Remove configure test.
1656 * configure: Regenerated.
1657 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1658 variable.
1659 (libc_relro_required): Likewise.
1660 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1661 (libc_relro_required): Likewise.
1662 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1663 (libc_relro_required): Likewise.
1664 * sysdeps/arm/preconfigure: Regenerated.
1665 * sysdeps/ia64/preconfigure: Remove file.
1666 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1667 variable.
1668 (libc_relro_required): Likewise.
1669
be254932
JM
1670 [BZ #16561]
1671 [BZ #16562]
1672 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1673 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1674 recompute overflowing results in original rounding mode.
1675 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1676 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1677 recompute overflowing results in original rounding mode.
1678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1679 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1680 recompute overflowing results in original rounding mode.
1681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1682 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1683 recompute overflowing results in original rounding mode.
1684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1685 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1686 recompute overflowing results in original rounding mode.
1687 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1688 (libc_feholdsetround_ctx): New macro.
1689 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1690 * sysdeps/i386/fpu/libm-test-ulps: Update.
1691 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1692
b351d85a
JM
16932014-06-26 Joseph Myers <joseph@codesourcery.com>
1694
1695 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1696 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1697 corresponding .cpsetup call.
1698
3cb4de47
RM
16992014-06-26 Roland McGrath <roland@hack.frob.com>
1700
1701 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1702 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1703 * sysdeps/arm/Makefile [$(subdir) = csu]
1704 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1705 (static-only-routines): Add aeabi_read_tp here.
1706 (shared-only-routines): Add libc-aeabi_read_tp here.
1707 (CFLAGS-libc-start.c): Add -fexceptions here.
1708 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1709 (sysdep_routines, static-only-routines, shared-only-routines):
1710 Don't add to these here.
1711 (CFLAGS-libc-start.c): Likewise.
1712
1713 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1714 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1715 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1716 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1717 * sysdeps/arm/Makefile [$(subdir) = rt]
1718 (librt-sysdep_routines, librt-shared-only-routines):
1719 Append rt-aeabi_unwind_cpp_pr1 here.
1720 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1721 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1722 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1723 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1724 Append nptl-aeabi_unwind_cpp_pr1 here.
1725 (tests): Filter out tst-cleanupx4 here.
1726 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1727 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1728 Don't do those here.
1729
354426bb
JM
17302014-06-26 Joseph Myers <joseph@codesourcery.com>
1731
1732 * scripts/list-sources.sh: Do not handle ports specially.
1733
28b0a8c9
RM
17342014-06-26 Roland McGrath <roland@hack.frob.com>
1735
a3dd035d
RM
1736 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1737 * sysdeps/arm/feupdateenv.c: Likewise.
1738
28b0a8c9
RM
1739 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1740
e66a8203
JM
17412014-06-26 Joseph Myers <joseph@codesourcery.com>
1742
1743 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1744 trailing whitespace removed.
1745 * scripts/config.guess: Update to version 2014-03-23.
1746 * scripts/config.sub: Update to version 2014-05-01
1747 * scripts/install-sh: Update to version 2013-12-25.23.
1748 * scripts/move-if-change: Update from gnulib.
1749
74171115
SP
17502014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1751
b97c9ce5
SP
1752 * debug/memmove_chk.c: Remove pagecopy.h include.
1753
4000f892
SP
17542014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1755
74171115
SP
1756 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1757 identical to gnulib mktime.
1758
a8779c28
JM
17592014-06-26 Joseph Myers <joseph@codesourcery.com>
1760
e64708de
JM
1761 * configure.ac: Do not test for machine being rs6000. Do not test
1762 for powerpc*-*soft.
1763 * configure: Regenerated.
1764
a8779c28
JM
1765 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1766 test.
1767 * configure: Regenerated.
1768 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1769 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1770 Remove configure test.
1771 * sysdeps/arm/configure: Regenerated.
1772 * sysdeps/nptl/configure.ac: Do not check
1773 libc_cv_asm_cfi_directives.
1774 * sysdeps/nptl/configure: Regenerated.
1775 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1776 * sysdeps/x86_64/nptl/configure: Remove generated file.
1777 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1778 unconditional.
1779 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1780
2aac0a86
SP
17812014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1782
059bf913
SP
1783 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1784 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1785 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1786 it is defined.
1787
4cf5b6d0
SP
1788 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1789 instead of whether it is defined.
1790 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1791 * sysdeps/hppa/dl-machine.h: Likewise.
1792 * sysdeps/ia64/dl-machine.h: Likewise.
1793 * sysdeps/m68k/dl-machine.h: Likewise.
1794 * sysdeps/microblaze/dl-machine.h: Likewise.
1795 * sysdeps/mips/dl-machine.: Likewise.
1796 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1797 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1798 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1799 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1800 * sysdeps/sh/dl-machine.h: Likewise.
1801 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1802 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1803 * sysdeps/tile/dl-machine.h: Likewise.
1804 * sysdeps/x86_64/dl-machine.h: Likewise.
1805
2aac0a86
SP
1806 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1807 code.
1808 (verify_persistent_db): Likewise.
1809
6ad2df0b
RM
18102014-06-26 Roland McGrath <roland@hack.frob.com>
1811
d8a483f3
RM
1812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1813 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1815 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1817 Moved ...
1818 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1819 ... here.
1820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1823 Identical file removed.
1824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1825 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1835 Moved ...
1836 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1838 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1840 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1842 Moved ...
1843 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1847 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1849 Identical file removed.
1850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1851 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1855 Moved ...
1856 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1857 ... here.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1861 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1863 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1865 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1867 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1869 Moved ...
1870 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1872 Moved ...
1873 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1875 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1877 Moved ...
1878 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1880 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1881
52ae23b4
RM
1882 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1883 folded into ...
1884 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1885 * sysdeps/unix/sysv/linux/s390/Versions
1886 (libpthread: GLIBC_2.19): New version set.
1887 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1888 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1889 (librt: GLIBC_2.3.3): New version set.
1890 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1891 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1892 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1894 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1896 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1898 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1900 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1902 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1904 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1906 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1910 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1912 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1914 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1916 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1918 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1920 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1922 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1926 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1928 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1930 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1932 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1933 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1934 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1935
39507e4a
RM
1936 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1937 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1938 (__libc_vfork): Define the function under this name.
1939 [!NOT_IN_libc] (__vfork): Make this an alias.
1940 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1942 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1943 (__libc_vfork): Define the function under this name.
1944 [!NOT_IN_libc] (__vfork): Make this an alias.
1945 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1946 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1947 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1949 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1950 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1951
e549ee56
RM
1952 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1953 code that was previously under [RESET_PID].
1954 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1955 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1957
6ad2df0b
RM
1958 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1959 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1960 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1961 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1962 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1963 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1964 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1965 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1966 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1967 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1969 Moved ...
1970 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1976 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1981 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1984 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1985 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1986 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1987 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1988 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1989 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1990 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1991 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1992 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1994 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1995 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1996 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1999
7c1c1d8e
RM
20002014-06-25 Roland McGrath <roland@hack.frob.com>
2001
2002 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2003 that was previously under [RESET_PID].
2004 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2005
3e239be6
JM
20062014-06-25 Joseph Myers <joseph@codesourcery.com>
2007
74385da5
JM
2008 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2009 not undefine and redefine.
2010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2011 [O_CLOEXEC]: Make code unconditional.
2012 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2013 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2014 <kernel-features.h>.
2015 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2016 conditional variable definition.
2017 (shm_open) [O_CLOEXEC]: Make code unconditional.
2018 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2019 code.
2020
c2570a0b
JM
2021 * configure.ac (USE_REGPARMS): Don't define here.
2022 * configure: Regenerated.
2023 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2024 * sysdeps/i386/configure: Regenerated.
2025
11b076bb
JM
2026 * nptl/createthread.c: Don't include kernel-features.h.
2027 * nptl/pthread_cancel.c: Likewise.
2028 * nptl/pthread_condattr_setclock.c: Likewise.
2029 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2030 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2031 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2032 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2033 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2034 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2035 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2038 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2039 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2040 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2041 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2042 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2043 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2044 * nscd/gai.c: Likewise.
2045 * nss/nss_db/db-open.c: Likewise.
2046 * sysdeps/generic/ldsodefs.h: Likewise.
2047 * sysdeps/sh/nptl/tls.h: Likewise.
2048 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2049 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2050 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2051 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2052 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2053 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2054 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2055 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2056 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2057 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2058 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2059 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2060 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2061 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2062 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2063 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2064 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2065 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2066 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2067 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2068 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2069 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2070 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2071 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2072 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2073 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2074 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2075 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2076 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2077 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2078 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2079 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2080 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2081 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2082 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2083 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2084 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2085 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2086 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2087 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2088 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2089 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2090 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2091 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2092 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2093 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2094 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2095 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2096 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2097 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2098 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2099 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2100 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2101 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2102 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2103 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2105 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2128 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2129 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2130 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2131 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2132 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2135 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2136 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2137 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2138 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2139 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2140 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2141 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2142 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2143 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2144 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2146 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2147 * sysdeps/unix/sysv/linux/system.c: Likewise.
2148 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2149 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2150 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2151 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2152 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2153 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2154 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2155
92072d57
JM
2156 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2157 * configure: Regenerated.
2158 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2159
3e239be6
JM
2160 * configure.ac (base_machine): Do not set specially for particular
2161 machines here.
2162 * configure: Regenerated.
2163 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2164 settings from configure.ac.
2165 * sysdeps/i386/preconfigure: New file.
2166 * sysdeps/s390/preconfigure: Likewise.
2167 * sysdeps/sh/preconfigure: Likewise.
2168 * sysdeps/sparc/preconfigure: Likewise.
2169
06d50baa
RM
21702014-06-25 Roland McGrath <roland@hack.frob.com>
2171
74836003
RM
2172 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2173 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2174 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2175 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2176 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2177 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2178 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2179 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2180 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2181 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2182 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2183 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2184 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2185 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2186 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2187 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2188 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2189 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2190 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2191
2192 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2193 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2194 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2195 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2196 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2197 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2198 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2199 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2200 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2201 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2202 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2203 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2204 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2205 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2206 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2207 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2208 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2209 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2210 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2211 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2212 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2213 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2214 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2215 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2216 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2217 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2218 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2219 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2221 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2222 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2223 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2224 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2225 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2226 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2227 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2228 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2229 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2230
06d50baa
RM
2231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2236 Moved ...
2237 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2238 ... here.
2239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2244 Moved ...
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2253 Moved ...
2254 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2256 Moved ...
2257 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2259 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2261 Moved ...
2262 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2264 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2266 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2268 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2272 Moved ...
2273 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2274 ... here.
2275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2276 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2280 Moved ...
2281 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2289 Moved ...
2290 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2292 Moved ...
2293 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2297 Moved ...
2298 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2303
a4ccbc9b
JM
23042014-06-25 Joseph Myers <joseph@codesourcery.com>
2305
0828edbf
JM
2306 * timezone/checktab.awk: Update from tzcode 2014e.
2307 * timezone/private.h: Likewise.
2308 * timezone/tzfile.h: Likewise.
2309 * timezone/zdump.c: Likewise.
2310 * timezone/zic.c: Likewise.
2311
a4ccbc9b
JM
2312 * sysdeps/unix/sysv/linux/kernel-features.h
2313 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2315 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2316 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2317 Remove conditional code.
2318
9aea0cb8
WN
23192014-06-25 Will Newton <will.newton@linaro.org>
2320
2321 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2322 (_dl_arm_cap_flags): Add HWCAP2 values.
2323 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2324 (_DL_HWCAP_COUNT): Increase to 37.
2325 (_DL_HWCAP_LAST): New define.
2326 (_DL_HWCAP2_LAST): New define.
2327 (_dl_procinfo): Add support for printing
2328 AT_HWCAP2 entries.
2329 (_dl_string_hwcap): Use _dl_hwcap_string.
2330
6eaa65ce
AZ
23312014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332
2333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2334
0f5b7185
JM
23352014-06-25 Joseph Myers <joseph@codesourcery.com>
2336
cfd2ea50
JM
2337 * README: Do not mention ports directory.
2338
cecf2ed4
JM
2339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2340 Remove macro.
2341 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2342 <kernel-features.h>.
2343 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2344 conditional variable definition.
2345 (__futimes): Update comment.
2346 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2347 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2348
a638de82
JM
2349 [BZ #16560]
2350 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2351 arguments close to 0.
2352 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2353 Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2355 Likewise.
2356 * math/auto-libm-test-in: Add more tests of exp10.
2357 * math/auto-libm-test-out: Regenerated.
2358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2359
0f5b7185
JM
2360 * sysdeps/unix/sysv/linux/kernel-features.h
2361 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2362 * sysdeps/unix/sysv/linux/readv.c: Do not include
2363 <kernel-features.h>.
2364 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2365 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2366 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2367 unconditional.
2368 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2369 conditional code.
2370 * sysdeps/unix/sysv/linux/writev.c: Do not include
2371 <kernel-features.h>.
2372 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2373 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2374 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2375 unconditional.
2376 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2377 conditional code.
2378
c7aec4be
WN
23792014-06-25 Will Newton <will.newton@linaro.org>
2380
2381 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2382 comment changes throughout the file. Remove checks
2383 for HAVE_*_H definitions that are not required.
2384 (__gen_tempname): Call abort if an unknown kind value is
2385 passed.
2386
c5241f95
AS
23872014-06-25 Andreas Schwab <schwab@suse.de>
2388
2389 [BZ #17086]
2390 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2391 scalbln, scalblnf, scalblnl in libc.
2392
911422da
SP
23932014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2394
2395 [BZ #17086]
2396 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2397 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2398 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2399
0d749bbe
RM
24002014-06-24 Roland McGrath <roland@hack.frob.com>
2401
2402 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2403 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2404 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2405 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2406 Update #include.
2407 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2408 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2409 Update #include.
2410 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2411 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2412 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2413 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2414 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2415 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2416 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2417 * sysdeps/x86/bits/semaphore.h: ... here.
2418 * sysdeps/x86/nptl/elide.h: Moved ...
2419 * sysdeps/x86/elide.h: ... here.
2420 * sysdeps/x86_64/nptl/Implies: File removed.
2421 * sysdeps/i386/nptl/Implies: File removed.
2422
0ea5d373
JM
24232014-06-24 Joseph Myers <joseph@codesourcery.com>
2424
4060283d
JM
2425 [BZ #16539]
2426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2427 return the argument for normal arguments with exponent below -64.
2428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2429 Likewise.
2430 * math/auto-libm-test-in: Add another test of expm1.
2431 * math/auto-libm-test-out: Regenerated.
2432
e7dd3c8c
JM
2433 [BZ #16287]
2434 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2435 calling __erfcl for arguments at least 16.
2436 * math/auto-libm-test-in: Add more tests of erf.
2437 * math/auto-libm-test-out: Regenerated.
2438
0ea5d373
JM
2439 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2440 individual architectures.
2441 * sysdeps/unix/sysv/linux/configure: Regenerated.
2442 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2443 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2444 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2445 (ldd_rewrite_script): Define variable.
2446 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2448 file.
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2450 generated file.
2451 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2452 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2453 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2454 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2455 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2456 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2457 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2458 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2459
2307e126
SP
24602014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2461
2462 [BZ #17084]
2463 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2464 Rename member __data.d to __data.__elision_data.
2465
c0a4ed77
W
24662014-06-24 Wilco <wdijkstr@arm.com>
2467
2468 * NEWS: Add 16918 to fixed bug list.
2469
b8c00573
W
24702014-06-24 Wilco <wdijkstr@arm.com>
2471
2472 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2473
b5570d92
W
24742014-06-24 Wilco <wdijkstr@arm.com>
2475
2476 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2477 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2478 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2479 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2480 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2481 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2482 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2483 Use _FPU_MASK_RM.
2484
947bdca2
W
24852014-06-24 Wilco <wdijkstr@arm.com>
2486
2487 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2488
00f669ed
W
24892014-06-24 Wilco <wdijkstr@arm.com>
2490
2491 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2492 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2493 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2494 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2495
db59bad3
W
24962014-06-24 Wilco <wdijkstr@arm.com>
2497
2498 [BZ #16918]
2499 * sysdeps/arm/feupdateenv.c (feupdateenv):
2500 Rewrite to reduce FPSCR accesses and fix return value.
2501
001f7b77
W
25022014-06-24 Wilco <wdijkstr@arm.com>
2503
2504 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2505 Optimize to avoid unnecessary FPSCR writes.
2506 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2507 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2508 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2509 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2510
4841e6a6
W
25112014-06-24 Wilco <wdijkstr@arm.com>
2512
2513 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2514 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2515 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2516 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2517 Call libc_fetestexcept_vfp.
2518 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2519 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2520 __SOFTFP__ ifdef so that they can be built for softfp.
2521
0813022c
SP
25222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2523
08e5862f
SP
2524 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2525 argument type signed char.
2526
0813022c
SP
2527 * Makerules (check-abi): Dump diff of symlist if the test
2528 fails.
2529
3fc7236a
RM
25302014-06-23 Roland McGrath <roland@hack.frob.com>
2531
aba8ef95
RM
2532 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2533 using abort.
2534
3fc7236a
RM
2535 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2536 Remove unused variable ST.
2537
4da6db51
JM
25382014-06-23 Joseph Myers <joseph@codesourcery.com>
2539
4648909d
JM
2540 [BZ #16354]
2541 [BZ #17061]
2542 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2543 small arguments before calling __expm1.
2544 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2545 small arguments before calling __expm1f.
2546 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2547 small arguments before calling __expm1l.
2548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2549 Likewise.
2550 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2551 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2552 spurious underflow for some cosh tests.
2553 * math/auto-libm-test-out: Regenerated.
2554 * sysdeps/i386/fpu/libm-test-ulps: Update.
2555
46a3d3c7
JM
2556 [BZ #17050]
2557 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2558 (__ieee754_y1): Set errno if return value overflows.
2559 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2560 (__ieee754_y1f): Set errno if return value overflows.
2561 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2562 (__ieee754_y1l): Set errno if return value overflows.
2563 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2564 (__ieee754_y1l): Set errno if return value overflows.
2565 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2566 * math/auto-libm-test-out: Regenerated.
2567
863893ec
JM
2568 * math/gen-auto-libm-tests.c: Document use of
2569 ignore-zero-inf-sign.
2570 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2571 (input_flags): Add ignore-zero-inf-sign.
2572 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2573 * math/gen-libm-test.pl (generate_testfile): Handle
2574 ignore-zero-inf-sign.
2575 * math/auto-libm-test-in: Mark some cpow tests with
2576 ignore-zero-inf-sign and some with xfail-rounding.
2577 * math/auto-libm-test-out: Regenerated.
2578 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2579 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2581
4da6db51
JM
2582 [BZ #16315]
2583 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2584 overflowing or underflowing operations take place with sign of
2585 result.
2586 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2587 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2588 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2589 (__ieee754_pow): Recompute overflowing and underflowing results in
2590 original rounding mode.
2591 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2592 (__powl_helper): Allow negative argument X and scale negated value
2593 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2594 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2595 overflowing or underflowing operations take place with sign of
2596 result.
2597 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2598 Include <math.h>.
2599 * math/auto-libm-test-in: Add more tests of pow.
2600 * math/auto-libm-test-out: Regenerated.
2601 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2602 (pow_tonearest_test_data): Remove.
2603 (pow_test_tonearest): Likewise.
2604 (pow_towardzero_test_data): Likewise.
2605 (pow_test_towardzero): Likewise.
2606 (pow_downward_test_data): Likewise.
2607 (pow_test_downward): Likewise.
2608 (pow_upward_test_data): Likewise.
2609 (pow_test_upward): Likewise.
2610 (main): Don't call removed functions.
2611 * sysdeps/i386/fpu/libm-test-ulps: Update.
2612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2613
5686b236
RM
26142014-06-23 Roland McGrath <roland@hack.frob.com>
2615
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2617 Moved ...
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2620 Moved ...
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2623 Moved ...
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2626 Moved ...
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2629 File removed.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2631 File removed.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2633 File removed.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2635 File removed.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2637 File removed.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2639 File removed.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2641 File removed.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2643 File removed.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2645 File removed.
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2647 File removed.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2649 File removed.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2651 File removed.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2653 Moved ...
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2656 Moved ...
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2658 ... here.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2660 Moved ...
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2663 Moved ...
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2666 Moved ...
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2669 Moved ...
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2672 Moved ...
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2675 Moved ...
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2678 Moved ...
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2682 ... here.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2684 Moved ...
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2687 Moved ...
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2689 ... here.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2691 Moved ...
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2693 ... here.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2695 Moved ...
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2697 ... here.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2699 Moved ...
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2702 Moved ...
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2707 Moved ...
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2709 ... here.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2711 Moved ...
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2713 ... here.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2715 Moved ...
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2718 Moved ...
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2721 Moved ...
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2724 Moved ...
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2727 Moved ...
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2729 ... here.
2730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2731 Moved ...
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2734 Moved ...
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2737 Moved ...
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2740 Moved ...
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2745 Moved ...
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2748 Moved ...
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2751 Moved ...
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2753 ... here.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2755 Moved ...
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2757 ... here.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2759 Moved ...
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2761 ... here.
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2763 Moved ...
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2766 Moved ...
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2769 Moved ...
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2772 Moved ...
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2774 ... here.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2776 Moved ...
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2778 ... here.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2780 Moved ...
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2782 ... here.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2784 Moved ...
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2787 Moved ...
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2789
e6d90d67
WD
27902014-06-23 Will Newton <will.newton@linaro.org>
2791 Wilco <wdijkstr@arm.com>
2792
2793 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2794 implementation. Include get-rounding-mode.h.
2795 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2796 [!libc_feholdsetround_noex_ctx]: Define
2797 libc_feholdsetround_noex_ctx.
2798 [!libc_feholdsetround_noexf_ctx]: Define
2799 libc_feholdsetround_noexf_ctx.
2800 [!libc_feholdsetround_noexl_ctx]: Define
2801 libc_feholdsetround_noexl_ctx.
2802 (libc_feholdsetround_ctx): New function.
2803 (libc_feresetround_ctx): New function.
2804 (libc_feholdsetround_noex_ctx): New function.
2805 (libc_feresetround_noex_ctx): New function.
2806
d42df555
RM
28072014-06-23 Roland McGrath <roland@hack.frob.com>
2808
88a46474
RM
2809 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2810 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2811 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2812 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2813 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2814 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2815
15bed472
RM
2816 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2817 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2818 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2819 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2820 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2821 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2823 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2825 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2826 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2827 Moved ...
2828 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2829 ... here.
2830 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2831 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2835 Moved ...
2836 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2844 Moved ...
2845 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2847 Moved ...
2848 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2852 Moved ...
2853 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2855 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2857 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2858 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2859 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2861 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2863 Moved ...
2864 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2865 ... here.
2866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2867 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2869 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2871 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2873 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2875 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2877 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2879 Moved ...
2880 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2881 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2882 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2883 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2884 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2885 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2886 Moved ...
2887 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2889 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2890 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2891 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2892
d42df555
RM
2893 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2894 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2895 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2898 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2902 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2904 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2912 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2914 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2915 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2916 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2918 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2920 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2921
76e5216e
JM
29222014-06-23 Joseph Myers <joseph@codesourcery.com>
2923
2924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2925 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2926 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2927 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2928 (IPV6_PMTUDISC_INTERFACE): Likewise.
2929 (IPV6_PMTUDISC_OMIT): Likewise.
2930
7a81cbcc
AS
29312014-06-23 Andreas Schwab <schwab@suse.de>
2932
2933 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2934 Remove unused errout label.
2935
db224009
AZ
29362014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2937
2938 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2939 macro: hardware supports Vector Crypto instructions.
2940
f393b4aa
WN
29412014-06-23 Will Newton <will.newton@linaro.org>
2942
cc7d0447
WN
2943 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2944 rather than __builtin_expect.
2945
d6d06225
WN
2946 * elf/dl-lookup.c (undefined_msg): Remove variable.
2947 (_dl_lookup_symbol_x): Replace undefined_msg with string
2948 literal.
2949
f393b4aa
WN
2950 * elf/dl-lookup.c (do_lookup_unique): New function.
2951 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2952 to a separate function.
2953
ac60763e
AS
29542014-06-23 Andreas Schwab <schwab@suse.de>
2955
2956 [BZ #17079]
2957 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2958 before reading the next line.
2959
c5c13355
WN
29602014-06-23 Will Newton <will.newton@linaro.org>
2961
2962 * test-skeleton.c (signal_handler): Use printf and %m
2963 rather than perror. Use printf rather than fprintf to
2964 stderr. Use puts rather than fputs to stderr.
2965 (main): Likewise.
2966
bd3675f9
LC
29672014-06-22 Ludovic Courtès <ludo@gnu.org>
2968
2969 * nscd/nscd.c (thread_info_t): Remove typedef.
2970 (thread_info): Remove variable.
2971
d03efb2f
AM
29722014-06-21 Allan McRae <allan@archlinux.org>
2973
2974 * NEWS: Mention CVE-2014-4043.
2975
bc4a86fa
RM
29762014-06-20 Roland McGrath <roland@hack.frob.com>
2977
dc9a54f8
RM
2978 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2979 * nptl/smp.h: ... here.
2980
bd7022c4
RM
2981 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2982
26ffd5e6
RM
2983 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2984 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2985 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2986 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2987
93a6d082
RM
2988 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2989 * nptl/stack-aliasing.h: New file.
2990 * sysdeps/i386/i686/stack-aliasing.h: New file.
2991 * sysdeps/i386/i686/nptl/Makefile: File removed.
2992 * sysdeps/x86_64/stack-aliasing.h: New file.
2993 * sysdeps/x86_64/nptl/Makefile
2994 (CFLAGS-pthread_create.c): Variable removed.
2995
bc4a86fa
RM
2996 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2997 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2998 old file.
2999 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3000 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3001 old file.
3002
2272ffc1
JM
30032014-06-21 Joseph Myers <joseph@codesourcery.com>
3004
3005 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3006 (__ASSUME_SIGFRAME_V2): Remove macro.
3007 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3008 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3009 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3010 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3011 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3012 Declare as function. Remove conditional macro definitions.
3013 (__default_rt_sa_restorer): Likewise.
3014 (__default_sa_restorer_v1): Remove declaration.
3015 (__default_sa_restorer_v2): Likewise.
3016 (__default_rt_sa_restorer_v1): Likewise.
3017 (__default_rt_sa_restorer_v2): Likewise.
3018 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3019 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3020 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3021
4b88139b
RM
30222014-06-20 Roland McGrath <roland@hack.frob.com>
3023
3024 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3025 (libpthread-routines): Add sysdep.
3026 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3027 * sysdeps/unix/sysv/linux/sparc/Versions
3028 (libpthread: GLIBC_2.3.3): New version set.
3029 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3030 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3031 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3033 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3034 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3035 Moved ...
3036 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3038 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3040 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3042 * sysdeps/sparc/nptl/sem_init.c: ... here.
3043 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3044 * sysdeps/sparc/nptl/sem_post.c: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3046 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3048 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3050 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3051 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3052 (libpthread-routines): Add cpu_relax.
3053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3054 File removed.
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3056 (librt: GLIBC_2.3.3): New version set.
3057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3058 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3059 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3060 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3063 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3065 Moved ...
3066 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3068 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3070 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3072 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3074 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3076 Moved ...
3077 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3078 Update #include.
3079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3080 Moved ...
3081 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3082 Update #include.
3083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3084 Moved ...
3085 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3086 Update #include.
3087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3088 Moved ...
3089 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3090 Update #include.
3091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3092 Moved ...
3093 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3094 Update #include.
3095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3096 Moved ...
3097 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3098 Update #include.
3099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3100 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3106 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3108 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3110 Moved ...
3111 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3113 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3115 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3116
d7109027
JM
31172014-06-20 Joseph Myers <joseph@codesourcery.com>
3118
9bc6103d
JM
3119 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3120 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3121 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3122 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3123 * nscd/nscd.c: Likewise.
3124 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3125 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3126 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3127 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3128
d7109027
JM
3129 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3130 <kernel-features.h>.
3131 (init_mq_netlink): Remove conditional have_sock_cloexec
3132 definitions. Remove code conditional on have_sock_cloexec < 0.
3133 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3134 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3135 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3136 <kernel-features.h>.
3137 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3138 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3139
d92d8f8a
L
31402014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3141
3142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3143 Add tests for memset_chk and memset.
3144
3145 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3146 with AVX2_Usable.
3147
4e6d2347
MR
31482014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3149
257ce712
MR
3150 [BZ #16046]
3151 * elf/tst-dl-iter-static.c: New file.
3152 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3153
4e6d2347
MR
3154 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3155 error.
3156
a2a76afe
JM
31572014-06-20 Joseph Myers <joseph@codesourcery.com>
3158
7fd00f99
JM
3159 * sysdeps/unix/sysv/linux/kernel-features.h
3160 (__ASSUME_F_GETOWN_EX): Remove macro.
3161 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3162 <kernel-features.h>.
3163 (miss_F_GETOWN_EX): Remove variable or macro.
3164 (do_fcntl): Do not check miss_F_GETOWN_EX.
3165 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3166
4a103975
JM
3167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3168 Remove macro.
3169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3170 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3171 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3172
a2a76afe
JM
3173 * sysdeps/unix/sysv/linux/kernel-features.h
3174 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3175 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3176 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3177 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3178
90e5dd48
MR
31792014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3180
3181 [BZ #17075]
3182 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3183 Fix calculation of the symbol's value.
3184 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3185 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3186 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3187 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3188 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3189 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3190 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3191 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3192 (modules-names): Add `tst-armtlsdescmod',
3193 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3194 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3195 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3196 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3197 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3198 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3199 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3200 ($(objpfx)tst-armtlsdescloc): New dependency.
3201 ($(objpfx)tst-armtlsdescextnow): Likewise.
3202 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3203 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3204 TLS scheme support.
3205 * sysdeps/arm/configure: Regenerate.
3206
809fdf0d
JM
32072014-06-20 Joseph Myers <joseph@codesourcery.com>
3208
3209 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3210 (__atfct_seterrno_2): Likewise.
3211 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3212 <kernel-features.h>.
3213 (__ASSUME_ATFCTS): Do not undefine and redefine.
3214 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3215 (__have_atfcts): Remove conditional definition.
3216 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3217 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3218 unreachable if [__ASSUME_ATFCTS].
3219 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3220 not undefine and redefine.
3221 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3222 <kernel-features.h>.
3223 (faccessat) [__NR_faccessat]: Make code unconditional.
3224 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3225 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3226 <kernel-features.h>.
3227 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3228 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3229 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3230 <kernel-features.h>.
3231 (fchownat) [__NR_fchownat]: Make code unconditional.
3232 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3233 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3234 <kernel-features.h>.
3235 (futimesat) [__NR_futimesat]: Make code unconditional.
3236 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3237 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3238 <kernel-features.h>.
3239 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3240 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3241 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3242 <kernel-features.h>.
3243 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3244 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3245 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3246 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3247 <kernel-features.h>.
3248 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3249 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3250 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3251 <kernel-features.h>.
3252 (linkat) [__NR_linkat]: Make code unconditional.
3253 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3254 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3255 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3256 <kernel-features.h>.
3257 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3258 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3259 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3260 <kernel-features.h>.
3261 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3262 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3263 * sysdeps/unix/sysv/linux/openat.c: Do not include
3264 <kernel-features.h>.
3265 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3266 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3267 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3268 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3269 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3270 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3271 <kernel-features.h>.
3272 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3273 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3274 result of INLINE_SYSCALL directly, not via int variable.
3275 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3276 <kernel-features.h>.
3277 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3278 (renameat) [__NR_renameat]: Make code unconditional.
3279 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3280 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3281 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3282 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3283 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3284 (__ASSUME_ATFCTS): Do not undefine and redefine.
3285 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3286 <kernel-features.h>.
3287 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3288 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3289 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3290 <kernel-features.h>.
3291 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3292 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3293 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3294 (__ASSUME_ATFCTS): Do not undefine and redefine.
3295 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3296 <kernel-features.h>.
3297 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3298 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3299 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3300 <kernel-features.h>.
3301 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3302 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3303
224c6c51
L
33042014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3305
3306 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3307
aa6ec754
AS
33082014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3309
3310 [BZ #17069]
3311 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3312 constructed tree before returning error.
3313 * posix/bug-regexp36.c: Expand test case.
3314
d8c2869d
SL
33152014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3316
3ef6b850
SL
3317 [BZ #6803]
3318 * math/libm-test.inc (scalbln_test_date):
3319 Add errno expectations.
3320 * math/w_scalblnf.c: New File.
3321 Add wrapper which checks for setting errno to ERANGE.
3322 Add weak_alias for corresponding scalbln function.
3323 * math/w_scalbln.c: Likewise.
3324 * math/w_scalblnl.c: Likewise.
3325 * math/Makefile (libm-calls): Add w_scalbln.
3326 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3327 Remove weak_alias for corresponding scalbln function.
3328 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3332 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3333 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3334 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3335 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3336 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3337 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3338 Remove long_double_symbol for scalblnl function in libm, libc.
3339 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3340 Add wrapper which checks for setting errno to ERANGE.
3341 Add long_double_symbol for scalblnl function in libm, libc.
3342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3343 Remove long_double_symbol for scalblnl in libm.
3344 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3345 Add wrapper which checks for setting errno to ERANGE.
3346 Add long_double_symbol for scalblnl function in libm.
3347 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3348 Do not use wrapper because of own implementation.
3349
c8daec5c
L
33502014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3353 3 bytes for __pad1 for x32.
3354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3355
5c74e47c
LM
33562014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3357 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3360 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3361 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3362 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3363 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3364
4d43ef1e
AS
33652014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3366
3367 [BZ #17069]
3368 * posix/regcomp.c (parse_expression): Deallocate partially
3369 constructed tree before returning error.
3370 * posix/Makefile.c (tests): Add bug-regex36.
3371 (generated): Add bug-regex36.mtrace.
3372 (tests-special): Add $(objpfx)bug-regex36-mem.out
3373 (bug-regex36-ENV): New variable.
3374 ($(objpfx)bug-regex36-mem.out): New rule.
3375 * posix/bug-regex36.c: New file.
3376
51a7380b
WN
33772014-06-19 Will Newton <will.newton@linaro.org>
3378
3379 * malloc/malloc.c (systrim): If extra is zero then return
3380 early.
3381
91b84fe5
SP
33822014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3383
3384 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3385
f940b965
RE
33862014-06-19 Richard Earnshaw <rearnsha@arm.com>
3387
3388 * sysdeps/aarch64/strchr.S: New file.
3389
4ba7a00f
JM
33902014-06-18 Joseph Myers <joseph@codesourcery.com>
3391
3392 [BZ #17022]
3393 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3394 from arguments -2 or below.
3395 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3396 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3397
b3a9f56b
AS
33982014-06-18 Andreas Schwab <schwab@suse.de>
3399
3400 [BZ #17062]
3401 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3402 of a bracket expr not to run off the end of the string.
3403 * posix/Makefile (tests): Add tst-fnmatch3.
3404 * posix/tst-fnmatch3.c: New file.
3405
85d89278
JM
34062014-06-18 Joseph Myers <joseph@codesourcery.com>
3407
3408 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3409 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3410 [$(cross-compiling) = no]: Likewise.
3411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3412 [$(cross-compiling) = no]: Likewise.
3413
754c5a08
RS
34142014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3415
3416 [BZ #17031]
3417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3418 double, adjusted for any remainder from the high double.
3419 * math/libm-test.inc (nearbyint): Add tests.
3420 (rint): Likewise.
3421
556f529d
AZ
34222014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3423
3424 * nptl/sysdeps/powerpc/Makefile: Moved ...
3425 * sysdeps/powerpc/nptl/Makefile: ... here.
3426 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3427 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3428 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3429 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3430 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3431 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3432 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3433 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3434 * nptl/sysdeps/powerpc/tls.h: Moved ...
3435 * sysdeps/powerpc/nptl/tls.h: ... here.
3436
91c03c53
JM
34372014-06-16 Joseph Myers <joseph@codesourcery.com>
3438
3439 [BZ #16681]
3440 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3441 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3442 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3443 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3444 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3445 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3446 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3447 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3448 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3449
a76e63c5
AS
34502014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3451
3452 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3453
f2f6d82f
AS
34542014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3455
ea8a15f6
AS
3456 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3457 defined operator.
3458
f2f6d82f
AS
3459 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3460 $TIMEOUTFACTOR.
3461
a7291117
FW
34622014-06-16 Florian Weimer <fweimer@redhat.com>
3463
3464 [BZ #17058]
3465 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3466 non-executed part of the test.
3467
3d7c00e3
AS
34682014-06-16 Andreas Schwab <schwab@suse.de>
3469
3470 * string/bits/string2.h (strdup, strndup): Update feature guard.
3471
6957fb31
DM
34722014-06-14 David S. Miller <davem@davemloft.net>
3473
3474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3475
11b9e55b
AS
34762014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3477
1d2a0492
AS
3478 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3479 that was previously under [RESET_PID].
3480 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3481
11b9e55b
AS
3482 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3483 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3484 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3485 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3486 (__libc_vfork): New strong alias.
3487 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3488
0f6901d0
AK
34892014-06-14 Andi Kleen <ak@linux.intel.com>
3490
3491 * sysdeps/generic/elide.h: New file.
3492
38bbbb9f
SL
34932014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3494
3495 * Makefile (installed-headers): Adjust path of pthread.h header.
3496
45193bb8
RM
34972014-06-13 Roland McGrath <roland@hack.frob.com>
3498
9a25fd1e
RM
3499 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3500 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3501 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3502 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3503
4004f7e4
RM
3504 * nptl/sysdeps/s390/Makefile: Moved ...
3505 * sysdeps/s390/nptl/Makefile: ... here.
3506 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3507 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3508 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3509 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3510 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3511 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3512 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3513 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3514 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3515 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3516 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3517 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3518 * nptl/sysdeps/s390/tls.h: Moved ...
3519 * sysdeps/s390/nptl/tls.h: ... here.
3520
45193bb8
RM
3521 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3522 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3523
f6fdf533
DM
35242014-06-13 David S. Miller <davem@davemloft.net>
3525
3526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3529 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3533 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3534 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3535 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3536 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3537 Remove RESET_PID cpp guards.
3538 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3539 Remove RESET_PID cpp guards.
3540 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3541
f5d71e14
AS
35422014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3543
3544 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3545 __sp to uintptr_t.
3546
b7aa8caa
AK
35472014-06-13 Andi Kleen <ak@linux.intel.com>
3548
4b266200
AZ
3549 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3551 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3552 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3553 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3554 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3555 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3556 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3557 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3558 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3559 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3560 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3562 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3563 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3565 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3566 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3568 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3569
3570 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3571 (pthread_rwlock_rdlock): Add elision.
3572 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3573 (pthread_rwlock_wrlock): Add elision.
3574 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3575 (pthread_rwlock_trywrlock): Add elision.
3576 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3577 (pthread_rwlock_tryrdlock): Add elision.
3578 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3579 (pthread_rwlock_tryrdlock): Add elision unlock.
3580 * nptl/sysdeps/pthread/pthread.h:
3581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3582 (PTHREAD_RWLOCK_INITIALIZER,
3583 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3584 Handle new elision field.
3585 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3586 * sysdeps/arm/nptl/bits/pthreadtypes.h
3587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3588 * sysdeps/sh/nptl/bits/pthreadtypes.h
3589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3590 * sysdeps/tile/nptl/bits/pthreadtypes.h
3591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3592 * sysdeps/a/nptl/bits/pthreadtypes.h
3593 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3594 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3595 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3596 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3598 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3600 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3601 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3602 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3604 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3605 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3606 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3607 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3608 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3610 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3611 (elision_init): Set try_xbegin to zero when no RTM.
3612 * sysdeps/x86/nptl/bits/pthreadtypes.h
3613 (pthread_rwlock_t): Change __pad1 to __rwelision.
3614 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3615
a832bdd3
AK
36162014-06-13 Andi Kleen <ak@linux.intel.com>
3617
3618 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3619 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3620 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3621 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3622
995a46bb
MI
36232014-06-13 Meador Inge <meadori@codesourcery.com>
3624
3625 [BZ #16996]
03ed7738 3626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3627 that the cached result has been set before returning it.
3628
45262aee
RM
36292014-06-12 Roland McGrath <roland@hack.frob.com>
3630
febf6cc5
RM
3631 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3632 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3634 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3636 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3637
e2682246
RM
3638 * nptl/sysdeps/sparc/Makefile: Moved ...
3639 * sysdeps/sparc/nptl/Makefile: ... here.
3640 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3641 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3642 * nptl/sysdeps/sparc/tls.h: Moved ...
3643 * sysdeps/sparc/nptl/tls.h: ... here.
3644 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3645 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3646 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3647 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3648 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3649 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3650 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3651 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3652 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3653 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3654 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3655 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3656 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3657 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3658 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3659 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3660 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3662 Update #include.
3663 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3664 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3665 Update #include.
3666 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3668 Update #include.
3669 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3670 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3671 Update #include.
3672
b0725f43
RM
3673 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3674
b14368b8
RM
3675 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3676 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3677
c5620eb3
RM
3678 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3679 (struct list_links): Type removed.
3680 (struct thread_node, struct timer_node): Replace struct list_links
3681 with struct list_head.
3682 (list_unlink_ip): Likewise.
3683 * sysdeps/pthread/timer_routines.c
3684 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3685 (list_append, list_insbefore): Likewise.
3686 (list_init): Function removed.
3687 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3688 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3689 * sysdeps/pthread/Makefile: ... here, new file.
3690
3691 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3692 * sysdeps/nptl/Implies: ... here.
3693 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3694 * nptl/sysdeps/pthread/list.h: Moved ...
3695 * include/list.h: ... here.
3696 * nptl/sysdeps/pthread/createthread.c: Moved ...
3697 * nptl/createthread.c: ... here.
3698 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3699 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3700 * nptl/pt-longjmp.c: ... here.
3701 * nptl/sysdeps/pthread/Makefile: Moved ...
3702 * sysdeps/nptl/Makefile: ... here.
3703 * nptl/sysdeps/pthread/Subdirs: Moved ...
3704 * sysdeps/nptl/Subdirs: ... here.
3705 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3706 * sysdeps/nptl/aio_misc.h: ... here.
3707 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3708 * sysdeps/nptl/bits/libc-lock.h: ... here.
3709 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3710 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3711 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3712 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3713 * nptl/sysdeps/pthread/configure: Moved ...
3714 * sysdeps/nptl/configure: ... here.
3715 * nptl/sysdeps/pthread/configure.ac: Moved ...
3716 * sysdeps/nptl/configure.ac: ... here.
3717 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3718 * sysdeps/nptl/gai_misc.h: ... here.
3719 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3720 * sysdeps/nptl/librt-cancellation.c: ... here.
3721 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3722 * sysdeps/nptl/malloc-machine.h: ... here.
3723 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3724 * sysdeps/nptl/pthread-functions.h: ... here.
3725 * nptl/sysdeps/pthread/pthread.h: Moved ...
3726 * sysdeps/nptl/pthread.h: ... here.
3727 * nptl/sysdeps/pthread/setxid.h: Moved ...
3728 * sysdeps/nptl/setxid.h: ... here.
3729 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3730 * sysdeps/nptl/sigfillset.c: ... here.
3731 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3732 * sysdeps/nptl/tcb-offsets.h: ... here.
3733 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3734 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3735 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3736 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3737 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3738 * sysdeps/pthread/allocalim.h: ... here.
3739 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3740 * sysdeps/pthread/bits/sigthread.h: ... here.
3741 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3742 * sysdeps/pthread/flockfile.c: ... here.
3743 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3744 * sysdeps/pthread/ftrylockfile.c: ... here.
3745 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3746 * sysdeps/pthread/funlockfile.c: ... here.
3747 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3748 * sysdeps/pthread/posix-timer.h: ... here.
3749 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3750 * sysdeps/pthread/timer_create.c: ... here.
3751 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3752 * sysdeps/pthread/timer_delete.c: ... here.
3753 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3754 * sysdeps/pthread/timer_getoverr.c: ... here.
3755 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3756 * sysdeps/pthread/timer_gettime.c: ... here.
3757 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3758 * sysdeps/pthread/timer_routines.c: ... here.
3759 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3760 * sysdeps/pthread/timer_settime.c: ... here.
3761 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3762 * sysdeps/pthread/tst-timer.c: ... here.
3763 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3764 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3765
e876b090
RM
3766 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3767 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3768
f6b07b3d
RM
3769 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3770 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3771 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3772 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3773 Update #include target.
3774 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3775 * sysdeps/i386/i686/nptl/Makefile: ... here.
3776 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3777 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3778 Update #include target.
3779 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3780 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3781 * nptl/sysdeps/i386/Makefile: Moved ...
3782 * sysdeps/i386/nptl/Makefile: ... here.
3783 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3784 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3785 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3786 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3787 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3788 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3789 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3790 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3791 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3792 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3793 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3794 * nptl/sysdeps/i386/tls.h: Moved ...
3795 * sysdeps/i386/nptl/tls.h: ... here.
3796
45262aee
RM
3797 * sysdeps/sh/Makefile [$(subdir) = csu]
3798 (gen-as-const-headers): Add tcb-offsets.sym.
3799 * nptl/sysdeps/sh/Makefile: File removed.
3800 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3801 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3802 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3803 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3804 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3805 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3806 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3807 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3808 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3809 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3810 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3811 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3812 * nptl/sysdeps/sh/tls.h: Moved ...
3813 * sysdeps/sh/nptl/tls.h: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3815 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3817 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3819 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3821 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3823 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3825 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3827 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3829 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3830 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3831 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3832 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3833 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3835 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3837 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3839 Moved ...
3840 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3842 Moved ...
3843 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3844 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3845 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3846 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3847 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3848 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3849 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3850 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3851 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3852 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3853 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3854 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3855 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3856 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3857 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3858 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3859 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3860 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3861 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3862
35a5e3e3
SL
38632014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3864
3865 * posix/spawn_faction_addopen.c: Include string.h.
3866
14642b85
RM
38672014-06-11 Roland McGrath <roland@hack.frob.com>
3868
3869 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3870 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3871 * nptl/sysdeps/x86_64/Makefile: Moved ...
3872 * sysdeps/x86_64/nptl/Makefile: ... here.
3873 * nptl/sysdeps/x86_64/configure: Moved ...
3874 * sysdeps/x86_64/nptl/configure: ... here.
3875 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3876 * sysdeps/x86_64/nptl/configure.ac: ... here.
3877 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3878 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3879 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3880 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3881 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3882 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3883 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3884 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3885 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3886 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3887 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3888 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3889 * nptl/sysdeps/x86_64/tls.h: Moved ...
3890 * sysdeps/x86_64/nptl/tls.h: ... here.
3891 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3892 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3893 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3894 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3895
3896 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3897
31c44fea
AZ
38982014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3899
3900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3901
e81a4f9a
JM
39022014-06-11 Joseph Myers <joseph@codesourcery.com>
3903
3904 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3905 type.
3906 [POSIX] (off_t): Likewise.
3907 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3908 [POSIX] (S_ISBLK): Require macro.
3909 [POSIX] (S_ISCHR): Likewise.
3910 [POSIX] (S_ISDIR): Likewise.
3911 [POSIX] (S_ISFIFO): Likewise.
3912 [POSIX] (S_ISREG): Likewise.
3913 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3914 optional-macro.
3915 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3916 type.
3917 [POSIX] (time_t): Likewise.
3918 [POSIX] (timer_t): Likewise.
3919
89e435f3
FW
39202014-06-11 Florian Weimer <fweimer@redhat.com>
3921
3922 [BZ #17048]
3923 * posix/spawn_int.h (struct __spawn_action): Make the path string
3924 non-const to support deallocation.
3925 * posix/spawn_faction_addopen.c
3926 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3927 * posix/spawn_faction_destroy.c
3928 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3929 path in all spawn_do_open actions.
3930 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3931 posix_spawn_file_actions_addopen.
3932
c3a2ebe1
CM
39332014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3934
3935 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3936 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3937 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3938 conditional code always true.
3939 (__libc_vfork): New alias.
3940
9503784a
RM
39412014-06-11 Roland McGrath <roland@hack.frob.com>
3942
c9cab3d2
RM
3943 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3944 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3945
d3996c79
RM
3946 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3947
ba5ec611
RM
3948 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3949 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3950
f12b4814
RM
3951 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3952 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3953
9503784a
RM
3954 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3955 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3956
e23d3d26
VR
39572014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3958
3959 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3960 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3961 multiarch strcmp for PPC64.
3962 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3963 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3965 multiarch optimizations.
3966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3967 (__libc_ifunc_impl_list): Likewise.
3968
42b1161e
SP
39692014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3970
3971 * benchtests/scripts/validate_benchout.py: New script.
3972 * benchtests/Makefile (bench-func): Call it.
3973 * benchtests/scripts/benchout.schema.json: New file.
3974
2d0fc4dc
CM
39752014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3976
4a594c34
AZ
3977 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3978 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3979 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3980 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3981 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3982 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3983 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3984 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3985 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3986 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3987 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3988 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3989 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3990 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3991 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3992 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3994 Moved ...
4a594c34 3995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3996 ... here.
4a594c34 3997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3998 Moved ...
4a594c34
AZ
3999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4001 Moved ...
4a594c34 4002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4003 ... here.
4a594c34 4004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4005 Moved ...
4a594c34 4006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4007 ... here.
4a594c34 4008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4009 Moved ...
4a594c34
AZ
4010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4012 Moved ...
4a594c34 4013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4014 ... here.
4a594c34 4015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4016 Moved ...
4a594c34 4017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4018 ... here.
4a594c34 4019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4020 Moved ...
4a594c34
AZ
4021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4023 Moved ...
4a594c34 4024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4025 ... here.
4a594c34 4026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4027 Moved ...
4a594c34 4028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4029 ... here.
4a594c34 4030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4031 Moved ...
4a594c34 4032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4033 ... here.
4a594c34 4034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4035 Moved ...
4a594c34
AZ
4036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4038 Moved ...
4a594c34 4039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4040 ... here.
4a594c34 4041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4042 Moved ...
4a594c34 4043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4044 ... here.
4a594c34 4045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4046 Moved ...
4a594c34 4047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4048 ... here.
4a594c34 4049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4050 Moved ...
4a594c34
AZ
4051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4053 Moved ...
4a594c34 4054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4055 ... here.
4a594c34 4056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4057 Moved ...
4a594c34 4058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4059 ... here.
4a594c34 4060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4061 Moved ...
4a594c34
AZ
4062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4064 Moved ...
4a594c34 4065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4066 ... here.
4a594c34 4067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4068 Moved ...
4a594c34
AZ
4069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4071 Moved ...
4a594c34
AZ
4072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4074 Moved ...
4a594c34 4075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4076 ... here.
4a594c34 4077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4078 Moved ...
4a594c34 4079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4080 ... here.
4a594c34 4081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4082 Moved ...
4a594c34 4083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4084 ... here.
4a594c34 4085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4086 Moved ...
4a594c34
AZ
4087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4089 Moved ...
4a594c34 4090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4091 ... here.
4a594c34 4092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4093 Moved ...
4a594c34 4094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4095 ... here.
4a594c34
AZ
4096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4097 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4101 Moved ...
4a594c34 4102 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4103 ... here.
4a594c34
AZ
4104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4117 Moved ...
4a594c34
AZ
4118 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4120 Moved ...
4a594c34
AZ
4121 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4125 Moved ...
4a594c34
AZ
4126 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4127 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4130 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4131 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4132 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4133
0570cfed
W
41342014-06-10 Wilco <wdijkstr@arm.com>
4135
4136 * math/test-fenv-return.c: New file.
4137 * math/Makefile: Add new test test-fenv-return.
4138
f8ba1b56
JM
41392014-06-10 Joseph Myers <joseph@codesourcery.com>
4140
4141 [BZ #17042]
4142 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4143 when x - 1 is zero.
4144 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4145 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4146 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4147 0.0L for an argument of 1.0L.
4148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4149 Likewise.
4150 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4151 value when x - 1 is zero.
4152 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4153 * sysdeps/i386/fpu/libm-test-ulps: Update.
4154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155
2c3520d9
BO
41562014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4157
4158 [BZ #15119]
4159 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4160
acaa4d24
RM
41612014-06-09 Roland McGrath <roland@hack.frob.com>
4162
4163 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4164 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4165
962b744d
RM
41662014-06-09 Roland McGrath <roland@hack.frob.com>
4167
d752f0cc
RM
4168 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4169 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4170
34eda6d1
RM
4171 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4172 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4173
50f0a637
RM
4174 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4175 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4176
08f41f04
RM
4177 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4178 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4179
962b744d
RM
4180 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4181 if not already defined.
4182 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4183 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4184 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4185 (TLS_INIT_TP): Use it.
4186 (TLS_DEFINE_INIT_TP): New macro.
4187 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4188
09f19b05
JM
41892014-06-09 Joseph Myers <joseph@codesourcery.com>
4190
4191 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4192 constant.
4193 [POSIX] (IXANY): Likewise.
4194 [POSIX] (OLCUC): Likewise.
4195 [POSIX || POSIX2008] (CBAUD): Do not allow.
4196 [POSIX || POSIX2008] (DEFECHO): Likewise.
4197 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4198 [POSIX || POSIX2008] (ECHOKE): Likewise.
4199 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4200 [POSIX || POSIX2008] (EXTA): Likewise.
4201 [POSIX || POSIX2008] (EXTB): Likewise.
4202 [POSIX || POSIX2008] (FLUSHO): Likewise.
4203 [POSIX || POSIX2008] (LOBLK): Likewise.
4204 [POSIX || POSIX2008] (PENDIN): Likewise.
4205 [POSIX || POSIX2008] (SWTCH): Likewise.
4206 [POSIX || POSIX2008] (VDISCARD): Likewise.
4207 [POSIX || POSIX2008] (VDSUSP): Likewise.
4208 [POSIX || POSIX2008] (VLNEXT): Likewise.
4209 [POSIX || POSIX2008] (VREPRINT): Likewise.
4210 [POSIX || POSIX2008] (VSTATUS): Likewise.
4211 [POSIX || POSIX2008] (VWERASE): Likewise.
4212 (B*): Change to B[0123456789]*.
4213 * conform/data/time.h-data [POSIX || UNIX98]
4214 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4215 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4216 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4217 [POSIX] (tm_*): Do not allow.
4218
686554bf
JM
42192014-06-07 Joseph Myers <joseph@codesourcery.com>
4220
4221 * Makefile (install): Don't set LANGUAGE.
4222 * Makefile.in (install): Likewise.
4223 * assert/Makefile (test-assert-ENV): Remove variable.
4224 (test-assert-perr-ENV): Likewise.
4225 * elf/Makefile (neededtest4-ENV): Likewise.
4226 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4227 [$(cross-compiling) = no]: Don't set LANGUAGE.
4228 * io/ftwtest-sh (LANG): Remove variable.
4229 * libio/Makefile (tst-widetext-ENV): Likewise.
4230 * manual/install.texi (Running make install): Don't refer to
4231 environment settings for make install.
4232 * INSTALL: Regenerated.
4233 * nptl/tst-tls6.sh: Don't set LANG.
4234 * posix/globtest.sh (LANG): Remove variable.
4235 * string/Makefile (tester-ENV): Likewise.
4236 (inl-tester-ENV): Likewise.
4237 (noinl-tester-ENV): Likewise.
4238 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4239 [$(cross-compiling) = no]: Don't set LANGUAGE.
4240 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4241 without explicit environment settings.
4242
68e6b6b1
RM
42432014-06-06 Roland McGrath <roland@hack.frob.com>
4244
4245 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4246 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4247 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4248 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4249
4d3ae034
CM
42502014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4251
4252 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4253 other files in the crypt directory.
4254 * crypt/crypt.c: Remove duplicate includes.
4255 * crypt/crypt-entry.c: Likewise.
4256 * crypt/crypt_util.c: Likewise.
4257
8540f6d2
JM
42582014-06-06 Joseph Myers <joseph@codesourcery.com>
4259
4260 * Makeconfig (run-program-env): New variable.
4261 (run-program-prefix-before-env): Likewise.
4262 (run-program-prefix-after-env): Likewise.
4263 (run-program-prefix): Define in terms of new variables.
4264 (built-program-cmd-before-env): New variable.
4265 (built-program-cmd-after-env): Likewise.
4266 (built-program-cmd): Define in terms of new variables.
4267 (test-program-prefix-before-env): New variable.
4268 (test-program-prefix-after-env): Likewise.
4269 (test-program-prefix): Define in terms of new variables.
4270 (test-program-cmd-before-env): New variable.
4271 (test-program-cmd-after-env): Likewise.
4272 (test-program-cmd): Define in terms of new variables.
4273 * Rules (make-test-out): Use $(run-program-env).
4274 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4275 (help): Do not mention environment variables. Mention
4276 --timeoutfactor option.
4277 (timeoutfactor): New variable.
4278 (blacklist_exports): Remove function.
4279 (exports): Remove variable.
4280 (command): Do not include ${exports}.
4281 * manual/install.texi (Configuring and compiling): Do not mention
4282 test wrappers preserving environment variables. Mention that last
4283 assignment to a variable must take precedence.
4284 * INSTALL: Regenerated.
4285 * benchtests/Makefile (run-bench): Use $(run-program-env).
4286 * catgets/Makefile ($(objpfx)test1.cat): Use
4287 $(built-program-cmd-before-env), $(run-program-env) and
4288 $(built-program-cmd-after-env).
4289 ($(objpfx)test2.cat): Do not specify environment variables
4290 explicitly.
4291 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4292 $(run-program-env) and $(built-program-cmd-after-env).
4293 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4294 $(run-program-env) and $(test-program-cmd-after-env).
4295 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4296 explicitly.
4297 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4298 run_program_env and test_program_cmd_after_env arguments.
4299 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4300 * elf/tst-pathopt.sh: Use run_program_env argument.
4301 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4302 $(test-wrapper-env) and $(run-program-env).
4303 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4304 run_program_env arguments.
4305 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4306 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4307 $(test-program-prefix-before-env), $(run-program-env) and
4308 $(test-program-prefix-after-env).
4309 ($(objpfx)tst-gettext2.out): Likewise.
4310 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4311 run_program_env and test_program_prefix_after_env arguments.
4312 * intl/tst-gettext2.sh: Likewise.
4313 * intl/tst-gettext4.sh: Do not set environment variables
4314 explicitly.
4315 * intl/tst-gettext6.sh: Likewise.
4316 * intl/tst-translit.sh: Likewise.
4317 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4318 $(test-program-prefix-before-env), $(run-program-env) and
4319 $(test-program-prefix-after-env).
4320 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4321 run_program_env and test_program_prefix_after_env arguments.
4322 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4323 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4324 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4325 explicitly with each use of ${test_wrapper_env}.
4326 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4327 $(test-program-prefix-before-env), $(run-program-env) and
4328 $(test-program-prefix-after-env).
4329 * posix/tst-getconf.sh: Do not set environment variables
4330 explicitly.
4331 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4332 run_program_env and test_program_prefix_after_env arguments.
4333 * stdio-common/tst-printf.sh: Do not set environment variables
4334 explicitly.
4335 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4336 $(test-program-prefix-before-env), $(run-program-env) and
4337 $(test-program-prefix-after-env).
4338 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4339 run_program_env and test_program_prefix_after_env arguments.
4340 Split $test calls into $test_pre and $test.
4341 * timezone/Makefile (build-testdata): Use
4342 $(built-program-cmd-before-env), $(run-program-env) and
4343 $(built-program-cmd-after-env).
4344
ed36bfa1
AZ
43452014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4346
4347 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4348 strlen for non SHARED builds.
4349
fc75bf46
SP
43502014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4351
4352 * nptl/allocatestack.c (check_list): Inlined function...
4353 (__reclaim_stacks): ... here.
4354
d89b3d80
OB
43552014-06-05 Ondřej Bílka <neleai@seznam.cz>
4356
4357 [BZ #15698]
4358 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4359 memory overrun.
4360
2bf18041
JM
43612014-06-05 Joseph Myers <joseph@codesourcery.com>
4362
4363 * Rules (make-test-out): Include
4364 LOCPATH=$(common-objpfx)localedata in default environment.
4365 * debug/Makefile (tst-chk1-ENV): Remove variable.
4366 (tst-chk2-ENV): Likewise.
4367 (tst-chk3-ENV): Likewise.
4368 (tst-chk4-ENV): Likewise.
4369 (tst-chk5-ENV): Likewise.
4370 (tst-chk6-ENV): Likewise.
4371 (tst-lfschk1-ENV): Likewise.
4372 (tst-lfschk2-ENV): Likewise.
4373 (tst-lfschk3-ENV): Likewise.
4374 (tst-lfschk4-ENV): Likewise.
4375 (tst-lfschk5-ENV): Likewise.
4376 (tst-lfschk6-ENV): Likewise.
4377 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4378 (tst-iconv7-ENV): Likewise.
4379 * intl/Makefile (LOCPATH-ENV): Likewise.
4380 (tst-codeset-ENV): Likewise.
4381 (tst-gettext3-ENV): Likewise.
4382 (tst-gettext5-ENV): Likewise.
4383 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4384 (tst-fopenloc-ENV): Likewise.
4385 (tst-fgetws-ENV): Remove variable.
4386 (tst-ungetwc1-ENV): Likewise.
4387 (tst-ungetwc2-ENV): Likewise.
4388 (bug-ungetwc2-ENV): Likewise.
4389 (tst-swscanf-ENV): Likewise.
4390 (bug-ftell-ENV): Likewise.
4391 (tst-fgetwc-ENV): Likewise.
4392 (tst-fseek-ENV): Likewise.
4393 (tst-ftell-partial-wide-ENV): Likewise.
4394 (tst-ftell-active-handler-ENV): Likewise.
4395 (tst-ftell-append-ENV): Likewise.
4396 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4397 (tst-regexloc-ENV): Likewise.
4398 (bug-regex1-ENV): Likewise.
4399 (tst-regex-ENV): Likewise.
4400 (tst-regex2-ENV): Likewise.
4401 (bug-regex5-ENV): Likewise.
4402 (bug-regex6-ENV): Likewise.
4403 (bug-regex17-ENV): Likewise.
4404 (bug-regex18-ENV): Likewise.
4405 (bug-regex19-ENV): Likewise.
4406 (bug-regex20-ENV): Likewise.
4407 (bug-regex22-ENV): Likewise.
4408 (bug-regex23-ENV): Likewise.
4409 (bug-regex25-ENV): Likewise.
4410 (bug-regex26-ENV): Likewise.
4411 (bug-regex30-ENV): Likewise.
4412 (bug-regex32-ENV): Likewise.
4413 (bug-regex33-ENV): Likewise.
4414 (bug-regex34-ENV): Likewise.
4415 (bug-regex35-ENV): Likewise.
4416 (tst-rxspencer-ENV): Likewise.
4417 (tst-rxspencer-no-utf8-ENV): Likewise.
4418 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4419 (tst-sscanf-ENV): Likewise.
4420 (tst-swprintf-ENV): Likewise.
4421 (tst-swscanf-ENV): Likewise.
4422 (test-vfprintf-ENV): Likewise.
4423 (scanf13-ENV): Likewise.
4424 (bug14-ENV): Likewise.
4425 (tst-grouping-ENV): Likewise.
4426 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4427 (tst-strtod3-ENV): Likewise.
4428 (tst-strtod4-ENV): Likewise.
4429 (tst-strtod5-ENV): Likewise.
4430 (testmb2-ENV): Likewise./
4431 * string/Makefile (tst-strxfrm-ENV): Likewise.
4432 (tst-strxfrm2-ENV): Likewise.
4433 (bug-strcoll1-ENV): Likewise.
4434 (test-strcasecmp-ENV): Likewise.
4435 (test-strncasecmp-ENV): Likewise.
4436 * time/Makefile (tst-strptime-ENV): Likewise.
4437 (tst-ftime_l-ENV): Likewise.
4438 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4439 (tst-mbrtowc-ENV): Likewise.
4440 (tst-wcrtomb-ENV): Likewise.
4441 (tst-mbrtowc2-ENV): Likewise.
4442 (tst-c16c32-1-ENV): Likewise.
4443 (tst-mbsnrtowcs-ENV): Likewise.
4444
cd1fb604
OB
44452014-06-05 Ondřej Bílka <neleai@seznam.cz>
4446
4447 * manual/resource.texi (How to get information about the memory
4448 subsystem?): Fix typo.
4449 Reported by Peon de la Parra Ivan <peon@keba.com>
4450
b42eca7d
GY
44512014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4452
4453 [BZ #16882]
4454 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4455 (pthread_spin_lock): Branch out of spin loop to proper location.
4456 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4457 (pthread_spin_lock): Likewise.
4458
902b71f9
DM
4459 * nptl/tst-spin4.c: New test.
4460 * nptl/Makefile (tests): Add tst-spin4.
4461
f9d2d032
AS
44622014-06-03 Andreas Schwab <schwab@suse.de>
4463
4464 [BZ #15946]
4465 * resolv/res_send.c (send_dg): Reload file descriptor after
4466 calling reopen.
4467
cf7bfd28
SL
44682014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4469
4470 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4471
111cc714
RH
44722014-06-03 Richard Henderson <rth@redhat.com>
4473
89b4bd6b
RH
4474 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4475 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4476 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4477 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4478 in the SAVE_PID block.
4479 (__libc_vfork): New alias.
71840409 4480 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4481
111cc714
RH
4482 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4483 child in registers, not on the stack. Remove RESET_PID conditionals.
4484 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4485
ccc39911
MS
44862014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4487
4488 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4489
693096cc
W
44902014-06-03 Wilco <wdijkstr@arm.com>
4491
4492 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4493 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4494 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4495 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4496 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4497 Likewise.
4498
0b4366bc
W
44992014-06-03 Wilco <wdijkstr@arm.com>
4500
4501 * sysdeps/aarch64/fpu/math_private.h
4502 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4503 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4504 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4505 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4506 Fix declarations.
4507
8747cd03
KS
45082014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4509
4510 * crypt/crypt-private.h: Include ufc-crypt.h.
4511 (__b64_from_24bit): Declare extern.
4512 * crypt/crypt_util.c(__b64_from_24bit): New function.
4513 (b64t): New static const variable.
4514 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4515 (b64t): Remove variable.
4516 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4517 * crypt/sha256-crypt.c: Include crypt-private.h.
4518 (b64t): Remove variable.
4519 (__sha256_crypt_r): Remove b64_from_24bit and replace
4520 with __b64_from_24bit.
4521 * crypt/sha512-crypt.c: Likewise.
4522
d936d379
RM
45232014-06-02 Roland McGrath <roland@hack.frob.com>
4524
4525 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4526 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4527 Label the code __libc_vfork rather than __vfork.
4528 [!NOT_IN_libc] (vfork): Define as weak alias.
4529 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4530 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4531 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4532
9fa76613
SP
45332014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4534
4535 * malloc/malloc.c (malloc_info): Fix format specifier for
4536 n_mmaps.
4537
a88dadbe
W
45382014-06-02 Wilco <wdijkstr@arm.com>
4539
4540 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4541 FPCR write.
4542
c95b3011
W
45432014-06-02 Wilco <wdijkstr@arm.com>
4544
4545 [BZ #17009]
4546 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4547 Rewrite to reduce FPCR/FPSR accesses.
4548
6b4d7a90
DM
45492014-06-01 David S. Miller <davem@davemloft.net>
4550
4551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4552
30f3d07c
DM
45532014-05-31 David S. Miller <davem@davemloft.net>
4554
4555 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4556 to occur in round to nearest mode when |x| >= 2.0
4557
74f31c18
RH
45582014-05-30 Richard Henderson <rth@twiddle.net>
4559
f0712b54
RH
4560 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4561 (PSEUDO_RET_NOERRNO): Remove.
4562 (ret): Don't redefine.
4563 (ret_NOERRNO): Define in terms of ret.
4564 (ret_ERRVAL): Likewise.
4565
74f31c18
RH
4566 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4567 use of PSEUDO_RET; perform the error check directly.
4568
30477995
MM
45692014-05-30 Marko Myllynen <myllynen@redhat.com>
4570
4571 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4572 with __int128_t.
4573
62a58816
SP
45742014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4575
4576 * malloc/malloc (malloc_info): Fix formatting.
4577
4d653a59
SP
45782014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4579 Roland McGrath <roland@hack.frob.com>
4580
4581 * malloc/malloc (malloc_info): Also print mmapped statistics.
4582
5190c17f
RM
45832014-05-30 Roland McGrath <roland@hack.frob.com>
4584
4585 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4586 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4587
987c0269
OB
45882014-05-30 Ondřej Bílka <neleai@seznam.cz>
4589
4590 * malloc/malloc.c (malloc_info): Inline mi_arena.
4591
af4e8ef9
RH
45922014-05-29 Richard Henderson <rth@twiddle.net>
4593
1670e207
RH
4594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4595 Remove comma before expanding ASM_ARGS_##nr.
4596 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4597 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4598 of ASM_ARGS_##nr.
4599 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4600 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4601 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4602 (ASM_ARGS_1): Add leading comma.
4603
11a28aee
RH
4604 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4605 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4606 to __errno_location.
4607 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4608 Remove the expected plt for __errno_location.
4609
a17e5ffb 4610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4611 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4612 call to __read_tp.
4613
b5be4597
RH
4614 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4615 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4616 it and break it down.
4617 (DOCARGS_0, DOCARGS_1): Do nothing.
4618 (DOCARGS_2): Update to store into the new stack frame.
4619 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4620 (UNDOCARGS_1): Update to restore from the new stack frame.
4621 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4622 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4623
645d44ab
RH
4624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4625 (SINGLE_THREAD_P): New parameter for result regno.
4626 (PSEUDO): Update to match; use cbz instead of beq.
4627
a8b4f04a
RH
4628 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4629 Use ENTRY to define the _nocancel entry point. Share the syscall
4630 and syscall error check paths with the cancel path.
4631 (PSEUDO_END): New.
4632
af4e8ef9
RH
4633 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4634 whitespace; tabs before and after asm mnemonics.
4635
26b0d2e1
EW
46362014-05-29 Eric Wong <normalperson@yhbt.net>
4637
4638 [BZ #15132]
4639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4640 Call fstat64 or stat64 internally, depending on arguments passed.
4641 Replace stat buffer argument with file descriptor argument.
4642 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4643 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4644 Pass fd to __internal_statvfs instead of calling fstat64.
4645 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4646 Pass fd to __internal_statvfs64 instead of calling fstat64.
4647 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4648 Pass -1 to __internal_statvfs instead of calling stat64.
4649 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4650 Pass -1 to __internal_statvfs64 instead of calling stat64.
4651
1efe2bd9
RM
46522014-05-28 Roland McGrath <roland@hack.frob.com>
4653
0d3b7a19
RM
4654 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4655 that was previously under [RESET_PID].
4656 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4657
1efe2bd9
RM
4658 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4659 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4660
a6bea3ca
RM
46612014-05-27 Roland McGrath <roland@hack.frob.com>
4662
30b6629e
RM
4663 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4664
a6bea3ca
RM
4665 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4666 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4667
3dfb9a5c
OB
46682014-05-27 Ondřej Bílka <neleai@seznam.cz>
4669
4670 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4671
774f9285
AS
46722014-05-27 Andreas Schwab <schwab@suse.de>
4673
4674 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4675 TLS_INIT_TP macro.
4676 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4677 * elf/rtld.c (init_tls, dl_main): Likewise.
4678 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4679 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4680 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4681 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4682 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4683 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4684 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4685 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4686 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4687 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4688 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4689 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4690 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4691 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4692 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4693 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4694 * sysdeps/generic/tls.h: Update description.
4695
36ffe739
WN
46962014-05-27 Will Newton <will.newton@linaro.org>
4697
4698 [BZ #16990]
4699 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4700 and restore r2 rather than just restoring.
4701
2482ae43
SP
47022014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4703
4704 [BZ #16724]
4705 * libio/tst-ftell-append.c: New test case.
4706 * libio/Makefile (tests): Add test case.
4707 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4708 append mode.
4709 * libio/wfileops.c (do_ftell_wide): Likewise.
4710
3d1024e8
AZ
47112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712
bab90016
AZ
4713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4714
c7a8d667
AZ
4715 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4716 ...
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4719 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4720 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4722 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4724 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4726 Moved ...
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4729 Moved ...
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4732 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4734 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4736 ...
4737 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4739 Moved ...
4740 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4741 here.
4742 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4743 ...
4744 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4745 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4746 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4747
daee7851
AZ
4748 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4749 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4751 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4752
50a40819
AZ
4753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4754 merge into ...
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4757 ...
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4760 ...
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4763 Moved ...
4764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4765 here.
4766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4767 Moved ...
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4770 Moved ...
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4772
8464c2a1
AZ
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4774 conditional [RESET_PID].
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4777 removed.
4778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4779 removed.
4780
3d1024e8
AZ
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4782 <tcb-offsets.h>.
4783 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4784 (__libc_vfork): New strong alias.
4785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4786 removed.
4787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4788 Removed.
4789
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4791 <tcb-offsets.h>.
4792 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4793 (__libc_vfork): New strong alias.
4794 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4795 removed.
4796 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4797 removed.
4798
fdfd175d
CD
47992014-05-26 Carlos O'Donell <carlos@redhat.com>
4800
4801 * malloc/malloc.c (mi_arena): New function.
4802 (malloc_info): Remove nested function mi_arena. Call non-nosted
4803 function mi_arena.
4804
d298c416
AZ
48052014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806
4807 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4808 by insrwi.
4809 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4810 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4811 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4812 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4814 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4816
b60ea6ff
AS
48172014-05-26 Andreas Schwab <schwab@suse.de>
4818
4819 [BZ #16984]
4820 * locale/programs/repertoire.c (repertoire_read): Add slash
4821 between I18NPATH element and file name.
4822 * locale/programs/locfile.c (locfile_read): Likewise.
4823
67365926
SL
48242014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4825
4826 * nptl/pthread_mutexattr_settype.c
4827 (__pthread_mutexattr_settype):
4828 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4829
f8bdf1f0
SL
48302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4831
4832 * nptl/tst-mutex5 (do_test):
4833 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4834
15eaf6ff
SP
48352014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4836
4837 * benchtests/README: Document 'init' directive.
4838 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4839 BENCH_INIT.
4840 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4841 (parse_file): Recognize 'init' directive.
4842
75f11331
KM
48432014-05-26 Kyle McMartin <kyle@redhat.com>
4844
4845 [BZ #16796]
4846 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4847 alignment of struct pthread.
4848
c3ec475c
SP
48492014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4850
4851 [BZ #16878]
4852 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4853 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4854 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4855 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4856
82aab97c
RH
48572014-05-25 Richard Henderson <rth@twiddle.net>
4858
aa2f176d
RH
4859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4860 (SINGLE_THREAD_P_PIC): Remove.
4861 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4862 (SINGLE_THREAD_P_PIC): Remove.
4863
ca3cfa40
RH
4864 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4865 branch to syscall error ...
4866 (PSEUDO): ... here.
4867 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4868 from __local_syscall_error to .Lsyscall_error.
4869 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4870 (SYSCALL_ERROR): Update label name.
4871
6e6c2d01
RH
4872 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4873 Do not use DOARGS/UNDOARGS.
4874 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4875 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4876 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4877 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4878 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4879
c69abcee
RH
4880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4881 block comment.
4882
82aab97c
RH
4883 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4884 define if !NOT_IN_libc.
4885 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4886 define with non-default symbol versions.
4887
8820e3ac
RH
48882014-05-23 Richard Henderson <rth@twiddle.net>
4889
900e445f
RH
4890 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4891 (vfork, __vfork): Define via compat_symbol.
4892
8820e3ac
RH
4893 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4894 [!HAVE_IFUNC] (vfork_compat): Remove.
4895 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4896
e59252a5
JM
48972014-05-23 Joseph Myers <joseph@codesourcery.com>
4898
4899 [BZ #16978]
4900 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4901 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4902 variable.
4903
132c7f5f
RH
49042014-05-23 Richard Henderson <rth@twiddle.net>
4905
bc89e962
RH
4906 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4907 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4908 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4909 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4910
4911 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4912 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4913 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4914 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4915 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4916 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4917 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4918 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4919 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4920 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4921 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4922 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4923 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4924 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4925 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4926 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4927 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4928 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4929 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4930 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4932 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4933 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4934 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4935 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4936 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4938 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4939 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4940 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4941 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4942 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4944 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4945 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4946 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4947 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4948 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4949 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4950 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4951 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4952 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4953 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4954 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4955 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4956 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4957 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4958 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4959 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4960 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4961 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4962 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4963 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4964 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4965 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4966 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4967
e2fa4bc2
RH
4968 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4969 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4970 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4971 before exiting on error.
4972 (__libc_vfork): New strong alias.
4973 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4974 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4975
279b24e2
RH
4976 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4977 that was previously under [RESET_PID].
4978 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4979
132c7f5f
RH
4980 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4981
b72592e7
JM
49822014-05-23 Joseph Myers <joseph@codesourcery.com>
4983
4984 [BZ #16977]
4985 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4986 value when x - 1 is zero.
4987 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4988 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4989 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4990 0.0L for an argument of 1.0L.
4991 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4992 Likewise.
4993 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4994 value when x - 1 is zero.
4995 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4996 * sysdeps/i386/fpu/libm-test-ulps: Update.
4997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4998
2302d679
RV
49992014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5000
5001 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5002 alphasort and versionsort.
5003
32999d63
AZ
50042014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5005
5006 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5007 macro.
5008 [copysignf]: Likewise.
5009
019324d0
SP
50102014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5011
5012 * crypt/md5-crypt.c: Fix formatting.
5013
34fff5c2
KS
50142014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5015
5016 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5017 (b64_from_24bit): New function.
5018
3d2badac
AZ
50192014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020
5021 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5022 libc_hidden_builtin_def to ifunc.
5023 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5024 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5025
f7bb179f 50262014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5027
5028 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5029 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5030
4134b50d
JM
50312014-05-21 Joseph Myers <joseph@codesourcery.com>
5032
bb7d0337
JM
5033 * nscd/Depend (linuxthreads): Remove.
5034 (nptl): Add.
5035 * resolv/Depend (linuxthreads): Remove.
5036 * rt/Depend (linuxthreads): Remove.
5037
4134b50d
JM
5038 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5039 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5040 $(common-objpfx)elf/.
5041 (link-libc-before-gnulib): Likewise.
5042 (elfobjdir): Remove variable.
5043 * Makefile (install): Use $(elf-objpfx) instead of
5044 $(common-objpfx)elf/.
5045 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5046 $(elfobjdir)/.
5047 (link-libc-deps): Likewise.
5048 ($(common-objpfx)libc.so): Likewise.
5049 ($(common-objpfx)linkobj/libc.so): Likewise.
5050 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5051 instead of $(common-objpfx)elf/.
5052 (symbolic-link-list): Likewise.
5053 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5054 [$(cross-compiling) = no]: Likewise.
5055 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5056 $(elfobjdir)/.
5057 (static-gnulib-arch): Likewise.
5058 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5059 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5060 $(common-objpfx)elf/.
5061
3612eb8f
RH
50622014-05-21 Richard Henderson <rth@redhat.com>
5063
a6b3657b
RH
5064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5065 (SINGLE_THREAD_P): Use the correct width load. Fold
5066 into the ldr offset.
5067
3612eb8f
RH
5068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5069 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5070
175cef41
JM
50712014-05-20 Joseph Myers <joseph@codesourcery.com>
5072
5073 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5074 (libgcc_s_resume): Use __attribute_used__.
5075 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5076 Likewise.
5077
e13bccd3
AZ
50782014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5079
5080 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5081 optimization when used with float constants.
5082
7c112a38
AZ
5083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5084
ae75a883
AJ
50852014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5086
5087 [BZ #16915]
5088 * locale/nl_langinfo_l.c: Make direct reference to every
5089 _nl_current_CATEGORY symbol.
5090 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5091 (tests-static): Add tst-langinfo-static.
5092 (tests-special): Add tst-langinfo-static.out.
5093 ($(objpfx)tst-langinfo.out): Redirect output.
5094 ($(objpfx)tst-langinfo-static.out): New.
5095 * localedata/tst-langinfo.sh: Send output to stdout.
5096 * localedata/tst-langinfo-static.c: New file.
5097
4406c41c
AJ
5098 [BZ #16965]
5099 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5100 when the shift amount is modulo the limb size.
5101
4c0a1e63
RH
51022014-05-20 Richard Henderson <rth@redhat.com>
5103
de9d8f20
RH
5104 [BZ #16967]
5105 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5106 Change type of sa_flags from unsigned int to int.
5107
4c0a1e63
RH
5108 [BZ #16966]
5109 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5110
5111 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5112
a60339aa
WN
51132014-05-20 Will Newton <will.newton@linaro.org>
5114
5115 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5116 Test the return value of the system call in the nocancel case.
5117
7d05a816
YR
51182014-05-20 Will Newton <will.newton@linaro.org>
5119 Yvan Roux <yvan.roux@linaro.org>
5120
5121 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5122 #include of asm/ptrace.h.
5123 (PTRACE_GET_THREAD_AREA): Remove #undef.
5124 (PTRACE_GETHBPREGS): Likewise.
5125 (PTRACE_SETHBPREGS): Likewise.
5126 (struct user_regs_struct): New structure.
5127 (struct user_fpsimd_struct): New structure.
5128 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5129 #include of asm/ptrace.h and second #include of sys/user.h.
5130 (PTRACE_GET_THREAD_AREA): Remove #undef.
5131 (PTRACE_GETHBPREGS): Likewise.
5132 (PTRACE_SETHBPREGS): Likewise.
5133 (ELF_NGREG): Use new struct user_regs_struct.
5134 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5135
af121e37
AZ
51362014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137
5138 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5139 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5140
834caf06
JM
51412014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5142
5143 [BZ #16958]
5144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5145 membar to avoid block loads/stores to overlap previous stores.
5146
e184a918
RH
51472014-05-17 Richard Henderson <rth@redhat.com>
5148
5149 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5150 Create the __##syscall_name##_nocancel entry point.
5151 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5152 Remove; let the sysdep-cancel.h code create it.
5153
f56c7a6a
DM
51542014-05-17 David S. Miller <davem@davemloft.net>
5155
5156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5157 Protect with __USE_GNU.
5158 (TIOCSET_TEMPT): Likewise.
5159 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5160 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5161 these are already provided in bits/ioctl-types.h
5162
f75616b2
RM
51632014-05-16 Roland McGrath <roland@hack.frob.com>
5164
3edeca86
RM
5165 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5166 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5167
f75616b2
RM
5168 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5169 Use wait4 regardless of [__NR_waitpid].
5170
deb0f7f6
MR
51712014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5172
5173 PR libgcc/60166
5174 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5175 (_FP_NANSIGN_Q): Set the quiet bit.
5176
79520f4b
JM
51772014-05-16 Joseph Myers <joseph@codesourcery.com>
5178
5179 * benchtests/Makefile
5180 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5181 not $(common-objpfx)math/libm.so.
5182 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5183 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5184 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5185 $(common-objpfx)dlfcn/libdl.so.
5186 ($(objpfx)tst-audit8): Depend on $(libm), not
5187 $(common-objpfx)math/libm.so.
5188 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5189 not $(common-objpfx)dlfcn/libdl.so.
5190 * math/Makefile
5191 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5192 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5193 [$(build-shared) = yes].
5194 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5195 $(common-objpfx)nptl/libpthread.so.
5196 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5197 $(common-objpfx)math/libm.so$(libm.so-version) or
5198 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5199 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5200 $(common-objpfx)dlfcn/libdl.so.
5201 * setjmp/Makefile (link-libm): Remove variable.
5202 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5203 * stdio-common/Makefile (link-libm): Remove variable.
5204 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5205 * stdlib/Makefile (link-libm): Remove variable.
5206 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5207 ($(objpfx)tst-strtod-round): Likewise.
5208 ($(objpfx)tst-tininess): Likewise.
5209 ($(objpfx)tst-strtod-underflow): Likewise.
5210 ($(objpfx)tst-strtod6): Likewise.
5211 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5212 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5213 $(common-objpfx)dlfcn/libdl.so.
5214
026b0fe4
AZ
52152014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216
5217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5218 BSD terminal modes definitions.
5219
def4bcb2
RM
52202014-05-16 Roland McGrath <roland@hack.frob.com>
5221
fe39b021
RM
5222 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5223 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5224
1d1fc46e 5225 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5226 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5227 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5228 Don't do #include_next.
5229 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5230 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5231 Don't do #include_next.
5232 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5233 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5234 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5235 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5236
c72399fb
AM
52372014-05-16 Allan McRae <allan@archlinux.org>
5238
d51d659d
AM
5239 * po/sv.po: Update Swedish translation from translation project.
5240
c72399fb
AM
5241 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5242 in sed expression.
5243
d0583c40
AJ
52442014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5245
5246 [BZ #16917]
5247 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5248 errno if the TIOCGPTN ioctl fails with an error different than
5249 EINVAL.
5250 * login/tst-ptsname.c: New file.
5251 * login/Makefile (tests): Add tst-ptsname.
5252
d16e6ec7
AJ
5253 [BZ #16943]
5254 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5255 and prlimit64.
5256
cf26a0cb
SP
52572014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5258
5259 [BZ #16849]
5260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5261 herrno to return EAI_AGAIN.
5262
5675da1e
RM
52632014-05-14 Roland McGrath <roland@hack.frob.com>
5264
a5d87b3d
RM
5265 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5266 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5267 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5274 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5286 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5287 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5288 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5290 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5292 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5293 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5294 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5296 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5298 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5300 Moved ...
5301 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5303 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5307 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5309 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5319 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5321 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5323 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5325 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5327 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5329 Moved ...
5330 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5332 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5334 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5336 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5338 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5340 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5342 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5346 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5348 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5350 Moved ...
5351 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5353 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5354
039890a6
RM
5355 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5356 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5357 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5358 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5359 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5361 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5363 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5364 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5365 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5366 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5367 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5368 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5369 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5370 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5371 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5373 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5375 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5377 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5378 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5379 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5380 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5381 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5382 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5383 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5384 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5385 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5386
65c89320
RM
5387 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5388 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5389
348f8e8c
RM
5390 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5391 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5392 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5394 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5396 Moved ...
5397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5399 Moved ...
5400 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5401 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5402 Moved ...
5403 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5404 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5405 Moved ...
5406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5407 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5408 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5409 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5410 Moved ...
5411 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5412 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5413 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5414 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5415 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5416 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5417 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5418 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5419 Moved ...
5420 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5421 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5422 Moved ...
5423 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5424 ... here.
5425 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5426 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5427 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5428 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5430 Moved ...
5431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5432 ... here.
5433 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5434 Moved ...
5435 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5437 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5438 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5439 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5441 Moved ...
5442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5444 Moved ...
5445 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5446 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5447 Moved ...
5448 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5450 Moved ...
5451 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5452 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5453 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5454 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5455 Moved ...
5456 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5458 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5460 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5462 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5464 Moved ...
5465 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5466 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5467 Moved ...
5468 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5469 ... here.
5470 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5471 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5473 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5475 Moved ...
5476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5477 ... here.
5478 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5479 Moved ...
5480 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5481 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5482 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5484 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5485 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5486 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5487 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5488 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5490 Moved ...
5491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5493 Moved ...
5494 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5496 Moved ...
5497 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5499 Moved ...
5500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5502 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5504 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5506 Moved ...
5507 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5509 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5511 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5513 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5514 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5515 Moved ...
5516 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5518 Moved ...
5519 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5520 ... here.
5521 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5522 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5524 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5526 Moved ...
5527 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5528 ... here.
5529 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5530 Moved ...
5531 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5533 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5535 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5537 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5539 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5541 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5542
5085af05
RM
5543 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5544 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5545
708f0813
RM
5546 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5547 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5548
c96067bc
RM
5549 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5550 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5551 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5553 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5555 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5557 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5561 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5563 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5565 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5567 Moved ...
5568 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5570 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5572 Moved ...
5573 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5575 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5577 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5579 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5581 Moved ...
5582 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5584 Moved ...
5585 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5587 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5591 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5593 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5595 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5596 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5597 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5599 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5601 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5602
ec136444
RM
5603 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5604 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5605 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5606 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5607 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5608
2fbdf533
RM
5609 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5610 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5611 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5612 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5613 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5614 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5615 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5616 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5617 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5618 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5619
4c68138b
RM
5620 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5622
4eaae765
RM
5623 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5624 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5625 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5626 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5627 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5628 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5629 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5630 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5631 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5632 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5633 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5634 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5635 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5636 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5638 Update #include.
5639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5640 Likewise.
5641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5642 Likewise.
5643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5644 Likewise.
5645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5646 Likewise.
5647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5648 Likewise.
5649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5650 Likewise.
5651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5652 Likewise.
5653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5654 Likewise.
5655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5656 Likewise.
4ef6befa
RM
5657 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5658 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5659 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5660 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5662 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5663 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5664 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5665 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5666 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5667 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5668 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5669 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5670 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5671 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5672
941d7dfd
RM
5673 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5674 that was previously under [RESET_PID].
5675 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5676 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5677 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5678
1b731c35
RM
5679 * sysdeps/i386/nptl/Implies: New file.
5680 * sysdeps/x86_64/nptl/Implies: New file.
5681 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5682 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5684 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5685
e2787137
RM
5686 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5687 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5688 (__libc_vfork): New strong alias.
5689 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5690 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5691
5692 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5693 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5694 (__libc_vfork): New strong alias.
5695 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5696 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5697
5675da1e
RM
5698 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5699 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5700 (__libc_vfork): New strong alias.
5701 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5702 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5703 * nptl/pt-vfork.c: New file.
5704 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5705 (libpthread: GLIBC_2.20): New version set (empty).
5706
4f02e2b8
WN
57072014-05-14 Will Newton <will.newton@linaro.org>
5708
5709 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5710 rather than #if.
5711
0bf061d3
JM
57122014-05-14 Joseph Myers <joseph@codesourcery.com>
5713
1a84c3d6
JM
5714 [BZ #16564]
5715 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5716 arguments with exponent 65 or above.
5717 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5718 arguments 0x1p113L or above.
5719 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5720 to arguments 0x1p107L or above.
5721 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5722 positive arguments with exponent 65 or above.
5723 * math/auto-libm-test-in: Add more tests of log1p.
5724 * math/auto-libm-test-out: Regenerated.
5725
01dbacd2
JM
5726 [BZ #16928]
5727 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5728 non-finite arguments is +0.
5729 * math/s_cacosf.c (__cacosf): Likewise.
5730 * math/s_cacosl.c (__cacosl): Likewise.
5731 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5732 * sysdeps/i386/fpu/libm-test-ulps: Update.
5733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5734
913d03c8
JM
5735 [BZ #16927]
5736 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5737 value.
5738 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5739 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5740 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5741 for explicit high bit of mantissa when testing for argument equal
5742 to 1.
5743 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5744 * sysdeps/i386/fpu/libm-test-ulps: Update.
5745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5746
0bf061d3
JM
5747 [BZ #16516]
5748 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5749 (__erf): Scale by 16 instead of 8 in potentially underflowing
5750 case. Ensure exception if result actually underflows.
5751 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5752 (__erff): Scale by 16 instead of 8 in potentially underflowing
5753 case. Ensure exception if result actually underflows.
5754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5755 (efx8): Remove variable.
5756 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5757 case. Ensure exception if result actually underflows.
5758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5759 (efx8): Remove variable.
5760 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5761 case. Ensure exception if result actually underflows.
5762 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5763 (efx8): Remove variable.
5764 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5765 case. Ensure exception if result actually underflows.
5766 * math/auto-libm-test-in: Add more tests of erf.
5767 * math/auto-libm-test-out: Regenerated.
5768
73ba67cb
AS
57692014-05-14 Andreas Schwab <schwab@suse.de>
5770
3d8c8bff
AS
5771 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5772 Remove code conditionalized on USE___THREAD.
5773
73ba67cb
AS
5774 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5775 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5776 not definedness.
5777
5c521ecd
JM
57782014-05-14 Joseph Myers <joseph@codesourcery.com>
5779
5e7698c6
JM
5780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5781 Define unconditionally.
5782 (__ASSUME_O_CLOEXEC): Likewise.
5783 (__ASSUME_SOCK_CLOEXEC): Likewise.
5784 (__ASSUME_IN_NONBLOCK): Likewise.
5785 (__ASSUME_PIPE2): Likewise.
5786 (__ASSUME_EVENTFD2): Likewise.
5787 (__ASSUME_SIGNALFD4): Likewise.
5788 (__ASSUME_DUP3): Likewise.
5789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5790 (__ASSUME_DUP3): Do not define.
5791 (__ASSUME_EVENTFD2): Likewise.
5792 (__ASSUME_IN_NONBLOCK): Likewise.
5793 (__ASSUME_O_CLOEXEC): Likewise.
5794 (__ASSUME_PIPE2): Likewise.
5795 (__ASSUME_SIGNALFD4): Likewise.
5796 (__ASSUME_SOCK_CLOEXEC): Likewise.
5797 (__ASSUME_UTIMES): Undefine.
5798 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5799 (__ASSUME_UTIMES): Do not define.
5800 (__ASSUME_O_CLOEXEC): Likewise.
5801 (__ASSUME_SOCK_CLOEXEC): Likewise.
5802 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5803 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5804 0x020621].
5805 (__ASSUME_PIPE2): Likewise.
5806 (__ASSUME_EVENTFD2): Likewise.
5807 (__ASSUME_SIGNALFD4): Likewise.
5808 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5809 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5810 Do not define.
5811 (__ASSUME_EVENTFD2): Likewise.
5812 (__ASSUME_SIGNALFD4): Likewise.
5813 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5814 (__ASSUME_32BITUIDS): Likewise.
5815 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5816 (__ASSUME_IPC64): Likewise.
5817 (__ASSUME_ST_INO_64_BIT): Likewise.
5818 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5819 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5820 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5821 (__ASSUME_UTIMES): Do not define.
5822 (__ASSUME_PSELECT): Likewise.
5823 (__ASSUME_PPOLL): Likewise.
5824 (__ASSUME_O_CLOEXEC): Likewise.
5825 (__ASSUME_SOCK_CLOEXEC): Likewise.
5826 (__ASSUME_IN_NONBLOCK): Likewise.
5827 (__ASSUME_PIPE2): Likewise.
5828 (__ASSUME_EVENTFD2): Likewise.
5829 (__ASSUME_SIGNALFD4): Likewise.
5830 (__ASSUME_DUP3): Likewise.
5831 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5832 (__ASSUME_UTIMES): Likewise.
5833 (__ASSUME_O_CLOEXEC): Likewise.
5834 (__ASSUME_SOCK_CLOEXEC): Likewise.
5835 (__ASSUME_IN_NONBLOCK): Likewise.
5836 (__ASSUME_PIPE2): Likewise.
5837 (__ASSUME_EVENTFD2): Likewise.
5838 (__ASSUME_SIGNALFD4): Likewise.
5839 (__ASSUME_DUP3): Likewise.
5840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5841 (__ASSUME_UTIMES): Likewise.
5842 (__ASSUME_O_CLOEXEC): Likewise.
5843 (__ASSUME_SOCK_CLOEXEC): Likewise.
5844 (__ASSUME_IN_NONBLOCK): Likewise.
5845 (__ASSUME_PIPE2): Likewise.
5846 (__ASSUME_EVENTFD2): Likewise.
5847 (__ASSUME_SIGNALFD4): Likewise.
5848 (__ASSUME_DUP3): Likewise.
5849 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5850 Likewise.
5851 (__ASSUME_UTIMES): Likewise.
5852 (__ASSUME_EVENTFD2): Likewise.
5853 (__ASSUME_SIGNALFD4): Likewise.
5854 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5855 (__ASSUME_O_CLOEXEC): Likewise.
5856 (__ASSUME_SOCK_CLOEXEC): Likewise.
5857 (__ASSUME_IN_NONBLOCK): Likewise.
5858 (__ASSUME_PIPE2): Likewise.
5859 (__ASSUME_EVENTFD2): Likewise.
5860 (__ASSUME_SIGNALFD4): Likewise.
5861 (__ASSUME_DUP3): Likewise.
5862 (__ASSUME_UTIMES): Undefine.
5863
5c521ecd
JM
5864 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5865 feclearexcept. Remove symbol versioning code.
5866 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5867 symbol versioning code.
5868 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5869 symbol versioning code.
5870 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5871 feupdateenv. Remove symbol versioning code.
5872 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5873 fegetexceptflag. Remove symbol versioning code.
5874 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5875 fesetexceptflag. Remove symbol versioning code.
5876 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5877 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5878 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5879 (__posix_fadvise64_l32): Remove prototype.
5880 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5881 code.
5882
5da9dfad
RM
58832014-05-13 Roland McGrath <roland@hack.frob.com>
5884
5885 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5886 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5887 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5888 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5889
893b4f37
SK
58902014-05-13 Sami Kerola <kerolasa@iki.fi>
5891
5892 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5893 current working directory
5894
e0db6517
RM
58952014-05-13 Roland McGrath <roland@hack.frob.com>
5896
58aa195d
RM
5897 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5898 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5899 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5900 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5901 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5902 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5903 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5912 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5913 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5914 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5916 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5918 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5920 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5921 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5922 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5923 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5924 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5925 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5926 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5927 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5928 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5930 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5931 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5932 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5933 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5934 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5935 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5936 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5937 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5938 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5939
8c6d01f0
RM
5940 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5941 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5942
5943 * sysdeps/unix/sysv/linux/arm/Makefile
5944 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5945 Add rt-aeabi_unwind_cpp_pr1.
5946 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5947 Add nptl-aeabi_unwind_cpp_pr1.
5948 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5949 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5950 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5951 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5952 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5953 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5954
5955 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5956 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5957 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5958 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5959
bba6da4e
RM
5960 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5961 Deconditionalize the code that was previously under [RESET_PID].
5962 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5963
e0db6517
RM
5964 * sysdeps/generic/exit-thread.h: New file.
5965 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5966 * include/unistd.h (__exit_thread): Remove declaration.
5967 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5968 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5969 * csu/libc-start.c: Include <exit-thread.h>.
5970 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5971 * nptl/pthread_create.c: Include <exit-thread.h>.
5972 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5973 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5974 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5975 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5976 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5977 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5978 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5979 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5980 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5981 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5982 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5983 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5984 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5985 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5986 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5987 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5988 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5989
01eb16fd
AS
59902014-05-13 Andreas Schwab <schwab@suse.de>
5991
5992 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5993
637461d9
JM
59942014-05-12 Joseph Myers <joseph@codesourcery.com>
5995
5996 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5997 (__ASSUME_UTIMES): Do not condition on kernel version.
5998 (__ASSUME_PSELECT): Define unconditionally.
5999 (__ASSUME_PPOLL): Likewise.
6000 (__ASSUME_ATFCTS): Likewise.
6001 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6002 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6003 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6004 (__ASSUME_UTIMENSAT): Define unconditionally.
6005 (__ASSUME_PRIVATE_FUTEX): Likewise.
6006 (__ASSUME_FALLOCATE): Likewise.
6007 (__ASSUME_O_CLOEXEC): Likewise.
6008 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6009 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6010 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6011 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6012 (__ASSUME_IN_NONBLOCK): Likewise.
6013 (__ASSUME_PIPE2): Likewise.
6014 (__ASSUME_EVENTFD2): Likewise.
6015 (__ASSUME_SIGNALFD4): Likewise.
6016 (__ASSUME_DUP3): Likewise.
6017 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6018 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6019 (__ASSUME_AT_RANDOM): Likewise.
6020 (__ASSUME_PREADV): Likewise.
6021 (__ASSUME_PWRITEV): Likewise.
6022 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6023 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6024 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6026 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6028 (__ASSUME_O_CLOEXEC): Define unconditionally.
6029 (__ASSUME_PSELECT): Do not undefine conditionally.
6030 (__ASSUME_PPOLL): Likewise.
6031 (__ASSUME_ATFCTS): Likewise.
6032 (__ASSUME_SET_ROBUST_LIST): Likewise.
6033 (__ASSUME_UTIMENSAT): Likewise.
6034 (__ASSUME_FDATASYNC): Define unconditionally.
6035 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6036 (__ASSUME_SIGFRAME_V2): Likewise.
6037 )__ASSUME_EVENTFD2): Likewise.
6038 (__ASSUME_SIGNALFD4): Likewise.
6039 (__ASSUME_PSELECT): Do not undefine conditionally.
6040 (__ASSUME_PPOLL): Likewise.
6041 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6042 (__ASSUME_PSELECT): Define unconditionally.
6043 (__ASSUME_PPOLL): Likewise.
6044 (__ASSUME_O_CLOEXEC): Likewise.
6045 (__ASSUME_SOCK_CLOEXEC): Likewise.
6046 (__ASSUME_IN_NONBLOCK): Likewise.
6047 (__ASSUME_PIPE2): Likewise.
6048 (__ASSUME_EVENTFD2): Likewise.
6049 (__ASSUME_SIGNALFD4): Likewise.
6050 (__ASSUME_DUP3): Likewise.
6051 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6052 (__ASSUME_O_CLOEXEC): Likewise.
6053 (__ASSUME_SOCK_CLOEXEC): Likewise.
6054 (__ASSUME_IN_NONBLOCK): Likewise.
6055 (__ASSUME_PIPE2): Likewise.
6056 (__ASSUME_EVENTFD2): Likewise.
6057 (__ASSUME_SIGNALFD4): Likewise.
6058 (__ASSUME_DUP3): Likewise.
6059 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6060 (__ASSUME_EVENTFD2): Likewise.
6061 (__ASSUME_SIGNALFD4): Likewise.
6062 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6063
315eb1d8
AS
60642014-05-12 Andreas Schwab <schwab@suse.de>
6065
6066 [BZ #16932]
6067 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6068 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6069 than maximum RPC packet size.
6070 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6071 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6072 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6073 (_nss_nis_getservbyport_r): Likewise.
6074
91df99f7
WN
60752014-05-12 Will Newton <will.newton@linaro.org>
6076
6077 * malloc/Makefile (tests): Add tst-mallopt.
6078 * malloc/tst-mallopt.c: New file.
6079
0a982a29
RM
60802014-05-09 Roland McGrath <roland@hack.frob.com>
6081
6082 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6083 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6084
0ded08a5
AZ
60852014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6086
6087 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6088 (tst-tlsmod6.so): Likewise.
6089
55d4d550
RM
60902014-05-09 Roland McGrath <roland@hack.frob.com>
6091
6092 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6093
77d08aca
JM
60942014-05-09 Joseph Myers <joseph@codesourcery.com>
6095
6096 [BZ #16064]
6097 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6098 and <dl-procinfo.h>.
6099 (__fegetenv): Save SSE state in envp->__eip if supported.
6100 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6101 envp->__eip if supported.
6102 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6103 and <dl-procinfo.h>.
6104 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6105 __data_offset and __data_selector in environment to 0. Set SSE
6106 state if supported.
6107 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6108 test-fenv-sse.
6109 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6110 -mfpmath=sse.
6111 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6112
28162f4d
WN
61132014-05-09 Will Newton <will.newton@linaro.org>
6114
6115 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6116 and libc_relro_required for ARM.
6117 * sysdeps/arm/preconfigure: Regenerate.
6118
5a414ff7
DV
61192014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6120 Stefan Liebler <stli@linux.vnet.ibm.com>
6121
6122 * config.make.in (enable-lock-elision): New Makefile variable.
6123 * configure.ac: Likewise.
6124 * configure: Regenerate.
6125 * sysdeps/s390/configure.ac:
6126 Add check for gcc transactions support.
6127 * sysdeps/s390/configure: Regenerate.
6128 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6129 Build elision files if enabled.
6130 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6131 Add lock elision support for s390.
6132 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6133 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6134 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6135 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6136 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6137 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6138 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6139 Likewise.
6140 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6141 Likewise.
6142 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6143 Likewise.
6144 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6145 Likewise.
6146 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6147 (__lll_timedlock_elision, __lll_lock_elision)
6148 (__lll_unlock_elision, __lll_trylock_elision)
6149 (lll_timedlock_elision, lll_lock_elision)
6150 (lll_unlock_elision, lll_trylock_elision): Add.
6151 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6152 (pthread_mutex_t): Add lock elision support for s390.
6153
1a2f40e5
W
61542014-05-14 Wilco <wdijkstr@arm.com>
6155
6156 * sysdeps/arm/fclrexcpt.c: Cleanup.
6157 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6158 * sysdeps/arm/feenablxcpt.c: Cleanup.
6159 * sysdeps/arm/fegetenv.c: Cleanup.
6160 * sysdeps/arm/fegetexcept.c: Cleanup.
6161 * sysdeps/arm/fegetround.c: Cleanup.
6162 * sysdeps/arm/feholdexcpt.c: Cleanup.
6163 * sysdeps/arm/fesetenv.c: Cleanup.
6164 * sysdeps/arm/fesetround.c: Cleanup.
6165 * sysdeps/arm/feupdateenv.c: Cleanup.
6166 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6167 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6168 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6169 * sysdeps/arm/ftestexcept.c: Cleanup.
6170 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6171 * sysdeps/arm/setfpucw.c: Cleanup.
6172
f63c86fe
WN
61732014-05-09 Will Newton <will.newton@linaro.org>
6174
6175 * sysdeps/arm/armv7/strcmp.S: New file.
6176 * NEWS: Mention addition of ARMv7 optimized strcmp.
6177
7a1a51b5
RM
61782014-05-08 Roland McGrath <roland@hack.frob.com>
6179
95afbbe5
RM
6180 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6181 look for %.ac rather than %.in.
6182
6183 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6184 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6185 * sysdeps/mach/hurd/configure: Regenerated.
6186 * sysdeps/unix/sysv/linux/configure: Regenerated.
6187
7a1a51b5
RM
6188 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6189
5057ad3b
SE
61902014-05-07 Steve Ellcey <sellcey@mips.com>
6191
6192 [BZ# 16922]
6193 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6194 (LONG_SUB): Ditto.
6195 (PTR_SUB): Ditto.
6196
8dc97517
AS
61972014-05-07 Andreas Schwab <schwab@suse.de>
6198
6199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6200 when skipping over non-matching result from nscd.
6201
ce0c5b8f
OB
62022014-05-07 Ondřej Bílka <neleai@seznam.cz>
6203
6204 [BZ #16876]
6205 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6206
a1189263
OB
6207 [BZ #16877]
6208 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6209 nscd security class.
ce0c5b8f 6210
0f58d252
RM
62112014-05-06 Roland McGrath <roland@hack.frob.com>
6212
6213 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6214 * sysdeps/arm/unwind.h: ... here.
6215
83df9ad0
AJ
62162014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6217
ce0c5b8f
OB
6218 [BZ# 16916]
6219 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6220 Define.
83df9ad0 6221
f360f94a
VR
62222014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6223
6224 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6225 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6226 multiarch strncpy for PPC64.
6227 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6228 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6230 multiarch optimizations.
6231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6232 (__libc_ifunc_impl_list): Likewise.
6233 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6234 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6235 multiarch stpncpy for PPC64.
6236 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6237 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6238
978a41c3
AS
62392014-05-06 Andreas Schwab <schwab@suse.de>
6240
6241 [BZ #16912]
6242 * gmon/mcount.c (_MCOUNT_DECL): Use
6243 atomic_compare_and_exchange_bool_acq instead of
6244 catomic_compare_and_exchange_bool_acq.
6245
eb1ed03d
RM
62462014-05-05 Roland McGrath <roland@hack.frob.com>
6247
fe658845
RM
6248 * elf/Makefile (others, install-bin): Remove pldd.
6249 (pldd-modules): Variable removed.
6250 ($(objpfx)pldd): Target removed.
6251 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6252 (others, install-bin): Append pldd here.
6253 ($(objpfx)pldd): New target.
6254
eb1ed03d
RM
6255 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6256 to 0, so the first #if test emitted later doesn't see it undefined.
6257 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6258 * sysdeps/gnu/errlist.c: Regenerated.
6259
19c4bec0
AZ
62602014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6261
6262 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6263 [libc_hidden_builtin_def]: Define to empty value.
6264 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6265 [libc_hidden_builtin_def]: Likewise.
6266 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6267 [libc_hidden_builtin_def]: Likewise.
6268 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6269 [libc_hidden_builtin_def]: Likewise.
6270 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6271 __redirect_memcpy and define ifunc as default hidden symbol.
6272 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6273 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6274
7776e669
AC
62752014-05-04 Adam Conrad <adconrad@0c3.net>
6276
6277 * locale/iso-4217.def: Reintroduce XDR currency.
6278
d69aeb12
AM
62792014-05-04 Allan McRae <allan@archlinux.org>
6280
6281 * po/eo.po: Update Esperanto translation from translation project.
6282
8f1df5cf
CD
62832014-05-02 Carlos O'Donell <carlos@redhat.com>
6284
6285 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6286 and FEATURE_INDEX_MAX to 1.
6287 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6288
13e402e7
SE
62892014-05-01 Steve Ellcey <sellcey@mips.com>
6290
6291 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6292 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6293 * iconvdata/big5.c (ONE_DIRECTION): Define.
6294 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6295 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6296 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6297 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6298 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6299 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6300 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6301 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6302 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6303 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6304 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6305 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6306 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6307 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6308 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6309 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6310 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6311 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6312 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6313 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6314 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6315 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6316 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6317 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6318 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6319 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6320 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6321 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6322 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6323 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6324 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6325 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6326 * iconvdata/johab.c (ONE_DIRECTION): Define.
6327 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6328 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6329 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6330 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6331 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6332 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6333 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6334 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6335 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6336 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6337
c727f032
RM
63382014-05-01 Roland McGrath <roland@hack.frob.com>
6339
8f2f08d0
RM
6340 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6341 (_IO_JUMPS_OFFSET): Define to 0.
6342
c727f032
RM
6343 * nptl/sysdeps/pthread/bits/libc-lock.h
6344 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6345 (__libc_lock_define_initialized_recursive): Always define using
6346 initializer. Modern compilers treat uninitialized (implicit zero) and
6347 explicit zero initializers the same (i.e. put the datum in bss).
6348
a849e800
AS
63492014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6350
6351 * nscd/nscd-client.h: Include <string.h>.
6352
5331255b
DM
63532014-05-01 David S. Miller <davem@davemloft.net>
6354
6355 [BZ #16885]
6356 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6357 multiple zero bytes exist at the end of a string.
6358 Reported by Aurelien Jarno <aurelien@aurel32.net>
6359
6360 * string/test-strcmp.c (check): Add explicit test for situations where
6361 there are multiple zero bytes after the first.
6362
4fdfe821
AS
63632014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6364
6365 [BZ #16890]
6366 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6367 when compiling wprintf.
6368 * stdio-common/tstdiomisc.c (t3): New function.
6369 (main): Call it.
6370
0cdddc25
SE
63712014-05-01 Steve Ellcey <sellcey@mips.com>
6372
6373 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6374 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6375 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6376 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6377
6426d77e
SE
63782014-05-01 Steve Ellcey <sellcey@mips.com>
6379
6380 * stdlib/longlong.h: Updated from GCC.
6381
6d96f5e4
WN
63822014-05-01 Will Newton <will.newton@linaro.org>
6383 Bernard Ogden <bernie.ogden@linaro.org>
6384
7470db0c
WN
6385 * NEWS: Update fixed bug list.
6386
6d96f5e4
WN
6387 [BZ #15119]
6388 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6389
211d653c
DM
63902014-04-30 David S. Miller <davem@davemloft.net>
6391
4fa262fa
DM
6392 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6393 (libc_feholdexcept_setround_sparc_ctx): New function.
6394 (libc_fesetenv_sparc_ctx): Likewise.
6395 (libc_feupdateenv_sparc_ctx): Likewise.
6396 (libc_feholdsetround_sparc_ctx): Likewise.
6397 (libc_feholdexcept_setround_ctx): Define.
6398 (libc_feholdexcept_setroundf_ctx): Likewise.
6399 (libc_feholdexcept_setroundl_ctx): Likewise.
6400 (libc_fesetenv_ctx): Likewise.
6401 (libc_fesetenvf_ctx): Likewise.
6402 (libc_fesetenvl_ctx): Likewise.
6403 (libc_feupdateenv_ctx): Likewise.
6404 (libc_feupdateenvf_ctx): Likewise.
6405 (libc_feupdateenvl_ctx): Likewise.
6406 (libc_feresetround_ctx): Likewise.
6407 (libc_feresetroundf_ctx): Likewise.
6408 (libc_feresetroundl_ctx): Likewise.
6409 (libc_feholdsetround_ctx): Likewise.
6410 (libc_feholdsetroundf_ctx): Likewise.
6411 (libc_feholdsetroundl_ctx): Likewise.
6412
1d3d93ef
DM
6413 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6414 with __USE_GNU instead of XOPEN cpp guards.
6415
8aa583c3
DM
6416 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6417 0.
6418
211d653c
DM
6419 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6420 with XOPEN cpp guards.
6421
60c8f1f6
JB
64222014-04-30 Julian Brown <julian@codesourcery.com>
6423
6424 [BZ #16888]
6425 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6426 handling.
6427
9a461d46
JM
64282014-04-30 Joseph Myers <joseph@codesourcery.com>
6429
d0f5b3f8
JM
6430 [BZ #9894]
6431 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6432 Change to 2.6.32.
6433 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6434 * sysdeps/unix/sysv/linux/configure: Regenerated.
6435 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6436 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6437 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6438 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6439 * README: Update reference to required Linux kernel version.
6440 * manual/install.texi (Linux): Update reference to required Linux
6441 kernel headers version.
6442 * INSTALL: Regenerated.
6443
9a461d46
JM
6444 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6445 header inclusion.
6446 [POSIX] (limits.h): Likewise.
6447 [POSIX] (math.h): Likewise.
6448 [POSIX] (sys/wait.h): Likewise.
6449 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6450 function.
6451 [POSIX] (stddef.h): Do not allow header inclusion.
6452
1775babf
AZ
64532014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6454
57f41c40 6455 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6456
8f630cca
YY
64572014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6458
6459 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6460 Return immediately after lll_futex_wake.
6461
1cdeb237
SP
64622014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6463
bc8f194c
SP
6464 [BZ #16791]
6465 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6466 structure.
6467 (datahead_init_pos): Call datahead_init_common early.
6468 (datahead_init_neg): Likewise.
6469
1cdeb237
SP
6470 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6471 datahead_init_neg): New functions.
6472 * nscd/aicache.c (addhstaiX): Use them.
6473 * nscd/grpcache.c (cache_addgr): Likewise.
6474 * nscd/hstcache.c (cache_addhst): Likewise.
6475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6476 * nscd/netgroupcache.c (do_notfound): Likewise.
6477 (addgetnetgrentX): Likewise.
6478 (addinnetgrX): Likewise.
6479 * nscd/pwdcache.c (cache_addpw): Likewise.
6480 * nscd/servicescache.c (cache_addserv): Likewise.
6481
16b293a7
SP
64822014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6483 Atsushi Onoe <atsushi@onoe.org>
6484
6485 [BZ #14308]
6486 [BZ #12994]
6487 [BZ #13651]
6488 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6489 one response is valid.
6490 * resolv/res_send.c (send_dg): Check for validity of other
6491 response if the current response is a referral.
6492
a28a9b94
SE
64932014-04-29 Steve Ellcey <sellcey@mips.com>
6494
6495 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6496
2ca180e9
SL
64972014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6498
6499 [BZ #16823]
6500 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6501 Always divide by positive zero when computing -Inf result.
6502 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6503 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6504
18f2945a
AZ
65052014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6506
6507 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6508 FPSCR if value do not change.
6509 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6510 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6511 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6512 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6513 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6514 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6515 function.
6516
5abebba4
CD
65172014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6518
6519 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6520 * sysdeps/unix/sysv/linux/hppa: Move directory from
6521 ports/systeps/unix/sysv/linux/hppa.
6522 * README: Update listing for hppa-*-linux-gnu.
6523
f7ed60c2
OB
65242014-04-28 Ondřej Bílka <neleai@seznam.cz>
6525
fff763a5
OB
6526 [BZ #16754]
6527 * manual/stdio.texi (Hook functions): Fix types of stream hook
6528 functions.
f7ed60c2
OB
6529 [BZ #16854]
6530 * socket/sys/socket.h: Fix typo in comment.
6531
df639d73
WD
65322014-04-28 Wilco <wdijkstr@arm.com>
6533
f7ed60c2 6534 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6535 * sysdeps/arm/math_private.h: New file.
6536 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6537
48332d82
L
65382014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6539
6540 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6541 with __int128_t.
6542 (La_x86_64_retval): Likewise.
6543
e5e0d9a4
IB
65442014-04-24 Ian Bolton <ian.bolton@arm.com>
6545
6546 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6547 fpsr if value didn't change.
6548 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6549 to fpcr if value didn't change.
6550 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6551 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6552 fpsr or fpcr if value didn't change.
6553 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6554 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6555 fpcr if value didn't change.
6556 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6557 to fpsr if value didn't change.
6558
bacc75f7
SP
65592014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
6561 * nptl/tst-sem3.c: Use test-skeleton.c
6562 (main): Rename to do_test. Use return instead of
6563 exit.
6564 * nptl/tst-sem4.c: Use test-skeleton.c
6565 (main): Rename to do_test.
6566
a059d359
DM
65672014-04-22 David S. Miller <davem@davemloft.net>
6568
6569 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6570 (struct sigaction): New struct member __glibc_reserved0, change
6571 type of sa_flags to int.
6572
ea6c92f3
YZ
65732014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6574
6575 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6576 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6577
766c4a36
SP
65782014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6579
6580 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6581 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6582
140cc7ab
VK
65832014-04-22 Will Newton <will.newton@linaro.org>
6584 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6585
6586 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6587 (__longjmp): Add longjmp and longjmp_target SystemTap
6588 probes.
6589 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6590 (__sigsetjmp): Add setjmp SystemTap probe.
6591
c54e5cf7
CD
65922014-04-17 Carlos O'Donell <carlos@redhat.com>
6593
6594 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6595 match manual order.
6596
75ffb047
AZ
65972014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6598
6599 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6600
2cd925f7
AZ
6601 * sysdeps/powerpc/fpu/fenv_private.h
6602 (libc_feholdexcept_setroundl_ctx): Define to
6603 libc_feholdexcept_setround_ppc_ctx.
6604 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6605 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6606 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6607 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6608
39e6cd8d
IB
66092014-04-17 Ian Bolton <ian.bolton@arm.com>
6610
6611 * sysdeps/aarch64/math-tests.h: New file.
6612
f9281df9
SY
66132014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6614
6615 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6616 New.
6617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6618 Check and set bit_AVX2_Usable.
6619 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6620 macro.
6621 (bit_AVX2): Likewise.
6622 (index_AVX2_Usable): Likewise.
6623 (CPUID_AVX2): Likewise.
6624 (HAS_AVX2): Likewise.
6625
37d35007
WN
66262014-04-17 Will Newton <will.newton@linaro.org>
6627
7c677662
WN
6628 * manual/setjmp.texi (System V contexts): Add note that
6629 calling setcontext on a context created by a call to a
6630 signal handler is undefined. Update text to note that
6631 setcontext from a signal handler is possible but not
6632 recommended.
6633
37d35007 6634 [BZ #16629]
e04a4e9d
WN
6635 * stdlib/tst-setcontext.c: Include signal.h.
6636 (main): Check that the signal stack before and
6637 after swapcontext is the same.
6638
37d35007
WN
6639 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6640 Re-implement to restore registers in user code and avoid
6641 rt_sigreturn system call.
6642
423a7160
W
66432014-04-17 Wilco <wdijkstr@arm.com>
6644
6645 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6646 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6647 * math/test-fenv.c: Skip exception trap tests on targets which only
6648 support non-stop mode.
6649
bc93ab29
IB
66502014-04-17 Ian Bolton <ian.bolton@arm.com>
6651 Wilco Dijkstra <wilco.dijkstra@arm.com>
6652
6653 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6654 (libc_feholdsetround_aarch64_ctx)
6655 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6656 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6657 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6658 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6659 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6660 (libc_feresetround_noexl_ctx): Define.
6661
95fc5fa3
RH
66622014-04-16 Richard Henderson <rth@redhat.com>
6663
ddb04724
RH
6664 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6665
d77c0899
RH
6666 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6667 unwind tables.
6668
a3df56fc
RH
6669 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6670 const from the non-libc, non-ldso copy.
6671
95fc5fa3
RH
6672 * sysdeps/alpha/libm-test-ulps: Regenerate.
6673
7e0b6763
IB
66742014-04-16 Ian Bolton <ian.bolton@arm.com>
6675 Wilco Dijkstra <wilco.dijkstra@arm.com>
6676
6677 * sysdeps/aarch64/fpu/math_private.h: New file.
6678
a9ea2e0c
MS
66792014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6680
6681 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6682
ea8ba7cd
IZ
66832014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6684
6685 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6686 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6688 Intel MPX bound registers before _dl_profile_fixup.
6689 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6690 registers after _dl_profile_fixup. Save and restore bound
6691 registers bnd0/bnd1 when calling _dl_call_pltexit.
6692 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6693 (LR_BND_OFFSET): Likewise.
6694 (LRV_BND0_OFFSET): Likewise.
6695 (LRV_BND1_OFFSET): Likewise.
6696
9f2a4fbc
ST
66972014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6698
6699 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6700 to...
6701 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6702 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6703 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6704 fields.
9f2a4fbc 6705
fd15a59b
ST
67062014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6707
6708 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6709
f19dfa0a
SL
67102014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6711
6712 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6713
4fa8bc3b
SL
67142014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6715
6716 [BZ #14770]
6717 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6718 * sysdeps/s390/configure: Regenerate.
6719
8ea587db
SL
6720 [BZ #16824]
6721 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6722 Set round-to-nearest internally to reduce error accumulation.
6723
aa5f0ff1
AM
67242014-04-16 Alan Modra <amodra@gmail.com>
6725
6726 [BZ #16740]
6727 [BZ #16619]
6728 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6729 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6730 * NEWS: Update fixed bug list.
aa5f0ff1 6731
bb9c256f
SP
67322014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6733
6734 * benchtests/Makefile: Depend on libraries in build directory.
6735 (bench-math): Separate out math tests.
6736 (bench-pthread): Separate out pthread tests.
6737 (bench): Include math and pthread tests.
6738
f737dfd0
CD
67392014-04-14 Carlos O'Donell <carlos@redhat.com>
6740
6741 [BZ #16831]
6742 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6743 _dl_debug_initialize.
6744
0699f766
CD
6745 * configure.ac: Remove SELinux header check.
6746 * configure: Regenerate.
6747 * nscd/selinux.c (perms): Array of const char* to permission names.
6748 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6749 default policy. Call string_to_security_class and string_to_av_perm to
6750 translate strings. Enforce default policy and call avs_has_perm with
6751 results of translated strings.
6752
809bd45f
DM
67532014-04-13 David S. Miller <davem@davemloft.net>
6754
6755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6756
89e691f2
AM
67572014-04-12 Allan McRae <allan@archlinux.org>
6758
6759 [BZ #16838]
6760 * manual/string.texi (Collation Functions): Fix qsort argument
6761 order in example.
6762 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6763
9c9daaeb
CM
67642014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6765
6766 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6767 Make the test a no-op if there are no exceptions defined.
6768
95561fb9
PP
67692014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6770
fe8d072c 6771 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6772 enable-hardcoded-path-in-tests
6773
970c602a
WN
67742014-04-11 Will Newton <will.newton@linaro.org>
6775
6776 * benchtests/Makefile (extra-objs): Add json-lib.o.
6777 (bench-func): Tidy up JSON output.
6778 * benchtests/bench-skeleton.c: Include json-lib.h.
6779 (main): Use JSON library functions to do output of
6780 benchmark results.
6781 * benchtests/bench-timing-type.c (main): Output the
6782 timing type simply, leaving formatting to the user.
6783 * benchtests/json-lib.c: New file.
6784 * benchtests/json-lib.h: Likewise.
6785
36875b06
TR
67862014-04-11 Torvald Riegel <triegel@redhat.com>
6787
6788 [BZ #15215]
6789 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6790 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6791 memory barriers. Add comments.
6792 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6793 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6794 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6795 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6796 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6797 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6798
579db35a
SL
67992014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6800
6801 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6802 * sysdeps/s390/s390-64/configure.ac: ... this ...
6803 * sysdeps/s390/configure.ac: ... to here.
6804 * sysdeps/s390/s390-32/configure: Delete file.
6805 * sysdeps/s390/s390-64/configure: Delete file.
6806 * sysdeps/s390/configure: Regenerate.
6807
c12e9f37
JAPH
68082014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6809
6810 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6811
439bda32
WN
68122014-04-11 Will Newton <will.newton@linaro.org>
6813
6814 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6815 to zero if it is not defined elsewhere. (mtrim): Test
6816 the value of MALLOC_DEBUG with #if rather than #ifdef.
6817
6a5d6ea1
TR
68182014-04-10 Torvald Riegel <triegel@redhat.com>
6819
6820 * benchtests/pthread_once-inputs: New file.
6821 * benchtests/pthread_once-source.c: New file.
6822 * benchtests/README: Update documentation.
6823
a4c75cfd
IZ
68242014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6825 H.J. Lu <hongjiu.lu@intel.com>
6826
6827 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6828 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6829 * sysdeps/x86_64/configure: Regenerated.
6830 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6831 macro.
6832 (REGISTER_SAVE_RAX): Likewise.
6833 (REGISTER_SAVE_RCX): Likewise.
6834 (REGISTER_SAVE_RDX): Likewise.
6835 (REGISTER_SAVE_RSI): Likewise.
6836 (REGISTER_SAVE_RDI): Likewise.
6837 (REGISTER_SAVE_R8): Likewise.
6838 (REGISTER_SAVE_R9): Likewise.
6839 (REGISTER_SAVE_BND0): Likewise.
6840 (REGISTER_SAVE_BND1): Likewise.
6841 (REGISTER_SAVE_BND2): Likewise.
6842 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6843 bound registers when calling _dl_fixup.
6844
27822ce6
AZ
68452014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6846
6847 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6848 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6849 of its definition.
27822ce6
AZ
6850 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6851 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6852 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6853 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6854 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6855 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6856 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6857
a88ddc90
PTB
68582014-04-09 Peter Brett <peter@peter-b.co.uk>
6859
6860 [BZ #15514]
6861 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6862 pathconf(_PC_NAME_MAX).
6863
01f8eac2
AZ
68642014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865
6866 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6867 Remove macro usage.
6868 (__PTHREAD_SPINS): Move definition to ...
6869 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6870 (__PTHREAD_SPINS): ... here.
6871 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6872 (__PTHREAD_SPIN): Likewise.
6873 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6874 (__PTHREAD_SPIN): Likewise.
6875 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6876 (__PTHREAD_SPIN): Likewise.
6877 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6878 (__PTHREAD_SPIN): Likewise.
6879 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6880 (__PTHREAD_SPIN): Likewise.
6881 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6882 (__PTHREAD_SPIN): Likewise.
6883 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6884 (__PTHREAD_SPIN): Likewise.
6885 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6886 (__PTHREAD_SPIN): Likewise.
6887 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6888 (__PTHREAD_SPIN): Likewise.
6889 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6890 (__PTHREAD_SPIN): Likewise.
6891 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6892 (__PTHREAD_SPIN): Likewise.
6893 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6894 (__PTHREAD_SPIN): Likewise.
6895
de21c33c
AZ
6896 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6897 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6898 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6899 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6900 imply folder.
6901 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6902 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6903 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6904 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6905 correct imply path.
6906 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6907 strlen symbol for non multi-arch builds.
6908 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6909 missing hidden_def and weak_alias.
6910
862c472e
CD
69112014-04-08 Carlos O'Donell <carlos@redhat.com>
6912
6913 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6914
8667f90e
WN
69152014-04-07 Will Newton <will.newton@linaro.org>
6916
6917 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6918 and contents. [!_LIBC] Remove #ifndef and contents.
6919 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6920 * string/memccpy.c (__memccpy): Use ANSI prototype.
6921 * string/memfrob.c (memfrob): Likewise.
6922 * string/strcoll.c (STRCOLL): Likewise.
6923 * string/strlen.c (strlen): Likewise.
6924 * string/strtok.c (STRTOK): Likewise.
6925 * string/strcat.c: Remove unused #include of memcopy.h.
6926 (strcat): Use ANSI prototype.
6927 * string/strchr.c: Remove unused #include of memcopy.h.
6928 (strchr): Use ANSI prototype.
6929 * string/strcmp.c: Remove unused #include of memcopy.h.
6930 (strcmp): Use ANSI prototype.
6931 * string/strcpy.c: Remove unused #include of memcopy.h.
6932 (strcpy): Use ANSI prototype.
6933
7ffa9423
AZ
69342014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6935
6936 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6937 * config.make.in (config-extra-cppflags): Set it from
6938 libc_extra_cppflags.
6939 * configure.ac (libc_extra_cflags): Make it accumulate over
6940 configure fragments.
6941 (libc_extra_cppflags): New flag.
6942 * configure. Regenerate.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6944 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6945 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6947
8bd70862
AZ
6948 [BZ #16815]
6949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6950 result for FE_DOWNWARD rounding mode.
6951 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6952 Likewise.
6953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6954
d42f3448
CM
69552014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6956
6957 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6958 in function argument name.
6959
1c21d115
DS
69602014-04-03 David Svoboda <svoboda@cert.org>
6961
6962 [BZ #5666]
6963 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6964 explicitly.
6965
fcccd512
RM
69662014-04-03 Roland McGrath <roland@hack.frob.com>
6967
6968 * elf/dl-unmap-segments.h: New file.
6969 * sysdeps/generic/ldsodefs.h
6970 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6971 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6972 * elf/dl-fptr.c: Likewise.
6973 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6974 * sysdeps/aarch64/tlsdesc.c: Likewise.
6975 * sysdeps/arm/tlsdesc.c: Likewise.
6976 * sysdeps/i386/tlsdesc.c: Likewise.
6977 * sysdeps/tile/dl-runtime.c: Likewise.
6978 * sysdeps/x86_64/tlsdesc.c: Likewise.
6979 * elf/dl-load.h: New file.
6980 * elf/dl-load.c: Include it.
6981 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6982 Macros moved to dl-load.h.
6983 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6984 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6985 Use _dl_unmap_segments in place of __munmap.
6986 Break out segment-mapping loop into ...
6987 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6988
f6488e2b
WN
69892014-04-03 Will Newton <will.newton@linaro.org>
6990
6991 * elf/dl-lookup.c (do_lookup_x): Remove comment
6992 referring to nested function and move variable
6993 declarations down to before first use.
6994
6f05bafe
JM
69952014-04-02 Joseph Myers <joseph@codesourcery.com>
6996
a84e78c8
JM
6997 [BZ #16799]
6998 [BZ #16800]
6999 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7000 with 0 numerator.
7001 * math/s_catanf.c (__catanf): Likewise.
7002 * math/s_catanh.c (__catanh): Likewise.
7003 * math/s_catanhf.c (__catanhf): Likewise.
7004 * math/s_catanhl.c (__catanhl): Likewise.
7005 * math/s_catanl.c (__catanl): Likewise.
7006 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7007 by positive zero when computing -Inf result.
7008 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7009 (catanh_test): Likewise.
7010 * sysdeps/i386/fpu/libm-test-ulps: Update.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7012
6f05bafe
JM
7013 [BZ #16789]
7014 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7015 instead of using underflowing value in computing result.
7016 * math/s_clog10.c (__clog10): Likewise.
7017 * math/s_clog10f.c (__clog10f): Likewise.
7018 * math/s_clog10l.c (__clog10l): Likewise.
7019 * math/s_clogf.c (__clogf): Likewise.
7020 * math/s_clogl.c (__clogl): Likewise.
7021 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7022 (clog10_test): Likewise.
7023 * sysdeps/i386/fpu/libm-test-ulps: Update.
7024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7025
b0abbc21
AM
70262014-04-02 Alan Modra <amodra@gmail.com>
7027
7028 [BZ #16739]
7029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7030 output when value is near a power of two. Use int64_t for lx and
7031 remove casts. Use decimal rather than hex exponent constants.
7032 Don't use long double multiplication when double will suffice.
7033 * math/libm-test.inc (nextafter_test_data): Add tests.
7034 * NEWS: Add 16739 and 16786 to bug list.
7035
af6b1797
AM
7036 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7037
483818d7
AM
7038 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7039
f6c55796
WN
70402014-04-01 Will Newton <will.newton@linaro.org>
7041
7042 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7043 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7044
13f7fe35
FW
70452014-04-01 Florian Weimer <fweimer@redhat.com>
7046
7047 [BZ #13347]
7048 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7049 * nptl/tst-setuid2.c: New file.
7050 * nptl/Makefile (xtests): Add tst-setuid2.
7051
c859b32e
AM
70522014-04-01 Alan Modra <amodra@gmail.com>
7053
7054 [BZ #16786]
7055 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7056
54fa2475
JM
70572014-03-31 Joseph Myers <joseph@codesourcery.com>
7058
8795b4a4
JM
7059 [BZ #6803]
7060 [BZ #6804]
7061 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7062 set errno as appropriate.
7063 * math/w_scalbf.c (__scalbf): Likewise.
7064 * math/w_scalbl.c (__scalbl): Likewise.
7065 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7066 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7067 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7068 Add more NaN tests.
7069
54fa2475
JM
7070 [BZ #16349]
7071 * math/w_atan2.c: Include <errno.h>.
7072 (__atan2): Set errno for result underflowing to zero.
7073 * math/w_atan2f.c: Include <errno.h>.
7074 (__atan2f): Set errno for result underflowing to zero.
7075 * math/w_atan2l.c: Include <errno.h>.
7076 (__atan2l): Set errno for result underflowing to zero.
7077 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7078 tests.
7079 * math/auto-libm-test-out: Regenerated.
7080
757d9dd5
AZ
70812014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082
7083 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7084 Encode instruction correctly in little endian.
7085 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7086 Likewise.
7087 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7088 Likewise.
7089 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7090 Likewise.
7091 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7092 Likewise.
7093
d7a68734
JM
70942014-03-31 Joseph Myers <joseph@codesourcery.com>
7095
47c5adeb
JM
7096 [BZ #9894]
7097 * sysdeps/unix/sysv/linux/kernel-features.h
7098 [__sparc__ && !__arch64__ && !__sparc_v9__]
7099 (__ASSUME_SET_ROBUST_LIST): Do not define.
7100 [__sparc__ && !__arch64__ && !__sparc_v9__]
7101 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7102 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7103 Likewise.
7104 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7105 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7106 (__ASSUME_REQUEUE_PI): Likewise.
7107 (__ASSUME_SET_ROBUST_LIST): Likewise.
7108 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7109 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7110 Undefine.
7111 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7112 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7113 Likewise.
7114 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7115 Likewise.
7116 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7117 Likewise.
7118 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7119 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7120 Undefine.
7121 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7122 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7123 Likewise.
7124
d7a68734
JM
7125 [BZ #16648]
7126 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7127 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7128 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7129
c760f5c2
WN
71302014-03-31 Will Newton <will.newton@linaro.org>
7131
7132 * benchtests/Makefile (bench): Add ffs and ffsll to list
7133 of tests.
7134 * benchtests/ffs-inputs: New file.
7135 * benchtests/ffsll-inputs: Likewise.
7136
ea6029b1
JM
71372014-03-29 Joseph Myers <joseph@codesourcery.com>
7138
7139 [BZ #16770]
7140 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7141 too large before casting to int.
7142 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7143 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7144 * math/libm-test.inc (scalb_test_data): Add more tests.
7145
cf806aff
SP
71462014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7147
56737508
SP
7148 * benchtests/Makefile (DETAILED_OPT): New make option.
7149 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7150 set.
7151 * benchtests/bench-skeleton.c: Include stdbool.h.
7152 (main): Store and print timings per input.
7153 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7154 member to each argument value.
7155 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7156 (_print_arg_data): Initialize per-input timing to 0.
7157
cb5e4aad
SP
7158 * benchtests/Makefile (timing-type): New binary.
7159 (bench-clean): Also remove bench-timing-type.
7160 (bench): New target for timing-type.
7161 (bench-func): Print output in JSON format.
7162 * benchtests/bench-skeleton.c (main): Print output in JSON
7163 format.
7164 * benchtests/bench-timing-type.c: New file.
7165 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7166 (TIMING_PRINT_STATS): Remove.
7167 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7168 name separately.
7169
cf806aff
SP
7170 * benchtests/bench-modf.c: Remove.
7171 * benchtests/modf-inputs: New inputs file.
7172
289e0779
JM
71732014-03-28 Joseph Myers <joseph@codesourcery.com>
7174
7175 [BZ #16362]
7176 * math/s_clog10.c (M_PI_LOG10E): New macro.
7177 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7178 imaginary parts are 0.
7179 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7180 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7181 imaginary parts are 0.
7182 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7183 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7184 imaginary parts are 0.
7185 * math/libm-test.inc (clog10_test_data): Update expected results
7186 for when real and imaginary parts are 0.
7187
277ae3f1
PP
71882014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7189
7190 * elf/dl-load.c: Finish conversion of __builtin_expect into
7191 __glibc_{un}likely.
7192
03a7091f
JM
71932014-03-27 Joseph Myers <joseph@codesourcery.com>
7194
7195 [BZ #16348]
7196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7197 1+x for argument with exponent below -67.
7198 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7199 Likewise.
7200 * math/auto-libm-test-in: Add more tests of exp.
7201 * math/auto-libm-test-out: Regenerated.
7202
ea7d8b95
SP
72032014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
dd3022d7
SP
7205 [BZ #16759]
7206 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7207 (nscd_getnetgrent): Use it.
7208
ea7d8b95
SP
7209 [BZ #16760]
7210 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7211 of stpcpy.
7212
df5b85da
AK
72132014-03-27 Andi Kleen <ak@linux.intel.com>
7214
57f41c40
AS
7215 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7216 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7217 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7218 (lll_robust_unlock): Remove out of line section. Use cfi
7219 intrinsics.
df5b85da 7220 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7221 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7222 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7223 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7224 (lll_robust_unlock): Remove out of line section. Use cfi
7225 intrinsics.
df5b85da
AK
7226 (LLL_STUB_UNWIND_INFO*): Remove.
7227
fbd6b5a4
SP
72282014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
7230 [BZ #16758]
7231 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7232 blank values.
7233
1b26b855
PP
72342014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7235
7236 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7237
9be36fb8
JM
72382014-03-26 Joseph Myers <joseph@codesourcery.com>
7239
7240 [BZ #16198]
7241 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7242 fnstenv.
7243 * math/test-fenv-preserve.c: New file.
7244 * math/Makefile (tests): Add test-fenv-preserve.
7245
60a2f3c1
WN
72462014-03-26 Will Newton <will.newton@linaro.org>
7247
7248 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7249
a5e5f1e2
RM
72502014-03-25 Roland McGrath <roland@hack.frob.com>
7251
7252 * scripts/versionlist.awk: Partition the version sets and emit all
7253 GLIBC_* (sorted) before all others (sorted).
7254
00f4012a
JM
72552014-03-25 Joseph Myers <joseph@codesourcery.com>
7256
7257 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7258 GLIBC_2.2.5 version.
7259
7bc5a741
AZ
72602014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7261
7262 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7263 calls.
7264
7578473b
AZ
7265 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7266 previous change.
7267
f3f1dab3
AZ
7268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7269
6da36183
AS
72702014-03-25 Andreas Schwab <schwab@suse.de>
7271
7272 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7273 label to be used after in6ailist is initialized.
7274
f3f1dab3 72752014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7276
7578473b 7277 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7278 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7279
046651c1
JM
72802014-03-25 Joseph Myers <joseph@codesourcery.com>
7281
7282 [BZ #16357]
7283 [BZ #16599]
7284 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7285 min_plus_half.
7286 (fp_formats): Update initializers.
7287 (init_fp_formats): Initialize new field.
7288 (output_for_one_input_case): Allow underflow for results up to
7289 min_plus_half.
7290 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7291 * math/auto-libm-test-in: Don't mark some underflows from asin and
7292 atanh as spurious.
7293 * math/auto-libm-test-out: Regenerated.
7294 * sysdeps/i386/fpu/libm-test-ulps: Update.
7295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7296
003e49ed
AS
72972014-03-25 Andreas Schwab <schwab@suse.de>
7298
7299 * libio/Makefile (tst-ftell-partial-wide-ENV)
7300 (tst-ftell-active-handler-ENV): Define.
7301
de031874
SL
73022014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7303
7304 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7305
55a81e3b
PP
73062014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7307
7308 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7309
f3426898
JM
73102014-03-24 Joseph Myers <joseph@codesourcery.com>
7311
7312 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7313 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7314 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7315
a42faf59
PP
73162014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7317
7318 [BZ #16634]
a42faf59 7319 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7320 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7321 (open_path): Change from boolean 'secure' to complete flag 'mode'
7322 (_dl_map_object): Adjust.
a42faf59
PP
7323 * elf/Makefile (tests): Add tst-dlopen-aout.
7324 * elf/tst-dlopen-aout.c: New test.
7325
50936127
SL
73262014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7327
7328 [BZ #16714]
7329 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7330 (struct stat): Rename member pad0 to __glibc_reserved0.
7331
26011b5c
SL
7332 [BZ #16712]
7333 * sysdeps/s390/s390-32/bits/wordsize.h
7334 (__WORDSIZE32_SIZE_ULONG): New define.
7335 * sysdeps/s390/s390-64/bits/wordsize.h
7336 (__WORDSIZE32_SIZE_ULONG): Likewise.
7337 * sysdeps/generic/stdint.h (SIZE_MAX):
7338 Define as UL if __WORDSIZE32_SIZE_ULONG.
7339
a2d86bf1
SL
7340 [BZ #16713]
7341 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7342 (__glibc_reserved0): New variable.
7343 (sa_flags): Change type to int.
7344
78b6eebc
SL
7345 * posix/Makefile (before-compile): Use += before-compile instead
7346 of a :=.
7347
f1399b5a
SL
7348 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7349 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7350
a071766e
AS
73512014-03-20 Andreas Schwab <schwab@suse.de>
7352
7353 [BZ #16743]
7354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7355 non-matching result from nscd.
7356
27c673b8
SP
73572014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7358
7359 * scripts/bench.py: Moved to ...
7360 * benchtests/scripts/bench.py: ... here.
7361 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7362
44152e4b
AS
73632014-03-24 Andreas Schwab <schwab@suse.de>
7364
7365 [BZ #16002]
7366 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7367 alloca_account and account alloca use for struct in6ailist.
7368
b376a11a
JM
73692014-03-24 Joseph Myers <joseph@codesourcery.com>
7370
7371 [BZ #16284]
7372 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7373 rounding mode to recompute results that overflow to infinity or
7374 underflow to zero.
7375 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7376 bug 16284.
7377 * math/auto-libm-test-out: Regenerated.
7378 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7379 (ccosh_test): Likewise.
7380 (csin_test_data): Use plus_oflow.
7381 (csin_test): Use ALL_RM_TEST.
7382 (csinh_test_data): Use plus_oflow.
7383 (csinh_test): Use ALL_RM_TEST.
7384 * sysdeps/i386/fpu/libm-test-ulps: Update.
7385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7386
f7be7376
JM
73872014-03-21 Joseph Myers <joseph@codesourcery.com>
7388
1ca2d03e
JM
7389 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7390 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7391 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7392
f7be7376
JM
7393 [BZ #16731]
7394 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7395 when x - 1 is zero.
7396 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7397 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7398 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7399 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7400 argument is 1.
7401 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7402 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7403 zero.
7404 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7405 * sysdeps/i386/fpu/libm-test-ulps: Update.
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7407
fdf4534d
SP
74082014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7409
df26ea53
SP
7410 * scripts/bench.pl: Remove file.
7411 * scripts/bench.py: New benchmark script.
7412 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7413 * benchtests/README: Mention python dependency.
7414 * scripts/pylintrc: New file.
7415 * scripts/pylint: New file.
7416
fdf4534d
SP
7417 * bits/mathdef.h: Use #ifdef instead of #if.
7418 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7419 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7420 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7421 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7422 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7423 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7424
6f23d093
AZ
74252014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7426 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7427
7428 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7430 and strpbrk-ppc64 objects.
7431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7432 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7433 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7434 multiarch strpbrk for POWER7.
7435 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7436 multiarch strpbrk for PPC64.
7437 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7438 ifunc selector.
7439 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7440 strpbrk for POWER7.
7441
8c92dfff
JM
74422014-03-20 Joseph Myers <joseph@codesourcery.com>
7443
7444 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7445 (atan_test): Likewise.
7446 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7447 (atanh_test): Use ALL_RM_TEST.
7448 (atan2_test_data): Likewise.
7449 (cabs_test): Likewise.
7450 (cacosh_test): Likewise.
7451 (carg_test): Likewise.
7452 (casin_test): Likewise.
7453 (casinh_test): Likewise.
7454 (cbrt_test): Likewise.
7455 (csqrt_test): Likewise.
7456 (erf_test): Likewise.
7457 (erfc_test): Likewise.
7458 (pow10_test): Likewise.
7459 (exp2_test): Likewise.
7460 (hypot_test): Likewise.
7461 (j0_test): Likewise.
7462 (j1_test): Likewise.
7463 (lgamma_test): Likewise.
7464 (gamma_test): Likewise.
7465 (sincos_test): Likewise.
7466 (tanh_test): Likewise.
7467 (y0_test): Likewise.
7468 (y1_test): Likewise.
7469 * sysdeps/i386/fpu/libm-test-ulps: Update.
7470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7471
6eaf95cb
AZ
74722014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7473
a387428c
SP
7474 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7476 and strcspn-ppc64 objects.
7477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7478 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7479 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7480 multiarch strcspn for POWER7.
7481 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7482 multiarch strcspn for PPC64.
7483 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7484 ifunc selector.
7485 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7486 strcspn for POWER7.
7487
ae3a5dff
JM
74882014-03-20 Joseph Myers <joseph@codesourcery.com>
7489
7490 * math/gen-libm-test.pl (generate_testfile): Expect only function
7491 name as argument to AUTO_TESTS_* and pass results for all rounding
7492 modes to parse_args.
7493 (parse_auto_input): Separate inputs of automatic tests from
7494 outputs before storing in %auto_tests.
7495 * math/libm-test.inc (acos_test_data): Update call to
7496 AUTO_TESTS_f_f.
7497 (acos_test): Use ALL_RM_TEST.
7498 (acos_tonearest_test_data): Remove.
7499 (acos_test_tonearest): Likewise.
7500 (acos_towardzero_test_data): Likewise.
7501 (acos_test_towardzero): Likewise.
7502 (acos_downward_test_data): Likewise.
7503 (acos_test_downward): Likewise.
7504 (acos_upward_test_data): Likewise.
7505 (acos_test_upward): Likewise.
7506 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7507 (asin_test_data): Likewise.
7508 (asin_test): Use ALL_RM_TEST.
7509 (asin_tonearest_test_data): Remove.
7510 (asin_test_tonearest): Likewise.
7511 (asin_towardzero_test_data): Likewise.
7512 (asin_test_towardzero): Likewise.
7513 (asin_downward_test_data): Likewise.
7514 (asin_test_downward): Likewise.
7515 (asin_upward_test_data): Likewise.
7516 (asin_test_upward): Likewise.
7517 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7518 (atan_test_data): Likewise.
7519 (atanh_test_data): Likewise.
7520 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7521 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7522 (carg_test_data): Likewise.
7523 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7524 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7525 (ccosh_test_data): Likewise.
7526 (cexp_test_data): Likewise.
7527 (clog_test_data): Likewise.
7528 (clog10_test_data): Likewise.
7529 (cos_test_data): Update call to AUTO_TESTS_f_f.
7530 (cos_test): Use ALL_RM_TEST.
7531 (cos_tonearest_test_data): Remove.
7532 (cos_test_tonearest): Likewise.
7533 (cos_towardzero_test_data): Likewise.
7534 (cos_test_towardzero): Likewise.
7535 (cos_downward_test_data): Likewise.
7536 (cos_test_downward): Likewise.
7537 (cos_upward_test_data): Likewise.
7538 (cos_test_upward): Likewise.
7539 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7540 (cosh_test): Use ALL_RM_TEST.
7541 (cosh_tonearest_test_data): Remove.
7542 (cosh_test_tonearest): Likewise.
7543 (cosh_towardzero_test_data): Likewise.
7544 (cosh_test_towardzero): Likewise.
7545 (cosh_downward_test_data): Likewise.
7546 (cosh_test_downward): Likewise.
7547 (cosh_upward_test_data): Likewise.
7548 (cosh_test_upward): Likewise.
7549 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7550 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7551 (ctan_test_data): Likewise.
7552 (ctan_test): Use ALL_RM_TEST.
7553 (ctan_tonearest_test_data): Remove.
7554 (ctan_test_tonearest): Likewise.
7555 (ctan_towardzero_test_data): Likewise.
7556 (ctan_test_towardzero): Likewise.
7557 (ctan_downward_test_data): Likewise.
7558 (ctan_test_downward): Likewise.
7559 (ctan_upward_test_data): Likewise.
7560 (ctan_test_upward): Likewise.
7561 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7562 (ctanh_test): Use ALL_RM_TEST.
7563 (ctanh_tonearest_test_data): Remove.
7564 (ctanh_test_tonearest): Likewise.
7565 (ctanh_towardzero_test_data): Likewise.
7566 (ctanh_test_towardzero): Likewise.
7567 (ctanh_downward_test_data): Likewise.
7568 (ctanh_test_downward): Likewise.
7569 (ctanh_upward_test_data): Likewise.
7570 (ctanh_test_upward): Likewise.
7571 (erf_test_data): Update call to AUTO_TESTS_f_f.
7572 (erfc_test_data): Likewise.
7573 (exp_test_data): Likewise.
7574 (exp_test): Use ALL_RM_TEST.
7575 (exp_tonearest_test_data): Remove.
7576 (exp_test_tonearest): Likewise.
7577 (exp_towardzero_test_data): Likewise.
7578 (exp_test_towardzero): Likewise.
7579 (exp_downward_test_data): Likewise.
7580 (exp_test_downward): Likewise.
7581 (exp_upward_test_data): Likewise.
7582 (exp_test_upward): Likewise.
7583 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7584 (exp10_test): Use ALL_RM_TEST.
7585 (exp10_tonearest_test_data): Remove.
7586 (exp10_test_tonearest): Likewise.
7587 (exp10_towardzero_test_data): Likewise.
7588 (exp10_test_towardzero): Likewise.
7589 (exp10_downward_test_data): Likewise.
7590 (exp10_test_downward): Likewise.
7591 (exp10_upward_test_data): Likewise.
7592 (exp10_test_upward): Likewise.
7593 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7594 (expm1_test_data): Likewise.
7595 (expm1_test): Use ALL_RM_TEST.
7596 (expm1_tonearest_test_data): Remove.
7597 (expm1_test_tonearest): Likewise.
7598 (expm1_towardzero_test_data): Likewise.
7599 (expm1_test_towardzero): Likewise.
7600 (expm1_downward_test_data): Likewise.
7601 (expm1_test_downward): Likewise.
7602 (expm1_upward_test_data): Likewise.
7603 (expm1_test_upward): Likewise.
7604 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7605 (fma_test): Use ALL_RM_TEST.
7606 (fma_towardzero_test_data): Remove.
7607 (fma_test_towardzero): Likewise.
7608 (fma_downward_test_data): Likewise.
7609 (fma_test_downward): Likewise.
7610 (fma_upward_test_data): Likewise.
7611 (fma_test_upward): Likewise.
7612 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7613 (j0_test_data): Update call to AUTO_TESTS_f_f.
7614 (j1_test_data): Likewise.
7615 (jn_test_data): Update call to AUTO_TESTS_if_f.
7616 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7617 (log_test_data): Update call to AUTO_TESTS_f_f.
7618 (log10_test_data): Likewise.
7619 (log1p_test_data): Likewise.
7620 (log2_test_data): Likewise.
7621 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7622 (pow_tonearest_test_data): Likewise.
7623 (sin_test_data): Update call to AUTO_TESTS_f_f.
7624 (sin_test): Use ALL_RM_TEST.
7625 (sin_tonearest_test_data): Remove.
7626 (sin_test_tonearest): Likewise.
7627 (sin_towardzero_test_data): Likewise.
7628 (sin_test_towardzero): Likewise.
7629 (sin_downward_test_data): Likewise.
7630 (sin_test_downward): Likewise.
7631 (sin_upward_test_data): Likewise.
7632 (sin_test_upward): Likewise.
7633 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7634 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7635 (sinh_test): Use ALL_RM_TEST.
7636 (sinh_tonearest_test_data): Remove.
7637 (sinh_test_tonearest): Likewise.
7638 (sinh_towardzero_test_data): Likewise.
7639 (sinh_test_towardzero): Likewise.
7640 (sinh_downward_test_data): Likewise.
7641 (sinh_test_downward): Likewise.
7642 (sinh_upward_test_data): Likewise.
7643 (sinh_test_upward): Likewise.
7644 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7645 (sqrt_test): Use ALL_RM_TEST.
7646 (sqrt_tonearest_test_data): Remove.
7647 (sqrt_test_tonearest): Likewise.
7648 (sqrt_towardzero_test_data): Likewise.
7649 (sqrt_test_towardzero): Likewise.
7650 (sqrt_downward_test_data): Likewise.
7651 (sqrt_test_downward): Likewise.
7652 (sqrt_upward_test_data): Likewise.
7653 (sqrt_test_upward): Likewise.
7654 (tan_test_data): Update call to AUTO_TESTS_f_f.
7655 (tan_test): Use ALL_RM_TEST.
7656 (tan_tonearest_test_data): Remove.
7657 (tan_test_tonearest): Likewise.
7658 (tan_towardzero_test_data): Likewise.
7659 (tan_test_towardzero): Likewise.
7660 (tan_downward_test_data): Likewise.
7661 (tan_test_downward): Likewise.
7662 (tan_upward_test_data): Likewise.
7663 (tan_test_upward): Likewise.
7664 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7665 (tgamma_test_data): Likewise.
7666 (y0_test_data): Likewise.
7667 (y1_test_data): Likewise.
7668 (yn_test_data): Update call to AUTO_TESTS_if_f.
7669 (main): Do not call removed functions.
7670
d71aeee8
JM
76712014-03-19 Joseph Myers <joseph@codesourcery.com>
7672
7673 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7674 (ldexp_test_data): Remove.
7675 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7676 scalbn_test_data.
7677 (scalb_test): Use ALL_RM_TEST.
7678
baaf1ded
AS
76792014-03-19 Andreas Schwab <schwab@suse.de>
7680
7681 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7682
b1115e91
JM
76832014-03-19 Joseph Myers <joseph@codesourcery.com>
7684
7685 [BZ #16649]
7686 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7687 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7688 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7690 (__ASSUME_PREADV): Undefine.
7691 (__ASSUME_PWRITEV): Likewise.
7692
0283ecca
RM
76932014-03-18 Roland McGrath <roland@hack.frob.com>
7694
7d375303
RM
7695 * bits/mman-linux.h: Add comment about non-Linux use.
7696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7697 bits/mman-linux.h resting place.
7698
0283ecca
RM
7699 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7700 * bits/mman-linux.h: ... here.
7701
aebe1003
AZ
77022014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7703
7704 * conform/conformtest.pl: Add standard definition when calling C
7705 preprocessor on data files.
7706 (checknamespace): Remove unused variable.
7707
b29b6bb8
JM
77082014-03-18 Joseph Myers <joseph@codesourcery.com>
7709
7710 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7711 minus_oflow, plus_uflow and minus_uflow in expected results.
7712 * math/libm-test.inc (scalbn_test_data): Add more tests of
7713 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7714 minus_uflow.
7715 (scalbn_test): Use ALL_RM_TEST.
7716 (scalbln_test_data): Add more tests of negative arguments. Use
7717 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7718 (scalbln_test): Use ALL_RM_TEST.
7719
c8f8fa15
RM
77202014-03-18 Roland McGrath <roland@hack.frob.com>
7721
7722 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7723
fede7a5f
WN
77242014-03-18 Will Newton <will.newton@linaro.org>
7725
7726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7727 inaccurate comment.
7728
80cf0a58
JM
77292014-03-18 Joseph Myers <joseph@codesourcery.com>
7730
7731 * Makerules [!subdir] (check-abi): Exit with error status if a
7732 test failed.
7733
b3620862
JM
77342014-03-17 Joseph Myers <joseph@codesourcery.com>
7735
7736 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7737 for rint. Include results for all rounding modes.
7738 (nearbyint_test): Use ALL_RM_TEST.
7739 (rint_test_data): Include all tests used for nearbyint.
7740
788bba36
WN
77412014-03-17 Will Newton <will.newton@linaro.org>
7742
04ec140a
WN
7743 * nptl/sysdeps/pthread/pthread.h: Revert previous
7744 change.
7745
7579d8d5
WN
7746 * sysdeps/generic/ldsodefs.h: Revert previous
7747 change.
7748
c15cf13a
WN
7749 * libio/genops.c: Revert previous change.
7750 * libio/libioP.h: Likewise.
7751 * stdio-common/vfprintf.c: Likewise.
7752
d0ac1324
WN
7753 * sysdeps/generic/math_private.h: Revert previous
7754 change.
7755
9290130a
WN
7756 * sysdeps/generic/math_private.h: Check whether
7757 HAVE_RM_CTX is defined with #ifdef rather
7758 than #if.
7759
afb466fc
WN
7760 * argp/argp-fmtstream.h: Check whether
7761 __STRICT_ANSI__ is defined with #ifdef rather
7762 than #if.
7763 * argp/argp.h: Likewise.
7764
f7efd7c3
WN
7765 * libio/genops.c: Check whether
7766 _IO_JUMPS_OFFSET is defined with #ifdef rather
7767 than #if.
7768 * libio/libioP.h: Likewise.
7769 * stdio-common/vfprintf.c: Likewise.
7770
53f1bed3
WN
7771 * sysdeps/generic/ldsodefs.h: Check whether
7772 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7773 than #if.
7774
788bba36
WN
7775 * nptl/sysdeps/pthread/pthread.h: Check
7776 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7777 its value.
7778
fcd89ebe
SP
77792014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7780
ae42bbc5
SP
7781 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7782 setting O_APPEND.
7783 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7784 test case.
7785
ea33158c
SP
7786 [BZ #16680]
7787 * libio/fileops.c (_IO_file_open): Seek to end of file but
7788 don't cache the offset.
7789 (get_file_offset): Remove function.
7790 (do_ftell): Use cached offset when available.
7791 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7792 don't cache the offset.
7793 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7794 case.
7795 (do_one_test): Call it.
7796 (do_ftell_test): Fix up expected old offset for a+ mode.
7797 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7798 available.
7799
b1dbb426
SP
7800 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7801 up test status with function return status.
7802 (do_write_test): Likewise.
7803 (do_append_test): Likewise.
7804
fcd89ebe
SP
7805 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7806 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7807 Remove.
7808
9962a2d3
JM
78092014-03-17 Joseph Myers <joseph@codesourcery.com>
7810
7811 * math/gen-libm-test.pl (parse_args): Handle results specified for
7812 each rounding mode separately.
7813 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7814 tests and results from lrint_tonearest_test_data,
7815 lrint_towardzero_test_data, lrint_downward_test_data and
7816 lrint_upward_test_data.
7817 (lrint_test): Use ALL_RM_TEST.
7818 (lrint_tonearest_test_data): Remove.
7819 (lrint_test_tonearest): Likewise.
7820 (lrint_towardzero_test_data): Likewise.
7821 (lrint_test_towardzero): Likewise.
7822 (lrint_downward_test_data): Likewise.
7823 (lrint_test_downward): Likewise.
7824 (lrint_upward_test_data): Likewise.
7825 (lrint_test_upward): Likewise.
7826 (llrint_test_data): Merge in per-rounding-mode tests and results
7827 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7828 llrint_downward_test_data and llrint_upward_test_data.
7829 (llrint_test): Use ALL_RM_TEST.
7830 (llrint_tonearest_test_data): Remove.
7831 (llrint_test_tonearest): Likewise.
7832 (llrint_towardzero_test_data): Likewise.
7833 (llrint_test_towardzero): Likewise.
7834 (llrint_downward_test_data): Likewise.
7835 (llrint_test_downward): Likewise.
7836 (llrint_upward_test_data): Likewise.
7837 (llrint_test_upward): Likewise.
7838 (rint_test_data): Merge in per-rounding-mode tests and results
7839 from rint_tonearest_test_data, rint_towardzero_test_data,
7840 rint_downward_test_data and rint_upward_test_data. Add
7841 per-rounding-mode results for tests not in those arrays.
7842 (rint_test): Use ALL_RM_TEST.
7843 (rint_tonearest_test_data): Remove.
7844 (rint_test_tonearest): Likewise.
7845 (rint_towardzero_test_data): Likewise.
7846 (rint_test_towardzero): Likewise.
7847 (rint_downward_test_data): Likewise.
7848 (rint_test_downward): Likewise.
7849 (rint_upward_test_data): Likewise.
7850 (rint_test_upward): Likewise.
7851 (main): Don't call removed functions.
7852
5006148e
RM
78532014-03-14 Roland McGrath <roland@hack.frob.com>
7854
7855 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7856 "Compiled on ..." crapola. It is anti-useful.
7857
d6fe5e58
JM
78582014-03-14 Joseph Myers <joseph@codesourcery.com>
7859
7860 * scripts/evaluate-test.sh: Handle fourth argument to determine
7861 whether test run should stop on failure.
7862 * Makeconfig (stop-on-test-failure): New variable.
7863 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7864 $(stop-on-test-failure).
7865 * Makefile (tests): Give a summary of results from testing and
7866 exit with failure status if they include an ERROR or FAIL.
7867 (xtests): Likewise.
7868 * manual/install.texi (Configuring and compiling): Mention
7869 stop-on-test-failure=y.
7870 * INSTALL: Regenerated.
7871
498a2233
RM
78722014-03-14 Roland McGrath <roland@hack.frob.com>
7873
22dbc19d
RM
7874 * scripts/versionlist.awk: New file.
7875 * Makerules [$(build-shared) = yes]
7876 (postclean-generated): Add Versions.def, not Versions.def.v and
7877 Versions.def.v.i.
7878 ($(common-objpfx)Versions.def.v.i): Target removed.
7879 ($(common-objpfx)Versions.def): New target.
7880 ($(common-objpfx)Versions.all): Depend on that rather that
7881 $(common-objpfx)Versions.def.v.
7882 * Versions.def: File removed.
7883
498a2233
RM
7884 * Makeconfig (+gccwarn): Add -Wundef.
7885 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7886 a dl-sysdep.h breaking its contract.
7887 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7888 * include/stackinfo.h: New file.
7889 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7890 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7891 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7892 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7893 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7894 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7895 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7896 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7897 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7898 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7899 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7900 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7901 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7902 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7903 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7904
c7de5025
AZ
79052014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7906
7907 [BZ #16707]
7908 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7909 implementation.
7910 * math/libm-test.inc (round_test_data): Add more tests.
7911
98fb27a3
AZ
7912 [BZ #16706]
7913 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7914 implementation.
7915 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7916
374f7f61
AZ
7917 [BZ #16701]
7918 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7919 implementation.
7920 * math/libm-test.inc (ceil_test_data): Add more tests.
7921
4655c291
AZ
7922 * math/libm-test.inc (trunc_test_data): Add more tests related to
7923 BZ#16414.
7924
d7329d4b
RM
79252014-03-14 Roland McGrath <roland@hack.frob.com>
7926
7927 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7928 with #if rather than #ifdef.
7929 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7930
aa4de9ce
L
79312014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7932
7933 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7934 first. Disable AVX-512 GCC support if assembler doesn't support
7935 it.
7936 * sysdeps/x86_64/configure: Regenerated.
7937
2e03fae7
CD
79382014-03-13 Carlos O'Donell <carlos@redhat.com>
7939
7940 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7941 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7942 (__old_pthread_attr_setstack): Likewise.
7943 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7944 [!_STACK_GROWS_DOWN]: Likewise.
7945
43ca83ec
MF
79462014-03-13 Mike Frysinger <vapier@gentoo.org>
7947
7948 * config.make.in (have-bash2): Delete.
7949 * configure.ac (libc_cv_have_bash2): Delete.
7950 * configure: Regenerate.
7951 * elf/Makefile (common-ldd-rewrite): Rename to ...
7952 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7953 (sh-ldd-rewrite): Delete.
7954 (bash-ldd-rewrite): Delete.
7955 (have-bash2): Delete checks.
57f41c40
AS
7956 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7957 ldd-rewrite.
c66e48b4
MF
7958
7959 * config.make.in (have-ksh): Delete.
7960 (KSH): Delete.
7961 * configure.ac (libc_cv_have_ksh): Delete.
7962 * configure: Regenerate.
7963
b93834ef
MF
7964 * elf/Makefile: Delete $(have-ksh) check.
7965 ($(objpfx)sotruss): Change KSH to BASH.
7966 * elf/sotruss.ksh: Rename to ...
7967 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7968 function style to match POSIX. Drop ksh vim mode setting.
7969
f3a4632a
MF
7970 * manual/time.texi (Specifying the Time Zone with TZ): Change
7971 Tuesday to Thursday.
7972
5896c8bd
MF
7973 * debug/tst-longjmp_chk2.c: Update header comment.
7974 (stackoverflow_handler): Add comment. Call assert on pass value.
7975
2d63a517
IZ
79762014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7977
7978 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7979 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7980 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7981 (La_x86_64_vector): Add zmm.
7982 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7983 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7984 ($(objpfx)tst-audit10): New target.
7985 ($(objpfx)tst-audit10.out): Likewise.
7986 (tst-audit10-ENV): New.
7987 (AVX512-CFLAGS): Likewise.
7988 (CFLAGS-tst-audit10.c): Likewise.
7989 (CFLAGS-tst-auditmod10a.c): Likewise.
7990 (CFLAGS-tst-auditmod10b.c): Likewise.
7991 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7992 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7993 * sysdeps/x86_64/configure: Regenerated.
7994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7995 AVX-512 zmm register support.
7996 (_dl_x86_64_save_sse): Likewise.
7997 (_dl_x86_64_restore_sse): Likewise.
7998 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7999 size vector registers.
8000 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8001 (ZMM_SIZE): Likewise.
8002 * sysdeps/x86_64/tst-audit10.c: New file.
8003 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8004 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8005
44c4e5d5
RM
80062014-03-13 Roland McGrath <roland@hack.frob.com>
8007
8008 * configure.ac (HAVE_EHDR_START): New check.
8009 * configure: Regenerated.
8010 * config.h.in (HAVE_EHDR_START): New #undef.
8011 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8012 assuming the lowest-addressed segment maps the start of the file.
8013
acd6e389
JM
80142014-03-13 Joseph Myers <joseph@codesourcery.com>
8015
8016 * INSTALL: Regenerated.
8017
6f918f36
WN
80182014-03-13 Will Newton <will.newton@linaro.org>
8019
8020 * manual/setjmp.texi (System V contexts): Improve
8021 clarity and grammar of documentation.
8022
798212a0
PP
80232014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8024
8025 [BZ #16381]
798212a0 8026 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8027 (tests-pie): Add tst-pie2.
798212a0
PP
8028 * elf/tst-pie2.c: New file.
8029 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8030 for ET_EXEC.
8031 * elf/rtld.c (map_doit): Load executable as lt_executable.
8032 (dl_main): Likewise.
8033
abe6d90c
JM
80342014-03-12 Joseph Myers <joseph@codesourcery.com>
8035
8036 [BZ #16642]
8037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8038 (__ASSUME_PSELECT): Undefine.
8039
dd3946c6
AZ
80402014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8041
8042 [BZ #16689]
8043 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8044 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8045 static build.
8046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8047 selector for static builds.
8048
c44496df
SP
80492014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8050
8051 [BZ #16695]
8052 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8053 key in the buffer.
8054
27c7220a
AZ
80552014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8056
57f41c40
AS
8057 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8058 IFUNC selector for static builds.
27c7220a 8059
600fa361
JM
80602014-03-11 Joseph Myers <joseph@codesourcery.com>
8061
76c96cf7
JM
8062 * sysdeps/mips/math_private.h [__mips_hard_float]
8063 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8064 libc_feresetround_mips_ctx.
8065 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8066 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8067 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8068
600fa361
JM
8069 [BZ #16677]
8070 * math/s_nextafter.c (__nextafter): Do not return value from
8071 overflowing computation.
8072 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8073 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8074 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8075 Likewise.
8076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8077 Likewise.
8078 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8079 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8080
d7706c32
RM
80812014-03-11 Roland McGrath <roland@hack.frob.com>
8082
8083 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8084 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8085 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8086 the new mov targetting sp.
8087
4facea47
AZ
80882014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8089
8090 [BZ #16683]
8091 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8092 Define it for static builds as well.
8093 (NO_BZERO_IMPL): Likewise.
8094
e65caf1f
VR
80952014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8096
8097 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8098 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8099 multiarch strspn for PPC64.
8100 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8101 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8103 (__libc_ifunc_impl_list): Likewise.
8104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8105 multiarch optimizations
8106 * string/strspn.c (strspn): Using macro to redefine symbol name.
8107
ba9cc071
AZ
81082014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8109 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110
8111 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8112 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8113 multiarch strncat for PPC64.
8114 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8115 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8117 (__libc_ifunc_impl_list): Likewise.
8118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8119 multiarch optimizations
8120
8b4ff974
SP
81212014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8122
8123 [BZ #16639]
8124 * nscd/nscd.service: Make service type forking.
8125
54b46a4b
AZ
81262014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8127
8128 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8129 sign in non default rounding modes.
8130 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8131
e9996ef7
JM
81322014-03-08 Joseph Myers <joseph@codesourcery.com>
8133
8134 * math/libm-test.inc (ALL_RM_TEST): New macro.
8135 (ceil_test): Use ALL_RM_TEST.
8136 (cimag_test): Likewise.
8137 (conj_test): Likewise.
8138 (copysign_test): Likewise.
8139 (cproj_test): Likewise.
8140 (creal_test): Likewise.
8141 (fabs_test): Likewise.
8142 (floor_test): Likewise.
8143 (fmax_test): Likewise.
8144 (fmin_test): Likewise.
8145 (fmod_test): Likewise.
8146 (fpclassify_test): Likewise.
8147 (frexp_test): Likewise.
8148 (ilogb_test): Likewise.
8149 (isfinite_test): Likewise.
8150 (finite_test): Likewise.
8151 (isgreater_test): Likewise.
8152 (isgreaterequal_test): Likewise.
8153 (isinf_test): Likewise.
8154 (isless_test): Likewise.
8155 (islessequal_test): Likewise.
8156 (islessgreater_test): Likewise.
8157 (isnan_test): Likewise.
8158 (isnormal_test): Likewise.
8159 (issignaling_test): Likewise.
8160 (isunordered_test): Likewise.
8161 (logb_test): Likewise.
8162 (logb_downward_test_data): Remove.
8163 (logb_test_downward): Likewise.
8164 (lround_test): Use ALL_RM_TEST.
8165 (llround_test): Likewise.
8166 (modf_test): Likewise.
8167 (nexttoward_test): Likewise.
8168 (remainder_test): Likewise.
8169 (drem_test): Likewise.
8170 (remainder_tonearest_test_data): Likewise.
8171 (remainder_test_tonearest): Likewise.
8172 (drem_test_tonearest): Likewise.
8173 (remainder_towardzero_test_data): Likewise.
8174 (remainder_test_towardzero): Likewise.
8175 (drem_test_towardzero): Likewise.
8176 (remainder_downward_test_data): Likewise.
8177 (remainder_test_downward): Likewise.
8178 (drem_test_downward): Likewise.
8179 (remainder_upward_test_data): Likewise.
8180 (remainder_test_upward): Likewise.
8181 (drem_test_upward): Likewise.
8182 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8183 (round_test): Use ALL_RM_TEST.
8184 (signbit_test): Likewise.
8185 (trunc_test): Likewise.
8186 (significand_test): Likewise.
8187 (main): Don't call removed functions.
8188
bc61d27c
JM
81892014-03-07 Joseph Myers <joseph@codesourcery.com>
8190
5c780849
JM
8191 [BZ #16674]
8192 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8193 || __USE_XOPEN2K8].
8194 (ILL_ILLOPN): Likewise.
8195 (ILL_ILLADR): Likewise.
8196 (ILL_ILLTRP): Likewise.
8197 (ILL_PRVOPC): Likewise.
8198 (ILL_PRVREG): Likewise.
8199 (ILL_COPROC): Likewise.
8200 (ILL_BADSTK): Likewise.
8201 (FPE_INTDIV): Likewise.
8202 (FPE_INTOVF): Likewise.
8203 (FPE_FLTDIV): Likewise.
8204 (FPE_FLTOVF): Likewise.
8205 (FPE_FLTUND): Likewise.
8206 (FPE_FLTRES): Likewise.
8207 (FPE_FLTINV): Likewise.
8208 (FPE_FLTSUB): Likewise.
8209 (SEGV_MAPERR): Likewise.
8210 (SEGV_ACCERR): Likewise.
8211 (BUS_ADRALN): Likewise.
8212 (BUS_ADRERR): Likewise.
8213 (BUS_OBJERR): Likewise.
8214 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8215 (TRAP_TRACE): Likewise.
8216 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8217 __USE_XOPEN2K8].
8218 (CLD_KILLED): Likewise.
8219 (CLD_DUMPED): Likewise.
8220 (CLD_TRAPPED): Likewise.
8221 (CLD_STOPPED): Likewise.
8222 (CLD_CONTINUED): Likewise.
8223 (POLL_IN): Likewise.
8224 (POLL_OUT): Likewise.
8225 (POLL_MSG): Likewise.
8226 (POLL_ERR): Likewise.
8227 (POLL_PRI): Likewise.
8228 (POLL_HUP): Likewise.
8229 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8230 Likewise.
8231 (ILL_ILLOPN): Likewise.
8232 (ILL_ILLADR): Likewise.
8233 (ILL_ILLTRP): Likewise.
8234 (ILL_PRVOPC): Likewise.
8235 (ILL_PRVREG): Likewise.
8236 (ILL_COPROC): Likewise.
8237 (ILL_BADSTK): Likewise.
8238 (FPE_INTDIV): Likewise.
8239 (FPE_INTOVF): Likewise.
8240 (FPE_FLTDIV): Likewise.
8241 (FPE_FLTOVF): Likewise.
8242 (FPE_FLTUND): Likewise.
8243 (FPE_FLTRES): Likewise.
8244 (FPE_FLTINV): Likewise.
8245 (FPE_FLTSUB): Likewise.
8246 (SEGV_MAPERR): Likewise.
8247 (SEGV_ACCERR): Likewise.
8248 (BUS_ADRALN): Likewise.
8249 (BUS_ADRERR): Likewise.
8250 (BUS_OBJERR): Likewise.
8251 (BUS_MCEERR_AR): Likewise.
8252 (BUS_MCEERR_AO): Likewise.
8253 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8254 (TRAP_TRACE): Likewise.
8255 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8256 __USE_XOPEN2K8].
8257 (CLD_KILLED): Likewise.
8258 (CLD_DUMPED): Likewise.
8259 (CLD_TRAPPED): Likewise.
8260 (CLD_STOPPED): Likewise.
8261 (CLD_CONTINUED): Likewise.
8262 (POLL_IN): Likewise.
8263 (POLL_OUT): Likewise.
8264 (POLL_MSG): Likewise.
8265 (POLL_ERR): Likewise.
8266 (POLL_PRI): Likewise.
8267 (POLL_HUP): Likewise.
8268 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8269 (ILL_ILLOPN): Likewise.
8270 (ILL_ILLADR): Likewise.
8271 (ILL_ILLTRP): Likewise.
8272 (ILL_PRVOPC): Likewise.
8273 (ILL_PRVREG): Likewise.
8274 (ILL_COPROC): Likewise.
8275 (ILL_BADSTK): Likewise.
8276 (FPE_INTDIV): Likewise.
8277 (FPE_INTOVF): Likewise.
8278 (FPE_FLTDIV): Likewise.
8279 (FPE_FLTOVF): Likewise.
8280 (FPE_FLTUND): Likewise.
8281 (FPE_FLTRES): Likewise.
8282 (FPE_FLTINV): Likewise.
8283 (FPE_FLTSUB): Likewise.
8284 (SEGV_MAPERR): Likewise.
8285 (SEGV_ACCERR): Likewise.
8286 (BUS_ADRALN): Likewise.
8287 (BUS_ADRERR): Likewise.
8288 (BUS_OBJERR): Likewise.
8289 (BUS_MCEERR_AR): Likewise.
8290 (BUS_MCEERR_AO): Likewise.
8291 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8292 (TRAP_TRACE): Likewise.
8293 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8294 __USE_XOPEN2K8].
8295 (CLD_KILLED): Likewise.
8296 (CLD_DUMPED): Likewise.
8297 (CLD_TRAPPED): Likewise.
8298 (CLD_STOPPED): Likewise.
8299 (CLD_CONTINUED): Likewise.
8300 (POLL_IN): Likewise.
8301 (POLL_OUT): Likewise.
8302 (POLL_MSG): Likewise.
8303 (POLL_ERR): Likewise.
8304 (POLL_PRI): Likewise.
8305 (POLL_HUP): Likewise.
8306 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8307 Likewise.
8308 (ILL_ILLOPN): Likewise.
8309 (ILL_ILLADR): Likewise.
8310 (ILL_ILLTRP): Likewise.
8311 (ILL_PRVOPC): Likewise.
8312 (ILL_PRVREG): Likewise.
8313 (ILL_COPROC): Likewise.
8314 (ILL_BADSTK): Likewise.
8315 (ILL_BADIADDR): Likewise.
8316 (ILL_BREAK): Likewise.
8317 (FPE_INTDIV): Likewise.
8318 (FPE_INTOVF): Likewise.
8319 (FPE_FLTDIV): Likewise.
8320 (FPE_FLTOVF): Likewise.
8321 (FPE_FLTUND): Likewise.
8322 (FPE_FLTRES): Likewise.
8323 (FPE_FLTINV): Likewise.
8324 (FPE_FLTSUB): Likewise.
8325 (FPE_DECOVF): Likewise.
8326 (FPE_DECDIV): Likewise.
8327 (FPE_DECERR): Likewise.
8328 (FPE_INVASC): Likewise.
8329 (FPE_INVDEC): Likewise.
8330 (SEGV_MAPERR): Likewise.
8331 (SEGV_ACCERR): Likewise.
8332 (SEGV_PSTKOVF): Likewise.
8333 (BUS_ADRALN): Likewise.
8334 (BUS_ADRERR): Likewise.
8335 (BUS_OBJERR): Likewise.
8336 (BUS_MCEERR_AR): Likewise.
8337 (BUS_MCEERR_AO): Likewise.
8338 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8339 (TRAP_TRACE): Likewise.
8340 (TRAP_BRANCH): Likewise.
8341 (TRAP_HWBKPT): Likewise.
8342 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8343 __USE_XOPEN2K8].
8344 (CLD_KILLED): Likewise.
8345 (CLD_DUMPED): Likewise.
8346 (CLD_TRAPPED): Likewise.
8347 (CLD_STOPPED): Likewise.
8348 (CLD_CONTINUED): Likewise.
8349 (POLL_IN): Likewise.
8350 (POLL_OUT): Likewise.
8351 (POLL_MSG): Likewise.
8352 (POLL_ERR): Likewise.
8353 (POLL_PRI): Likewise.
8354 (POLL_HUP): Likewise.
8355 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8356 (ILL_ILLOPN): Likewise.
8357 (ILL_ILLADR): Likewise.
8358 (ILL_ILLTRP): Likewise.
8359 (ILL_PRVOPC): Likewise.
8360 (ILL_PRVREG): Likewise.
8361 (ILL_COPROC): Likewise.
8362 (ILL_BADSTK): Likewise.
8363 (FPE_INTDIV): Likewise.
8364 (FPE_INTOVF): Likewise.
8365 (FPE_FLTDIV): Likewise.
8366 (FPE_FLTOVF): Likewise.
8367 (FPE_FLTUND): Likewise.
8368 (FPE_FLTRES): Likewise.
8369 (FPE_FLTINV): Likewise.
8370 (FPE_FLTSUB): Likewise.
8371 (SEGV_MAPERR): Likewise.
8372 (SEGV_ACCERR): Likewise.
8373 (BUS_ADRALN): Likewise.
8374 (BUS_ADRERR): Likewise.
8375 (BUS_OBJERR): Likewise.
8376 (BUS_MCEERR_AR): Likewise.
8377 (BUS_MCEERR_AO): Likewise.
8378 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8379 (TRAP_TRACE): Likewise.
8380 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8381 __USE_XOPEN2K8].
8382 (CLD_KILLED): Likewise.
8383 (CLD_DUMPED): Likewise.
8384 (CLD_TRAPPED): Likewise.
8385 (CLD_STOPPED): Likewise.
8386 (CLD_CONTINUED): Likewise.
8387 (POLL_IN): Likewise.
8388 (POLL_OUT): Likewise.
8389 (POLL_MSG): Likewise.
8390 (POLL_ERR): Likewise.
8391 (POLL_PRI): Likewise.
8392 (POLL_HUP): Likewise.
8393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8394 (ILL_ILLOPN): Likewise.
8395 (ILL_ILLADR): Likewise.
8396 (ILL_ILLTRP): Likewise.
8397 (ILL_PRVOPC): Likewise.
8398 (ILL_PRVREG): Likewise.
8399 (ILL_COPROC): Likewise.
8400 (ILL_BADSTK): Likewise.
8401 (FPE_INTDIV): Likewise.
8402 (FPE_INTOVF): Likewise.
8403 (FPE_FLTDIV): Likewise.
8404 (FPE_FLTOVF): Likewise.
8405 (FPE_FLTUND): Likewise.
8406 (FPE_FLTRES): Likewise.
8407 (FPE_FLTINV): Likewise.
8408 (FPE_FLTSUB): Likewise.
8409 (SEGV_MAPERR): Likewise.
8410 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8419 __USE_XOPEN2K8].
8420 (CLD_KILLED): Likewise.
8421 (CLD_DUMPED): Likewise.
8422 (CLD_TRAPPED): Likewise.
8423 (CLD_STOPPED): Likewise.
8424 (CLD_CONTINUED): Likewise.
8425 (POLL_IN): Likewise.
8426 (POLL_OUT): Likewise.
8427 (POLL_MSG): Likewise.
8428 (POLL_ERR): Likewise.
8429 (POLL_PRI): Likewise.
8430 (POLL_HUP): Likewise.
8431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8432 (ILL_ILLOPN): Likewise.
8433 (ILL_ILLADR): Likewise.
8434 (ILL_ILLTRP): Likewise.
8435 (ILL_PRVOPC): Likewise.
8436 (ILL_PRVREG): Likewise.
8437 (ILL_COPROC): Likewise.
8438 (ILL_BADSTK): Likewise.
8439 (FPE_INTDIV): Likewise.
8440 (FPE_INTOVF): Likewise.
8441 (FPE_FLTDIV): Likewise.
8442 (FPE_FLTOVF): Likewise.
8443 (FPE_FLTUND): Likewise.
8444 (FPE_FLTRES): Likewise.
8445 (FPE_FLTINV): Likewise.
8446 (FPE_FLTSUB): Likewise.
8447 (SEGV_MAPERR): Likewise.
8448 (SEGV_ACCERR): Likewise.
8449 (BUS_ADRALN): Likewise.
8450 (BUS_ADRERR): Likewise.
8451 (BUS_OBJERR): Likewise.
8452 (BUS_MCEERR_AR): Likewise.
8453 (BUS_MCEERR_AO): Likewise.
8454 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8455 (TRAP_TRACE): Likewise.
8456 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8457 __USE_XOPEN2K8].
8458 (CLD_KILLED): Likewise.
8459 (CLD_DUMPED): Likewise.
8460 (CLD_TRAPPED): Likewise.
8461 (CLD_STOPPED): Likewise.
8462 (CLD_CONTINUED): Likewise.
8463 (POLL_IN): Likewise.
8464 (POLL_OUT): Likewise.
8465 (POLL_MSG): Likewise.
8466 (POLL_ERR): Likewise.
8467 (POLL_PRI): Likewise.
8468 (POLL_HUP): Likewise.
8469 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8470 (ILL_ILLOPN): Likewise.
8471 (ILL_ILLADR): Likewise.
8472 (ILL_ILLTRP): Likewise.
8473 (ILL_PRVOPC): Likewise.
8474 (ILL_PRVREG): Likewise.
8475 (ILL_COPROC): Likewise.
8476 (ILL_BADSTK): Likewise.
8477 (ILL_DBLFLT): Likewise.
8478 (ILL_HARDWALL): 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/x86/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 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8548 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8549
bc61d27c
JM
8550 [BZ #16670]
8551 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8552 before #include of <time.h>.
8553 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8554 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8555 (test-xfail-UNIX98/sched.h/conform): Likewise.
8556
302949e2
MS
85572014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8558
8559 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8560 error absence of trapping exception support.
8561 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8562
a00f522a
JM
85632014-03-07 Joseph Myers <joseph@codesourcery.com>
8564
6f99f280
JM
8565 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8566 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8567 * timezone/Makefile (testdata): Move definition above include of
8568 Rules.
8569 (test-zones): New variable.
8570 (tests-special): Add zone files.
8571 (build-testdata): Use $(evaluate-test).
8572
0b20a9e8
JM
8573 * elf/Makefile (tests-special): Rename tests to end with .out.
8574 ($(objpfx)noload-mem): Likewise.
8575 ($(objpfx)tst-leaks1-mem): Likewise.
8576 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8577 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8578 $(objpfx)test-iconvconfig.out.
8579 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8580 set -e inside subshell and redirect output to file.
8581 * iconvdata/Makefile (generated): Rename tests to end with .out.
8582 Correct type.
8583 (tests-special): Rename tests to end with .out.
8584 ($(objpfx)mtrace-tst-loading): Likewise.
8585 * intl/Makefile (generated): Likewise.
8586 (tests-special): Likewise.
8587 ($(objpfx)mtrace-tst-gettext): Likewise.
8588 * misc/Makefile (generated): Likewise.
8589 (tests-special): Likewise.
8590 ($(objpfx)tst-error1-mem): Likewise.
8591 * nptl/Makefile (tests-special): Likewise.
8592 ($(objpfx)tst-stack3-mem): Likewise.
8593 (generated): Likewise.
8594 * posix/Makefile (generated): Likewise.
8595 (tests-special): Likewise.
8596 (xtests-special): Likewise.
8597 ($(objpfx)tst-fnmatch-mem): Likewise.
8598 ($(objpfx)bug-regex2-mem): Likewise.
8599 ($(objpfx)bug-regex14-mem): Likewise.
8600 ($(objpfx)bug-regex21-mem): Likewise.
8601 ($(objpfx)bug-regex31-mem): Likewise.
8602 ($(objpfx)tst-vfork3-mem): Likewise.
8603 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8604 ($(objpfx)tst-pcre-mem): Likewise.
8605 ($(objpfx)tst-boost-mem): Likewise.
8606 ($(objpfx)bug-ga2-mem): Likewise.
8607 ($(objpfx)bug-glob2-mem): Likewise.
8608 * resolv/Makefile (generate): Likewise.
8609 (tests-special): Likewise.
8610 (xtests-special): Likewise.
8611 (generated): Likewise.
8612 ($(objpfx)mtrace-tst-leaks): Likewise.
8613 ($(objpfx)mtrace-tst-leaks2): Likewise.
8614
265d52ab
JM
8615 * scripts/merge-test-results.sh: New file.
8616 * Makefile (tests-special-notdir): New variable.
8617 (tests): Run merge-test-results.sh.
8618 (xtests): Likewise.
8619 * Rules (tests-special-notdir): New variable.
8620 (xtests-special-notdir): Likewise.
8621 (tests): Run merge-test-results.sh
8622 (xtests): Likewise.
8623
54ee292d
JM
8624 * Makeconfig (test-xfail-name): New variable.
8625 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8626 compute variable name for expected failures.
8627 * conform/Makefile (conformtest-headers-data): New variable.
8628 (conformtest-standards): Likewise.
8629 (conformtest-headers-ISO): Likewise.
8630 (conformtest-headers-ISO99): Likewise.
8631 (conformtest-headers-ISO11): Likewise.
8632 (conformtest-headers-POSIX): Likewise.
8633 (conformtest-headers-XPG3): Likewise.
8634 (conformtest-headers-XPG4): Likewise.
8635 (conformtest-headers-UNIX98): Likewise.
8636 (conformtest-headers-XOPEN2K): Likewise.
8637 (conformtest-headers-POSIX2008): Likewise.
8638 (conformtest-headers-XOPEN2K8): Likewise.
8639 (conformtest-header-list-base): Likewise.
8640 (conformtest-header-list-tests): Likewise.
8641 (conformtest-header-base): Likewise.
8642 (conformtest-header-tests): Likewise.
8643 (tests-special): Add $(conformtest-header-list-tests). If
8644 [$(fast-check) && !$(cross-compiling)], add
8645 $(conformtest-header-tests) instead of
8646 $(objpfx)run-conformtest.out.
8647 (generated): Add $(conformtest-header-list-base). If
8648 [$(fast-check) && !$(cross-compiling)], add
8649 $(conformtest-header-base). Remove previous setting.
8650 ($(conformtest-header-list-tests)): New target.
8651 (test-xfail-run-conformtest): Remove variable.
8652 ($(objpfx)run-conformtest.out): Remove target.
8653 (test-xfail-ISO11/complex.h/conform): New variable.
8654 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8655 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8656 (test-xfail-XPG3/varargs.h/conform): Likewise.
8657 (test-xfail-XPG4/varargs.h/conform): Likewise.
8658 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8659 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8660 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8661 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8662 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8663 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8664 (test-xfail-XPG3/ftw.h/conform): Likewise.
8665 (test-xfail-XPG3/grp.h/conform): Likewise.
8666 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8667 (test-xfail-XPG3/limits.h/conform): Likewise.
8668 (test-xfail-XPG3/pwd.h/conform): Likewise.
8669 (test-xfail-XPG3/search.h/conform): Likewise.
8670 (test-xfail-XPG3/signal.h/conform): Likewise.
8671 (test-xfail-XPG3/stdio.h/conform): Likewise.
8672 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8673 (test-xfail-XPG3/string.h/conform): Likewise.
8674 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8675 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8676 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8677 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8678 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8679 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8680 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8681 (test-xfail-XPG3/termios.h/conform): Likewise.
8682 (test-xfail-XPG3/time.h/conform): Likewise.
8683 (test-xfail-XPG3/unistd.h/conform): Likewise.
8684 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8685 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8686 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8687 (test-xfail-XPG4/netdb.h/conform): Likewise.
8688 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8689 (test-xfail-XPG4/signal.h/conform): Likewise.
8690 (test-xfail-XPG4/stdio.h/conform): Likewise.
8691 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8692 (test-xfail-XPG4/stropts.h/conform): Likewise.
8693 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8694 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8695 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8696 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8697 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8698 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8699 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8700 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8701 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8702 (test-xfail-XPG4/termios.h/conform): Likewise.
8703 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8704 (test-xfail-XPG4/unistd.h/conform): Likewise.
8705 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8706 (test-xfail-POSIX/sched.h/conform): Likewise.
8707 (test-xfail-POSIX/signal.h/conform): Likewise.
8708 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8709 (test-xfail-POSIX/tar.h/conform): Likewise.
8710 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8711 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8712 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8713 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8714 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8715 (test-xfail-UNIX98/sched.h/conform): Likewise.
8716 (test-xfail-UNIX98/signal.h/conform): Likewise.
8717 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8718 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8719 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8720 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8721 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8722 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8723 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8724 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8725 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8726 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8727 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8728 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8729 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8730 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8731 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8732 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8733 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8734 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8735 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8736 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8737 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8738 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8739 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8740 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8741 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8742 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8743 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8744 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8745 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8746 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8747 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8748 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8749 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8750 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8751 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8752 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8753 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8754 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8755 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8756 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8757 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8758 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8759 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8760 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8761 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8762 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8763 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8764 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8765 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8766 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8767 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8768 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8769 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8770 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8771 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8772 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8773 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8774 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8775 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8776 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8777 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8778 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8779 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8780 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8781 (conformtest-cc-flags): Likewise.
8782 ($(conformtest-header-tests): New target.
8783 * conform/check-header-lists.sh: New file.
8784 * conform/run-conformtest.sh: Remove.
8785
a00f522a
JM
8786 * conform/conformtest.pl: Allow ' and \ in values given for
8787 constants.
8788 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8789 inclusion.
8790 [POSIX] (sys/types.h): Likewise.
8791 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8792 inclusion.
8793 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8794 inclusion.
8795 * conform/data/signal.h-data (SIGIO): Remove expectation.
8796 [XPG3] (SIGBUS): Do not expect.
8797 [POSIX || XPG3] (SIGPOLL): Likewise.
8798 [POSIX || XPG3] (SIGPROF): Likewise.
8799 [POSIX || XPG3] (SIGSYS): Likewise.
8800 [XPG3] (SIGTRAP): Likewise.
8801 [POSIX || XPG3] (SIGURG): Likewise.
8802 [POSIX || XPG3] (SIGVTALRM): Likewise.
8803 [POSIX || XPG3] (SIGXCPU): Likewise.
8804 [POSIX || XPG3] (SIGXFSZ): Likewise.
8805 [POSIX] (SA_SIGINFO): Expect.
8806 [XPG3] (siginfo_t): Do not expect type or contents.
8807 [POSIX] (si_pid): Do not expect element.
8808 [POSIX] (si_uid): Likewise.
8809 [POSIX] (si_addr): Likewise.
8810 [POSIX] (si_status): Likewise.
8811 [POSIX] (si_band): Likewise.
8812 [XPG4] (si_value): Likewise.
8813 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8814 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8815 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8816 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8817 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8818 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8819 [POSIX || XPG3] (ILL_COPROC): Likewise.
8820 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8821 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8822 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8823 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8824 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8825 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8826 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8827 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8828 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8829 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8830 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8831 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8832 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8833 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8834 [POSIX || XPG3] (CLD_EXITED): Likewise.
8835 [POSIX || XPG3] (CLD_KILLED): Likewise.
8836 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8837 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8838 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8839 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8840 [POSIX || XPG3] (POLL_IN): Likewise.
8841 [POSIX || XPG3] (POLL_OUT): Likewise.
8842 [POSIX || XPG3] (POLL_MSG): Likewise.
8843 [POSIX || XPG3] (POLL_ERR): Likewise.
8844 [POSIX || XPG3] (POLL_PRI): Likewise.
8845 [POSIX || XPG3] (POLL_HUP): Likewise.
8846 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8847 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8848 (SIG*): Do not allow.
8849 [XPG3] (si_*): Likewise.
8850 [XPG3] (SI_*): Likewise.
8851 [XPG3 || XPG4] (sigev_*): Likewise.
8852 [XPG3 || XPG4] (SIGEV_*): Likewise.
8853 [XPG3 || XPG4] (sival_*): Likewise.
8854 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8855 [POSIX || XPG3] (BUS_*): Likewise.
8856 [POSIX || XPG3] (CLD_*): Likewise.
8857 [POSIX || XPG3] (FPE_*): Likewise.
8858 [POSIX || XPG3] (ILL_*): Likewise.
8859 [POSIX || XPG3] (POLL_*): Likewise.
8860 [POSIX || XPG3] (SEGV_*): Likewise.
8861 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8862 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8863 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8864 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8865 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8866 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8867 Specify type and value.
8868 (TVERSLEN): Likewise.
8869 (REGTYPE): Likewise.
8870 (AREGTYPE): Likewise.
8871 (LNKTYPE): Likewise.
8872 (SYMTYPE): Likewise.
8873 (CHRTYPE): Likewise.
8874 (BLKTYPE): Likewise.
8875 (DIRTYPE): Likewise.
8876 (FIFOTYPE): Likewise.
8877 (CONTTYPE): Likewise.
8878 (TSUID): Likewise.
8879 (TSGID): Likewise.
8880 (TSVTX): Likewise.
8881 (TUREAD): Likewise.
8882 (TUWRITE): Likewise.
8883 (TUEXEC): Likewise.
8884 (TGREAD): Likewise.
8885 (TGWRITE): Likewise.
8886 (TGEXEC): Likewise.
8887 (TOREAD): Likewise.
8888 (TOWRITE): Likewise.
8889 (TOEXEC): Likewise.
8890 [POSIX] (TSVTX): Expect constant.
8891
aa97dee1
JM
88922014-03-06 Joseph Myers <joseph@codesourcery.com>
8893
f214606a
JM
8894 * Makefile (tests): Change dependencies to ....
8895 (tests-special): ... additions to this variable.
8896 (tests): Depend on $(tests-special).
8897 * Makerules (check-abi-list): New variable.
8898 (check-abi): Depend on $(check-abi-list).
8899 [$(subdir) = elf] (tests-special): Add
8900 $(objpfx)check-abi-libc.out.
8901 [$(build-shared) = yes && subdir] (tests-special): Add
8902 $(check-abi-list).
8903 [$(build-shared) = yes && subdir] (tests): Do not depend on
8904 check-abi.
8905 * Rules (tests): Depend on $(tests-special).
8906 (xtests): Depend on $(xtests-special).
8907 * catgets/Makefile (tests): Change dependencies to ....
8908 (tests-special): ... additions to this variable.
8909 * conform/Makefile (tests): Change dependencies to ....
8910 (tests-special): ... additions to this variable.
8911 * elf/Makefile (tests): Change dependencies to ....
8912 (tests-special): ... additions to this variable.
8913 * grp/Makefile (tests): Change dependencies to ....
8914 (tests-special): ... additions to this variable.
8915 * iconv/Makefile (xtests): Change dependencies to ....
8916 (xtests-special): ... additions to this variable.
8917 * iconvdata/Makefile (tests): Change dependencies to ....
8918 (tests-special): ... additions to this variable.
8919 * intl/Makefile (tests): Change dependencies to ....
8920 (tests-special): ... additions to this variable. Also add
8921 $(objpfx)tst-gettext.out.
8922 * io/Makefile (tests): Change dependencies to ....
8923 (tests-special): ... additions to this variable.
8924 * libio/Makefile (tests): Change dependencies to ....
8925 (tests-special): ... additions to this variable.
8926 * malloc/Makefile (tests): Change dependencies to ....
8927 (tests-special): ... additions to this variable.
8928 * misc/Makefile (tests): Change dependencies to ....
8929 (tests-special): ... additions to this variable.
8930 * nptl/Makefile (tests): Change dependencies to ....
8931 (tests-special): ... additions to this variable.
8932 * nptl_db/Makefile (tests): Change dependencies to ....
8933 (tests-special): ... additions to this variable.
8934 * posix/Makefile (tests): Change dependencies to ....
8935 (tests-special): ... additions to this variable.
8936 (xtests): Change dependencies to ....
8937 (xtests-special): ... additions to this variable.
8938 * resolv/Makefile (tests): Change dependencies to ....
8939 (tests-special): ... additions to this variable.
8940 (xtests): Change dependencies to ....
8941 (xtests-special): ... additions to this variable.
8942 * stdio-common/Makefile (tests): Change dependencies to ....
8943 (tests-special): ... additions to this variable.
8944 (do-tst-unbputc): Remove target.
8945 (do-tst-printf): Likewise.
8946 * stdlib/Makefile (tests): Change dependencies to ....
8947 (tests-special): ... additions to this variable.
8948 * string/Makefile (tests): Change dependencies to ....
8949 (tests-special): ... additions to this variable.
8950 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8951 (tests-special): ... additions to this variable.
8952
81700b53
JM
8953 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8954 whole file.
8955 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8956 whole file.
8957 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8958 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8959
2ea18461
JM
8960 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8961 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8962 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8963 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8964 * conform/data/libgen.h-data [XPG3]: Likewise.
8965 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8966 * conform/data/ndbm.h-data [XPG3]: Likewise.
8967 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8968 * conform/data/netdb.h-data [XPG3]: Likewise.
8969 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8970 * conform/data/poll.h-data [XPG3]: Likewise.
8971 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8972 * conform/data/strings.h-data [XPG3]: Likewise.
8973 * conform/data/stropts.h-data [XPG3]: Likewise.
8974 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8975 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8976 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8977 Likewise.
8978 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8979 * conform/data/sys/time.h-data [XPG3]: Likewise.
8980 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8981 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8982 * conform/data/sys/un.h-data [XPG3]: Likewise.
8983 * conform/data/syslog.h-data [XPG3]: Likewise.
8984 * conform/data/ucontext.h-data [XPG3]: Likewise.
8985 * conform/data/utmpx.h-data [XPG3]: Likewise.
8986 * conform/data/varargs.h-data [UNIX98]: Enable file.
8987
355bc986
JM
8988 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8989
215db402
JM
8990 * math/libm-test.inc (struct test_f_f_data): Move expected results
8991 into structure for each rounding mode.
8992 (struct test_ff_f_data): Likewise.
8993 (struct test_ff_f_data_nexttoward): Likewise.
8994 (struct test_fi_f_data): Likewise.
8995 (struct test_fl_f_data): Likewise.
8996 (struct test_if_f_data): Likewise.
8997 (struct test_fff_f_data): Likewise.
8998 (struct test_c_f_data): Likewise.
8999 (struct test_f_f1_data): Likewise.
9000 (struct test_fF_f1_data): Likewise.
9001 (struct test_ffI_f1_data): Likewise.
9002 (struct test_c_c_data): Likewise.
9003 (struct test_cc_c_data): Likewise.
9004 (struct test_f_i_data): Likewise.
9005 (struct test_ff_i_data): Likewise.
9006 (struct test_f_l_data): Likewise.
9007 (struct test_f_L_data): Likewise.
9008 (struct test_fFF_11_data): Likewise.
9009 (RM_): New macro.
9010 (RM_FE_DOWNWARD): Likewise.
9011 (RM_FE_TONEAREST): Likewise.
9012 (RM_FE_TOWARDZERO): Likewise.
9013 (RM_FE_UPWARD): Likewise.
9014 (RUN_TEST_LOOP_f_f): Update references to expected results.
9015 (RUN_TEST_LOOP_2_f): Likewise.
9016 (RUN_TEST_LOOP_fff_f): Likewise.
9017 (RUN_TEST_LOOP_c_f): Likewise.
9018 (RUN_TEST_LOOP_f_f1): Likewise.
9019 (RUN_TEST_LOOP_fF_f1): Likewise.
9020 (RUN_TEST_LOOP_fI_f1): Likewise.
9021 (RUN_TEST_LOOP_ffI_f1): Likewise.
9022 (RUN_TEST_LOOP_c_c): Likewise.
9023 (RUN_TEST_LOOP_cc_c): Likewise.
9024 (RUN_TEST_LOOP_f_i): Likewise.
9025 (RUN_TEST_LOOP_f_i_tg): Likewise.
9026 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9027 (RUN_TEST_LOOP_f_b): Likewise.
9028 (RUN_TEST_LOOP_f_b_tg): Likewise.
9029 (RUN_TEST_LOOP_f_l): Likewise.
9030 (RUN_TEST_LOOP_f_L): Likewise.
9031 (RUN_TEST_LOOP_fFF_11): Likewise.
9032 * math/gen-libm-test.pl (parse_args): Output four copies of
9033 expected results for each test.
9034
67737b8f
JM
9035 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9036 (__ASSUME_UTIMES): Remove.
9037 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9038 (__ASSUME_UTIMES): Likewise.
9039
aa97dee1
JM
9040 * math/gen-auto-libm-tests.c: Update comment on output format.
9041 (output_for_one_input_case): Generate before-rounding and
9042 after-rounding information as conditions on output flags not
9043 floating-point format.
9044 * math/auto-libm-test-out: Regenerated.
9045 * math/gen-libm-test.pl (cond_value): New function.
9046 (or_cond_value): Use cond_value.
9047 (generate_testfile): Handle conditional exceptions.
9048
e6b6a857
JM
90492014-03-05 Joseph Myers <joseph@codesourcery.com>
9050
2f0a0f44
JM
9051 * math/libm-test.inc (max_valid_error): New variable.
9052 (init_max_error): Take new argument specifying whether function
9053 results are exactly determined. Set max_valid_error and bound
9054 other variables for errors based on this argument.
9055 (set_max_error): Do not record results above max_valid_error.
9056 (check_float_internal): Only accept errors of up to 0.5ulps if
9057 also at most max_valid_error.
9058 (START): Take new argument EXACT and pass it to init_max_error.
9059 (acos_test): Update call to START.
9060 (acos_test_tonearest): Likewise.
9061 (acos_test_towardzero): Likewise.
9062 (acos_test_downward): Likewise.
9063 (acos_test_upward): Likewise.
9064 (acosh_test): Likewise.
9065 (asin_test): Likewise.
9066 (asin_test_tonearest): Likewise.
9067 (asin_test_towardzero): Likewise.
9068 (asin_test_downward): Likewise.
9069 (asin_test_upward): Likewise.
9070 (asinh_test): Likewise.
9071 (atan_test): Likewise.
9072 (atanh_test): Likewise.
9073 (atan2_test): Likewise.
9074 (cabs_test): Likewise.
9075 (cacos_test): Likewise.
9076 (cacosh_test): Likewise.
9077 (carg_test): Likewise.
9078 (casin_test): Likewise.
9079 (casinh_test): Likewise.
9080 (catan_test): Likewise.
9081 (catanh_test): Likewise.
9082 (cbrt_test): Likewise.
9083 (ccos_test): Likewise.
9084 (ccosh_test): Likewise.
9085 (ceil_test): Likewise.
9086 (cexp_test): Likewise.
9087 (cimag_test): Likewise.
9088 (clog_test): Likewise.
9089 (clog10_test): Likewise.
9090 (conj_test): Likewise.
9091 (copysign_test): Likewise.
9092 (cos_test): Likewise.
9093 (cos_test_tonearest): Likewise.
9094 (cos_test_towardzero): Likewise.
9095 (cos_test_downward): Likewise.
9096 (cos_test_upward): Likewise.
9097 (cosh_test): Likewise.
9098 (cosh_test_tonearest): Likewise.
9099 (cosh_test_towardzero): Likewise.
9100 (cosh_test_downward): Likewise.
9101 (cosh_test_upward): Likewise.
9102 (cpow_test): Likewise.
9103 (cproj_test): Likewise.
9104 (creal_test): Likewise.
9105 (csin_test): Likewise.
9106 (csinh_test): Likewise.
9107 (csqrt_test): Likewise.
9108 (ctan_test): Likewise.
9109 (ctan_test_tonearest): Likewise.
9110 (ctan_test_towardzero): Likewise.
9111 (ctan_test_downward): Likewise.
9112 (ctan_test_upward): Likewise.
9113 (ctanh_test): Likewise.
9114 (ctanh_test_tonearest): Likewise.
9115 (ctanh_test_towardzero): Likewise.
9116 (ctanh_test_downward): Likewise.
9117 (ctanh_test_upward): Likewise.
9118 (erf_test): Likewise.
9119 (erfc_test): Likewise.
9120 (exp_test): Likewise.
9121 (exp_test_tonearest): Likewise.
9122 (exp_test_towardzero): Likewise.
9123 (exp_test_downward): Likewise.
9124 (exp_test_upward): Likewise.
9125 (exp10_test): Likewise.
9126 (exp10_test_tonearest): Likewise.
9127 (exp10_test_towardzero): Likewise.
9128 (exp10_test_downward): Likewise.
9129 (exp10_test_upward): Likewise.
9130 (pow10_test): Likewise.
9131 (exp2_test): Likewise.
9132 (expm1_test): Likewise.
9133 (expm1_test_tonearest): Likewise.
9134 (expm1_test_towardzero): Likewise.
9135 (expm1_test_downward): Likewise.
9136 (expm1_test_upward): Likewise.
9137 (fabs_test): Likewise.
9138 (fdim_test): Likewise.
9139 (floor_test): Likewise.
9140 (fma_test): Likewise.
9141 (fma_test_towardzero): Likewise.
9142 (fma_test_downward): Likewise.
9143 (fma_test_upward): Likewise.
9144 (fmax_test): Likewise.
9145 (fmin_test): Likewise.
9146 (fmod_test): Likewise.
9147 (fpclassify_test): Likewise.
9148 (frexp_test): Likewise.
9149 (hypot_test): Likewise.
9150 (ilogb_test): Likewise.
9151 (isfinite_test): Likewise.
9152 (finite_test): Likewise.
9153 (isgreater_test): Likewise.
9154 (isgreaterequal_test): Likewise.
9155 (isinf_test): Likewise.
9156 (isless_test): Likewise.
9157 (islessequal_test): Likewise.
9158 (islessgreater_test): Likewise.
9159 (isnan_test): Likewise.
9160 (isnormal_test): Likewise.
9161 (issignaling_test): Likewise.
9162 (isunordered_test): Likewise.
9163 (j0_test): Likewise.
9164 (j1_test): Likewise.
9165 (jn_test): Likewise.
9166 (ldexp_test): Likewise.
9167 (lgamma_test): Likewise.
9168 (gamma_test): Likewise.
9169 (lrint_test): Likewise.
9170 (lrint_test_tonearest): Likewise.
9171 (lrint_test_towardzero): Likewise.
9172 (lrint_test_downward): Likewise.
9173 (lrint_test_upward): Likewise.
9174 (llrint_test): Likewise.
9175 (llrint_test_tonearest): Likewise.
9176 (llrint_test_towardzero): Likewise.
9177 (llrint_test_downward): Likewise.
9178 (llrint_test_upward): Likewise.
9179 (log_test): Likewise.
9180 (log10_test): Likewise.
9181 (log1p_test): Likewise.
9182 (log2_test): Likewise.
9183 (logb_test): Likewise.
9184 (logb_test_downward): Likewise.
9185 (lround_test): Likewise.
9186 (llround_test): Likewise.
9187 (modf_test): Likewise.
9188 (nearbyint_test): Likewise.
9189 (nextafter_test): Likewise.
9190 (nexttoward_test): Likewise.
9191 (pow_test): Likewise.
9192 (pow_test_tonearest): Likewise.
9193 (pow_test_towardzero): Likewise.
9194 (pow_test_downward): Likewise.
9195 (pow_test_upward): Likewise.
9196 (remainder_test): Likewise.
9197 (drem_test): Likewise.
9198 (remainder_test_tonearest): Likewise.
9199 (drem_test_tonearest): Likewise.
9200 (remainder_test_towardzero): Likewise.
9201 (drem_test_towardzero): Likewise.
9202 (remainder_test_downward): Likewise.
9203 (drem_test_downward): Likewise.
9204 (remainder_test_upward): Likewise.
9205 (drem_test_upward): Likewise.
9206 (remquo_test): Likewise.
9207 (rint_test): Likewise.
9208 (rint_test_tonearest): Likewise.
9209 (rint_test_towardzero): Likewise.
9210 (rint_test_downward): Likewise.
9211 (rint_test_upward): Likewise.
9212 (round_test): Likewise.
9213 (scalb_test): Likewise.
9214 (scalbn_test): Likewise.
9215 (scalbln_test): Likewise.
9216 (signbit_test): Likewise.
9217 (sin_test): Likewise.
9218 (sin_test_tonearest): Likewise.
9219 (sin_test_towardzero): Likewise.
9220 (sin_test_downward): Likewise.
9221 (sin_test_upward): Likewise.
9222 (sincos_test): Likewise.
9223 (sinh_test): Likewise.
9224 (sinh_test_tonearest): Likewise.
9225 (sinh_test_towardzero): Likewise.
9226 (sinh_test_downward): Likewise.
9227 (sinh_test_upward): Likewise.
9228 (sqrt_test): Likewise.
9229 (sqrt_test_tonearest): Likewise.
9230 (sqrt_test_towardzero): Likewise.
9231 (sqrt_test_downward): Likewise.
9232 (sqrt_test_upward): Likewise.
9233 (tan_test): Likewise.
9234 (tan_test_tonearest): Likewise.
9235 (tan_test_towardzero): Likewise.
9236 (tan_test_downward): Likewise.
9237 (tan_test_upward): Likewise.
9238 (tanh_test): Likewise.
9239 (tgamma_test): Likewise.
9240 (trunc_test): Likewise.
9241 (y0_test): Likewise.
9242 (y1_test): Likewise.
9243 (yn_test): Likewise.
9244 (significand_test): Likewise.
9245
e6b6a857
JM
9246 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9247 individual tests in comment.
9248 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9249 (prev_max_error): New variable.
9250 (prev_real_max_error): Likewise.
9251 (prev_imag_max_error): Likewise.
9252 (compare_ulp_data): Don't refer to test names in comment.
9253 (find_test_ulps): Remove function.
9254 (find_function_ulps): Likewise.
9255 (find_complex_function_ulps): Likewise.
9256 (init_max_error): Take function name as argument. Look up ulps
9257 for that function.
9258 (print_ulps): Remove function.
9259 (print_max_error): Use prev_max_error instead of calling
9260 find_function_ulps.
9261 (print_complex_max_error): Use prev_real_max_error and
9262 prev_imag_max_error instead of calling find_complex_function_ulps.
9263 (check_float_internal): Take max_ulp parameter instead of calling
9264 find_test_ulps. Don't call print_ulps.
9265 (check_float): Update call to check_float_internal.
9266 (check_complex): Update calls to check_float_internal.
9267 (START): Pass argument to init_max_error.
9268 * math/gen-libm-test.pl (%results): Don't include "kind"
9269 information.
9270 (parse_ulps): Don't handle ulps of individual tests.
9271 (print_ulps_file): Likewise.
9272 (output_ulps): Likewise.
9273 * math/README.libm-test: Update.
9274 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9275 individual tests.
9276 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9277 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9278 * sysdeps/arm/libm-test-ulps: Likewise.
9279 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9280 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9281 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9282 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9283 * sysdeps/microblaze/libm-test-ulps: Likewise.
9284 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9285 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9287 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9289 * sysdeps/sh/libm-test-ulps: Likewise.
9290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9291 * sysdeps/tile/libm-test-ulps: Likewise.
9292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9293
45adef3c
JM
92942014-03-04 Joseph Myers <joseph@codesourcery.com>
9295
9296 * math/libm-test.inc (print_complex_max_error): Check separately
9297 whether real and imaginary errors are within allowed range and
9298 pass 0 to print_complex_function_ulps instead of value within
9299 allowed range.
9300
000232b9
SP
93012014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9302
d4b17258
SP
9303 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9304 formatting.
9305 (get_handles_fopen): Likewise.
9306 (do_write_test): Likewise.
9307
091eff71
SP
9308 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9309
fa3cd248
SP
9310 * libio/fileops.c (do_ftell): Use cached offset when
9311 available.
9312 * libio/iofwide.c (do_ftell_wide): Likewise.
9313 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9314 _IO_file_attach.
9315 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9316
000232b9
SP
9317 [BZ #16532]
9318 * libio/libioP.h (get_file_offset): New function.
9319 * libio/fileops.c (get_file_offset): Likewise.
9320 (do_ftell): Likewise.
9321 (_IO_new_file_seekoff): Split out ftell logic.
9322 * libio/wfileops.c (do_ftell_wide): Likewise.
9323 (_IO_wfile_seekoff): Split out ftell logic.
9324 * libio/tst-ftell-active-handler.c: New test case.
9325 * libio/Makefile (tests): Add it.
9326
116f4d1a
RM
93272014-03-03 Roland McGrath <roland@hack.frob.com>
9328
9329 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9330 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9331
532a6035
SP
93322014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9333
9334 [BZ #16639]
9335 * nscd/connections.c (nscd_init): Call do_exit.
9336 (start_threads): Call do_exit and notify_parent.
9337 (begin_drop_privileges): Call do_exit.
9338 (finish_drop_privileges): Likewise.
9339 * nscd/selinux.c (preserve_capabilities): Likewise.
9340 (install_real_capabilities): Likewise.
9341 (nscd_selinux_enabled): Likewise.
9342 (avc_create_thread): Likewise.
9343 (avc_alloc_lock): Likewise.
9344 (nscd_avc_init): Likewise.
9345 * nscd/nscd.c (parent_fd): New static variable.
9346 (main): Create a pipe between parent and child processes.
9347 Skip closing parent_fd.
9348 (monitor_child): New function.
9349 (do_exit): Likewise.
9350 (notify_parent): Likewise.
9351 * nscd/nscd.h (notify_parent): Likewise.
9352 (do_exit): Likewise.
9353
d6285c9f
CD
93542014-03-03 Carlos O'Donell <carlos@redhat.com>
9355
9356 * malloc/malloc.c (__libc_calloc): Revert last change.
9357
2b85d2a0
AZ
93582014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9359
9360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9361
c7debbdf
RS
93622014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9363
9364 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9366 implementation.
9367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9368 (__libc_ifunc_impl_list): Likewise.
9369 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9370 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9371 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9372 * string/strrchr.c: Define STRRCHR.
9373
235eed86
OB
93742014-02-28 Ondřej Bílka <neleai@seznam.cz>
9375
9376 * benchtest/bench-strtok.c (simple_strtok): Delete.
9377 (strtok_string): Use as benchmark.
9378 * string/strtok (STRTOK): New macro.
9379
8e25d1e7
CD
93802014-02-28 Carlos O'Donell <carlos@redhat.com>
9381
ef563f92
CD
9382 * manual/threads.texi: Add header and standard comments to all
9383 functions.
9384
8e25d1e7
CD
9385 * elf/dl-lookup.c (check_match): New function.
9386 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9387 (do_lookup_x): Remove nested function check_match. Use non-nested
9388 function check_match.
9389
ff71cc37
RM
93902014-02-28 Roland McGrath <roland@hack.frob.com>
9391
f08e9a26
RM
9392 * csu/Makefile (generated, before-compile): Use += rather than =.
9393 * catgets/Makefile (generated, generated-dirs): Likewise.
9394 * debug/Makefile (generated): Likewise.
9395 * dlfcn/Makefile (generated): Likewise.
9396 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9397 * iconvdata/Makefile (before-compile, generated): Likewise.
9398 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9399 * libio/Makefile (generated): Likewise.
9400 * malloc/Makefile (generated): Likewise.
9401 * manual/Makefile (generated, generated-dirs): Likewise.
9402 * misc/Makefile (generated): Likewise.
9403 * posix/Makefile (generated): Likewise.
9404 * resolv/Makefile (generated): Likewise.
9405 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9406 * timezone/Makefile (generated, generated-dirs): Likewise.
9407
ff71cc37
RM
9408 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9409
fe13a20c
AZ
94102014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9411
57f41c40
AS
9412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9413 power8 implementation.
9414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9415 file: POWER8 llround ifunc implementation.
9416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9417 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9418 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9419 POWER8 llround implementation.
9420
57f41c40
AS
9421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9422 power8 implementation.
9423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9424 file: POWER8 llrint ifunc implementation.
9425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9426 Add POWER8 implementation.
1ad8950a
AZ
9427 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9428 POWER8 llrint implementation.
9429
57f41c40
AS
9430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9431 power8 implementation.
9432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9433 file: POWER8 finite ifunc implementation.
9434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9435 Add POWER8 implementation.
cac626d6
AZ
9436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9437 Likewise.
9438 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9439 POWER8 finite implementation.
9440 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9441
57f41c40
AS
9442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9443 power8 implementation.
9444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9445 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9447 POWER8 implementation.
9448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9449 Likewise.
57f41c40
AS
9450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9451 isinf implementation.
4393fc11
AZ
9452 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9453
57f41c40
AS
9454 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9455 (INIT_ARCH): Add hwcap2 initialization.
9456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9457 power8 implementation.
9458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9459 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9461 POWER8 implementation.
9462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9463 Likewise.
57f41c40
AS
9464 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9465 isnan implementation.
487972ae
AZ
9466 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9467
7d92b787
JY
94682014-02-27 Joey Ye <joey.ye@arm.com>
9469
9470 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9471 (_FP_NANFRAC_Q): Set to zero.
9472
1cadc858
SP
94732014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9474
9475 [BZ #16623]
9476 * math/auto-libm-test-in: New test inputs.
9477 * math/auto-libm-test-out: Regenerate.
9478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9479 and DA.
9480 (__cos): Likewise.
9481 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9482
f8c17e79
JM
94832014-02-27 Joseph Myers <joseph@codesourcery.com>
9484
9485 * scripts/evaluate-test.sh: Take new argument indicating whether
9486 failure is expected.
9487 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9488 indicating whether failure is expected.
9489 * conform/Makefile (test-xfail-run-conformtest): New variable.
9490 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9491 level.
9492 * posix/Makefile (test-xfail-annexc): New variable.
9493 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9494
a5f891ac
JM
94952014-02-26 Joseph Myers <joseph@codesourcery.com>
9496
9497 * argp/Makefile: Include Makeconfig immediately after defining
9498 subdir.
9499 * assert/Makefile: Likewise.
9500 * benchtests/Makefile: Likewise.
9501 * catgets/Makefile: Likewise.
9502 * conform/Makefile: Likewise.
9503 * crypt/Makefile: Likewise.
9504 * csu/Makefile: Likewise.
9505 (all): Remove target.
9506 * ctype/Makefile: Include Makeconfig immediately after defining
9507 subdir.
9508 * debug/Makefile: Likewise.
9509 * dirent/Makefile: Likewise.
9510 * dlfcn/Makefile: Likewise.
9511 * gmon/Makefile: Likewise.
9512 * gnulib/Makefile: Likewise.
9513 * grp/Makefile: Likewise.
9514 * gshadow/Makefile: Likewise.
9515 * hesiod/Makefile: Likewise.
9516 * hurd/Makefile: Likewise.
9517 (all): Remove target.
9518 * iconvdata/Makefile: Include Makeconfig immediately after
9519 defining subdir.
9520 * inet/Makefile: Likewise.
9521 * intl/Makefile: Likewise.
9522 * io/Makefile: Likewise.
9523 * libio/Makefile: Likewise.
9524 (all): Remove target.
9525 * locale/Makefile: Include Makeconfig immediately after defining
9526 subdir.
9527 * login/Makefile: Likewise.
9528 * mach/Makefile: Likewise.
9529 (all): Remove target.
9530 * malloc/Makefile: Include Makeconfig immediately after defining
9531 subdir.
9532 (all): Remove target.
9533 * manual/Makefile: Include Makeconfig immediately after defining
9534 subdir.
9535 * math/Makefile: Likewise.
9536 * misc/Makefile: Likewise.
9537 * nis/Makefile: Likewise.
9538 * nss/Makefile: Likewise.
9539 * po/Makefile: Likewise.
9540 (all): Remove target.
9541 * posix/Makefile: Include Makeconfig immediately after defining
9542 subdir.
9543 * pwd/Makefile: Likewise.
9544 * resolv/Makefile: Likewise.
9545 * resource/Makefile: Likewise.
9546 * rt/Makefile: Likewise.
9547 * setjmp/Makefile: Likewise.
9548 * shadow/Makefile: Likewise.
9549 * signal/Makefile: Likewise.
9550 * socket/Makefile: Likewise.
9551 * soft-fp/Makefile: Likewise.
9552 * stdio-common/Makefile: Likewise.
9553 * stdlib/Makefile: Likewise.
9554 * streams/Makefile: Likewise.
9555 * string/Makefile: Likewise.
9556 * sunrpc/Makefile: Likewise.
9557 (all): Remove target.
9558 * sysvipc/Makefile: Include Makeconfig immediately after defining
9559 subdir.
9560 * termios/Makefile: Likewise.
9561 * time/Makefile: Likewise.
9562 * timezone/Makefile: Likewise.
9563 (all): Remove target.
9564 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9565 subdir.
9566 * wctype/Makefile: Likewise.
9567
5b456e9d
SE
95682014-02-26 Steve Ellcey <sellcey@mips.com>
9569
9570 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9571 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9572 (libc_feholdexcept_setround_mips): Ditto.
9573 (libc_feholdsetround): New.
9574 (libc_feholdsetroundf): New.
9575 (libc_feholdsetroundl): New.
9576 (libc_feupdateenv_test_mips): New.
9577 (libc_feupdateenv_test): New.
9578 (libc_feupdateenv_testf): New.
9579 (libc_feupdateenv_testl): New.
9580 (libc_feresetround): New.
9581 (libc_feresetroundf): New.
9582 (libc_feresetroundl): New.
9583 (libc_fetestexcept_mips): New.
9584 (libc_fetestexcept): New.
9585 (libc_fetestexceptf): New.
9586 (libc_fetestexceptl): New.
9587 (HAVE_RM_CTX): New.
9588 (libc_feholdexcept_setround_mips_ctx): New.
9589 (libc_feholdexcept_setround_ctx): New.
9590 (libc_feholdexcept_setroundf_ctx): New.
9591 (libc_feholdexcept_setroundl_ctx): New.
9592 (libc_fesetenv_mips_ctx): New.
9593 (libc_fesetenv_ctx): New.
9594 (libc_fesetenv_ctxf): New.
9595 (libc_fesetenv_ctxl): New.
9596 (libc_feupdateenv_mips_ctx): New.
9597 (libc_feupdateenv_ctx): New.
9598 (libc_feupdateenvf_ctx): New.
9599 (libc_feupdateenvl_ctx): New.
9600 (libc_feholdsetround_mips_ctx): New.
9601 (libc_feholdsetround_ctx): New.
9602 (libc_feholdsetroundf_ctx): New.
9603 (libc_feholdsetroundl_ctx): New.
9604 (libc_feresetround_mips_ctx): New.
9605 (libc_feresetround_ctx): New.
9606 (libc_feresetroundf_ctx): New.
9607 (libc_feresetroundl_ctx): New.
9608
085d0e35
CD
96092014-02-26 Carlos O'Donell <carlos@redhat.com>
9610
f067bf1f
CD
9611 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9612
085d0e35
CD
9613 * manual/ipc.texi: New file.
9614 * manual/Makefile (chapters): Add ipc.
9615 * manual/job.texi: Add "Inter-Process Communication" to next.
9616 * manual/process.texi: Add "Inter-Process Communication" to prev.
9617
86e58c08
AZ
96182014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9619
9620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9621
4248f0da
OB
96222014-02-26 Ondřej Bílka <neleai@seznam.cz>
9623
9624 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9625
cf822e3c
OB
9626 * manual/arith.texi: Fix spaces after sentences.
9627 * manual/charset.texi: Likewise.
9628 * manual/errno.texi: Likewise.
9629 * manual/install.texi: Likewise.
9630 * manual/llio.texi: Likewise.
9631 * manual/locale.texi: Likewise.
9632 * manual/maint.texi: Likewise.
9633 * manual/math.texi: Likewise.
9634 * manual/memory.texi: Likewise.
9635 * manual/message.texi: Likewise.
9636 * manual/probes.texi: Likewise.
9637 * manual/resource.texi: Likewise.
9638 * manual/signal.texi: Likewise.
9639 * manual/socket.texi: Likewise.
9640 * manual/stdio.texi: Likewise.
9641 * manual/string.texi: Likewise.
9642 * manual/time.texi: Likewise.
9643 * manual/users.texi: Likewise.
9644
ade40b10
CD
96452014-02-25 Carlos O'Donell <carlos@redhat.com>
9646
9647 [BZ #16632]
9648 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9649 _DEFAULT_SOURCE is defined.
9650
d0503676
CD
96512014-02-25 Ulrich Drepper <drepper@gmail.com>
9652 Carlos O'Donell <carlos@redhat.com>
9653
9654 [BZ #16613]
9655 * elf/dl-tls.c (_dl_count_modids): New function.
9656 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9657 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9658 audit library and increment generation counter.
9659 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9660 * elf/tst-audit9.c: New file.
9661 * elf/tst-auditmod9a.c: New file.
9662 * elf/tst-auditmod9b.c: New file.
9663 * elf/Makefile: Add rules to build and run tst-audit9.
9664
4cbf380c
FW
96652014-02-25 Florian Weimer <fweimer@redhat.com>
9666
9667 [BZ #15347]
9668 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9669
80a56cc3
WN
96702014-02-25 Will Newton <will.newton@linaro.org>
9671
9672 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9673 (__longjmp): Restore sp and lr before restoring callee
9674 saved registers. Add longjmp and longjmp_target
9675 SystemTap probe point.
9676 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9677 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9678 Define to zero to match jmpbuf layout.
9679 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9680 (__sigsetjmp): Save sp and lr before saving callee
9681 saved registers. Add setjmp SystemTap probe point.
9682
3ea0f74e
SL
96832014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9684
9685 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9686
b04acb26
AS
96872014-02-24 Andreas Schwab <schwab@suse.de>
9688
9689 [BZ #15804]
9690 * elf/pldd.c (wait_for_ptrace_stop): New function.
9691 (main): Call it after attaching.
9692
098ad55c
RM
96932014-02-22 Roland McGrath <roland@hack.frob.com>
9694
d4ec6ae1
RM
9695 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9696 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9697 Versions files is now verboten.
9698 * hurd/Versions (libc: GLIBC_2.0):
9699 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9700 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9701 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9702 * mach/Versions: Likewise.
9703
098ad55c
RM
9704 * csu/Versions: Remove unused %include.
9705 * resolv/Versions: Likewise.
9706
acd7f096
JM
97072014-02-21 Joseph Myers <joseph@codesourcery.com>
9708
f0881698
JM
9709 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9710 ($(objpfx)check-local-headers.out): Likewise.
9711 ($(objpfx)begin-end-check.out): Likewise.
9712 * Makerules (check-abi-%.out): Likewise.
9713 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9714 ($(objpfx)test2.cat): Likewise.
9715 ($(objpfx)de/libc.cat): Likewise.
9716 ($(objpfx)test-gencat.out): Likewise.
9717 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9718 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9719 ($(objpfx)noload-mem): Likewise.
9720 ($(objpfx)tst-pathopt.out): Likewise.
9721 ($(objpfx)tst-rtld-load-self.out): Likewise.
9722 ($(objpfx)tst-array1-cmp.out): Likewise.
9723 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9724 ($(objpfx)tst-array2-cmp.out): Likewise.
9725 ($(objpfx)tst-array3-cmp.out): Likewise.
9726 ($(objpfx)tst-array4-cmp.out): Likewise.
9727 ($(objpfx)tst-array5-cmp.out): Likewise.
9728 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9729 ($(objpfx)check-textrel.out): Likewise.
9730 ($(objpfx)check-execstack.out): Likewise.
9731 ($(objpfx)check-localplt.out): Likewise.
9732 ($(objpfx)order2-cmp.out): Likewise.
9733 ($(objpfx)tst-leaks1-mem): Likewise.
9734 ($(objpfx)tst-leaks1-static-mem): Likewise.
9735 ($(objpfx)tst-initorder-cmp.out): Likewise.
9736 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9737 ($(objpfx)tst-unused-dep.out): Likewise.
9738 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9739 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9740 * iconv/Makefile (test-iconvconfig): Likewise.
9741 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9742 ($(objpfx)iconv-test.out): Likewise.
9743 ($(objpfx)tst-tables.out): Likewise.
9744 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9745 ($(objpfx)tst-gettext.out): Likewise.
9746 ($(objpfx)tst-translit.out): Likewise.
9747 ($(objpfx)tst-gettext2.out): Likewise.
9748 ($(objpfx)tst-gettext4.out): Likewise.
9749 ($(objpfx)tst-gettext6.out): Likewise.
9750 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9751 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9752 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9753 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9754 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9755 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9756 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9757 ($(objpfx)wordexp-tst.out): Likewise.
9758 ($(objpfx)annexc.out): Likewise.
9759 ($(objpfx)tst-fnmatch-mem): Likewise.
9760 ($(objpfx)bug-regex2-mem): Likewise.
9761 ($(objpfx)bug-regex14-mem): Likewise.
9762 ($(objpfx)bug-regex21-mem): Likewise.
9763 ($(objpfx)bug-regex31-mem): Likewise.
9764 ($(objpfx)tst-vfork3-mem): Likewise.
9765 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9766 ($(objpfx)tst-pcre-mem): Likewise.
9767 ($(objpfx)tst-boost-mem): Likewise.
9768 ($(objpfx)tst-getconf.out): Likewise.
9769 ($(objpfx)bug-ga2-mem): Likewise.
9770 ($(objpfx)bug-glob2-mem): Likewise.
9771 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9772 ($(objpfx)mtrace-tst-leaks2): Likewise.
9773 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9774 ($(objpfx)tst-printf.out): Likewise.
9775 ($(objpfx)tst-setvbuf1.out): Likewise.
9776 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9777 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9778 ($(objpfx)tst-fmtmsg.out): Likewise.
9779 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9780 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9781
acd7f096
JM
9782 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9783 * bits/sigaction.h [__USE_MISC]: Likewise.
9784 * bits/waitstatus.h: Update #endif comments.
9785 * ctype/ctype.h: Likewise.
9786 * dirent/dirent.h: Likewise.
9787 [__USE_MISC]: Remove redundant conditionals.
9788 * grp/grp.h: Update #endif comments.
9789 [__USE_GNU]: Remove redundant conditionals.
9790 [__USE_MISC]: Likewise.
9791 * inet/netinet/in.h [__USE_GNU]: Likewise.
9792 * io/sys/stat.h [__USE_MISC]: Likewise.
9793 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9794 * libio/bits/stdio.h: Update #endif comments.
9795 [__USE_MISC]: Remove redundant conditionals.
9796 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9797 * libio/stdio.h: Update #endif comments.
9798 [__USE_MISC]: Remove redundant conditionals.
9799 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9800 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9801 * math/math.h: Update #else and #endif comments.
9802 [__USE_MISC]: Remove redundant conditionals.
9803 * misc/sys/uio.h: Update #endif comments.
9804 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9805 * posix/glob.h [__USE_MISC]: Likewise.
9806 * posix/sys/types.h: Update #endif comments.
9807 [__USE_MISC]: Remove redundant conditionals.
9808 * posix/sys/wait.h: Update #endif comments.
9809 [__USE_MISC]: Remove redundant conditionals.
9810 * posix/unistd.h: Update #endif comments.
9811 [__USE_MISC]: Remove redundant conditionals.
9812 * pwd/pwd.h [__USE_GNU]: Likewise.
9813 [__USE_MISC]: Likewise.
9814 * resolv/netdb.h [__USE_GNU]: Likewise.
9815 * signal/signal.h: Update #endif comments.
9816 [__USE_MISC]: Remove redundant conditionals.
9817 * stdlib/stdlib.h: Update #else and #endif comments.
9818 [__USE_MISC]: Remove redundant conditionals.
9819 [__USE_GNU]: Likewise.
9820 * string/bits/string2.h [__USE_MISC]: Likewise.
9821 * string/string.h: Update #endif comments.
9822 [__USE_MISC]: Remove redundant conditionals.
9823 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9824 Likewise.
9825 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9826 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9827 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9828 Likewise.
9829 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9830 Likewise.
9831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9832 comments.
9833 [__USE_MISC]: Remove redundant conditionals.
9834 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9835 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9836 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9837 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9838 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9839 Likewise.
9840 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9841 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9842 Likewise.
9843 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9844 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9845 Likewise.
9846 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9847 Likewise.
9848 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9849 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9850 Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9852 Likewise.
9853 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9854 * sysdeps/x86/bits/string.h: Update #endif comments.
9855 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9856 conditionals.
9857 * time/sys/time.h: Update #endif comments.
9858 * time/time.h: Likewise.
9859 [__USE_MISC]: Remove redundant conditionals.
9860
a5d82e4e
YG
98612014-02-21 Yury Gribov <y.gribov@samsung.com>
9862
9863 [BZ #16600]
9864 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9865
9a80491d
AS
98662014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9867
9868 * Versions.def (librt): Add GLIBC_2.17.
9869
105fa381
AC
98702014-02-21 Adam Conrad <adconrad@0c3.net>
9871
9872 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9873 synonym for _SYS_AUXV_H to allow direct inclusion.
9874 * sysdeps/sparc/bits/hwcap.h: Likewise.
9875 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9876 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9877 * sysdeps/sparc/sysdep.h: Likewise.
9878
b8cd1c4e
SP
98792014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9880
9881 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9882
bd939d23
RS
98832014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9884
9885 * benchtests/bench-strrchr.c: Print length instead of position.
9886
5d7b57ca
JM
98872014-02-20 Joseph Myers <joseph@codesourcery.com>
9888
bc688c10
JM
9889 [BZ #16611]
9890 * sysdeps/unix/sysv/linux/kernel-features.h
9891 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9892 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9893 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9894 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9895 Likewise.
9896 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9897 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9898 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9899 (__ASSUME_SENDMMSG): Define instead of using previous
9900 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9901 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9902 (__ASSUME_SENDMMSG_SYSCALL): Define.
9903 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9904 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9905 Likewise.
9906 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9907 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9908 Likewise.
9909 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9910 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9911 Likewise.
9912 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9913 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9914 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9915 [__ASSUME_SENDMMSG]: Change conditionals to
9916 [__ASSUME_SENDMMSG_SOCKETCALL].
9917 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9918 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9919 Define.
9920 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9921 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9922 Likewise.
9923 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9924 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9925 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9926 [!__ASSUME_SENDMMSG]: Change conditional to
9927 [!__ASSUME_SENDMMSG_SOCKETCALL].
9928 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9929 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9930 Define.
9931
0e31b18c
JM
9932 [BZ #16610]
9933 * sysdeps/unix/sysv/linux/kernel-features.h
9934 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9935 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9936 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9937 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9938 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9939 [__i386__ || __sparc__]
9940 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9941 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9942 (__ASSUME_RECVMMSG): Define instead of using previous
9943 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9944 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9945 (__ASSUME_RECVMMSG_SYSCALL): Define.
9946 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9947 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9948 Likewise.
9949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9951 Likewise.
9952 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9953 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9954 Likewise.
9955 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9956 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9957 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9958 [__ASSUME_RECVMMSG]: Change condition to
9959 [__ASSUME_RECVMMSG_SOCKETCALL].
9960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9961 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9962 Define.
9963 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9964 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9965 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9966 Likewise.
9967 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9968 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9969 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9970 [!__ASSUME_RECVMMSG]: Change condition to
9971 [!__ASSUME_RECVMMSG_SOCKETCALL].
9972 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9973 (__ASSUME_RECVMMSG_SYSCALL): Define.
9974
dd481ccf
JM
9975 [BZ #16609]
9976 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9977 __powerpc__ || __s390__ || __sh__ || __sparc__]
9978 (__ASSUME_SOCKETCALL): Define.
9979 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9980 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9981 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9982 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9983 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9984 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9985 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9986 (__ASSUME_ACCEPT4): Define instead of using previous
9987 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9988 __powerpc__ || __sparc__ || __s390__)] condition.
9989 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9990 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9991 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9992 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9993 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9994 [!__ASSUME_ACCEPT4]: Change condition to
9995 [!__ASSUME_ACCEPT4_SOCKETCALL].
9996 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9997 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9998 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9999 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10000 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10001 __ASSUME_ACCEPT4_SYSCALL.
10002 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10003 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10004 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10005 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10006 __ASSUME_ACCEPT4_SYSCALL.
10007 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10008 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10009 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10010 [__ASSUME_ACCEPT4]: Change condition to
10011 [__ASSUME_ACCEPT4_SOCKETCALL].
10012 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10013 (__ASSUME_SOCKETCALL): Define.
10014 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10016 (__ASSUME_SOCKETCALL): Define.
10017 (__ASSUME_ACCEPT4): Remove.
10018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10019 Define.
10020 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10021 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10022 Likewise.
10023 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10024 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10025
5d7b57ca
JM
10026 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10027 macro.
10028 (HWCAP_ARM_LPAE): Likewise.
10029 (HWCAP_ARM_EVTSTRM): Likewise.
10030 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10031 Add vpfd32, lpae and evtstrm.
10032 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10033 Increase to 22.
10034
63689d61
JM
100352014-02-19 Joseph Myers <joseph@codesourcery.com>
10036
10037 * math/auto-libm-test-in: Add tests of clog10.
10038 * math/auto-libm-test-out: Regenerated.
10039 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10040 * sysdeps/i386/fpu/libm-test-ulps: Update.
10041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10042
ab09bf61
AS
100432014-02-18 Andreas Schwab <schwab@suse.de>
10044
10045 [BZ #16574]
10046 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10047 Store non-zero if the second buffer was newly allocated.
10048 (send_dg): Likewise.
10049 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10050 to send_vc and send_dg.
10051 (res_nsend): Pass NULL for ansp2_malloced.
10052 * resolv/res_query.c (__libc_res_nquery): Add parameter
10053 answerp2_malloced and pass it down to __libc_res_nsend.
10054 (res_nquery): Pass additional NULL to __libc_res_nquery.
10055 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10056 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10057 second answer buffer if answerp2_malloced was set.
10058 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10059 (__libc_res_nquerydomain): Add parameter
10060 answerp2_malloced and pass it down to __libc_res_nquery.
10061 (res_nquerydomain): Pass additional NULL to
10062 __libc_res_nquerydomain.
10063 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10064 additional NULL to __libc_res_nsend and __libc_res_nquery.
10065 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10066 additional NULL to __libc_res_nsearch.
10067 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10068 parameter of __libc_res_nsearch to check for separately allocated
10069 second buffer.
10070 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10071 __libc_res_nquery.
10072 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10073 additional NULL to __libc_res_nquery.
10074 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10075 __libc_res_nsearch.
10076 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10077 * include/resolv.h: Update prototypes of __libc_res_nquery,
10078 __libc_res_nsearch, __libc_res_nsend.
10079
a4fb7861
JM
100802014-02-18 Joseph Myers <joseph@codesourcery.com>
10081
c6af2d89
JM
10082 * math/auto-libm-test-in: Add tests of fma.
10083 * math/auto-libm-test-out: Regenerated.
10084 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10085 (fma_towardzero_test_data): Likewise.
10086 (fma_downward_test_data): Likewise.
10087 (fma_upward_test_data): Likewise.
10088 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10089 mpc_mode.
10090 (rounding_modes): Add values for new field.
10091 (func_calc_method): Add value mpfr_fff_f.
10092 (func_calc_desc): Add mpfr_fff_f union field.
10093 (test_function): Add field exact_args.
10094 (FUNC): Add macro argument EXACT_ARGS.
10095 (FUNC_mpfr_f_f): Update call to FUNC.
10096 (FUNC_mpfr_f_f): Likewise.
10097 (FUNC_mpfr_ff_f): Likewise.
10098 (FUNC_mpfr_if_f): Likewise.
10099 (FUNC_mpc_c_f): Likewise.
10100 (FUNC_mpc_c_c): Likewise.
10101 (test_functions): Add fma. Update calls to FUNC.
10102 (handle_input_arg): Add argument exact_args.
10103 (add_test): Update call to handle_input_arg.
10104 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10105 (output_for_one_input_case): Update call to calc_generic_results.
10106 Recalculate exact zero results in each rounding mode.
10107
a4fb7861
JM
10108 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10109 non-negative before setting low bit.
10110 * math/auto-libm-test-in: Mark one asin test possibly having
10111 spurious underflow.
10112 * math/auto-libm-test-out: Regenerated.
10113 * sysdeps/i386/fpu/libm-test-ulps: Update.
10114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10115
ef114eaf
DH
101162014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10117
2b7f4f2c
SP
10118 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10119 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10120 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10121 * README: Add missing listing for microblaze*-*-linux-gnu.
10122
8125aedc
AM
101232014-02-16 Ondřej Bílka <neleai@seznam.cz>
10124
10125 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10126 duplicate code
10127
c70a4b1d
MF
101282014-02-16 Mike Frysinger <vapier@gentoo.org>
10129
10130 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10131 * sysdeps/unix/sysv/linux/ia64: Move directory from
10132 ports/sysdeps/unix/sysv/linux/ia64.
10133 * README: Update listing for ia64-*-linux-gnu.
10134
591aeaf7
TD
101352014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10136 Joseph Myers <joseph@codesourcery.com>
10137
10138 * Makeconfig (test-name): New variable.
10139 (evaluate-test): Likewise.
10140 * Makerules (do-test-clean): Remove .test-result files.
10141 (common-mostlyclean): Likewise.
10142 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10143 * scripts/evaluate-test.sh: New file.
10144
6e89caf1
JM
101452014-02-14 Joseph Myers <joseph@codesourcery.com>
10146
7f98f180
JM
10147 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10148 separate $(objpfx)tst-fopenloc-cmp.out and
10149 $(objpfx)tst-fopenloc-mem.out targets.
10150 (tests): Update dependencies.
10151 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10152 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10153 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10154 (tst-rxspencer-no-utf8-ARGS): New variable.
10155 (tst-rxspencer-no-utf8-ENV): Likewise.
10156 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10157 instead of $(objpfx)tst-rxspencer-mem.
10158 ($(objpfx)tst-rxspencer-mem): Change target to
10159 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10160 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10161 * posix/tst-rxspencer-no-utf8.c: New file.
10162
6e89caf1
JM
10163 * elf/Makefile ($(objpfx)order.out): Remove rule.
10164 [$(run-built-tests) = yes] (tests): Depend on
10165 $(objpfx)order-cmp.out.
10166 ($(objpfx)order-cmp.out): New rule.
10167 [$(run-built-tests) = yes] (tests): Depend on
10168 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10169 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10170 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10171 $(objpfx)tst-array5-static-cmp.out.
10172 ($(objpfx)tst-array1.out): Remove rule.
10173 ($(objpfx)tst-array1-cmp.out): New rule.
10174 ($(objpfx)tst-array1-static.out): Remove rule.
10175 ($(objpfx)tst-array1-static-cmp.out): New rule.
10176 ($(objpfx)tst-array2.out): Remove rule.
10177 ($(objpfx)tst-array2-cmp.out): New rule.
10178 ($(objpfx)tst-array3.out): Remove rule.
10179 ($(objpfx)tst-array3-cmp.out): New rule.
10180 ($(objpfx)tst-array4.out): Remove rule.
10181 ($(objpfx)tst-array4-cmp.out): New rule.
10182 ($(objpfx)tst-array5.out): Remove rule.
10183 ($(objpfx)tst-array5-cmp.out): New rule.
10184 ($(objpfx)tst-array5-static.out): Remove rule.
10185 ($(objpfx)tst-array5-static-cmp.out): New rule.
10186 [$(run-built-tests) = yes] (tests): Depend on
10187 $(objpfx)order2-cmp.out.
10188 ($(objpfx)order2.out): Remove rule.
10189 ($(objpfx)order2-cmp.out): New rule.
10190 ($(objpfx)tst-initorder.out): Remove rule.
10191 [$(run-built-tests) = yes] (tests): Depend on
10192 $(objpfx)tst-initorder-cmp.out.
10193 ($(objpfx)tst-initorder-cmp.out): New rule.
10194 ($(objpfx)tst-initorder2.out): Remove rule.
10195 [$(run-built-tests) = yes] (tests): Depend on
10196 $(objpfx)tst-initorder2-cmp.out.
10197 ($(objpfx)tst-initorder2-cmp.out): New rule.
10198 [$(run-built-tests) = yes] (tests): Depend on
10199 $(objpfx)tst-unused-dep-cmp.out.
10200 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10201 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10202 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10203 on $(objpfx)tst-setvbuf1-cmp.out.
10204 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10205 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10206 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10207 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10208 ($(objpfx)tst-svc.out): Remove rule.
10209 ($(objpfx)tst-svc-cmp.out): New rule.
10210
ed9a38e2
JM
102112014-02-13 Joseph Myers <joseph@codesourcery.com>
10212
10213 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10214 * ctype/ctype.h [__USE_MISC]: Likewise.
10215 * dirent/dirent.h [__USE_MISC]: Likewise.
10216 * grp/grp.h [__USE_MISC]: Likewise.
10217 * io/fcntl.h [__USE_MISC]: Likewise.
10218 * io/sys/stat.h [__USE_MISC]: Likewise.
10219 * libio/stdio.h [__USE_MISC]: Likewise.
10220 * posix/unistd.h [__USE_MISC]: Likewise.
10221 * pwd/pwd.h [__USE_MISC]: Likewise.
10222 * stdlib.h [__USE_MISC]: Likewise.
10223 * string/bits/string2.h [__USE_MISC]: Likewise.
10224 * string/string.h [__USE_MISC]: Likewise.
10225 * time/time.h [__USE_MISC]: Likewise.
10226
d6680619
AS
102272014-02-13 Andreas Schwab <schwab@suse.de>
10228
10229 [BZ #16574]
10230 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10231 second answer buffer if it was separately allocated.
10232
ace614b8
JM
102332014-02-12 Joseph Myers <joseph@codesourcery.com>
10234
743151ae
JM
10235 * sysdeps/mips/math-tests.h: Include <features.h>.
10236 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10237 (ROUNDING_TESTS_long_double): Do not define.
10238 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10239 (EXCEPTION_TESTS_long_double): Likewise.
10240 * sysdeps/mips/mips64/libm-test-ulps: Update.
10241
498afc54
JM
10242 * include/features.h (__USE_BSD): Remove macro definitions.
10243 (__USE_SVID): Likewise.
10244 (_BSD_SOURCE): Likewise.
10245 (_SVID_SOURCE): Likewise.
10246 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10247 from definition of _DEFAULT_SOURCE.
10248 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10249 [_DEFAULT_SOURCE].
10250 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10251 * bits/mman.h [__USE_BSD]: Likewise.
10252 * bits/termios.h [__USE_BSD]: Likewise.
10253 * bits/waitstatus.h [__USE_BSD]: Likewise.
10254 * ctype/ctype.h [__USE_SVID]: Likewise.
10255 * dirent/dirent.h [__USE_BSD]: Likewise.
10256 * grp/grp.h [__USE_SVID]: Likewise.
10257 [__USE_BSD]: Likewise.
10258 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10259 * io/fcntl.h [__USE_BSD]: Likewise.
10260 * io/ftw.h [__USE_BSD]: Likewise.
10261 * io/sys/stat.h [__USE_BSD]: Likewise.
10262 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10263 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10264 * libio/stdio.h [__USE_SVID]: Likewise.
10265 [__USE_BSD]: Likewise.
10266 * math/math.h [__USE_SVID]: Likewise.
10267 [__USE_BSD]: Likewise.
10268 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10269 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10270 * misc/search.h [__USE_SVID]: Likewise.
10271 * misc/sys/mman.h [__USE_BSD]: Likewise.
10272 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10273 * misc/sys/uio.h [__USE_BSD]: Likewise.
10274 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10275 * posix/glob.h [__USE_BSD]: Likewise.
10276 * posix/regex.h [__USE_BSD]: Likewise.
10277 * posix/sys/types.h [__USE_BSD]: Likewise.
10278 [__USE_SVID]: Likewise.
10279 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10280 * posix/sys/wait.h [__USE_BSD]: Likewise.
10281 [__USE_SVID]: Likewise.
10282 * posix/unistd.h [__USE_BSD]: Likewise.
10283 [__USE_SVID]: Likewise.
10284 * pwd/pwd.h [__USE_SVID]: Likewise.
10285 * resolv/netdb.h [__USE_BSD]: Likewise.
10286 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10287 * signal/signal.h [__USE_BSD]: Likewise.
10288 [__USE_SVID]: Likewise.
10289 * socket/sys/socket.h [__USE_BSD]: Likewise.
10290 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10291 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10292 [__USE_SVID]: Likewise.
10293 * string/bits/string2.h [__USE_BSD]: Likewise.
10294 [__USE_SVID]: Likewise.
10295 * string/bits/string3.h [__USE_BSD]: Likewise.
10296 * string/endian.h [__USE_BSD]: Likewise.
10297 * string/string.h [__USE_SVID]: Likewise.
10298 [__USE_BSD]: Likewise.
10299 * string/strings.h [__USE_BSD]: Likewise.
10300 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10301 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10302 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10303 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10304 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10305 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10306 Likewise.
10307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10308 Likewise.
10309 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10310 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10311 Likewise.
10312 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10313 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10314 Likewise.
10315 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10316 Likewise.
10317 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10318 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10320 Likewise.
10321 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10322 Likewise.
10323 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10324 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10325 * termios/termios.h [__USE_BSD]: Likewise.
10326 * time/sys/time.h [__USE_BSD]: Likewise.
10327 * time/time.h [__USE_BSD]: Likewise.
10328 [__USE_SVID]: Likewise.
10329
dd7b064c
JM
10330 * Makefile (subdir_targets): Remove subdir_lint.out.
10331
a2c4c199
JM
10332 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10333 (do-tst-printf): Likewise.
10334 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10335 $(objpfx)tst-printf.out.
10336
8756f740
JM
10337 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10338
1b6dd3f1
JM
10339 * Makerules (check-abi-%): Change target to
10340 $(objpfx)check-abi-%.out.
10341 (check-abi target): Update dependencies.
10342 (check-abi-pattern variable): Redirect output of diff to $@.
10343 (check-abi variable): Likewise.
10344 * elf/Makefile (check-abi): Update dependencies.
10345
ace614b8
JM
10346 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10347 unused.
10348 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10349 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10350 subnormal range.
10351 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10352 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10353 value has largest subnormal exponent.
10354 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10355 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10356 * sysdeps/aarch64/soft-fp/sfp-machine.h
10357 (_FP_TININESS_AFTER_ROUNDING): New macro.
10358 * sysdeps/alpha/soft-fp/sfp-machine.h
10359 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10360 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10361 Likewise.
10362 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10363 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10364 * sysdeps/mips/soft-fp/sfp-machine.h
10365 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10366 * sysdeps/powerpc/soft-fp/sfp-machine.h
10367 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10368 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10369 Likewise.
10370 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10371 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10372 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10373 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10374 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10375 Likewise.
10376
fbfdf9cb
DAS
103772014-02-12 Dylan Alex Simon <dylan@dylex.net>
10378
10379 [BZ #16545]
10380 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10381 model 1.
10382
68b7efaa
RH
103832014-02-12 Richard Henderson <rth@redhat.com>
10384
c70a4b1d 10385 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10386 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10387 * sysdeps/unix/sysv/linux/alpha: Move directory from
10388 ports/sysdeps/unix/sysv/linux/alpha.
10389 * README: Update listing for alpha-*-linux-gnu.
10390
cb4a2928
JM
103912014-02-11 Joseph Myers <joseph@codesourcery.com>
10392
c941736c
JM
10393 * include/features.h: Update comment documenting feature test
10394 macros.
10395 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10396 _DEFAULT_SOURCE.
10397 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10398 (_SVID_SOURCE): Likewise.
10399 (_DEFAULT_SOURCE): Update description of default features.
10400 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10401 with _GNU_SOURCE.
10402 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10403 (S_ISVTX): Likewise.
10404 * manual/math.texi (Mathematical Constants): Likewise.
10405 * manual/signal.texi (Interrupted Primitives): Likewise.
10406 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10407 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10408 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10409 Don't refer to _SVID_SOURCE in warning text.
10410
e8d8d7ec
JM
10411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10412
cb4a2928
JM
10413 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10414 already defined.
10415 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10416 * sysdeps/mips/dl-lookup.c: Remove.
10417 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10418
7e6424e3
AK
104192014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10420
10421 [BZ #16447]
10422 * math/auto-libm-test-in: Add testcase for expl.
10423 * math/auto-libm-test-out: Regenerate.
10424 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10425 calculation of unsafe.
10426 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10427
75eff3fe
MS
104282014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10429
10430 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10431 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10432 ports/sysdeps/unix/sysv/linux/aarch64.
10433 * README: Update listing for aarch64*-*-linux-gnu.
10434
d35f1e80
WN
104352014-02-11 Will Newton <will.newton@linaro.org>
10436
10437 * manual/probes.texi (Mathematical Function Probes): Use
10438 "triggered" instead of "hit".
10439
7b3436d4
WN
10440 * manual/probes.texi (Internal Probes): Add documentation
10441 of setjmp, longjmp and longjmp_target probes.
10442
b4f12ca3
WN
10443 * include/stap-probe.h: Add comment about probe argument
10444 format.
10445
c13a72b7
WN
10446 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10447 definition. (tr_where, tr_freehook, tr_mallochook,
10448 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10449
195b8165
DM
104502014-02-11 David S. Miller <davem@davemloft.net>
10451
10452 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10453 processing int_tests.
10454
2ad7600b
JM
104552014-02-10 Joseph Myers <joseph@codesourcery.com>
10456
10457 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10458 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10459 * sysdeps/unix/sysv/linux/mips: Move directory from
10460 ports/sysdeps/unix/sysv/linux/mips.
10461 * README: Update listing for mips-*-linux-gnu and
10462 mips64-*-linux-gnu.
10463
73588a72
AS
104642014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10465
10466 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10467 * sysdeps/unix/sysv/linux/m68k: Move directory from
10468 ports/sysdeps/unix/sysv/linux/m68k.
10469 * README: Update listing for m68k-*-linux-gnu.
10470
4372980f
CM
104712014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10472
10473 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10474 * sysdeps/unix/sysv/linux/generic: Move directory from
10475 ports/sysdeps/unix/sysv/linux/generic.
10476 * sysdeps/unix/sysv/linux/tile: Move directory from
10477 ports/sysdeps/unix/sysv/linux/tile.
10478 * README: Update listing for tile*-*-linux-gnu.
10479
a1ffb40e
OB
104802014-02-10 Ondřej Bílka <neleai@seznam.cz>
10481
57f41c40
AS
10482 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10483 __builtin_expect.
a1ffb40e
OB
10484 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10485 * catgets/open_catalog.c (__open_catalog): Likewise.
10486 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10487 * debug/confstr_chk.c: Likewise.
10488 * debug/fread_chk.c (__fread_chk): Likewise.
10489 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10490 * debug/getgroups_chk.c: Likewise.
10491 * debug/mbsnrtowcs_chk.c: Likewise.
10492 * debug/mbsrtowcs_chk.c: Likewise.
10493 * debug/mbstowcs_chk.c: Likewise.
10494 * debug/memcpy_chk.c: Likewise.
10495 * debug/memmove_chk.c: Likewise.
10496 * debug/mempcpy_chk.c: Likewise.
10497 * debug/memset_chk.c: Likewise.
10498 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10499 * debug/strcat_chk.c (__strcat_chk): Likewise.
10500 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10501 * debug/strncat_chk.c (__strncat_chk): Likewise.
10502 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10503 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10504 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10505 * debug/wcpncpy_chk.c: Likewise.
10506 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10507 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10508 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10509 * debug/wcsncpy_chk.c: Likewise.
10510 * debug/wcsnrtombs_chk.c: Likewise.
10511 * debug/wcsrtombs_chk.c: Likewise.
10512 * debug/wcstombs_chk.c: Likewise.
10513 * debug/wmemcpy_chk.c: Likewise.
10514 * debug/wmemmove_chk.c: Likewise.
10515 * debug/wmempcpy_chk.c: Likewise.
10516 * debug/wmemset_chk.c: Likewise.
10517 * dirent/scandirat.c (SCANDIRAT): Likewise.
10518 * dlfcn/dladdr1.c (dladdr1): Likewise.
10519 * dlfcn/dladdr.c (dladdr): Likewise.
10520 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10521 * dlfcn/dlerror.c (__dlerror): Likewise.
10522 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10523 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10524 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10525 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10526 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10527 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10528 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10529 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10530 Likewise.
10531 * elf/dl-conflict.c: Likewise.
10532 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10533 * elf/dl-dst.h: Likewise.
10534 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10535 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10536 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10537 * elf/dl-init.c (call_init, _dl_init): Likewise.
10538 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10539 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10540 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10541 Likewise.
a1ffb40e
OB
10542 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10543 Likewise.
10544 * elf/dl-minimal.c (__libc_memalign): Likewise.
10545 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10546 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10547 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10548 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10549 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10550 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10551 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10552 * elf/dl-writev.h (_dl_writev): Likewise.
10553 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10554 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10555 (dl_main): Likewise.
a1ffb40e
OB
10556 * elf/setup-vdso.h (setup_vdso): Likewise.
10557 * grp/compat-initgroups.c (compat_call): Likewise.
10558 * grp/fgetgrent.c (fgetgrent): Likewise.
10559 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10560 * grp/putgrent.c (putgrent): Likewise.
10561 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10562 Likewise.
10563 * hurd/hurdinit.c: Likewise.
10564 * iconvdata/8bit-gap.c (struct): Likewise.
10565 * iconvdata/ansi_x3.110.c : Likewise.
10566 * iconvdata/big5.c : Likewise.
10567 * iconvdata/big5hkscs.c : Likewise.
10568 * iconvdata/cp1255.c: Likewise.
10569 * iconvdata/cp1258.c : Likewise.
10570 * iconvdata/cp932.c : Likewise.
10571 * iconvdata/euc-cn.c: Likewise.
10572 * iconvdata/euc-jisx0213.c : Likewise.
10573 * iconvdata/euc-jp.c: Likewise.
10574 * iconvdata/euc-jp-ms.c : Likewise.
10575 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10576 * iconvdata/gb18030.c : Likewise.
10577 * iconvdata/gbbig5.c (const): Likewise.
10578 * iconvdata/gbgbk.c: Likewise.
10579 * iconvdata/gbk.c : Likewise.
10580 * iconvdata/ibm1364.c : Likewise.
10581 * iconvdata/ibm930.c : Likewise.
10582 * iconvdata/ibm932.c: Likewise.
10583 * iconvdata/ibm933.c : Likewise.
10584 * iconvdata/ibm935.c : Likewise.
10585 * iconvdata/ibm937.c : Likewise.
10586 * iconvdata/ibm939.c : Likewise.
10587 * iconvdata/ibm943.c: Likewise.
10588 * iconvdata/iso_11548-1.c: Likewise.
10589 * iconvdata/iso-2022-cn.c : Likewise.
10590 * iconvdata/iso-2022-cn-ext.c : Likewise.
10591 * iconvdata/iso-2022-jp-3.c: Likewise.
10592 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10593 * iconvdata/iso-2022-kr.c : Likewise.
10594 * iconvdata/iso646.c (gconv_end): Likewise.
10595 * iconvdata/iso_6937-2.c : Likewise.
10596 * iconvdata/iso_6937.c : Likewise.
10597 * iconvdata/iso8859-1.c: Likewise.
10598 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10599 * iconvdata/shift_jisx0213.c : Likewise.
10600 * iconvdata/sjis.c : Likewise.
10601 * iconvdata/t.61.c : Likewise.
10602 * iconvdata/tcvn5712-1.c : Likewise.
10603 * iconvdata/tscii.c: Likewise.
10604 * iconvdata/uhc.c : Likewise.
10605 * iconvdata/unicode.c (gconv_end): Likewise.
10606 * iconvdata/utf-16.c (gconv_end): Likewise.
10607 * iconvdata/utf-32.c (gconv_end): Likewise.
10608 * iconvdata/utf-7.c (base64): Likewise.
10609 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10610 * iconv/gconv_close.c (__gconv_close): Likewise.
10611 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10612 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10613 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10614 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10615 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10616 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10617 * iconv/iconv.c (iconv): Likewise.
10618 * iconv/iconv_close.c: Likewise.
10619 * iconv/loop.c (SINGLE): Likewise.
10620 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10621 * include/atomic.h: Likewise.
10622 * inet/inet6_option.c (option_alloc): Likewise.
10623 * intl/bindtextdom.c (set_binding_values): Likewise.
10624 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10625 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10626 * intl/localealias.c (read_alias_file): Likewise.
10627 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10628 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10629 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10630 * libio/fmemopen.c (fmemopen): Likewise.
10631 * libio/iofgets.c (_IO_fgets): Likewise.
10632 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10633 * libio/iofgetws.c (fgetws): Likewise.
10634 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10635 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10636 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10637 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10638 * locale/findlocale.c (_nl_find_locale): Likewise.
10639 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10640 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10641 Likewise.
10642 * locale/setlocale.c (setlocale): Likewise.
10643 * login/programs/pt_chown.c (main): Likewise.
10644 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10645 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10646 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10647 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10648 * math/e_exp2l.c: Likewise.
10649 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10650 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10651 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10652 * math/s_catan.c (__catan): Likewise.
10653 * math/s_catanf.c (__catanf): Likewise.
10654 * math/s_catanh.c (__catanh): Likewise.
10655 * math/s_catanhf.c (__catanhf): Likewise.
10656 * math/s_catanhl.c (__catanhl): Likewise.
10657 * math/s_catanl.c (__catanl): Likewise.
10658 * math/s_ccosh.c (__ccosh): Likewise.
10659 * math/s_ccoshf.c (__ccoshf): Likewise.
10660 * math/s_ccoshl.c (__ccoshl): Likewise.
10661 * math/s_cexp.c (__cexp): Likewise.
10662 * math/s_cexpf.c (__cexpf): Likewise.
10663 * math/s_cexpl.c (__cexpl): Likewise.
10664 * math/s_clog10.c (__clog10): Likewise.
10665 * math/s_clog10f.c (__clog10f): Likewise.
10666 * math/s_clog10l.c (__clog10l): Likewise.
10667 * math/s_clog.c (__clog): Likewise.
10668 * math/s_clogf.c (__clogf): Likewise.
10669 * math/s_clogl.c (__clogl): Likewise.
10670 * math/s_csin.c (__csin): Likewise.
10671 * math/s_csinf.c (__csinf): Likewise.
10672 * math/s_csinh.c (__csinh): Likewise.
10673 * math/s_csinhf.c (__csinhf): Likewise.
10674 * math/s_csinhl.c (__csinhl): Likewise.
10675 * math/s_csinl.c (__csinl): Likewise.
10676 * math/s_csqrt.c (__csqrt): Likewise.
10677 * math/s_csqrtf.c (__csqrtf): Likewise.
10678 * math/s_csqrtl.c (__csqrtl): Likewise.
10679 * math/s_ctan.c (__ctan): Likewise.
10680 * math/s_ctanf.c (__ctanf): Likewise.
10681 * math/s_ctanh.c (__ctanh): Likewise.
10682 * math/s_ctanhf.c (__ctanhf): Likewise.
10683 * math/s_ctanhl.c (__ctanhl): Likewise.
10684 * math/s_ctanl.c (__ctanl): Likewise.
10685 * math/w_pow.c: Likewise.
10686 * math/w_powf.c: Likewise.
10687 * math/w_powl.c: Likewise.
10688 * math/w_scalb.c (sysv_scalb): Likewise.
10689 * math/w_scalbf.c (sysv_scalbf): Likewise.
10690 * math/w_scalbl.c (sysv_scalbl): Likewise.
10691 * misc/error.c (error_tail): Likewise.
10692 * misc/pselect.c (__pselect): Likewise.
10693 * nis/nis_callback.c (__nis_create_callback): Likewise.
10694 * nis/nis_call.c (__nisfind_server): Likewise.
10695 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10696 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10697 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10698 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10699 * nis/nis_lookup.c (nis_lookup): Likewise.
10700 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10701 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10702 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10703 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10704 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10705 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10706 * nis/nss_compat/compat-initgroups.c (add_group)
10707 (internal_getgrent_r): Likewise.
10708 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10709 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10710 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10711 (internal_getspnam_r): Likewise.
10712 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10713 (_nss_nis_getaliasbyname_r): Likewise.
10714 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10715 (_nss_nis_getntohost_r): Likewise.
10716 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10717 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10718 (_nss_nis_getgrgid_r): Likewise.
10719 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10720 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10721 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10722 (_nss_nis_gethostbyname4_r): Likewise.
10723 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10724 (initgroups_netid): Likewise.
a1ffb40e 10725 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10726 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10727 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10728 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10729 (_nss_nis_getprotobynumber_r): Likewise.
10730 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10731 (_nss_nis_getsecretkey): Likewise.
10732 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10733 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10734 (_nss_nis_getpwuid_r): Likewise.
10735 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10736 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10737 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10738 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10739 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10740 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10741 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10742 Likewise.
57f41c40
AS
10743 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10744 (_nss_nisplus_getntohost_r): Likewise.
10745 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10746 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10747 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10748 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10749 Likewise.
57f41c40
AS
10750 * nis/nss_nisplus/nisplus-initgroups.c
10751 (_nss_nisplus_initgroups_dyn): Likewise.
10752 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10753 (_nss_nisplus_getnetbyaddr_r): Likewise.
10754 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10755 (_nss_nisplus_getprotobynumber_r): Likewise.
10756 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10757 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10758 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10759 Likewise.
57f41c40
AS
10760 * nis/nss_nisplus/nisplus-service.c
10761 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10762 (_nss_nisplus_getservbyport_r): Likewise.
10763 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10764 (_nss_nisplus_getspnam_r): Likewise.
10765 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10766 Likewise.
a1ffb40e
OB
10767 * nscd/aicache.c (addhstaiX): Likewise.
10768 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10769 * nscd/connections.c (register_traced_file, send_ro_fd)
10770 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10771 (main_loop_epoll): Likewise.
a1ffb40e
OB
10772 * nscd/grpcache.c (addgrbyX): Likewise.
10773 * nscd/hstcache.c (addhstbyX): Likewise.
10774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10775 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10776 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10777 (addinnetgrX): Likewise.
10778 * nscd/nscd-client.h (__nscd_acquire_maplock)
10779 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10780 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10781 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10782 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10783 Likewise.
10784 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10785 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10786 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10787 (__nscd_get_map_ref): Likewise.
a1ffb40e 10788 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10789 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10790 Likewise.
a1ffb40e
OB
10791 * nscd/pwdcache.c (addpwbyX): Likewise.
10792 * nscd/selinux.c (preserve_capabilities): Likewise.
10793 * nscd/servicescache.c (addservbyX): Likewise.
10794 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10795 * posix/fnmatch.c (fnmatch): Likewise.
10796 * posix/getopt.c (_getopt_internal_r): Likewise.
10797 * posix/glob.c (glob, glob_in_dir): Likewise.
10798 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10799 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10800 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10801 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10802 * resolv/res_init.c: Likewise.
10803 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10804 * resolv/res_query.c (__libc_res_nquery): Likewise.
10805 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10806 Likewise.
10807 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10808 * stdio-common/perror.c (perror): Likewise.
10809 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10810 * stdio-common/tmpnam.c (tmpnam): Likewise.
10811 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10812 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10813 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10814 Likewise.
a1ffb40e
OB
10815 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10816 * stdlib/putenv.c (putenv): Likewise.
10817 * stdlib/setenv.c (__add_to_environ): Likewise.
10818 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10819 * stdlib/strtol_l.c (INTERNAL): Likewise.
10820 * string/memmem.c (memmem): Likewise.
10821 * string/strerror.c (strerror): Likewise.
10822 * string/strnlen.c (__strnlen): Likewise.
10823 * string/test-memmem.c (simple_memmem): Likewise.
10824 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10825 * sunrpc/pm_getport.c (__get_socket): Likewise.
10826 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10827 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10828 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10829 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10830 Likewise.
10831 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10833 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10834 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10835 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10836 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10837 Likewise.
10838 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10839 Likewise.
a1ffb40e
OB
10840 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10841 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10843 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10844 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10846 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10847 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10848 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10849 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10850 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10851 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10852 Likewise.
10853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10854 Likewise.
10855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10856 Likewise.
10857 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10861 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10862 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10863 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10866 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10867 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10868 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10869 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10870 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10872 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10873 Likewise.
a1ffb40e
OB
10874 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10875 Likewise.
10876 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10877 Likewise.
10878 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10879 Likewise.
10880 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10881 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10882 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10883 Likewise.
10884 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10885 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10886 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10887 * sysdeps/posix/sleep.c: Likewise.
10888 * sysdeps/posix/tempname.c: Likewise.
10889 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10890 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10891 Likewise.
57f41c40
AS
10892 * sysdeps/powerpc/powerpc32/dl-machine.h
10893 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10894 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10896 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10897 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10898 Likewise.
10899 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10900 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10901 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10902 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10903 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10904 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10905 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10906 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10907 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10908 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10910 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10911 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10912 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10913 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10914 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10915 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10916 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10917 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10918 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10919 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10920 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10922 Likewise.
10923 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10924 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10925 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10926 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10927 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10928 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10929 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10930 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10932 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10933 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10934 Likewise.
10935 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10936 (__posix_fallocate64_l64): Likewise.
10937 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10938 (posix_fallocate): Likewise.
57f41c40
AS
10939 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10940 Likewise.
a1ffb40e 10941 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10942 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10943 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10944 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10945 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10946 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10947 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10948 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10949 (__posix_fallocate64_l64): Likewise.
10950 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10951 Likewise.
10952 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10953 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10954 (__get_clockfreq): Likewise.
a1ffb40e
OB
10955 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10956 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10957 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10960 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10961 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10962 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10963 Likewise.
10964 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10965 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10966 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10967 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10968 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10969 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10970 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10971 Likewise.
10972 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10973 (posix_fallocate): Likewise.
10974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10975 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10976 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10977 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10978 (elf_machine_rela, elf_machine_rela_relative)
10979 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10980 * time/asctime.c (asctime_internal): Likewise.
10981 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10982 * time/tzset.c (__tzset_parse_tz): Likewise.
10983 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10984 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10985 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10986 * wcsmbs/wcsmbsload.h: Likewise.
10987
f3d338c9
OB
10988 [BZ #15894]
10989 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10990
57f41c40
AS
10991 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10992 (arena_get2): Remove THREAD_STATS conditionals.
10993 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10994 (__malloc_stats, int): Likewise.
bdfe308a 10995
d674667c
MF
109962014-02-08 Mike Frysinger <vapier@gentoo.org>
10997
10998 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10999 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11000
6349768c
MF
11001 * manual/setjmp.texi: Fix typos/grammar errors.
11002
0b7c7473
MF
11003 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11004 Only return early when n is <= 0. Delete unused return statement.
11005
ac8cc9e3
MF
11006 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11007 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11008 * debug/tst-longjmp_chk3.c: New file.
11009
c5bb8e23
MF
11010 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11011 (test_main): Replace code with set_fortify_handler call.
11012 * debug/test-strcpy_chk.c: Likewise.
11013 * debug/tst-chk1.c: Likewise.
11014 * debug/tst-longjmp_chk.c: Likewise.
11015 * test-skeleton.c: Include fcntl.h & paths.h
11016 (set_fortify_handler): Define.
11017
10444e42
MF
11018 * debug/tst-longjmp_chk.c: Add header comment and include
11019 ../test-skeleton.c.
11020 (do_test): Mark static.
11021 (TEST_FUNCTION): Define.
11022
1e805e8d
MF
11023 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11024 (IP_PMTUDISC_INTERFACE): Likewise.
11025 (IP_MULTICAST_IF): Likewise.
11026 (IP_MULTICAST_TTL): Likewise.
11027 (IP_MULTICAST_LOOP): Likewise.
11028 (IP_ADD_MEMBERSHIP): Likewise.
11029 (IP_DROP_MEMBERSHIP): Likewise.
11030 (IP_UNBLOCK_SOURCE): Likewise.
11031 (IP_BLOCK_SOURCE): Likewise.
11032 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11033 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11034 (IP_MSFILTER): Likewise.
11035 (MCAST_JOIN_GROUP): Likewise.
11036 (MCAST_BLOCK_SOURCE): Likewise.
11037 (MCAST_UNBLOCK_SOURCE): Likewise.
11038 (MCAST_LEAVE_GROUP): Likewise.
11039 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11040 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11041 (MCAST_MSFILTER): Likewise.
11042 (IP_MULTICAST_ALL): Likewise.
11043 (IP_UNICAST_IF): Likewise.
11044
73f79bb7
MF
11045 * timezone/Makefile: Delete $(have-ksh) check.
11046 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11047 * timezone/tzselect.ksh: Add +x mode bits.
11048
8da79b60
MF
11049 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11050 (ANON_INODE_FS_MAGIC): Likewise.
11051 (BDEVFS_MAGIC): Likewise.
11052 (BINFMTFS_MAGIC): Likewise.
11053 (BTRFS_TEST_MAGIC): Likewise.
11054 (CRAMFS_MAGIC_WEND): Likewise.
11055 (DEBUGFS_MAGIC): Likewise.
11056 (ECRYPTFS_SUPER_MAGIC): Likewise.
11057 (EXT3_SUPER_MAGIC): Likewise.
11058 (EXT4_SUPER_MAGIC): Likewise.
11059 (FUTEXFS_SUPER_MAGIC): Likewise.
11060 (HOSTFS_SUPER_MAGIC): Likewise.
11061 (HUGETLBFS_MAGIC): Likewise.
11062 (MINIX3_SUPER_MAGIC): Likewise.
11063 (MTD_INODE_FS_MAGIC): Likewise.
11064 (NILFS_SUPER_MAGIC): Likewise.
11065 (OPENPROM_SUPER_MAGIC): Likewise.
11066 (PIPEFS_MAGIC): Likewise.
11067 (PSTOREFS_MAGIC): Likewise.
11068 (QNX6_SUPER_MAGIC): Likewise.
11069 (RAMFS_MAGIC): Likewise.
11070 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11071 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11072 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11073 (SECURITYFS_MAGIC): Likewise.
11074 (SELINUX_MAGIC): Likewise.
11075 (SMACK_MAGIC): Likewise.
11076 (SOCKFS_MAGIC): Likewise.
11077 (SQUASHFS_MAGIC): Likewise.
11078 (STACK_END_MAGIC): Likewise.
11079 (TMPFS_MAGIC): Likewise.
11080 (USBDEVICE_SUPER_MAGIC): Likewise.
11081 (V9FS_MAGIC): Likewise.
11082 (XENFS_SUPER_MAGIC): Likewise.
11083 (CRAMFS_MAGIC): Fix typo in comment.
11084 (EXT2_SUPER_MAGIC): Update comment.
11085 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11086
464263cc
JM
110872014-02-08 Joseph Myers <joseph@codesourcery.com>
11088
c6bfe5c4
JM
11089 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11090 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11091 * sysdeps/unix/sysv/linux/arm: Move directory from
11092 ports/sysdeps/unix/sysv/linux/arm.
11093 * README: Update listing for arm-*-linux-gnueabi.
11094
464263cc
JM
11095 * README: Remove mention of am33.
11096
32749f6c
RM
110972014-02-07 Roland McGrath <roland@hack.frob.com>
11098
11099 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11100 than the comma operator, to avoid "rhs of comma has no effect"
11101 compiler warnings.
11102 (__sigfillset, __sigandset, __sigorset): Likewise.
11103 * include/signal.h (__sigemptyset): Likewise.
11104 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11105
d5b396c1
AM
111062014-02-07 Allan McRae <allan@archlinux.org>
11107
11108 * version.h (RELEASE): Set to "development".
11109 (VERSION): Set to "2.19.90"
11110 * NEWS: Add 2.20 section.
11111
3bfff2ed
CD
111122014-02-06 Carlos O'Donell <carlos@redhat.com>
11113
11114 [BZ #16529]
11115 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11116
ee7cc385
SP
111172014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11118
11119 * manual/contrib.texi: Update entry for Carlos O'Donell,
11120 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11121
f877c4f2
CD
111222014-02-05 Carlos O'Donell <carlos@rehdat.com>
11123
27e839f6
CD
11124 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11125
f877c4f2
CD
11126 * sysdeps/unix/sysv/linux/kernel-features.h
11127 [__LINUX_KERNEL_VERSION >= 0x020621]
11128 (__ASSUME_PROC_PID_TASK_COMM): Define.
11129
68159946
SP
111302014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11131
ba17cdbd
SP
11132 [BZ #16398]
11133 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11134 conversion when destination buffer does not have enough space.
11135 * libio/tst-ftell-partial-wide.c: New test case.
11136 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11137
68159946
SP
11138 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11139 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11140 Leonard and Allan McRae.
11141
2b528732
DM
111422014-02-04 David S. Miller <davem@davemloft.net>
11143
11144 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11145 32-bit.
11146
0ff82463
AZ
111472014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11148
57f41c40
AS
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11150 New file
c01603f7
AZ
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11152 New file
57f41c40
AS
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11154 New file.
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11156 New file.
c01603f7
AZ
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11158 New file.
57f41c40
AS
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11160 New file.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11162 New file.
c01603f7
AZ
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11164 New file.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11166 New file.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11168 New file.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11170 New file.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11172 New file.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11174 New file.
11175
111762014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11177
0ff82463
AZ
11178 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11179 * shlib-versions: Likewise.
11180
1695c773
AZ
111812014-02-04 Roland McGrath <roland@hack.frob.com>
11182 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11183
11184 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11185 (abilist-pattern): New variable, set to %-le.abilist.
11186
11187 * Makerules (abilist-pattern): New variable.
11188 (vpath): Use $(abilist-pattern) in place of %.abilist.
11189 (check-abi-% pattern rule): Likewise.
11190 (check-abi, update-abi): Likewise.
11191
6c0ce4b4
EW
111922014-02-04 Eric Wong <normalperson@yhbt.net>
11193
11194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11195
481e3524
CD
111962014-02-03 Carlos O'Donell <carlos@redhat.com>
11197
11198 * manual/startup.texi: Add next, previous, and top entries for
11199 the `Program Arguments' and `Environment Variables' nodes.
11200
375592d3
AO
112012014-02-03 Alexandre Oliva <aoliva@redhat.com>
11202
11203 * manual/macros.texi: Add comments before MTASC-safety macros.
11204
f54838ba
AO
11205 * manual/users.texi: Document MTASC-safety properties.
11206
57f41c40
AS
11207 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11208 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11209 @deftypefun, and add @safety note.
11210 * manual/signal.texi: Move comments that analyze the above
11211 functions to their home place.
11212
fd3daba4
AM
112132014-02-03 Allan McRae <allan@archlinux.org>
11214
11215 * po/sl.po: Update Slovenian translation from translation project.
11216
597636d7
AO
112172014-02-02 Alexandre Oliva <aoliva@redhat.com>
11218
11219 * manual/time.texi (timegm): Add missing blank after @c.
11220 Reported by Joseph Myers <joseph@codesourcery.com>.
11221
ee196e3c
AO
112222014-02-01 Alexandre Oliva <aoliva@redhat.com>
11223
11224 * manual/check-safety.sh: New.
11225 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11226
f8d529d5
AO
11227 * manual/terminal.texi: Document MTASC-safety properties.
11228
de55fdf4
AO
11229 * manual/filesys.texi: Document MTASC-safety properties.
11230
c3299c08
AO
11231 * manual/errno.texi: Document MTASC-safety properties.
11232
06e90b14
AO
11233 * manual/intro.texi: Document safety identifiers and
11234 conditionals.
11235
1acd4371
AO
11236 * manual/string.texi (wcstok): Fix prototype.
11237 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11238
23e5b8cb
AO
11239 * manual/time.texi: Document MTASC-safety properties.
11240
11087373
AO
11241 * manual/string.texi: Document MTASC-safety properties.
11242
5da2c93d
AO
11243 * manual/threads.texi: Document MTASC-safety properties.
11244
171e9210
AO
11245 * manual/stdio.texi: Document MTASC-safety properties.
11246
d9e02532
AO
11247 * manual/syslog.texi: Document MTASC-safety properties.
11248
6af8bab7
AO
11249 * manual/sysinfo.texi: Document MTASC-safety properties.
11250
663b02d7
AO
11251 * manual/startup.texi: Document MTASC-safety properties.
11252
973f180b
AO
11253 * manual/socket.texi: Document MTASC-safety properties.
11254
8f3c25c8
AO
11255 * manual/signal.texi: Document MTASC-safety properties.
11256
542210fb
AO
112572014-01-31 Alexandre Oliva <aoliva@redhat.com>
11258
11259 * manual/setjmp.texi: Document MTASC-safety properties.
11260
433c45a2
AO
11261 * manual/search.texi: Document MTASC-safety properties.
11262
c8ce789c
AO
11263 * manual/resource.texi: Document MTASC-safety properties.
11264
19f5d29c
AO
11265 * manual/process.texi: Document MTASC-safety properties.
11266
e2dfb7f4
AO
11267 * manual/platform.texi: Document MTASC-safety properties.
11268
8c1413f5
AO
11269 * manual/pipe.texi: Document MTASC-safety properties.
11270
03483ada
AO
11271 * manual/pattern.texi: Document MTASC-safety properties.
11272
29e7e2df
AO
11273 * manual/message.texi: Document MTASC-safety properties.
11274
9f529d7c
AO
11275 [BZ #12751]
11276 * manual/memory.texi: Document MTASC-safety properties.
11277
27aaa791
AO
11278 * manual/math.texi: Document MTASC-safety properties.
11279
f2d58726
AO
11280 * manual/locale.texi: Document MTASC-safety properties.
11281
2cc3615c
AO
11282 * manual/llio.texi: Document MTASC-safety properties.
11283
d9f0ec97
AO
11284 * manual/libdl.texi: New.
11285
e7c4409a
AO
11286 * manual/lang.texi: Document MTASC-safety properties.
11287
27bdc63c
AO
11288 * manual/job.texi: Document MTASC-safety properties.
11289
a7b90ea9
AO
11290 * manual/getopt.texi: Document MTASC-safety properties.
11291
c49130e3
AO
11292 * manual/ctype.texi: Document MTASC-safety properties.
11293
0d23a5c1
MR
112942014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11295
11296 [BZ #16046]
11297 * csu/libc-tls.c (static_map): Remove variable.
11298 (__libc_setup_tls): Use main executable's link map for TLS data.
11299 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11300 casing for LM_ID_BASE and GL(dl_nns).
11301 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11302 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11303 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11304 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11305 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11306 member.
11307 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11308 l_phnum members.
11309
0037bb60
AO
113102014-01-30 Alexandre Oliva <aoliva@redhat.com>
11311
11312 * manual/debug.texi: Document MTASC-safety properties.
11313
409e00bd
L
113142014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11315
11316 [BZ #16510]
11317 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11318 of __x86_64__ when disabling x87 inline functions.
11319
86e60666
AO
113202014-01-29 Alexandre Oliva <aoliva@redhat.com>
11321
11322 * manual/charset.texi: Document MTASC-safety properties.
11323
76167637
AO
11324 * manual/crypt.texi: Document MTASC-safety properties.
11325
e567f2a0
AO
11326 * manual/conf.texi: Document MTASC-safety properties.
11327
b719dafd
AO
11328 * manual/arith.texi: Document MTASC-safety properties.
11329
4a16c662
AO
11330 * manual/argp.texi: Document MTASC-safety properties.
11331
0a57b83e
AO
11332 * manual/macros.texi: Introduce macros to document multi
11333 thread, asynchronous signal and asynchronous cancellation
11334 safety properties.
11335 * manual/intro.texi: Introduce the properties themselves.
11336
feab2397
KK
113372014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11338
11339 * sysdeps/sh/sh4/Makefile: New file.
11340
1c0d11bc
AS
113412014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11342
11343 * math/gen-libm-test.pl ($srcdir): New variable.
11344 ($auto_input): Use it.
11345
af37a8a3
SP
113462014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11347
d7b00f98
SP
11348 [BZ #16506]
11349 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11350 access beyond array bounds when parsing netgroups file.
11351
af37a8a3
SP
11352 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11353 the old buffer before realloc.
11354
0c00f062
AM
113552014-01-27 Allan McRae <allan@archlinux.org>
11356
11357 * po/fr.po: Update French translation from translation project.
11358
7d69a1b0
KK
113592014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11360
11361 * sysdeps/sh/libm-test-ulps: Regenerate.
11362
6e697ff7
DM
113632014-01-24 David S. Miller <davem@davemloft.net>
11364
11365 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11366
9cadb35c
KK
113672014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11368
11369 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11370 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11371
5d41dadf
SP
113722013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11373
11374 [BZ #16474]
11375 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11376 string pointers after reallocation.
11377
0bad441c
KK
113782014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11379
11380 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11381 __SH4A__ instead of __SH_FPU_ANY__.
11382
7007c661
KK
113832014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11384
11385 * sysdeps/sh/fpu_control.h: New file.
11386 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11387 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11388 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11389 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11390 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11391 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11392 * sysdeps/sh/sys/ucontext.h: Remove.
11393 * sysdeps/sh/sys: Remove directory.
11394
0f0c35e4
AK
113952014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11396
11397 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11398 s390/sys/ucontext.h.
11399 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11400 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11401
4959e284
L
114022014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11403
11404 [BZ #15605]
11405 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11406
d98720e0
AZ
114072014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11408
11409 [BZ#16431]
11410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11411 Adjust the vDSO correctly for internal calls.
11412 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11413
91cbd0bc
AM
114142014-01-20 Allan McRae <allan@archlinux.org>
11415
11416 * po/ca.po: Update Catalan translation from translation project.
11417
7a02cfad
MF
114182014-01-16 Mike Frysinger <vapier@gentoo.org>
11419
11420 * sysdeps/s390/sotruss-lib.c: New file.
11421
736c304a
AZ
114222014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11423
11424 [BZ#16430]
6e077ee5 11425 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11426 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11427 local calls issues by not having a PLT stub required for IFUNC calls.
11428 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11429
94d0cea0
JM
114302014-01-16 Joseph Myers <joseph@codesourcery.com>
11431
11432 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11433 * math/test-fpucw-static.c: Likewise.
11434
980cb518
SP
114352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11436
11437 [BZ #16453]
11438 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11439
2393fc01
AZ
114402014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11441
11442 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11443 implementation for powerpc.
11444
d359bcc2
OB
114452014-01-15 Ondřej Bílka <neleai@seznam.cz>
11446
11447 [BZ #14782]
11448 * sysdeps/posix/system.c (__libc_system): Do not enable
11449 asynchronous cancellation.
11450
7beb48cb
AK
114512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11452
11453 [BZ #16427]
11454 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11455 handling only for numbers special also in the IEEE case.
11456
c20d5bf5
AK
114572014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11458
11459 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11460
e83bd4ee
AM
114612014-01-11 Allan McRae <allan@archlinux.org>
11462
76d0ea69
AM
11463 * po/bg.po: Update Bulgarian translation from translation project.
11464
e83bd4ee
AM
11465 * po/de.po: Update German translation from translation project.
11466
bc2ba20a
RM
114672014-01-10 Roland McGrath <roland@hack.frob.com>
11468
11469 * sysdeps/generic/gcc-compat.h: New file.
11470
649ecea2
SP
114712014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11472
11473 * benchtests/asin-inputs: Correct slow inputs.
11474 * benchtests/acos-inputs: Likewise.
11475
1b19c006
AM
114762014-01-10 Allan McRae <allan@archlinux.org>
11477
a46dab08
AM
11478 * po:sv.po: Update Swedish translation from translation project.
11479
421df74a
AM
11480 * po/vi.po: Update Vietnamese translation from translation project.
11481
d61c51a7
AM
11482 * po/eo.po: Update Esperanto translation from translation project.
11483
0339a319
AM
11484 * po/cs.po: Update Czech translation from translation project.
11485
94ad3e99
AM
11486 * po/nl.po: Update Dutch translation from translation project.
11487
e349ca71
AM
11488 * po/pl.po: Update Polish translation from translation project.
11489
ddf930c1
AM
11490 * po/ru.po: Update Russian translation from translation project.
11491
1b19c006
AM
11492 * po/uk.po: Update Ukrainian translation from translation project.
11493
9f236c49
BM
114942014-01-08 Brooks Moses <bmoses@google.com>
11495
11496 * elf/dl-load.c: Fix comment typo.
11497
cd6701cf
CD
114982014-01-08 Carlos O'Donell <carlos@redhat.com>
11499
11500 * po/header.pot: Rename to...
11501 * po/pot.header: ... this.
11502 * po/Makefile: Use pot.header.
11503
66671c84
YK
115042014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11505 Maxim Kuvyrkov <maxim@kugelworks.com>
11506
11507 [BZ #16394]
cd6701cf
CD
11508 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11509 SRC and DEST against LEN.
66671c84 11510
38f34581
AZ
115112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11512
11513 [BZ #16414]
11514 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11515 implementation.
11516 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11517
115182014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11519
11520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11521
4c327f2a
JM
115222014-01-08 Joseph Myers <joseph@codesourcery.com>
11523
11524 [BZ #16408]
11525 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11526 for large positive arguments.
11527
b821f414
JM
115282014-01-07 Joseph Myers <joseph@codesourcery.com>
11529
1f0f2067
JM
11530 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11531
a5a326f6
JM
11532 * math/auto-libm-test-in: Mark various tests with
11533 xfail-rounding:ldbl-128ibm.
11534 * math/auto-libm-test-out: Regenerated.
11535
b821f414
JM
11536 [BZ #16407]
11537 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11538 Increase overflow threshold.
11539
94c8a4bc
OB
115402014-01-07 Ondřej Bílka <neleai@seznam.cz>
11541
11542 [BZ #14286]
11543 * stdio-common/vfprintf.c: Check for integer overflow.
11544
87ded0c3
AK
115452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11546
11547 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11548 the first argument and return value of __tls_get_addr_internal.
11549
c5eebdd0
AK
115502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11551
11552 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11553 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11554
05d138ef
AK
115552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11556
11557 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11558 * sysdeps/s390/rtld-global-offsets.sym: New file.
11559 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11560 GLIBC_2.19 symbol.
11561 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11562 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11563 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11564 ... this.
11565 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11566 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11567 ... this.
11568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11569 Regenerate.
11570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11571 Regenerate.
11572 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11573 halfs of GPRs for high_gprs contexts.
11574 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11575 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11576 field.
11577 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11578 uc_flags field.
11579 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11580 64 bit versions:
11581 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11582 for high GPRs (uc_high_gprs) and for future extensions
11583 (__reserved).
11584 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11585 for future extensions (__reserved).
11586 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11587 64 bit versions:
11588 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11589 SC_HIGHGPRS offset definition.
11590 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11591 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11592
93a45ff1
AK
11593 * Versions.def: Add GLIBC_2.19 for libpthread.
11594 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11595 siglongjmp for libpthread with GLIBC_2.19 symver.
11596 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11597 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11598 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11599 * sysdeps/s390/__longjmp.c: New file.
11600 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11601 * sysdeps/s390/longjmp.c: New file.
11602 * sysdeps/s390/setjmp.S: New file.
11603 * sysdeps/s390/sigjmp.S: New file.
11604 * sysdeps/s390/v1-longjmp.c: New file.
11605 * sysdeps/s390/v1-setjmp.h: New file.
11606 * sysdeps/s390/v1-sigjmp.c: New file.
11607 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11608 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11609 GLIBC_2.19 version.
11610 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11611 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11612 versioned symbols for ____longjmp_chk.
11613 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11614 Likewise.
11615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11616 Regenerate.
11617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11618 Regenerate.
11619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11620 Regenerate.
11621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11622 Regenerate.
11623 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11624 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11625 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11626 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11627 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11628 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11629 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11630 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11631 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11632 * sysdeps/s390/rtld-__longjmp.c: New file.
11633 * sysdeps/s390/rtld-setjmp.S: New file.
11634
eb3fc44b
JM
116352014-01-06 Joseph Myers <joseph@codesourcery.com>
11636
11637 [BZ #16400]
11638 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11639 Return -__logl (x) for small positive arguments without evaluating
11640 a polynomial.
11641
9341dde4
MF
116422014-01-06 Mike Frysinger <vapier@gentoo.org>
11643
11644 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11645 Rename to ...
11646 (__ptrace_peeksiginfo_args): ... this.
11647 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11650
4cff0293
AM
116512014-01-06 Allan McRae <allan@archlinux.org>
11652
11653 * inet/netinet/in.h: Fix typo in comment.
11654
75595dcf
AJ
116552014-01-05 Andreas Jaeger <aj@suse.de>
11656
11657 * sysdeps/i386/fpu/libm-test-ulps: Update.
11658
79c1e109
AM
116592014-01-05 Allan McRae <allan@archlinux.org>
11660
dd804818
AM
11661 * po/libc.pot: Regenerated.
11662
79c1e109
AM
11663 * malloc/memusagestat.c: Fix gettext call formatting.
11664
0c813d1f
SK
116652014-01-04 Sami Kerola <kerolasa@iki.fi>
11666
11667 * nscd/nscd.c: Improve usage() output.
11668
20f4a8d9
MF
116692014-01-04 Mike Frysinger <vapier@gentoo.org>
11670
11671 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11672 * sysdeps/unix/sysv/linux/configure: Regenerated.
11673 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11674 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11675
22562bb2
JM
116762014-01-03 Joseph Myers <joseph@codesourcery.com>
11677
11678 [BZ #16390]
11679 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11680 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11681
d7ad2d9b
AZ
116822014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11683
11684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11685 extra tokens at end of #undef directive.
11686 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11687 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11688 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11689
7dd009d8
JM
116902014-01-03 Joseph Myers <joseph@codesourcery.com>
11691
24db925a
JM
11692 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11693
7dd009d8
JM
11694 * math/auto-libm-test-in: Mark various tests with
11695 xfail-rounding:ldbl-128ibm.
11696 * math/auto-libm-test-out: Regenerated.
11697
396e3ecf
JM
116982014-01-02 Joseph Myers <joseph@codesourcery.com>
11699
819e5d50
JM
11700 [BZ #16386]
11701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11702 numbers with subnormal high part when calculating exponent.
11703
90b6a1e5
JM
11704 [BZ #16385]
11705 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11706 fabs.
11707
396e3ecf
JM
11708 [BZ #16384]
11709 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11710 M_LN2l.
11711 (__ieee754_acoshl): Use __log1pl not __log1p.
11712
6c8dbf00
OB
117132013-01-02 Ondřej Bílka <neleai@seznam.cz>
11714
57f41c40
AS
11715 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11716 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11717 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11718 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11719 (reused_arena, arena_get2): Convert to GNU style.
11720 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11721 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11722 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11723 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11724 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11725 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11726 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11727 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11728 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11729 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11730 * malloc/malloc.h: Likewise.
57f41c40
AS
11731 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11732 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11733 * malloc/mcheck.h: Likewise.
57f41c40
AS
11734 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11735 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11736 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11737 * malloc/morecore.c (__default_morecore): Likewise.
11738 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11739 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11740 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11741 (print_and_abort): Likewise.
6c8dbf00
OB
11742 * malloc/obstack.h: Likewise.
11743 * malloc/set-freeres.c (__libc_freeres): Likewise.
11744 * malloc/tst-mallocstate.c (main): Likewise.
11745 * malloc/tst-mtrace.c (main): Likewise.
11746 * malloc/tst-realloc.c (do_test): Likewise.
11747
d4124212
SP
117482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11749
9a3c6a6f
SP
11750 [BZ #16366]
11751 * nscd/netgroupcache.c (do_notfound): New function.
11752 (addgetnetgrentX): Use it.
11753
d4124212
SP
11754 [BZ # 16365]
11755 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11756 NSS_STATUS_NOTFOUND.
11757
97b9a009
JM
117582014-01-01 Joseph Myers <joseph@codesourcery.com>
11759
11760 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11762
d4697bc9
AM
117632014-01-01 Allan McRae <allan@archlinux.org>
11764
ddb3687f
AM
11765 * scripts/update-copyrights: Update configure input file suffix.
11766
88726d48
AM
11767 * NEWS: Update copyright year.
11768 * catgets/gencat.c: Likewise.
11769 * csu/version.c: Likewise.
11770 * debug/catchsegv.sh: Likewise.
11771 * debug/pcprofiledump.c: Likewise.
11772 * debug/xtrace.sh: Likewise.
11773 * elf/ldconfig.c: Likewise.
11774 * elf/ldd.bash.in: Likewise.
11775 * elf/pldd.c: Likewise.
11776 * elf/sotruss.ksh: Likewise.
11777 * elf/sprof.c: Likewise.
11778 * iconv/iconv_prog.c: Likewise.
11779 * iconv/iconvconfig.c: Likewise.
11780 * locale/programs/locale.c: Likewise.
11781 * locale/programs/localedef.c: Likewise.
11782 * login/programs/pt_chown.c: Likewise.
11783 * malloc/memusage.sh: Likewise.
11784 * malloc/memusagestat.c: Likewise.
11785 * malloc/mtrace.pl: Likewise.
11786 * manual/libc.texinfo: Likewise.
11787 * nscd/nscd.c: Likewise.
11788 * nss/getent.c: Likewise.
11789 * nss/makedb.c: Likewise.
11790 * posix/getconf.c: Likewise.
11791 * scripts/test-installation.pl: Likewise.
11792
d4697bc9
AM
11793 * All files with FSF copyright notices: Update copyright dates
11794 using scripts/update-copyrights.
11795 * intl/plural.c: Regenerated.
11796 * locale/programs/charmap-kw.h: Likewise.
11797 * locale/programs/locfile-kw.h: Likewise.
11798
c8590f9d
MF
117992013-12-31 Mike Frysinger <vapier@gentoo.org>
11800
11801 * sysdeps/unix/sysv/linux/configure: Regenerated.
11802 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11803 the linux/fanotify.h header.
11804 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11805 HAVE_LINUX_FANOTIFY_H is defined.
11806
b19221b9
SP
118072013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11808
dd1d85e5
SP
11809 * benchtests/cos-inputs: New inputs.
11810 * benchtests/sin-inputs: Likewise.
11811
1acbb90f
SP
11812 * benchtests/atan-inputs: New inputs. Fix name of multiple
11813 precision fallback inputs.
11814
4c012ed3
SP
11815 * benchtests/atanh-inputs: New inputs.
11816 * benchtests/tanh-inputs: Likewise.
11817
eff98324
SP
11818 * benchtests/acosh-inputs: New inputs.
11819 * benchtests/asinh-inputs: Likewise.
11820
ce641152
SP
11821 * benchtests/cosh-inputs: New inputs.
11822 * benchtests/sinh-inputs: Likewise.
11823
b19221b9
SP
11824 * benchtests/acos-inputs: Add more inputs.
11825 * benchtests/asin-inputs: Likewise.
11826
030a4976 118272013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11828
030a4976 11829 [BZ #16375]
9dcc8f11
VS
11830 * manual/arith.texi: Fix spelling.
11831 * manual/charset.texi: Likewise.
11832 * manual/errno.texi: Likewise.
11833 * manual/filesys.texi: Likewise.
11834 * manual/lang.texi: Likewise.
11835 * manual/llio.texi: Likewise.
11836 * manual/locale.texi: Likewise.
11837 * manual/message.texi: Likewise.
11838 * manual/resource.texi: Likewise.
11839 * manual/search.texi: Likewise.
11840 * manual/setjmp.texi: Likewise.
11841 * manual/stdio.texi: Likewise.
11842 * manual/string.texi: Likewise.
11843 * manual/sysinfo.texi: Likewise.
11844 * manual/time.texi: Likewise.
11845
11520a57
CD
118462013-12-27 Carlos O'Donell <carlos@redhat.com>
11847
11848 * po/sl.po: New file.
11849
471103ae
MF
118502013-12-27 Mike Frysinger <vapier@gentoo.org>
11851
11852 * .gitignore: Add core/.gdbinit/.gdb_history.
11853
6c9642ed
AM
118542013-12-27 Allan McRae <allan@archlinux.org>
11855
11856 [BZ #16369]
11857 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11858 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11859
3f637079
BM
118602013-12-24 Brooks Moses <bmoses@google.com>
11861
11862 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11863 all compilers that claim C++98 compliance, not just GCC.
11864 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11865 Likewise.
11866
abc26e99
MK
118672013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11868
11869 * NEWS: Restore accidentally deleted bug-fix entries.
11870
362b47fe
MK
118712013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11872 Ondřej Bílka <neleai@seznam.cz>
11873
11874 [BZ #15073]
11875 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11876 have_lock.
362b47fe 11877
b9bcbbcb
OB
118782013-12-23 Ondřej Bílka <neleai@seznam.cz>
11879
11880 [BZ #12986]
11881 * manual/stdio.texi (String Input Conversions): Clarify that character
11882 classes are not supported.
11883
fb55fcd2
AZ
118842013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11885
11886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11887
ef7344f0
JM
118882013-12-22 Joseph Myers <joseph@codesourcery.com>
11889
4f40e4b3
JM
11890 [BZ #16337]
11891 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11892 Calculate results for small negative arguments directly rather
11893 than using reflection formula with special underflow handling.
11894
ef7344f0
JM
11895 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11896 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11897 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11898 (fchflags): Likewise.
11899 (revoke): Likewise.
11900 (setlogin): Likewise.
11901 (sigaltstack): Likewise.
11902 (wait4): Likewise.
11903 (sigblock): Remove.
11904 (sigsetmask): Likewise.
11905 (wait3): Likewise.
11906 (waitpid): Likewise.
11907 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11908 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11909 file.
11910 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11911 * sysdeps/unix/bsd/Makefile: ... here.
11912 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11913 * sysdeps/unix/bsd/Versions: ... here.
11914 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11915 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11916 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11917 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11918 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11919 * sysdeps/unix/bsd/sigblock.c: ... here.
11920 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11921 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11922 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11923 * sysdeps/unix/bsd/sigvec.c: ... here.
11924 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11925 * sysdeps/unix/bsd/tcdrain.c: ... here.
11926 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11927 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11928 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11929 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11930 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11931 * sysdeps/unix/bsd/wait.c: ... here.
11932 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11933 * sysdeps/unix/bsd/wait3.c: ... here.
11934 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11935 * sysdeps/unix/bsd/waitpid.c: ... here.
11936
5b0626b9
JM
119372013-12-21 Joseph Myers <joseph@codesourcery.com>
11938
11939 [BZ #16356]
11940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11941 round-to-nearest for [!USE_AS_EXPM1L].
11942 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11943 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11944 more tests of exp and exp10. Expect some exp10 tests to miss
11945 exceptions or fail in directed rounding modes.
11946 * math/auto-libm-test-out: Regenerated.
11947 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11948 (exp10_test_tonearest): New function.
11949 (exp10_towardzero_test_data): New array.
11950 (exp10_test_towardzero): New function.
11951 (exp10_downward_test_data): New array.
11952 (exp10_test_downward): New function.
11953 (exp10_upward_test_data): New array.
11954 (exp10_test_upward): New function.
11955 (main): Call the new functions.
11956 * sysdeps/i386/fpu/libm-test-ulps: Update.
11957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11958
7fda5682
JM
119592013-12-20 Joseph Myers <joseph@codesourcery.com>
11960
31e3a405
JM
11961 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11962 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11963 * math/auto-libm-test-out: Regenerated.
11964 * math/libm-test.inc (acosh_test_data): Add more tests.
11965 (atanh_test_data): Likewise.
11966 (ceil_test_data): Likewise.
11967 (copysign_test_data): Likewise.
11968 * sysdeps/i386/fpu/libm-test-ulps: Update.
11969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11970
85bff96a
JM
11971 * timezone/checktab.awk: Update from tzcode 2013i.
11972 * timezone/private.h: Likewise.
11973 * timezone/scheck.c: Likewise.
11974 * timezone/tzfile.h: Likewise.
11975 * timezone/tzselect.ksh: Likewise.
11976 * timezone/zdump.c: Likewise.
11977 * timezone/zic.c: Likewise.
11978
b7867a3b
JM
11979 * math/auto-libm-test-in: Add tests of cpow.
11980 * math/auto-libm-test-out: Regenerated.
11981 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11982 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11983 mpc_cc_c.
11984 (func_calc_desc): Add mpc_cc_c union field.
11985 (test_functions): Add cpow.
11986 (special_fill_2pi): New function.
11987 (special_real_inputs): Add 2pi.
11988 (calc_generic_results): Handle mpc_cc_c.
11989 * sysdeps/i386/fpu/libm-test-ulps: Update.
11990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11991
7fda5682
JM
11992 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11993 csqrt, ctan and ctanh.
11994 * math/auto-libm-test-out: Regenerated.
11995 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11996 (TEST_COND_x86): Likewise.
11997 (ccos_test_data): Use AUTO_TESTS_c_c.
11998 (ccosh_test_data): Likewise.
11999 (cexp_test_data): Likewise.
12000 (clog_test_data): Likewise.
12001 (csqrt_test_data): Likewise.
12002 (ctan_test_data): Likewise.
12003 (ctan_tonearest_test_data): Likewise.
12004 (ctan_towardzero_test_data): Likewise.
12005 (ctan_downward_test_data): Likewise.
12006 (ctan_upward_test_data): Likewise.
12007 (ctanh_test_data): Likewise.
12008 (ctanh_tonearest_test_data): Likewise.
12009 (ctanh_towardzero_test_data): Likewise.
12010 (ctanh_downward_test_data): Likewise.
12011 (ctanh_upward_test_data): Likewise.
12012 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12013 mpc_c_c.
12014 (func_calc_desc): Add mpc_c_c union field.
12015 (FUNC_mpc_c_c): New macro.
12016 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12017 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12018 ctanh.
12019 (special_fill_min_subnorm_p120): New function.
12020 (special_real_inputs): Add min_subnorm_p120.
12021 (calc_generic_results): Handle mpc_c_c.
12022 * sysdeps/i386/fpu/libm-test-ulps: Update.
12023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12024
5ff8d60e
SP
120252013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12026
57f41c40
AS
12027 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12028 (do_sin_slow): New functions.
12029 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12030 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12031
84ba214c
SP
12032 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12033 Use M to change sign of result instead of X. Assume X is
12034 positive.
12035 (csloww1): Likewise.
12036 (__sin): Adjust.
12037 (__cos): Adjust.
12038
975195e4
SP
12039 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12040 arguments A and DA.
12041 (__sin): Adjust.
12042 (__cos): Likewise.
12043
5ff8d60e
SP
12044 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12045 (__cos): Likewise.
12046 (sloww1): Don't adjust sign of DX.
12047 (csloww1): Likewise.
12048 (sloww2): Use X directly and don't adjust sign of DX.
12049 (csloww2): Likewise.
12050
eb983568
JM
120512013-12-19 Joseph Myers <joseph@codesourcery.com>
12052
64a17f1a
JM
12053 * math/auto-libm-test-in: Add tests of cabs and carg.
12054 * math/auto-libm-test-out: Regenerated.
12055 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12056 (carg_test_data): Likewise.
12057 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12058 mpc_c_f.
12059 (func_calc_desc): Add mpc_c_f union field.
12060 (test_functions): Add cabs and carg.
12061 (calc_generic_results): Handle mpc_c_f.
12062
eb983568
JM
12063 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12064 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12065 as a macro and a compat symbol.
12066 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12067 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12068 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12069 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12070 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12071 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12072 not use .hidden.
12073 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12074 Likewise.
12075 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12076 Likewise.
12077 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12078 Likewise.
12079 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12080 Likewise.
12081 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12082 Likewise.
12083 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12084 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12085 from GLIBC_2.3.2.
12086
6eeb678a
AZ
120872013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12088
12089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12090
6f6fc482
JM
120912013-12-19 Joseph Myers <joseph@codesourcery.com>
12092
21fea2e2
JM
12093 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12094 trailing whitespace removed.
12095 * scripts/config.guess: Update to version 2013-11-29.
12096 * scripts/config.sub: Update to version 2013-10-01.
12097
6f6fc482
JM
12098 * math/auto-libm-test-in: Add tests of sincos.
12099 * math/auto-libm-test-out: Regenerated.
12100 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12101 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12102 mpfr_f_11.
12103 (func_calc_desc): Add mpfr_f_11 union field.
12104 (test_functions): Add sincos.
12105 (calc_generic_results): Handle mpfr_f_11.
12106 * sysdeps/i386/fpu/libm-test-ulps: Update.
12107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12108
83f5c32d
AS
121092013-12-19 Andreas Schwab <schwab@suse.de>
12110
12111 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12112 CALL_MCOUNT.
12113 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12115 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12116
c688b419
JM
121172013-12-19 Joseph Myers <joseph@codesourcery.com>
12118
335ee092
JM
12119 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12120 * sysdeps/i386/fpu/libm-test-ulps: Update.
12121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12122
f88acd39
JM
12123 [BZ #16293]
12124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12125 round-to-nearest mode when using frndint.
12126 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12127 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12129 Likewise.
12130 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12131 sinh test to fail.
12132 * math/auto-libm-test-out: Regenerated.
12133 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12134 (TEST_COND_x86): Likewise.
12135 (expm1_tonearest_test_data): New array.
12136 (expm1_test_tonearest): New function.
12137 (expm1_towardzero_test_data): New array.
12138 (expm1_test_towardzero): New function.
12139 (expm1_downward_test_data): New array.
12140 (expm1_test_downward): New function.
12141 (expm1_upward_test_data): New array.
12142 (expm1_test_upward): New function.
12143 (main): Run the new test functions.
12144 * sysdeps/i386/fpu/libm-test-ulps: Update.
12145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146
c688b419
JM
12147 * include/features.h: Update comment documenting feature test
12148 macros. Mention _DEFAULT_SOURCE in comment.
12149 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12150 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12151 _BSD_SOURCE and _SVID_SOURCE.
12152 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12153 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12154 !_SVID_SOURCE]: Likewise.
12155 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12156 (__USE_POSIX_IMPLICITLY): Define.
12157 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12158 (_POSIX_SOURCE): Undefine and redefine.
12159 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12160 (_POSIX_C_SOURCE): Likewise.
12161 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12162 (Feature Test Macros): Update documentation of default features.
12163
9f6e964c
RS
121642013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12165
12166 * benchtests/Makefile: Add bench-strtok.
12167 * benchtests/bench-strtok.c: New file: strtok benchtest.
12168
ee0a148a
AM
121692013-12-19 Allan McRae <allan@archlinux.org>
12170
12171 * manual/install.texi: Suppress menu for plain text output.
12172 * INSTALL: Regenerated.
12173
b9ab448f
BM
121742013-12-18 Brooks Moses <bmoses@google.com>
12175
12176 [BZ #15846]
12177 * misc/getauxval.c: Include errno.h.
12178 (__getauxval): Set errno to ENOENT if the requested type is not
12179 found.
12180 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12181 don't declare with __attribute_const__.
12182 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12183 * manual/startup.texi: Document that getauxval sets errno.
12184
23776487
JM
121852013-12-18 Joseph Myers <joseph@codesourcery.com>
12186
f889953b
JM
12187 * math/auto-libm-test-in: Add tests of jn and yn.
12188 * math/auto-libm-test-out: Regenerated.
12189 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12190 (yn_test_data): Likewise.
12191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12192 mpfr_if_f.
12193 (func_calc_desc): Add mpfr_if_f union field.
12194 (FUNC_mpfr_if_f): New macro.
12195 (test_functions): Add jn and yn.
12196 (calc_generic_results): Assert type of second input for
12197 mpfr_ff_f. Handle mpfr_if_f.
12198 (output_for_one_input_case): Disable all checking for arguments
12199 fitting floating-point types in case of an integer argument.
12200 * sysdeps/i386/fpu/libm-test-ulps: Update.
12201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12202
23776487
JM
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12204 Don't expect fegetround reference in libm.so.
12205
cb756c6d
MS
122062013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12207
12208 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12209 $(config-cflags-nofma).
12210
2dec468f
JM
122112013-12-18 Joseph Myers <joseph@codesourcery.com>
12212
5953eb3a
JM
12213 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12214 * math/auto-libm-test-out: Regenerated.
12215
2dec468f
JM
12216 [BZ #16338]
12217 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12218 to determine exponent and adjust argument to have exponent of -1.
12219 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12220 log2.
12221 * math/auto-libm-test-out: Regenerated.
12222 * sysdeps/i386/fpu/libm-test-ulps: Update.
12223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12224
4d84e6ad
OB
122252013-12-18 Ondřej Bílka <neleai@seznam.cz>
12226
12227 * manual/probes.texi: Remove cases when per-thread arenas are
12228 disabled.
12229
1818483b
AS
122302013-12-18 Andreas Schwab <schwab@suse.de>
12231
12232 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12233 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12234 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12235 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12236 * sysdeps/i386/i686/multiarch/Makefile: Update.
12237 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12238
25de95bf
JM
122392013-12-17 Joseph Myers <joseph@codesourcery.com>
12240
12241 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12242 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12243
674762d9
PE
122442013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12245
ed27ed83 12246 [BZ #15968]
0748546f
PE
12247 Support TZ transition times < 00:00:00.
12248 This is needed for version-3 tz-format files; it supports time
12249 stamps past 2037 for America/Godthab (the only entry in the tz
12250 database for which this change is relevant).
12251 * manual/time.texi (TZ Variable): Document transition times
12252 from -167:59:59 through -00:00:01.
12253 * time/tzset.c (tz_rule): Time of day is now signed.
12254 (__tzset_parse_tz): Parse negative time of day.
12255
4480e934
PE
12256 Document TZ transition times >= 25:00:00.
12257 * manual/time.texi (TZ Variable): Document transition times from
12258 25:00:00 through 167:59:59. These are already supported, and this
12259 support will help with version-3 tz-format files.
12260
69947401
PE
12261 * manual/time.texi (TZ Variable): Modernize North America example
12262 to reflect current (i.e., 2007-and-later) daylight saving rules.
12263
674762d9
PE
12264 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12265
7011c262
JM
122662013-12-17 Joseph Myers <joseph@codesourcery.com>
12267
2fc6557e
JM
12268 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12269 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12272 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12273 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12274 * sysdeps/unix/bsd/clock.c: Likewise.
12275 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12276 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12277 * sysdeps/unix/bsd/init-posix.c: Likewise.
12278 * sysdeps/unix/bsd/poll.c: Likewise.
12279 * sysdeps/unix/bsd/ptsname.c: Likewise.
12280 * sysdeps/unix/bsd/seekdir.c: Likewise.
12281 * sysdeps/unix/bsd/setegid.c: Likewise.
12282 * sysdeps/unix/bsd/seteuid.c: Likewise.
12283 * sysdeps/unix/bsd/setgid.c: Likewise.
12284 * sysdeps/unix/bsd/setrgid.c: Likewise.
12285 * sysdeps/unix/bsd/setruid.c: Likewise.
12286 * sysdeps/unix/bsd/setsid.c: Likewise.
12287 * sysdeps/unix/bsd/setuid.c: Likewise.
12288 * sysdeps/unix/bsd/sigaction.c: Likewise.
12289 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12290 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12291 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12292 * sysdeps/unix/bsd/telldir.c: Likewise.
12293 * sysdeps/unix/bsd/times.c: Likewise.
12294 * sysdeps/unix/bsd/usleep.c: Likewise.
12295
029c7b25
JM
12296 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12297 ($(objpfx)libbsd-compat.a): Remove rule.
12298
7011c262
JM
12299 * include/features.h (__FAVOR_BSD): Do not define.
12300 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12301 features conflicting with POSIX.
12302 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12303 (_BSD_SOURCE): Remove description of not being a subset of other
12304 feature test macros.
12305 * manual/job.texi (getpgrp): Do not document BSD version.
12306 (getpgid): Do not document by reference to BSD getpgrp.
12307 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12308 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12309 * signal/signal.h [__FAVOR_BSD]: Likewise.
12310 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12311 instead of making contents conditional on [__FAVOR_BSD].
12312 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12313
affb6f78
AZ
123142013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12315
12316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12317
c88769dd
JM
123182013-12-17 Joseph Myers <joseph@codesourcery.com>
12319
6432a540
JM
12320 [BZ #16314]
12321 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12322 values below 2**-450, not 2**-500.
12323 * math/auto-libm-test-in: Don't allow spurious underflow from
12324 hypot.
12325 * math/auto-libm-test-out: Regenerated.
12326
c88769dd
JM
12327 [BZ #16316]
12328 [BZ #16330]
12329 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12330 values of ha and hb and sort them after adjusting subnormal
12331 arguments.
12332 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12333 Likewise.
12334 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12335 values of ea and eb and sort them after adjusting subnormal
12336 arguments.
12337 * math/auto-libm-test-in: Do not expect some hypot tests of
12338 subnormals to fail. Add more hypot tests.
12339 * math/auto-libm-test-out: Regenerated.
12340
29618f6b
KK
123412013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12342
12343 [BZ #13304]
12344 * sysdeps/sh/s_fma.c: New file.
12345 * sysdeps/sh/s_fmaf.c: New file.
12346 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12347 version.
12348 * sysdeps/sh/Implies: Add sh/soft-fp.
12349
eacfdfbf
RM
123502013-12-16 Roland McGrath <roland@hack.frob.com>
12351
12352 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12353 level of indirection to members `objname', `errstring', `malloced'.
12354 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12355 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12356 it as the __longjmp argument (just pass 1 instead).
12357 (_dl_catch_error): Initialize C with argument pointers and address of
12358 volatile local ERRCODE rather than copying values out of C at return.
12359
ff362e5b
JM
123602013-12-16 Joseph Myers <joseph@codesourcery.com>
12361
12362 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12363 * math/auto-libm-test-out: Regenerated.
12364 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12365 (hypot_test_data): Likewise.
12366 (pow_test_data): Likewise.
12367 (pow_tonearest_test_data): Likewise.
12368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12369 mpfr_ff_f.
12370 (func_calc_desc): Add mpfr_ff_f union field.
12371 (FUNC_mpfr_ff_f): New macro.
12372 (test_functions): Add atan2, hypot and pow.
12373 (special_fill_min): New function.
12374 (special_fill_minus_min): Likewise.
12375 (special_fill_min_subnorm): Likewise.
12376 (special_fill_minus_min_subnorm): Likewise.
12377 (special_real_inputs): Add min, -min, min_subnorm and
12378 -min_subnorm.
12379 (calc_generic_results): Handle mpfr_ff_f.
12380 * sysdeps/i386/fpu/libm-test-ulps: Update.
12381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12382
5764c27f
WN
123832013-12-16 Will Newton <will.newton@linaro.org>
12384
12385 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12386 (Aligned Memory Blocks): Add documentation for aligned_alloc
12387 and suggest it as an alternative to posix_memalign.
12388 (Hooks for Malloc): Document __memalign_hook is also called
12389 for aligned_alloc. (Summary of Malloc): Add summary for
12390 aligned alloc. Document __memalign_hook is also called
12391 for aligned_alloc.
12392
0a096e44
WN
123932013-12-16 Will Newton <will.newton@linaro.org>
12394
12395 * manual/memory.texi (Malloc Examples): Clarify default
12396 alignment documentation. Suggest posix_memalign rather
12397 than memalign or valloc.
12398 (Aligned Memory Blocks): Remove suggestion to use memalign
12399 or valloc. Remove obsolete comment about BSD.
12400 Document memalign errno values and mark the function obsolete.
12401 Document posix_memalign returned error codes. Mark valloc
12402 as obsolete. (Hooks for Malloc): __memalign_hook is also
12403 called for posix_memalign and valloc.
12404 (Summary of Malloc): Add posix_memalign to function summary.
12405 __memalign_hook is also called for posix_memalign and valloc.
12406
8d561986
SP
124072013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12408
12409 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12410 TAYLOR_SIN.
12411 (__sin): Adjust.
12412 (__cos): Likewise.
12413 (sloww): Use mynumber union. Expand ternary operator into
12414 if-else statements.
12415 (cslow): use mynumber union.
12416
73616a74
AM
124172013-12-16 Allan McRae <allan@archlinux.org>
12418
9e8ac24b
AM
12419 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12420 * configure: Regenerated.
12421
6f8e37eb
AM
12422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12423
8894bad3
AM
12424 [BZ #14120]
12425 * configure.ac: Added --enable-maintainer-mode. Check for
12426 autoconf when enabled.
12427 * configure: Regenerated.
12428
73616a74
AM
12429 * nscd/nscd.service: New file.
12430 * nscd/nscd.tmpfiles: New file.
12431
584b18eb
OB
124322013-12-14 Ondřej Bílka <neleai@seznam.cz>
12433
12434 [BZ #12100]
12435 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12436 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12437 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12438 (strstr): Add __strstr_sse2_unaligned ifunc.
12439 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12440 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12441 (strcasestr): Remove __strcasestr_sse42 ifunc.
12442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12445
8a5c7897
KK
124462013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12447
12448 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12449 * sysdeps/sh/bits/fenv.h: ... here.
12450 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12451
fd712ef3
AZ
124522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12453
12454 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12455
42fcb46c
AZ
12456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12457 hypotf multiarch implementations.
12458 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12461 multiarch hypot for PPC64.
12462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12465 multiarch hypotf for PPC64.
12466
83efded4
AZ
12467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12468 modff multiarch implementations.
12469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12472 multiarch modf for PPC64.
12473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12476 multiarch modff for PPC64.
12477
43e246d2
AZ
12478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12479 and logl multiarch implementations.
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12483 multiarch logb for PPC64.
12484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12487 multiarch logb for PPC64.
12488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12491 multiarch logb for PPC64.
12492
8fdad123
AZ
12493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12494 isinff multiarch implementation.
12495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12496 file.
12497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12499 multiarch isinf for PPC64.
12500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12501 file.
12502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12503 multiarch isinff for PPC64.
12504
1481d706
AZ
12505 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12506 finitef multiarch implementation.
12507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12508 file.
12509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12511 multiarch finite for PPC64.
12512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12513 file.
12514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12515 multiarch finitef for PPC64.
12516
5ccd5fc8
AZ
12517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12518 lrint multiarch implementation.
12519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12520 file.
12521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12523 multiarch llrint for PPC64.
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12525 multiarch lrint for PPC64.
12526
2568f3fa
AZ
12527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12528 copysignf multiarch implementation.
12529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12530 file.
12531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12532 file.
12533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12534 multiarch copysign for PPC64.
12535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12536 multiarch copysignf for PPC64.
12537
1cb341fd
AZ
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12539 multiarch implementation.
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12541 file.
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12543 file.
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12545 file.
12546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12547 file.
12548 multiarch llround for PPC64.
12549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12550 multiarch trunc for PPC64.
12551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12552 multiarch truncf for PPC64.
12553
59a3e194
AZ
12554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12555 multiarch implementation.
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12557 file.
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12559 file.
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12561 file.
12562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12563 file.
12564 multiarch llround for PPC64.
12565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12566 multiarch round for PPC64.
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12568 multiarch roundf for PPC64.
12569
357fd3b4
AZ
12570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12571 multiarch implementation.
12572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12573 file.
12574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12575 file.
12576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12577 file.
12578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12579 file.
12580 multiarch llround for PPC64.
12581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12582 multiarch floor for PPC64.
12583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12584 multiarch floorf for PPC64.
12585
96770f12
AZ
12586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12587 multiarch implementation.
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12589 file.
12590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12591 file.
12592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12593 file.
12594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12595 file.
12596 multiarch llround for PPC64.
12597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12598 multiarch ceil for PPC64.
12599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12600 multiarch ceilf for PPC64.
12601
c3627f6e
AZ
12602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12603 multiarch implementation.
12604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12605 file.
12606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12607 file.
12608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12609 file.
12610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12611 multiarch llround for PPC64.
12612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12613 multiarch lround for PPC64.
12614
b2284ad7
AZ
12615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12616 multiarch implementation.
12617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12620 file.
12621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12624 multiarch isnan for PPC64.
12625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12626 multiarch isnanf for PPC64.
12627
69bbc63d
AZ
12628 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12629 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12630 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12631 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12632 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12634
c24517c9
AZ
12635 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12636 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12637 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12639
a52374e8
AZ
12640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12641 multiarch implementations.
12642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12643 (__libc_ifunc_impl_list): Likewise.
12644 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12645 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12646 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12647 multiarch stpcpy for PPC64.
12648
7f5ec113
AZ
12649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12650 multiarch implementations.
12651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12652 (__libc_ifunc_impl_list): Likewise.
12653 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12654 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12655 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12656 multiarch strcpy for PPC64.
12657
e28bcd42
AZ
12658 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12659 redefine function name.
12660 (_wordcopy_fwd_dest_aligned): Likewise.
12661 (_wordcopy_bwd_aligned): Likewise.
12662 (_wordcopy_bwd_dest_aligned): Likewise.
12663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12664 multiarch implementations.
12665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12666 (__libc_ifunc_impl_list): Likewise.
12667 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12668 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12669 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12670 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12671 multiarch wcscpy for PPC64.
12672
92cacfce
AZ
12673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12674 multiarch implementations.
12675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12676 (__libc_ifunc_impl_list): Likewise.
12677 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12678 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12679 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12680 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12681 multiarch wcscpy for PPC64.
12682
7b714620
AZ
12683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12684 multiarch implementations.
12685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12686 (__libc_ifunc_impl_list): Likewise.
12687 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12688 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12689 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12690 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12691 multiarch wcsrchr for PPC64.
12692
16fd2ae3
AZ
12693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12694 multiarch implementations.
12695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12696 (__libc_ifunc_impl_list): Likewise.
12697 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12698 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12699 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12700 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12701 multiarch wcschr for PPC64.
12702
9ee2969b
AZ
12703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12704 multiarch implementations.
12705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12706 (__libc_ifunc_impl_list): Likewise.
12707 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12708 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12709 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12710 multiarch strchrnul for PPC64.
12711
372dc060
AZ
12712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12713 implementations.
12714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12715 (__libc_ifunc_impl_list): Likewise.
12716 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12717 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12718 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12719 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12720 strchr for PPC64.
12721
24c2c3b9
AZ
12722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12723 implementations.
12724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12725 (__libc_ifunc_impl_list): Likewise.
12726 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12727 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12728 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12729 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12730 strncmp for PPC64.
12731
1c92d9a0
AZ
12732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12733 multiarch implementations.
12734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12735 (__libc_ifunc_impl_list): Likewise.
12736 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12737 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12738 strncasecmp for PPC64.
12739 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12740 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12741 multiarch strncasecmp_l for PPC64.
12742
17de3ee3
AZ
12743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12744 multiarch implementations.
12745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12746 (__libc_ifunc_impl_list): Likewise.
12747 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12749 multiarch strcasecmp for PPC64.
12750 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12751 file.
12752 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12753 multiarch strcasecmp_l for PPC64.
12754
62982bf9
AZ
12755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12756 implementations.
12757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12758 (__libc_ifunc_impl_list): Likewise.
12759 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12760 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12761 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12762 strnlen for PPC64.
12763
a65f4904
AZ
12764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12765 implementations.
12766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12767 (__libc_ifunc_impl_list): Likewise.
12768 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12769 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12770 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12771 strlen for PPC64.
12772
1fd005ad
AZ
12773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12774 implementations.
12775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12776 (__libc_ifunc_impl_list): Likewise.
12777 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12779 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12780 rawmemrchr for PPC64.
12781
cd05ba91
AZ
12782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12783 implementation.
12784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12785 (__libc_ifunc_impl_list): Likewise.
12786 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12787 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12788 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12789 memrchr for PPC64.
12790
870f8676
AZ
12791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12792 implementation.
12793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12794 (__libc_ifunc_impl_list): Likewise.
12795 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12796 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12797 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12798 memchr for PPC64.
12799
f00be62b
AZ
12800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12801 implementation.
12802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12803 (__libc_ifunc_impl_list): Likewise.
12804 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12805 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12806 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12807 mempcpy for PPC64.
12808
8a29a3d0
AZ
12809 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12810 avoid cretion of __bzero symbol.
12811 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12812 Likewise.
12813 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12814 Likewise.
12815 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12816 Likewise.
12817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12818 multiarch implementations.
12819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12820 (__libc_ifunc_impl_list): Likewise.
12821 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12822 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12823 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12824 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12825 bzero for PPC32.
12826 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12827 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12828 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12829 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12830 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12831 memset for PPC64.
12832 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12833
07253fcf
AZ
12834 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12836 implementations.
12837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12838 (__libc_ifunc_impl_list): Likewise.
12839 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12840 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12841 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12842 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12843 memcmp for PPC64.
12844
b5beafbc
AZ
12845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12846 multiarch for POWER/PPC64.
12847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12848 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12849 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12850 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12851 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12853 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12854 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12855 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12856 memcpy for PPC64.
12857
5e6a4d4b
AZ
12858 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12859 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12860 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12861 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12862 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12863 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12864 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12865 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12866 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12867 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12868 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12869 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12870 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12871 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12872 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12880
ddfab6dc
KK
128812013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12882
12883 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12884
19b5525e
SP
128852013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12886
12887 * benchtests/Makefile (bench): Add exp2 and log2.
12888 (LDLIBS-bench-exp2): Add -lm.
12889 (LDLIBS-bench-log2): Likewise.
12890 * benchtests/exp2-inputs: New inputs file.
12891 * benchtests/log2-inputs: New inputs file.
12892 * benchtests/log-inputs: Add new inputs.
12893 * benchtests/tan-inputs: Likewise.
12894
196f7f5d
SP
128952013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12896
7a74607f
SP
12897 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12898 definition...
57f41c40
AS
12899 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12900 (csloww2): ... from here.
7a74607f 12901
196f7f5d
SP
12902 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12903 instead of structures.
12904 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12905 (POLYNOMIAL): Likewise.
12906 (TAYLOR_SLOW): Likewise.
12907 (__sin): Likewise.
12908 (__cos): Likewise.
12909 (slow1): Likewise.
12910 (slow2): Likewise.
12911 (sloww): Likewise.
12912 (sloww1); Likewise.
12913 (sloww2): Likewise.
12914 (bsloww1): Likewise.
12915 (bsloww2): Likewise.
12916 (cslow2): Likewise.
12917 (csloww): Likewise.
12918 (csloww1): Likewise.
12919 (csloww2): Likewise.
12920
0dfa665c
OB
129212013-12-10 Ondřej Bílka <neleai@seznam.cz>
12922
12923 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12924 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12925 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12926 * malloc/hooks.c (realloc_check): Likewise.
12927
5782a80f
OB
12928 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12929 * malloc/arena.c: Remove PER_THREAD conditional.
12930 [!PER_THREAD]: Remove code.
12931 (ptmalloc_unlock_all2): Likewise.
12932 (ptmalloc_init): Likewise.
12933 (_int_new_arena): Likewise.
12934 (arena_get2): Likewise.
12935 * malloc/hooks.c (__malloc_get_state): Likewise.
12936 (__malloc_set_state): Likewise.
12937 * malloc/malloc.c: Likewise.
12938 (struct malloc_state): Likewise.
12939 (struct malloc_par): Likewise.
12940 (__libc_realloc): Likewise.
12941 (__libc_mallopt): Likewise.
12942
aeb95445
AZ
129432013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12944
12945 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12946
e8349efd
OB
129472013-12-09 Ondřej Bílka <neleai@seznam.cz>
12948
12949 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12950 macro to a function. Check for zero perturb_byte.
12951 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12952
f3eeb3fc 12953 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12954 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12955 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12956 force_reg by atomic_forced_read.
12957 * malloc/arena.c (ptmalloc_init): Likewise.
12958 * malloc/hooks.c (top_check): Likewise.
12959
be2f9009
AZ
129602013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12961
12962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12963
e7b914bd
MT
129642013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12965
12966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12967
9f0be4f8
JM
129682013-12-08 Joseph Myers <joseph@codesourcery.com>
12969
12970 * math/auto-libm-test-in: Add tests of lgamma.
12971 * math/auto-libm-test-out: Regenerated.
12972 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12973 (M_LOG_2_SQRT_PIl): Likewise.
12974 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12975 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12976 mpfr_f_f1.
12977 (func_calc_desc): Add mpfr_f_f1 union field.
12978 (ARGS1): New macro.
12979 (ARGS2): Likewise.
12980 (ARGS3): Likewise.
12981 (ARGS4): Likewise.
12982 (RET1): Likewise.
12983 (RET2): Likewise.
12984 (CALC): Likewise.
12985 (FUNC): Likewise.
12986 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12987 (test_functions): Add lgamma.
12988 (calc_generic_results): Handle mpfr_f_f1.
12989 * sysdeps/i386/fpu/libm-test-ulps: Update.
12990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12991
24eeafdb
AZ
129922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12993
12994 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12995 __mpn_add_n for PowerPC64/POWER7.
12996 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12997 __mpn_sub_n for PowerPC64/POWER7.
12998
4a2c0fd4
AZ
12999 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13000 __mpn_addmul_1 for PowerPC64.
13001 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13002 __mpn_submul_1 for PowerPC64.
13003 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13004 for PowerPC64.
13005 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13006 for PowerPC64.
13007
4b5b548c
FS
130082013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13009
13010 [BZ #15089]
13011 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13012
0a3ac0aa
AZ
130132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13014
13015 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13016
ccdc8438
AZ
13017 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13018 add multiarch folders.
13019 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13020 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13021 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13022 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13023 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13024 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13025 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13026 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13027 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13028 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13029 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13036
2e973d99
AZ
13037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13038 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13040 New file.
13041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13042 New file.
13043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13044 multiarch __ieee754_hypot for PowerPC32.
13045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13046 New file.
13047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13048 New file.
13049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13050 multiarch __ieee754_hypotf for PowerPC32.
13051
2d9470b2
AZ
13052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13053 long_double_symbol only if __logbl is defined.
13054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13055 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13057 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13059 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13061 path for implementation.
13062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13065 logb, and logbl multiarch implementations for PowerPC32.
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13067 file.
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13069 file.
13070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13071 multiarch logb for PowerPC32.
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13073 file.
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13075 file.
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13077 multiarch logbf for PowerPC32.
13078 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13080 file.
13081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13082 multiarch logbl implementation for PowerPC32.
13083
5212ffce
AZ
13084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13085 and modff multiarch implementations.
13086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13087 New file.
13088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13089 New file.
13090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13091 multiarch modf for PowerPC32.
13092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13093 New file.
13094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13095 New file.
13096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13097 multiarch modff for PowerPC32.
13098
79dccf31
AZ
13099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13100 and lrintf multiarch implementations.
13101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13102 New file.
13103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13104 New file.
13105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13106 multiarch lrint for PowerPC32.
13107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13108 file: multiarch lrintf for PowerPC32.
13109
deb66480
AZ
13110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13111 and lroundf multiarch implementations.
13112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13113 New file.
13114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13115 New file.
13116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13117 New file.
13118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13119 multiarch lround for PowerPC32.
13120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13121 file: multiarch lroundf for PowerPC32.
13122
264b036b
AZ
13123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13124 copysign and copysignf multiarch implementations.
13125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13126 New file.
13127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13128 New file.
13129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13130 file: multiarch copysign for PowerPC32.
13131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13132 file: multiarch copysignf for PowerPC32.
13133
d47db6c9
AZ
13134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13135 and truncf multiarch implementations.
13136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13137 New file.
13138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13139 file.
13140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13141 multiarch trunc for PowerPC32.
13142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13143 New file.
13144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13145 New file.
13146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13147 multiarch truncf for PowerPC32.
13148
ddb60b5a
AZ
13149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13150 and roundf multiarch implementations.
13151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13152 New file.
13153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13154 file.
13155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13156 multiarch round for PowerPC32.
13157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13158 New file.
13159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13160 New file.
13161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13162 multiarch roundf for PowerPC32.
13163
bedcf49b
AZ
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13165 and floorf multiarch implementations.
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13167 New file.
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13169 file.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13171 multiarch floor for PowerPC32.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13173 New file.
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13175 New file.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13177 multiarch floorf for PowerPC32.
13178
35ae5b40
AZ
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13180 and ceilf multiarch implementations.
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13182 New file.
13183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13184 file.
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13186 multiarch ceil for PowerPC32.
13187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13188 New file.
13189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13190 file.
13191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13192 multiarch ceilf for PowerPC32.
13193
ae1a4cd9
AZ
13194 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13195 is defined.
13196 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13197 FINITEF is defined.
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13199 and finitef multiarch implementations.
13200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13201 New file.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13203 file.
13204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13205 multiarch finite for PowerPC32.
13206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13207 New file.
13208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13209 file: multiarch finitef for PowerPC32.
13210
64fffd65
AZ
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13212 and isinff multiarch implementations.
13213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13214 file.
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13216 file.
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13218 multiarch isinf for PowerPC32.
13219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13220 New file.
13221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13222 multiarch isinff for PowerPC32.
13223
8e4e7ba2
AZ
13224 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13225 alias when __isnan is defined.
13226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13227 and isnanf multiarch implementations.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13229 file.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13231 file.
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13233 file.
13234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13235 file.
13236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13237 multiarch isnan for PowerPC32.
13238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13239 New file.
13240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13241 New file.
13242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13243 multiarch isnanf for PowerPC32.
13244
ddba588e
AZ
13245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13246 and sqrtf multiarch implementations.
13247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13248 file.
13249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13250 file.
13251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13252 multiarch sqrt for PowerPC32.
13253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13254 file.
13255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13256 file.
13257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13258 multiarch sqrtf for PowerPC32.
13259
0f96a2f0
AZ
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13261 and llroundf multiarch implementations.
13262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13263 New file.
13264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13265 New file.
13266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13267 New file.
13268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13269 file: multiarch llround for PowerPC32.
13270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13271 file: multiarch llroundf for PowerPC32.
13272
c9b5d79e
AZ
13273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13274 multiarch PowerPC32 fpu implementations.
13275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13276 New file.
13277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13278 New file.
13279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13280 multiarch llrint for PowerPC32.
13281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13282 New file.
13283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13284 New file.
13285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13286 file.
13287
9cbb3aab
AZ
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13289
ea5a72f8
AZ
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13291 file.
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13293 file.
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13295 file.
13296 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13297 multiarch wordcopy for PPC32.
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13299 wordcopy objects.
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13301 (__libc_ifunc_impl_list): Likewise.
13302 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13303 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13304 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13305 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13307 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13308
93be09e7
AZ
13309 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13311 file.
13312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13313 file.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13315 file.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13317 multiarch wcscpy for PPC32.
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13319 multiarch objects.
13320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13321 (__libc_ifunc_impl_list): Likewise.
13322 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13323 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13324 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13325 sysdeps/powerpc/power6/wcscpy.c.
13326
bb04e529
AZ
13327 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13329 file.
13330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13331 file.
13332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13333 file.
13334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13335 multiarch wcsrchr for PPC32.
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13337 multiarch objects.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13339 (__libc_ifunc_impl_list): Likewise.
13340 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13341 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13342 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13343 sysdeps/powerpc/power6/wcsrchr.c.
13344
05b5cd1c
AZ
13345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13346 file.
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13348 file.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13351 multiarch wcschr for PPc32.
13352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13353 multiarch objects.
13354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13355 (__libc_ifunc_impl_list): Likewise.
13356 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13357 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13358 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13359 sysdeps/powerpc/power6/wcschr.c.
13360
ba964147
AZ
13361 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13362 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13363 file.
13364 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13365 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13366 file: multiarch strchr for PPC32.
13367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13368 multiarch objects.
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13370 (__libc_ifunc_impl_list): Likewise.
13371
31c81aaa
AZ
13372 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13373 name.
13374 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13375 file.
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13377 file.
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13379 multiarch strchrnul for PPC32.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13381 multiarch objects.
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13383 (__libc_ifunc_impl_list): Likewise.
13384
0d0607d9
AZ
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13386 file.
13387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13388 multiarch strncasecmp for PPC32.
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13390 file.
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13392 multiarch strncasecmp_l for PPC32.
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13394 strncasecmp multiarch objects.
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13396 (__libc_ifunc_impl_list): Likewise.
13397
4dfd5c86
AZ
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13399 file.
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13401 multiarch strncasecmp for PPC32.
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13403 New file.
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13405 multiarch strcasecmp_l for PPC32.
13406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13407 multiarch objects.
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13409 (__libc_ifunc_impl_list): Likewise.
13410
a19e01a3
AZ
13411 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13412 file.
13413 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13414 file.
13415 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13416 multiarch strncmp for PPC32.
13417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13418 multiarch objects.
13419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13420 (__libc_ifunc_impl_list): Likewise.
13421
ae9cf7a2
AZ
13422 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13423 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13424 file.
13425 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13428 multiarch objects.
13429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13430 (__libc_ifunc_impl_list): Likewise.
13431
3148bb7d
AZ
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13433 file.
13434 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13435 file.
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13438 multiarch objects.
13439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13440 (__libc_ifunc_impl_list): Likewise.
13441
7af8b946
AZ
13442 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13443 file.
13444 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13445 file.
13446 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13447 multiarch rawmemchr for PPC32.
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13449 multiarch objects.
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13451 (__libc_ifunc_impl_list): Likewise.
13452
03a6aa6a
AZ
13453 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13454 file.
13455 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13456 file.
13457 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13458 file: memrchr multiarch for PPC32.
13459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13460 multiarch objects.
13461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13462 (__libc_ifunc_impl_list): Likewise.
13463
1c62e6d9
AZ
13464 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13466 file.
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13468 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13469 multiarch memchr for PPC32.
13470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13471 multiarch objects.
13472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13473 (__libc_ifunc_impl_list): Likewise.
13474
87da8bdb
AZ
13475 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13476 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13477 file.
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13479 file.
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13481 file: multiarch mempcpy for PPC32.
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13483 multiarch objects.
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13485 (__libc_ifunc_impl_list): Likewise.
13486
20ed4714
AZ
13487 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13488 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13491 multiarch bzero for PPC32.
13492 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13493 file.
13494 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13495 file.
13496 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13497 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13498 file: multiarch memset for PPC32.
13499 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13501 memset multiarch objects.
13502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13503 (__libc_ifunc_impl_list): Likewise.
13504
ab3e3a46
AZ
13505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13506 file.
13507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13508 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13509 memcmp for PPC32.
13510 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13512 multiarch objects.
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13514 (__libc_ifunc_impl_list): Likewise.
13515
930de6f0
AZ
13516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13519 file.
13520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13521 file.
13522 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13523 file.
13524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13525 multiarch memcpy for PPC32.
13526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13527 multiarch objects.
13528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13529 (__libc_ifunc_impl_list): Likewise.
13530
4c628e00
AZ
13531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13532 support multiarch for POWER/PPC32.
13533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13534 Likewise.
13535 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13537 Implies file to make multiarch folder appers before the fpu and
13538 default folder for power4 configuration.
13539
f4479220
SP
135402013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13541
13542 * scripts/bench.pl: Append volatile keyword to type.
13543
8517800f
KK
135442013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13545
13546 * sysdeps/sh/sotruss-lib.c: New file.
13547 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13548
180138f1
AZ
135492013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13550
13551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13552
bbf37bdc
JM
135532013-12-05 Joseph Myers <joseph@codesourcery.com>
13554
e47cc4e0
JM
13555 [BZ #6810]
13556 * math/w_tgamma.c: Include <errno.h>.
13557 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13558 * math/w_tgammaf.c: Include <errno.h>.
13559 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13560 * math/w_tgammal.c: Include <errno.h>.
13561 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13562 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13563 underflow. Add more tgamma tests.
13564 * math/auto-libm-test-out: Regenerated.
13565 * sysdeps/i386/fpu/libm-test-ulps: Update.
13566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13567
bbf37bdc
JM
13568 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13569 sin, sinh, tan, tanh, tgamma, y0 and y1.
13570 * math/auto-libm-test-out: Regenerated.
13571 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13572 (TEST_COND_x86): Likewise.
13573 (M_E2l): Remove macro.
13574 (M_E3l): Likewise.
13575 (M_2_SQRT_PIl): Likewise.
13576 (M_SQRT_PIl): Likewise.
13577 (M_1_DIV_El): Likewise.
13578 (log_test_data): Use AUTO_TESTS_f_f.
13579 (log10_test_data): Likewise.
13580 (log1p_test_data): Likewise.
13581 (log2_test_data): Likewise.
13582 (sin_test_data): Likewise.
13583 (sin_tonearest_test_data): Likewise.
13584 (sin_towardzero_test_data): Likewise.
13585 (sin_downward_test_data): Likewise.
13586 (sin_upward_test_data): Likewise.
13587 (sinh_test_data): Likewise.
13588 (sinh_tonearest_test_data): Likewise.
13589 (sinh_towardzero_test_data): Likewise.
13590 (sinh_downward_test_data): Likewise.
13591 (sinh_upward_test_data): Likewise.
13592 (tan_test_data): Likewise.
13593 (tan_tonearest_test_data): Likewise.
13594 (tan_towardzero_test_data): Likewise.
13595 (tan_downward_test_data): Likewise.
13596 (tan_upward_test_data): Likewise.
13597 (tanh_test_data): Likewise.
13598 (tgamma_test_data): Likewise.
13599 (y0_test_data): Likewise.
13600 (y1_test_data): Likewise.
13601 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13602 (special_real_inputs): Add pi/4.
13603 * sysdeps/i386/fpu/libm-test-ulps: Update.
13604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13605
eb5ad6b9
AZ
136062013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13607
13608 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13609 "longjmp_target" static probes.
13610 (__longjmp): Rename to __longjmp_symbol.
13611 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13612 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13613 on which longjmp to generate.
13614 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13615 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13616 probe.
13617 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13618 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13619 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13620 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13621 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13622 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13624 __longjmp_symbol based on which __longjmp to generate.
13625 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13626 probe.
13627 (setjmp): Rename to setjmp_symbol.
13628 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13629 (_setjmp): Rename to _setjmp_symbol.
13630 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13631 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13632 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13633 which setjmp to generate.
13634 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13635 "longjmp_target" static probes.
13636
d136c6dc
SP
136372013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13638
9298ecba
SP
13639 * benchtests/README: Add note about output arguments.
13640 * benchtests/bench-sincos.c: Remove file.
13641 * benchtests/sincos-inputs: New file.
13642 * scripts/bench.pl: Identify output arguments and define
13643 static variables for them.
13644
232983e9
SP
13645 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13646
d136c6dc
SP
13647 [BZ #15941]
13648 * Makefile (INSTALL): Add install-plain.texi as the primary
13649 dependency.
13650 * manual/install-plain.texi: New file.
13651 * manual/install.texi: Include node directive only for
13652 non-plaintext output.
13653
699ff837
JM
136542013-12-04 Joseph Myers <joseph@codesourcery.com>
13655
ab07cea8
JM
13656 * stdlib/longlong.h: Update from GCC.
13657
699ff837
JM
13658 [BZ #6807]
13659 [BZ #15901]
13660 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13661 * math/w_j0f.c (y0f): Likewise.
13662 * math/w_j0l.c (__y0l): Likewise.
13663 * math/w_j1.c (y1): Likewise.
13664 * math/w_j1f.c (y1f): Likewise.
13665 * math/w_j1l.c (__y1l): Likewise
13666 * math/w_jn.c (yn): Likewise.
13667 * math/w_jnf.c (ynf): Likewise.
13668 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13669 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13670 value for Bessel function domain errors outside _SVID_ mode.
13671 Adjust sign of return value for yn (negative integer, 0).
13672 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13673 by zero in return for negative x and set sign appropriately for
13674 negative n.
13675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13676 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13677 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13678 expectations in error cases.
13679 (y1_test_data): Likewise.
13680 (yn_test_data): Likewise.
13681 * sysdeps/i386/fpu/libm-test-ulps: Update.
13682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13683
5b118558
UW
136842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13685
13686 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13687 "64" to "64-v1". Add "64-v2".
13688 (abi-64-options): Rename to ...
13689 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13690 (abi-64-condition): Rename to ...
13691 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13692 (abi-64-ld-soname): Rename to ...
13693 (abi-64-v1-ld-soname): ... this.
13694 (abi-64-v2-options): Define.
13695 (abi-64-v2-condition): Likewise.
13696 (abi-64-v2-ld-soname): Likewise.
13697 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13698 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13702
61cd8fe4
UW
137032013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13704 Alan Modra <amodra@gmail.com>
13705
13706 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13707 New versions for use with the ELFv2 ABI.
13708 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13709 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13710 declaration.
13711 (struct La_ppc64v2_retval): Likewise.
13712 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13713 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13714 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13715 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13716 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13717 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13718 Do not save or restore CR.
13719 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13720 (_dl_profile_resolve): Do no save or restore CR. Support extended
13721 return values for ELFv2 ABI. Fix location of FPR return registers.
13722 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13723 updated values for _CALL_ELF == 2.
13724 (La_regs, La_retval, int_retval): Likewise.
13725
8b8a692c
UW
137262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13727
13728 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13729 (FRAME_MIN_SIZE_PARM): Likewise.
13730 (FRAME_BACKCHAIN): Likewise.
13731 (FRAME_CR_SAVE): Likewise.
13732 (FRAME_LR_SAVE): Likewise.
13733 (FRAME_TOC_SAVE): Likewise.
13734 (FRAME_PARM_SAVE): Likewise.
13735 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13736 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13737 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13738 (call_mcount_parm_offset): New macro.
13739 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13740 (PROF): Use symbolic stack frame offsets.
13741 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13742 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13743 Redefine in terms of FRAME_MIN_SIZE.
13744 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13745 (_dl_profile_resolve): Likewise. Update comment.
13746 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13747 symbols stack frame offsets.
13748 (__sigsetjmp): Likewise.
13749 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13750 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13751 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13752 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13753
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13755 (FRAME_BACKCHAIN): Remove.
13756 (FRAME_CR_SAVE): Likewise.
13757 (FRAME_LR_SAVE): Likewise.
13758 (FRAME_COMPILER_DW): Likewise.
13759 (FRAME_LINKER_DW): Likewise.
13760 (FRAME_TOC_SAVE): Likewise.
13761 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13762 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13763 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13764 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13766 (CHECK_SP): Use symbolic stack frame offsets.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13768 zone" instead of caller's parameter save area for temp storage.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13770 Likewise. Also, use symbolic stack frame offsets.
13771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13772 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13773 our own stack frame instead of the caller's.
13774 (__socket): Use symbolic stack frame offsets.
13775
122b66de
UW
137762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13777 Alan Modra <amodra@gmail.com>
13778
13779 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13780 Define.
57f41c40
AS
13781 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13782 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13783 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13784 New function.
13785 (elf_machine_fixup_plt): Call it.
13786 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13787 reloc arguments.
13788 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13789 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13790 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13791 r2 before calling target.
13792
696caf1d
UW
137932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13794 Alan Modra <amodra@gmail.com>
13795
13796 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13797 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13798 versions of macros to support ELFv2 ABI.
13799 (LOCALENTRY): New macro.
13800 (ENTRY, EALIGN): Use it.
13801 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13802 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13803 fall through into ENTRY entry point.
13804 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13805 Only define if _CALL_ELF != 2.
13806
13807 (elf_machine_matches_host): Verify ABI version matches.
13808 (RTLD_START): Use LOCALENTRY.
13809 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13810 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13811 (PLT_ENTRY_WORDS): New macro.
13812 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13813 (elf_machine_runtime_setup): Support ELFv2 ABI.
13814 (elf_machine_fixup_plt): Likewise.
13815 (elf_machine_plt_conflict): Likewise.
13816 (resolve_ifunc): Likewise.
13817 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13818 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13819 Likewise.
13820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13821 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13823 (makecontext): Support ELFv2 ABI.
13824 * elf/elf.h (EF_PPC64_ABI): Define.
13825
d31beafa
UW
138262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13827
57f41c40
AS
13828 * sysdeps/powerpc/powerpc64/sysdep.h
13829 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13830 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13831 (ENTRY) [ASSEMBLER]: ... but instead here ...
13832 (EALIGN) [ASSEMBLER]: ... and here.
13833 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13834 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13835 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13836 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13837 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13838 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13839 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13840 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13842 Use PPC64_LOAD_FUNCPTR.
13843
b525166b
UW
13844 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13845
7ec07d9a
AM
138462013-12-04 Alan Modra <amodra@gmail.com>
13847
13848 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13849 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13850 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13851 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13852
13853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13854 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13855 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13856 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13857 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13858 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13859
5162e7dd
UW
138602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13861
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13863 (__makecontext): Fix incorrect CFI when backtracing out of
13864 context created via makecontext.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13866 (__setcontext): Fix incorrect CFI during switch to new context.
13867 (__novec_setcontext): Likewise.
13868
19e3372b
OB
138692013-12-04 Ondřej Bílka <neleai@seznam.cz>
13870
13871 [BZ #4772]
13872 * time/strptime_l.c (__strptime_internal): Allow modifiers
13873 in strptime.
13874 * time/tst-strptime.c (day_tests): Add testcase.
13875
ecaf142d
SP
138762013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13877
13878 * scripts/bench.pl: Skip over blank lines.
13879
fbf964ae
PE
138802013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13881
13882 [BZ #926]
13883 * manual/time.texi (Calendar Time): Clarify what timezone functions
13884 use.
13885
fa60a674
AZ
138862013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13887
13888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13889
d674f0ef
OB
138902013-12-04 Ondřej Bílka <neleai@seznam.cz>
13891
13892 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13893 implementation.
13894 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13895 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13896 * debug/memset_chk.c (__memset_chk): Likewise.
13897 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13898 * debug/strncpy_chk.c: Likewise.
13899
17dea188
JM
139002013-12-03 Joseph Myers <joseph@codesourcery.com>
13901
749008ff
JM
13902 [BZ #15268]
13903 [BZ #15425]
13904 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13905 (__ieee754_exp): For possibly underflowing results, check size of
13906 result and force underflow exception if required.
13907 * math/auto-libm-test-in: Add more tests of exp.
13908 * math/auto-libm-test-out: Regenerated.
13909 * sysdeps/i386/fpu/libm-test-ulps: Update.
13910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13911
17dea188
JM
13912 [BZ #16283]
13913 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13914 * math/w_exp2f.c (__exp2f): Likewise.
13915 * math/w_exp2l.c (__exp2l): Likewise.
13916 * math/auto-libm-test-in: Do not allow missing errno on exp2
13917 underflow.
13918 * math/auto-libm-test-out: Regenerated.
13919
b20de2c3
OB
139202013-12-03 Ondřej Bílka <neleai@seznam.cz>
13921
13922 [BZ #16274]
13923 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13924 handle filename validation.
13925 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13926 (do_open): Delete.
13927
d8e2dbe3
JM
139282013-12-03 Joseph Myers <joseph@codesourcery.com>
13929
34e16df5
JM
13930 [BZ #6786]
13931 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13932 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13933 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13934 <float.h>.
13935 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13936 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13937 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13939 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13940 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13941 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13942 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13943 Add more erfc tests.
13944 * math/auto-libm-test-out: Regenerated.
13945 * sysdeps/i386/fpu/libm-test-ulps: Update.
13946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13947
d8e2dbe3
JM
13948 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13949 exp2, expm1, j0 and j1.
13950 * math/auto-libm-test-out: Regenerated.
13951 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13952 (erfc_test_data): Likewise.
13953 (exp_test_data): Likewise.
13954 (exp_tonearest_test_data): Likewise.
13955 (exp_towardzero_test_data): Likewise.
13956 (exp_downward_test_data): Likewise.
13957 (exp_upward_test_data): Likewise.
13958 (exp10_test_data): Likewise.
13959 (exp2_test_data): Likewise.
13960 (expm1_test_data): Likewise.
13961 (j0_test_data): Likewise.
13962 (j1_test_data): Likewise.
13963 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13964 (input_flag_type): Add flag_xfail_rounding.
13965 (input_flags): Add xfail-rounding.
13966 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13967 (output_for_one_input_case): Handle flag_xfail_rounding.
13968 * sysdeps/i386/fpu/libm-test-ulps: Update.
13969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13970
18d14251
AJ
139712013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13972
3d2e6075 13973 [BZ #16289]
18d14251
AJ
13974 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13975 division by 0.
13976
520d437b
SP
139772013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13978
13979 [BZ #16195]
13980 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13981 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13982 (STAP_PROBE0): New macro.
13983 (STAP_PROBE1): Likewise.
13984 (STAP_PROBE2): Likewise.
13985 (STAP_PROBE3): Likewise.
13986 (STAP_PROBE4): Likewise.
13987
416e0145
OB
139882013-12-02 Ondřej Bílka <neleai@seznam.cz>
13989
13990 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13991
9d17796a
SE
139922013-12-02 Steve Ellcey <sellcey@mips.com>
13993
13994 * benchtests/Makefile (bench): Add sqrt.
13995 (LDLIBS-bench-sqrt): New.
13996 * benchtests/sqrt-input: New.
13997
f524d6a8
PS
139982013-12-02 Pavel Simerda <psimerda@redhat.com>
13999
639a0ef8
PS
14000 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14001 (GAIH_EAI): Likewise.
14002 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14003 (gaih_inet): Likewise.
14004 (getaddrinfo): Don't use GAIH_EAI.
14005
f524d6a8
PS
14006 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14007 (struct gaih): Remove definition.
14008
df3aedaf
SP
140092013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14010
14011 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14012 Use HERRNOP directly.
14013
1ab19dec
AZ
140142013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14015
b42ad38d 14016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14017
176b0c79
JM
140182013-11-30 Joseph Myers <joseph@codesourcery.com>
14019
14020 * math/gen-auto-libm-tests.c (test_functions): Add more
14021 single-argument functions.
14022 (special_fill_pi_2): New function.
14023 (special_fill_minus_pi_2): Likewise.
14024 (special_fill_pi_6): Likewise.
14025 (special_fill_minus_pi_6): Likewise.
14026 (special_fill_pi_3): Likewise.
14027 (special_fill_2pi_3): Likewise.
14028 (special_fill_e): Likewise.
14029 (special_fill_1_e): Likewise.
14030 (special_fill_e_minus_1): Likewise.
14031 (special_real_inputs): Add more special inputs.
14032 (output_for_one_input_case): Do not require ERANGE on underflow to
14033 zero if round-to-nearest result does not underflow to zero, unless
14034 exact results required.
14035 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14036 atan, atanh, cbrt, cos and cosh.
14037 * math/auto-libm-test-out: Regenerated.
14038 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14039 (acos_tonearest_test_data): Likewise.
14040 (acos_towardzero_test_data): Likewise.
14041 (acos_downward_test_data): Likewise.
14042 (acos_upward_test_data): Likewise.
14043 (acosh_test_data): Likewise.
14044 (asin_test_data): Likewise.
14045 (asin_tonearest_test_data): Likewise.
14046 (asin_towardzero_test_data): Likewise.
14047 (asin_upward_test_data): Likewise.
14048 (asinh_test_data): Likewise.
14049 (atan_test_data): Likewise.
14050 (atanh_test_data): Likewise.
14051 (cbrt_test_data): Likewise.
14052 (cos_test_data): Likewise.
14053 (cos_tonearest_test_data): Likewise.
14054 (cos_towardzero_test_data): Likewise.
14055 (cos_downward_test_data): Likewise.
14056 (cos_upward_test_data): Likewise.
14057 (cosh_test_data): Likewise.
14058 (cosh_tonearest_test_data): Likewise.
14059 (cosh_towardzero_test_data): Likewise.
14060 (cosh_downward_test_data): Likewise.
14061 (cosh_upward_test_data): Likewise.
14062 * sysdeps/i386/fpu/libm-test-ulps: Update.
14063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14064
ffb536d0
JM
140652013-11-29 Joseph Myers <joseph@codesourcery.com>
14066
2a77a467
JM
14067 [BZ #6787]
14068 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14069 * math/w_exp10f.c (__exp10f): Likewise.
14070 * math/w_exp10l.c (__exp10l): Likewise.
14071 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14072 errno settings in existing tests.
14073
ea3bc4e8
JM
14074 [BZ #14032]
14075 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14076 precision control set to double precision.
14077 * sysdeps/i386/fpu/w_sqrt.c: New file.
14078 * math/auto-libm-test-in: Add more tests.
14079 * math/auto-libm-test-out: Update.
14080
0712c9d8
JM
14081 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14082 (sqrt_test_tonearest): New function.
14083 (sqrt_towardzero_test_data): New variable.
14084 (sqrt_test_towardzero): New function.
14085 (sqrt_downward_test_data): New variable.
14086 (sqrt_test_downward): New function.
14087 (sqrt_upward_test_data): New variable.
14088 (sqrt_test_upward): New function.
14089 (main): Call the new functions.
14090
ffb536d0
JM
14091 * math/gen-auto-libm-tests.c: New file.
14092 * math/auto-libm-test-in: Likewise.
14093 * math/auto-libm-test-out: New generated file.
14094 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14095 variables.
14096 (%beautify): Add generated representations of zero.
14097 (top level): Set $auto_input and call parse_auto_input.
14098 (beautify): Remove trailing "f" from hex float constants.
14099 (parse_args): Handle XFAIL_TEST.
14100 (convert_condition): New function.
14101 (or_value): Likewise.
14102 (or_cond_value): Likewise.
14103 (generate_testfile): Handle AUTO_TESTS_* lines.
14104 (parse_auto_input): New function.
14105 * math/libm-test.inc (XFAIL_TEST): New macro.
14106 (ERRNO_UNCHANGED): Update value.
14107 (ERRNO_EDOM): Likewise.
14108 (ERRNO_ERANGE): Likewise.
14109 (IGNORE_RESULT): Likewise.
14110 (TEST_COND_flt_32): New macro.
14111 (TEST_COND_dbl_64): Likewise.
14112 (TEST_COND_ldbl_96_intel): Likewise.
14113 (TEST_COND_ldbl_96_m68k): Likewise.
14114 (TEST_COND_ldbl_128): Likewise.
14115 (TEST_COND_ldbl_128ibm): Likewise.
14116 (TEST_COND_long32): Likewise.
14117 (TEST_COND_long64): Likewise.
14118 (TEST_COND_before_rounding): Likewise.
14119 (TEST_COND_after_rounding): Likewise.
14120 (enable_test): Handle XFAIL_TEST flag.
14121 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14122 with finite results.
14123 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14124 auto-libm-test-out.
14125
acd98a8e
AK
141262013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14127 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14128
14129 [BZ #16214]
14130 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14131 __tls_get_addr_internal instead of __tls_get_offset in order to
14132 avoid GOT pointer dependency. Make rtld export
14133 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14134 __tls_get_addr since we are a __tls_get_offset platform.
14135 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14136 GOT pointer being set up before.
14137 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14138
3c1c46a6
JM
141392013-11-28 Joseph Myers <joseph@codesourcery.com>
14140
7475aef5
JM
14141 * manual/math.texi (Errors in Math Functions): Document accuracy
14142 goals.
14143
8bca7cd8
JM
14144 [BZ #15004]
14145 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14146 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14147 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14149 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14151 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14161
91a1f3fe
JM
14162 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14163 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14164 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14165 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14166 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14167 Likewise.
14168 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14169 Likewise.
14170 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14171 Likewise.
14172 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14174 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14175 atomic-feupdateenv and flt-rounds.
14176 * sysdeps/powerpc/nofpu/Versions (libc): Add
14177 __atomic_feholdexcept, __atomic_feclearexcept,
14178 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14179 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14180 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14181 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14182 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14183 here.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14185 Update.
14186
c5df7609
JM
14187 * manual/arith.texi (FP Exceptions): Document that exceptions may
14188 not be raised when matherr is used.
14189 (Math Error Reporting): Document overflow in directed rounding
14190 modes. Document that errno may not be set when finite values are
14191 returned on overflow. Document intent to set errno on underflow
14192 only for underflow to zero.
14193
3c1c46a6
JM
14194 [BZ #16271]
14195 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14196 round-to-nearest then adjust result for other rounding modes.
14197 * include/fenv.h (fegetround): Use libm_hidden_proto.
14198 * math/fegetround.c (fegetround): Use libm_hidden_def.
14199 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14200 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14201 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14202 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14203 Likewise.
14204 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14205 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14206 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14207 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14208
5a4c6d53
SP
142092013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14210
14211 [BZ #16077]
14212 * nss/Versions (libnss_files): Add
14213 _nss_files_gethostbyname3_r.
14214 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14215 New function.
14216 (HOST_DB_LOOKUP): Remove macro.
14217 (_nss_files_gethostbyname_r): Implement function without the
14218 HOST_DB_LOOKUP macro.
14219 (_nss_files_gethostbyname2_r): Likewise.
14220
897b98ba
OB
142212013-11-28 Ondřej Bílka <neleai@seznam.cz>
14222
14223 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14224
6f476861
UB
142252013-11-26 Uros Bizjak <ubizjak@gmail.com>
14226
14227 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14228 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14229 warning.
14230
bd12ab55
AZ
142312013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14232
14233 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14234 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14235 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14236 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14237 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14238 __fe_nomask_env_priv and attribute_hidden.
14239 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14240 (libc_feupdateenv_test_ppc): Likewise.
14241 (libc_feresetround_ppc): Likewise.
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14243 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14244 compat_symbol macro.
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14246 (__fe_nomask_env): Likewise.
14247 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14248
52bb6543
OB
142492013-11-26 Ondřej Bílka <neleai@seznam.cz>
14250
14251 * string/Makefile: Remove ifunc tests.
14252 * string/test-string.h: Define TEST_IFUNC.
14253 * string/test-bcopy-ifunc.c: Remove.
14254 * string/test-bzero-ifunc.c: Likewise.
14255 * string/test-memccpy-ifunc.c: Likewise.
14256 * string/test-memchr-ifunc.c: Likewise.
14257 * string/test-memcmp-ifunc.c: Likewise.
14258 * string/test-memcpy-ifunc.c: Likewise.
14259 * string/test-memmem-ifunc.c: Likewise.
14260 * string/test-memmove-ifunc.c: Likewise.
14261 * string/test-mempcpy-ifunc.c: Likewise.
14262 * string/test-memrchr-ifunc.c: Likewise.
14263 * string/test-memset-ifunc.c: Likewise.
14264 * string/test-rawmemchr-ifunc.c: Likewise.
14265 * string/test-stpcpy-ifunc.c: Likewise.
14266 * string/test-stpncpy-ifunc.c: Likewise.
14267 * string/test-strcasecmp-ifunc.c: Likewise.
14268 * string/test-strcasestr-ifunc.c: Likewise.
14269 * string/test-strcat-ifunc.c: Likewise.
14270 * string/test-strchr-ifunc.c: Likewise.
14271 * string/test-strchrnul-ifunc.c: Likewise.
14272 * string/test-strcmp-ifunc.c: Likewise.
14273 * string/test-strcpy-ifunc.c: Likewise.
14274 * string/test-strcspn-ifunc.c: Likewise.
14275 * string/test-strlen-ifunc.c: Likewise.
14276 * string/test-strncasecmp-ifunc.c: Likewise.
14277 * string/test-strncat-ifunc.c: Likewise.
14278 * string/test-strncmp-ifunc.c: Likewise.
14279 * string/test-strncpy-ifunc.c: Likewise.
14280 * string/test-strnlen-ifunc.c: Likewise.
14281 * string/test-strpbrk-ifunc.c: Likewise.
14282 * string/test-strrchr-ifunc.c: Likewise.
14283 * string/test-strspn-ifunc.c: Likewise.
14284 * string/test-strstr-ifunc.c: Likewise.
14285
ab260039 142862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14287
14288 * benchtests/Makefile: Remove ifunc tests.
14289 * benchtests/bench-string.h: Define TEST_IFUNC.
14290 * benchtests/bench-bcopy-ifunc.c: Remove.
14291 * benchtests/bench-bzero-ifunc.c: Likewise.
14292 * benchtests/bench-memccpy-ifunc.c: Likewise.
14293 * benchtests/bench-memchr-ifunc.c: Likewise.
14294 * benchtests/bench-memcmp-ifunc.c: Likewise.
14295 * benchtests/bench-memcpy-ifunc.c: Likewise.
14296 * benchtests/bench-memmem-ifunc.c: Likewise.
14297 * benchtests/bench-memmove-ifunc.c: Likewise.
14298 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14299 * benchtests/bench-memrchr-ifunc.c: Likewise.
14300 * benchtests/bench-memset-ifunc.c: Likewise.
14301 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14302 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14303 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14304 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14305 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14306 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14307 * benchtests/bench-strcat-ifunc.c: Likewise.
14308 * benchtests/bench-strchr-ifunc.c: Likewise.
14309 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14310 * benchtests/bench-strcmp-ifunc.c: Likewise.
14311 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14312 * benchtests/bench-strcpy-ifunc.c: Likewise.
14313 * benchtests/bench-strcspn-ifunc.c: Likewise.
14314 * benchtests/bench-strlen-ifunc.c: Likewise.
14315 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14316 * benchtests/bench-strncat-ifunc.c: Likewise.
14317 * benchtests/bench-strncmp-ifunc.c: Likewise.
14318 * benchtests/bench-strncpy-ifunc.c: Likewise.
14319 * benchtests/bench-strnlen-ifunc.c: Likewise.
14320 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14321 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14322 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14323 * benchtests/bench-strspn-ifunc.c: Likewise.
14324 * benchtests/bench-strstr-ifunc.c: Likewise.
14325
143262013-11-26 Ondřej Bílka <neleai@seznam.cz>
14327
ab260039
OB
14328 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14329
d1d9eaf4 143302013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14331
d1d9eaf4
OB
14332 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14333 * rt/aio.h: Likewise.
14334 * sysdeps/gnu/bits/utmp.h: Likewise.
14335 * sysdeps/gnu/bits/utmpx.h: Likewise.
14336 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14337 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14338 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14339 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14340 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14341 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14342 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14343 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14350 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14351 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14352 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14353 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14354 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14355 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14356 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14357 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14358 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14359 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14360 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14362 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14363 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14364 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14365 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14366 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14368 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14369 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14371 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14372 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14373 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14374 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14375 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14376 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14377 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14378
a7624ed9
CD
143792013-11-25 Carlos O'Donell <carlos@redhat.com>
14380
14381 [BZ #16245]
14382 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14383 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14384
63cfe52b
JM
143852013-11-25 Joseph Myers <joseph@codesourcery.com>
14386
14387 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14388 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14389 Likewise.
14390
41e8926a
AZ
143912013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14392
14393 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14394 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14395 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14396 (__fesetround): Remove define.
14397 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14398 rounding and exceptions handling.
14399 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14400 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14401 (__fe_nomask_env): Likewise.
14402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14403 __fegetround instead of fegetround.
14404 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14405 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14406
6851bd4d
RM
144072013-11-21 Roland McGrath <roland@hack.frob.com>
14408
070906ff
RM
14409 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14410 it's there.
14411
6851bd4d
RM
14412 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14413
84ae135d
MI
144142013-11-21 Meador Inge <meadori@codesourcery.com>
14415
14416 [BZ #11157]
14417 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14418 (encrypt_r): Likewise.
14419 * malloc/obstack.h (obstack_free): Likewise.
14420 * posix/unistd.h (encrypt): Likewise.
14421
daf75146
GM
144222013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14423
14424 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14425 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14426 DL_CALL_DT_FINI() that call the functions directly.
14427 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14428 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14429 * elf/dl-fini.c: Likewise.
14430
10ad46bc
OB
144312013-11-20 Ondřej Bílka <neleai@seznam.cz>
14432
14433 * malloc/hooks.c (memalign_check): Add alignment rounding.
14434 * malloc/malloc.c (_mid_memalign): New function.
14435 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14436 Implement by calling _mid_memalign.
14437 * manual/probes.texi (Memory Allocation Probes): Remove
14438 memory_valloc_retry and memory_pvalloc_retry.
14439
f3fd2628
SP
144402013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14441
4712799f
SP
14442 * locale/programs/locarchive.c (open_archive): Add const
14443 qualifier to ARCHIVEFNAME and copy default fname to
14444 DEFAULT_FNAME.
14445
0417b20f
SP
14446 [BZ #15601]
14447 * libio/tst-widetext.input: Rename Oriya to Odia.
14448 * locale/iso-639.def: Likewise.
14449
f3fd2628
SP
14450 * manual/probes.texi (Mathematical Function Probes): Add
14451 documentation for sin, cos, asin and acos probes.
14452 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14453 (__sin32): Add slowasin probe.
14454 (__cos32): Add slowacos probe.
14455 (__mpsin): Add slowsin probe.
14456 (__mpcos): Add slowcos probe.
14457
73c1ce4f
JM
144582013-11-19 Joseph Myers <joseph@codesourcery.com>
14459
14460 [BZ #15483]
14461 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14462 thread-local __sim_exceptions_thread and global
14463 __sim_exceptions_global.
14464 (__sim_disabled_exceptions): Change to thread-local
14465 __sim_disabled_exceptions_thread and global
14466 __sim_disabled_exceptions_global.
14467 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14468 and global __sim_round_mode_global.
14469 (__simulate_exceptions): Use thread-local floating-point state and
14470 set global state from it as needed.
14471 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14472 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14473 __sim_round_mode_thread.
14474 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14475 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14476 and global __sim_exceptions_global.
14477 (__sim_disabled_exceptions): Change to thread-local
14478 __sim_disabled_exceptions_thread and global
14479 __sim_disabled_exceptions_global.
14480 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14481 and global __sim_round_mode_global.
14482 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14483 (SIM_SET_GLOBAL): Likewise.
14484 * sysdeps/powerpc/soft-fp/sfp-machine.h
14485 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14486 __sim_round_mode_thread.
14487 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14488 __sim_disabled_exceptions_thread.
14489 (__sim_exceptions): Change to __sim_exceptions_thread.
14490 (__sim_disabled_exceptions): Change to
14491 __sim_disabled_exceptions_thread.
14492 (__sim_round_mode): Change to __sim_round_mode_thread.
14493 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14494 thread-local floating-point state and set global state from it as
14495 needed.
14496 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14497 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14498 (__sim_disabled_exceptions): Remove extern declaration.
14499 (feenableexcept): Use thread-local floating-point state and set
14500 global state from it as needed.
14501 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14502 extern declaration.
14503 (__sim_disabled_exceptions): Likewise.
14504 (__sim_round_mode): Likewise.
14505 (__fegetenv): Use thread-local floating-point state.
14506 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14507 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14508 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14509 floating-point state and set global state from it as needed.
14510 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14511 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14512 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14513 Likewise.
14514 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14515 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14516 Likewise.
14517 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14518 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14519 Use __sim_round_mode_thread.
14520 * math/test-fenv-tls.c: New file.
14521 * math/Makefile (tests): Add test-fenv-tls.
14522 ($(objpfx)test-fenv-tls): Depend on
14523 $(common-objpfx)nptl/libpthread.so.
14524
b5449b12
AS
145252013-11-19 Andreas Schwab <schwab@suse.de>
14526
14527 * locale/programs/locale.c (show_info): Decode wordarray elements.
14528 * locale/categories.def (LC_MONETARY): Add element for
14529 _NL_MONETARY_CRNCYSTR.
14530 * locale/C-monetary.c (conversion_rate): New variable.
14531 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14532 element.
14533
e186536b
CM
145342013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14535
14536 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14537 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14538
5c349950
PP
145392013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14540
14541 * elf/Makefile (tst-auxv): New test.
14542 * elf/tst-auxv.c: New
14543 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14544
699df45b
JM
145452013-11-18 Joseph Myers <joseph@codesourcery.com>
14546
14547 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14548 (hidden_proto): Caller changed.
14549 (hidden_tls_proto): New macro.
14550 (libc_hidden_tls_proto): Likewise.
14551 (rtld_hidden_tls_proto): Likewise.
14552 (libm_hidden_tls_proto): Likewise.
14553 (libresolv_hidden_tls_proto): Likewise.
14554 (librt_hidden_tls_proto): Likewise.
14555 (libdl_hidden_tls_proto): Likewise.
14556 (libnss_files_hidden_tls_proto): Likewise.
14557 (libnsl_hidden_tls_proto): Likewise.
14558 (libnss_nisplus_hidden_tls_proto): Likewise.
14559 (libutil_hidden_tls_proto): Likewise.
14560
b7589107
OB
145612013-11-18 Ondřej Bílka <neleai@seznam.cz>
14562
14563 [BZ #10253]
14564 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14565 (decompose_rpath): Defer expansion to fillin_rpath.
14566 (_dl_init_paths): Pass linkmap to fillin_rpath.
14567
250c23bd
RS
145682013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14569
14570 * benchtests/Makefile: Add strsep.
14571 * benchtests/bench-strsep.c: New file: strsep benchtest.
14572 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14573
a7931fcf
AS
145742013-11-18 Andreas Schwab <schwab@suse.de>
14575
14576 * locale/programs/locale.c (show_info) [case byte]: Check for
14577 '\377' instead of '\177'.
14578 * locale/C-monetary.c (not_available): Always use "\377".
14579 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14580 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14581 detect unavailable sign_posn locale elements.
14582 * locale/localeconv.c (__localeconv): For grouping and
14583 mon_grouping handle "\177" and "\377" like no grouping.
14584 (INT_ELEM): New macro. Use it to set all numeric members.
14585 * locale/programs/ld-monetary.c (monetary_read)
14586 <tok_mon_grouping>: Normalize single -1 to the empty string.
14587 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14588 Likewise.
14589
728dab0e
OB
145902013-11-07 Ondřej Bílka <neleai@seznam.cz>
14591
14592 [BZ #16055]
14593 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14594 when we match (nil).
14595 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14596
66294491
JM
145972013-11-16 Joseph Myers <joseph@codesourcery.com>
14598
ce665817
JM
14599 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14600 (NO_TEST_INLINE): Update value.
14601 (ERRNO_UNCHANGED): Likewise.
14602 (ERRNO_EDOM): Likewise.
14603 (ERRNO_ERANGE): Likewise.
14604 (IGNORE_RESULT): Likewise.
14605 (check_float_internal): Check signs of NaN results if
14606 TEST_NAN_SIGN used.
14607 (check_complex): Pass TEST_NAN_SIGN flag through to second
14608 check_float_internal call.
14609 (copysign_test_data): Add tests with quiet NaNs as second
14610 argument. Use TEST_NAN_SIGN.
14611 (fabs_test_data): Add test of negative quiet NaN argument. Use
14612 TEST_NAN_SIGN.
14613 (signbit_test_data): Add tests of quiet NaN argument.
14614 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14615
ee1466a9
JM
14616 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14617 $ignore_result.
14618 (parse_args): Handle function results specified as IGNORE.
14619 * math/libm-test.inc (IGNORE_RESULT): New macro.
14620 (check_float_internal): Do not check numerical result if flag
14621 IGNORE_RESULT set.
14622 (check_complex): Pass through IGNORE_RESULT to second
14623 check_float_internal call.
14624 (check_int): Do not check numerical result if flag IGNORE_RESULT
14625 set.
14626 (check_long): Likewise.
14627 (check_bool): Likewise.
14628 (check_longlong): Likewise.
14629 (lrint_test_data): Add tests of infinite and NaN arguments.
14630 (lrint_tonearest_test_data): Likewise.
14631 (lrint_towardzero_test_data): Likewise.
14632 (lrint_downward_test_data): Likewise.
14633 (lrint_upward_test_data): Likewise.
14634 (llrint_test_data): Likewise.
14635 (llrint_tonearest_test_data): Likewise.
14636 (llrint_towardzero_test_data): Likewise.
14637 (llrint_downward_test_data): Likewise.
14638 (llrint_upward_test_data): Likewise.
14639 (lround_test_data): Likewise.
14640 (llround_test_data): Likewise.
14641
14407b7e
JM
14642 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14643 (ERRNO_UNCHANGED): Update value.
14644 (ERRNO_EDOM): Likewise.
14645 (ERRNO_ERANGE): Likewise.
14646 (NO_TEST_INLINE_FLOAT): New macro.
14647 (NO_TEST_INLINE_DOUBLE): Likewise.
14648 (enable_test): New function.
14649 (RUN_TEST_f_f): Check enable_test before running test.
14650 (RUN_TEST_2_f): Likewise.
14651 (RUN_TEST_fff_f): Likewise.
14652 (RUN_TEST_c_f): Likewise.
14653 (RUN_TEST_f_f1): Likewise.
14654 (RUN_TEST_fF_f1): Likewise.
14655 (RUN_TEST_fI_f1): Likewise.
14656 (RUN_TEST_ffI_f1): Likewise.
14657 (RUN_TEST_c_c): Likewise.
14658 (RUN_TEST_cc_c): Likewise.
14659 (RUN_TEST_f_i): Likewise.
14660 (RUN_TEST_f_i_tg): Likewise.
14661 (RUN_TEST_ff_i_tg): Likewise.
14662 (RUN_TEST_f_b): Likewise.
14663 (RUN_TEST_f_b_tg): Likewise.
14664 (RUN_TEST_f_l): Likewise.
14665 (RUN_TEST_f_L): Likewise.
14666 (RUN_TEST_fFF_11): Likewise.
14667 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14668 conditionals.
14669 (cosh_test_data): Likewise.
14670 (exp_test_data): Likewise.
14671 (expm1_test_data): Likewise.
14672 (hypot_test_data): Likewise.
14673 (pow_test_data): Likewise.
14674 (sinh_test_data): Likewise.
14675 (tanh_test_data): Likewise.
14676 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14677 flags argument.
14678
ca07f197
JM
14679 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14680 tests with quiet NaN input and output.
14681 (acosh_test_data): Likewise.
14682 (asin_test_data): Likewise.
14683 (asinh_test_data): Likewise.
14684 (atan_test_data): Likewise.
14685 (atanh_test_data): Likewise.
14686 (atan2_test_data): Likewise.
14687 (cbrt_test_data): Likewise.
14688 (cos_test_data): Likewise.
14689 (cosh_test_data): Likewise.
14690 (erf_test_data): Likewise.
14691 (erfc_test_data): Likewise.
14692 (exp_test_data): Likewise.
14693 (exp10_test_data): Likewise.
14694 (exp2_test_data): Likewise.
14695 (expm1_test_data): Likewise.
14696 (hypot_test_data): Likewise.
14697 (j0_test_data): Likewise.
14698 (j1_test_data): Likewise.
14699 (jn_test_data): Likewise.
14700 (lgamma_test_data): Likewise.
14701 (log_test_data): Likewise.
14702 (log10_test_data): Likewise.
14703 (log1p_test_data): Likewise.
14704 (log2_test_data): Likewise.
14705 (pow_test_data): Likewise.
14706 (scalb_test_data): Likewise.
14707 (sin_test_data): Likewise.
14708 (sincos_test_data): Likewise.
14709 (sinh_test_data): Likewise.
14710 (tan_test_data): Likewise.
14711 (tanh_test_data): Likewise.
14712 (tgamma_test_data): Likewise.
14713 (y0_test_data): Likewise.
14714 (y1_test_data): Likewise.
14715 (yn_test_data): Likewise.
14716
66294491
JM
14717 [BZ #16167]
14718 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14719 argument being NaN and avoid computations with second argument in
14720 that case.
14721 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14722 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14723 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14724
1820b143
CL
147252013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14726
14727 * locale/iso-639.def: Add Chitwani Tharu (the).
14728
714bd261
AS
147292013-11-14 Andreas Schwab <schwab@suse.de>
14730
14731 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14732 word instead of empty string.
14733
7ab44563
AZ
147342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14735
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14737 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14739 (__fe_nomask_env): Likewise.
14740
e8470ea2
SE
147412013-11-13 Steve Ellcey <sellcey@mips.com>
14742
14743 * benchtests/bench-timing.h: Include time.h.
14744
17c1d9f0
L
147452013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14746
14747 [BZ #15997]
14748 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14749 to 3.4.0 for x32.
14750 * sysdeps/unix/sysv/linux/configure: Regenerated.
14751
9310c284
JM
147522013-11-13 Joseph Myers <joseph@codesourcery.com>
14753
14754 [BZ #16151]
14755 * stdlib/strtod_l.c (round_and_return): Do not consider
14756 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14757 exponent one less than half the least subnormal exponent.
14758 * stdlib/test-strtod-round-data: Add more tests.
14759 * stdlib/tst-strtod-round.c (tests): Regenerated.
14760
7a2ad8cf
AZ
147612013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14762
14763 [BZ #14143]
14764 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14765 (__fe_mask_env): Likewise.
14766 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14767 libm_hidden_proto and add function prototype.
14768 (__fe_mask_env): Add function prototype.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14770 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14772 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14774 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14775
50727aa7
MS
147762013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14777
b2f386c1 14778 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14779 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14780
a615be46
MS
147812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14782
14783 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14784 of htab_find_slot().
14785
7ddace62
DM
147862013-11-11 David S. Miller <davem@davemloft.net>
14787
14788 [BZ #16150]
14789 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14790 symbol in the non-vis3 case in static builds.
14791 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14792 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14793 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14794 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14795
9182aa67
JK
147962013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14797
14798 [BZ #387]
14799 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14800 it is empty.
14801
450a2e2d
AZ
148022013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14803
b2f386c1
SP
14804 * benchtests/Makefile: Add bench-strtod.
14805 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14806
8ec3f656
AS
148072013-11-11 Andreas Schwab <schwab@suse.de>
14808
14809 [BZ #16153]
14810 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14811 terminating NUL in key length.
14812
76a9b998
AZ
148132013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14814
14815 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14816 Add artificial ODP entry for vDSO symbol for PPC64.
14817 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14818 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14819
e4368156
OB
148202013-11-07 Ondřej Bílka <neleai@seznam.cz>
14821
14822 [BZ #15374]
14823 * nss/getent.c (services_keys): Recognize services starting with digit.
14824
8d6bb57c
DM
148252013-11-06 David S. Miller <davem@davemloft.net>
14826
14827 [BZ #15985]
14828 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14829 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14830
e256c421
WN
148312013-11-06 Will Newton <will.newton@linaro.org>
14832
14833 * manual/memory.texi (Malloc Examples): Remove register
14834 keyword from examples.
14835
f6e12daa 148362013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14837
f6e12daa 14838 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14839
9d880655
AS
148402013-11-04 Joseph Myers <joseph@codesourcery.com>
14841
fd2f9486 14842 [BZ #6981]
9d880655
AS
14843 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14844 depending on [__GCC_IEC_559 > 0].
14845 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14846 depending on [__GCC_IEC_559_COMPLEX > 0].
14847
ae129d3c
CL
148482013-11-03 Chris Leonard <cjl@sugarlabs.org>
14849
14850 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14851 to iso-639.def.
14852
4a15c2a4 148532013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14854
14855 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14856
8b35e35d
OB
148572013-11-01 Ondřej Bílka <neleai@seznam.cz>
14858
14859 [BZ #16112]
14860 * malloc/malloc (malloc_info): Do not handle first bin as
14861 special case.
14862
1d70fd6c
CL
148632013-11-01 Chris Leonard <cjl@sugarlabs.org>
14864
14865 * locale/iso-639.def: Add Central Nahuatl (nhn).
14866
8c5c2600
BH
148672013-11-01 Bruno Haible <bruno@clisp.org>
14868
14869 [BZ #7003]
14870 * manual/math.texi (BSD Random): Specify range upper bound as
14871 in POSIX.
14872
da5579c2
CL
148732013-10-31 Chris Leonard <cjl@sugarlabs.org>
14874
14875 * locale/iso-639.def: Add Meadow Mari (mhr).
14876
5d30d853
OB
148772013-10-31 Ondřej Bílka <neleai@seznam.cz>
14878
14879 [BZ #14752], [BZ #15763]
14880 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14881 Validate name.
14882 * rt/tst_shm.c: Add test for escaping directory.
14883
a4966c61
AS
148842013-10-31 Andreas Schwab <schwab@suse.de>
14885
8a43e768 14886 [BZ #15917]
a4966c61
AS
14887 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14888 followed by 'x' as part of digit sequence.
14889 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14890
28d708c4
MAP
148912013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14892
14893 [BZ #16037]
14894 * configure.ac: allow GNU Make 4.0 and greater.
14895 * configure: Regenerated.
14896
a56ee40b
WN
148972013-10-30 Will Newton <will.newton@linaro.org>
14898
14899 [BZ #16038]
14900 * malloc/hooks.c (memalign_check): Limit alignment to the
14901 maximum representable power of two.
14902 * malloc/malloc.c (__libc_memalign): Likewise.
14903 * malloc/tst-memalign.c (do_test): Add test for very
14904 large alignment values.
14905 * malloc/tst-posix_memalign.c (do_test): Likewise.
14906
c6e4925d
OB
149072013-10-30 Ondřej Bílka <neleai@seznam.cz>
14908
14909 [BZ #11087]
14910 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14911 (munmap_chunk): Likewise.
14912 (mremap_chunk): Likewise.
14913
149142013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14915
8a43e768 14916 [BZ #15799]
bbea82f7
OB
14917 * stdlib/div.c (div): Remove obsolete code.
14918 * stdlib/ldiv.c (ldiv): Likewise.
14919 * stdlib/lldiv.c (lldiv): Likewise.
14920
977f4b31
SP
149212013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14922
14923 [BZ #16071]
14924 * nss/nss_files/files-XXX.c (get_contents_ret): New
14925 enumerator.
14926 (get_contents): New function.
14927 (internal_getent): Use it. Expand size of LINEBUFLEN.
14928
cb8a6dbd
MF
149292013-10-30 Mike Frysinger <vapier@gentoo.org>
14930
14931 * configure.in: Moved to ...
14932 * configure.ac: ... here. Change reference to configure.in
14933 to configure.ac.
14934 * sysdeps/arm/preconfigure.ac: ... here.
14935 configure.in to configure.ac.
14936 * sysdeps/gnu/configure.in: Moved to ...
14937 * sysdeps/gnu/configure.ac: ... here.
14938 * sysdeps/i386/configure.in: Moved to ...
14939 * sysdeps/i386/configure.ac: ... here.
14940 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14941 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14942 * sysdeps/mach/configure.in: Moved to ...
14943 * sysdeps/mach/configure.ac: ... here.
14944 * sysdeps/mach/hurd/configure.in: Moved to ...
14945 * sysdeps/mach/hurd/configure.ac: ... here.
14946 * sysdeps/powerpc/configure.in: Moved to ...
14947 * sysdeps/powerpc/configure.ac: ... here.
14948 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14949 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14950 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14951 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14952 * sysdeps/s390/s390-32/configure.in: Moved to ...
14953 * sysdeps/s390/s390-32/configure.ac: ... here.
14954 * sysdeps/s390/s390-64/configure.in: Moved to ...
14955 * sysdeps/s390/s390-64/configure.ac: ... here.
14956 * sysdeps/sh/configure.in: Moved to ...
14957 * sysdeps/sh/configure.ac: ... here.
14958 * sysdeps/sparc/configure.in: Moved to ...
14959 * sysdeps/sparc/configure.ac: ... here.
14960 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14961 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14962 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14963 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14964 * sysdeps/x86_64/configure.in: Moved to ...
14965 * sysdeps/x86_64/configure.ac: ... here.
14966 * sysdeps/x86_64/preconfigure.in: Moved to ...
14967 * sysdeps/x86_64/preconfigure.ac: ... here.
14968 * aclocal.m4: Change reference to configure.in to configure.ac.
14969 * config.h.in: Likewise.
14970 * manual/install.texi: Likewise.
14971 * manual/maint.texi: Likewise.
14972 * Makefile: Likewise.
14973 * malloc/Makefile: Likewise.
14974 * nscd/Makefile: Likewise.
14975 * Makeconfig: Change reference to configure.in and
14976 preconfigure.in to configure.ac and preconfigure.ac
14977 respectively.
14978 * INSTALL: Regenerated.
14979 * configure: Likewise.
14980 * sysdeps/gnu/configure: Likewise.
14981 * sysdeps/i386/configure: Likewise.
14982 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14983 * sysdeps/mach/configure: Likewise.
14984 * sysdeps/mach/hurd/configure: Likewise.
14985 * sysdeps/powerpc/configure: Likewise.
14986 * sysdeps/powerpc/powerpc32/configure: Likewise.
14987 * sysdeps/powerpc/powerpc64/configure: Likewise.
14988 * sysdeps/s390/s390-32/configure: Likewise.
14989 * sysdeps/s390/s390-64/configure: Likewise.
14990 * sysdeps/sh/configure: Likewise.
14991 * sysdeps/sparc/configure: Likewise.
14992 * sysdeps/unix/sysv/linux/configure: Likewise.
14993 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14994 * sysdeps/x86_64/configure: Likewise.
14995 * sysdeps/x86_64/preconfigure: Likewise.
14996
36a4953a
AS
149972013-10-29 Andreas Schwab <schwab@suse.de>
14998
14999 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15000
c79a1204
SP
150012013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15002
dfa1b402
SP
15003 * benchtests/pow-inputs: Add new inputs.
15004
54f73d9c
SP
15005 * benchtests/exp-inputs: Add new inputs.
15006
c79a1204
SP
15007 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15008 conditional check for return value.
15009 (__cos32): Likewise.
15010
67beb545 150112013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15012
15013 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15014 to provide a boost for large inputs with word alignment.
15015 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15016 implementation based on optimized PPC64 strcpy.
15017 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15018 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15019 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15020 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15021
151659f6
OB
150222013-10-25 Ondřej Bílka <neleai@seznam.cz>
15023
482a077e 15024 [BZ #2801]
151659f6
OB
15025 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15026
10b0f26b
OB
150272013-10-25 Ondřej Bílka <neleai@seznam.cz>
15028
15029 [BZ #14876]
15030 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15031 * time/tst-strptime.c (day_tests): Add testcase.
15032
ca42d35e
OB
150332013-10-25 Ondřej Bílka <neleai@seznam.cz>
15034
482a077e 15035 [BZ #14029]
ca42d35e
OB
15036 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15037
52e6d801
FB
150382013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15039
15040 [BZ #16074]
15041 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15042 MAP_FAILED on error.
15043
7cbcdb36
SP
150442013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15045
15046 [BZ #16072]
15047 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15048 heap for large requests.
15049
894f3f10
AM
150502013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15051
15052 [BZ #9954]
15053 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15054 result if the result has no associated interface.
15055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15056 interface for all 127.X.Y.Z addresses.
15057
b85545a6
CL
150582013-10-24 Chris Leonard <cjl@sugarlabs.org>
15059
15060 * locale/iso-639.def: Add Ligurian (lij)
15061
d1f23d46
OB
150622013-10-21 Ondřej Bílka <neleai@seznam.cz>
15063
15064 [BZ #15825]
15065 * sunrpc/rpc_main.c: Document rpcgen -5.
15066
4db5b08f
MS
150672013-10-19 Michael Stahl <mstahl@redhat.com>
15068
15069 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15070
a471e96a
OB
150712013-10-19 Ondřej Bílka <neleai@seznam.cz>
15072
d1f23d46 15073 [BZ #10278]
a471e96a
OB
15074 * posix/glob.c: Match only directories when trailing slash is present.
15075 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15076 (main): Add testcase.
15077
45c30c61
OB
150782013-10-19 Ondřej Bílka <neleai@seznam.cz>
15079
15080 [BZ #15670]
15081 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15082
484c12fb
CD
150832013-10-18 Carlos O'Donell <carlos@redhat.com>
15084
3d7dc513
CD
15085 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15086 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15087 AUTH_DES and cindex for FIPS 140-2.
15088 (DES Encryption): Add cindex FIPS 46-3.
15089
484c12fb
CD
15090 * locale/locarchive.h (struct locarhandle): Add fname.
15091 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15092 if an optional argument was specified to --list-archive,
15093 otherwise NULL.
15094 * locale/programs/locarchive.c (show_archive_content): Take new
15095 argument fname and pass it via ah.fname to open_archive.
15096 * locale/programs/localedef.h: Update decl.
15097 (open_archive): If AH->fname is non-null, open that file
15098 rather than the default file name, and don't ignore ENOENT.
15099 (create_archive): Set AH.fname to NULL.
15100 (delete_locales_from_archive): Likewise.
15101 (add_locales_to_archive): Likewise.
15102 * locale/programs/locfile.c (write_all_categories): Likewise.
15103
3c8325fb
JM
151042013-10-18 Joseph Myers <joseph@codesourcery.com>
15105 Aldy Hernandez <aldyh@redhat.com>
15106
15107 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15108 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15109 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15110 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15111 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15112 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15113 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15114 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15115 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15116 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15117 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15118 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15119 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15120 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15121 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15122 Likewise.
15123 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15124 Likewise.
15125 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15126 Likewise.
15127 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15128 Likewise.
15129 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15130 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15131 Likewise.
15132 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15133 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15134 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15135 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15136 Likewise.
15137 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15138 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15139 * sysdeps/powerpc/preconfigure: Likewise.
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15141 Likewise.
15142 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15143 Replace contents of file by #include of <fenv_libc.h>.
15144 * sysdeps/powerpc/soft-fp/sfp-machine.h
15145 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15146 and <sys/prctl.h>.
15147 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15148 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15149 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15150 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15155 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15156 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15160 Allow copysignl PLT reference to be missing.
15161
5abe0682
RS
151622013-10-18 Richard Sandiford <richard@codesourcery.com>
15163 Joseph Myers <joseph@codesourcery.com
15164
15165 [BZ #15948]
15166 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15167 single character.
15168 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15169
c7738d08
SP
151702013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15171
15172 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15173 * elf/tst-tls1.c: Likewise.
15174 * elf/tst-tls10.h: Likewise.
15175 * elf/tst-tls14.c: Likewise.
15176 * elf/tst-tls2.c: Likewise.
15177 * elf/tst-tls3.c: Likewise.
15178 * elf/tst-tls4.c: Likewise.
15179 * elf/tst-tls5.c: Likewise.
15180 * elf/tst-tls6.c: Likewise.
15181 * elf/tst-tls7.c: Likewise.
15182 * elf/tst-tls8.c: Likewise.
15183 * elf/tst-tls9.c: Likewise.
15184 * elf/tst-tlsmod1.c: Likewise.
15185 * elf/tst-tlsmod13.c: Likewise.
15186 * elf/tst-tlsmod13a.c: Likewise.
15187 * elf/tst-tlsmod14a.c: Likewise.
15188 * elf/tst-tlsmod16a.c: Likewise.
15189 * elf/tst-tlsmod16b.c: Likewise.
15190 * elf/tst-tlsmod2.c: Likewise.
15191 * elf/tst-tlsmod3.c: Likewise.
15192 * elf/tst-tlsmod4.c: Likewise.
15193 * elf/tst-tlsmod5.c: Likewise.
15194 * elf/tst-tlsmod6.c: Likewise.
15195
0bfcf2c7
OB
151962013-10-18 Ondřej Bílka <neleai@seznam.cz>
15197
15198 [BZ #12486]
15199 * malloc/malloc.c: remove checks for statistics.
15200
264aad1e
OB
152012013-10-17 Ondřej Bílka <neleai@seznam.cz>
15202
15203 [BZ #15277]
15204 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15205 * inet/tst-network.c: Add testcase.
15206
b957ced8
AS
152072013-10-17 Andreas Schwab <schwab@suse.de>
15208
15209 [BZ #15218]
15210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15211 to determine canonical name.
15212
c5d5d574
OB
152132013-10-17 Ondřej Bílka <neleai@seznam.cz>
15214
15215 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15216 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15230 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15239 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15240 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15245 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15257 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15258 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15261 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15265 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15268 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15270 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15272 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15273
e5c2c2d0
JM
152742013-10-17 Joseph Myers <joseph@codesourcery.com>
15275
15276 [BZ #16041]
15277 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15278 make result into a quiet NaN.
15279
51ca9e29
JM
152802013-10-16 Joseph Myers <joseph@codesourcery.com>
15281
15282 * soft-fp/adddf3.c: Fix horizontal whitespace.
15283 * soft-fp/addsf3.c: Likewise.
15284 * soft-fp/addtf3.c: Likewise.
15285 * soft-fp/divdf3.c: Likewise.
15286 * soft-fp/divsf3.c: Likewise.
15287 * soft-fp/divtf3.c: Likewise.
15288 * soft-fp/double.h: Likewise.
15289 * soft-fp/eqdf2.c: Likewise.
15290 * soft-fp/eqsf2.c: Likewise.
15291 * soft-fp/eqtf2.c: Likewise.
15292 * soft-fp/extenddftf2.c: Likewise.
15293 * soft-fp/extended.h: Likewise.
15294 * soft-fp/extendsfdf2.c: Likewise.
15295 * soft-fp/extendsftf2.c: Likewise.
15296 * soft-fp/extendxftf2.c: Likewise.
15297 * soft-fp/fixdfdi.c: Likewise.
15298 * soft-fp/fixdfsi.c: Likewise.
15299 * soft-fp/fixdfti.c: Likewise.
15300 * soft-fp/fixsfdi.c: Likewise.
15301 * soft-fp/fixsfsi.c: Likewise.
15302 * soft-fp/fixsfti.c: Likewise.
15303 * soft-fp/fixtfdi.c: Likewise.
15304 * soft-fp/fixtfsi.c: Likewise.
15305 * soft-fp/fixtfti.c: Likewise.
15306 * soft-fp/fixunsdfdi.c: Likewise.
15307 * soft-fp/fixunsdfsi.c: Likewise.
15308 * soft-fp/fixunsdfti.c: Likewise.
15309 * soft-fp/fixunssfdi.c: Likewise.
15310 * soft-fp/fixunssfsi.c: Likewise.
15311 * soft-fp/fixunssfti.c: Likewise.
15312 * soft-fp/fixunstfdi.c: Likewise.
15313 * soft-fp/fixunstfsi.c: Likewise.
15314 * soft-fp/fixunstfti.c: Likewise.
15315 * soft-fp/floatdidf.c: Likewise.
15316 * soft-fp/floatdisf.c: Likewise.
15317 * soft-fp/floatditf.c: Likewise.
15318 * soft-fp/floatsidf.c: Likewise.
15319 * soft-fp/floatsisf.c: Likewise.
15320 * soft-fp/floatsitf.c: Likewise.
15321 * soft-fp/floattidf.c: Likewise.
15322 * soft-fp/floattisf.c: Likewise.
15323 * soft-fp/floattitf.c: Likewise.
15324 * soft-fp/floatundidf.c: Likewise.
15325 * soft-fp/floatundisf.c: Likewise.
15326 * soft-fp/floatunditf.c: Likewise.
15327 * soft-fp/floatunsidf.c: Likewise.
15328 * soft-fp/floatunsisf.c: Likewise.
15329 * soft-fp/floatunsitf.c: Likewise.
15330 * soft-fp/floatuntidf.c: Likewise.
15331 * soft-fp/floatuntisf.c: Likewise.
15332 * soft-fp/floatuntitf.c: Likewise.
15333 * soft-fp/fmadf4.c: Likewise.
15334 * soft-fp/fmasf4.c: Likewise.
15335 * soft-fp/fmatf4.c: Likewise.
15336 * soft-fp/gedf2.c: Likewise.
15337 * soft-fp/gesf2.c: Likewise.
15338 * soft-fp/getf2.c: Likewise.
15339 * soft-fp/ledf2.c: Likewise.
15340 * soft-fp/lesf2.c: Likewise.
15341 * soft-fp/letf2.c: Likewise.
15342 * soft-fp/muldf3.c: Likewise.
15343 * soft-fp/mulsf3.c: Likewise.
15344 * soft-fp/multf3.c: Likewise.
15345 * soft-fp/negdf2.c: Likewise.
15346 * soft-fp/negsf2.c: Likewise.
15347 * soft-fp/negtf2.c: Likewise.
15348 * soft-fp/op-1.h: Likewise.
15349 * soft-fp/op-2.h: Likewise.
15350 * soft-fp/op-4.h: Likewise.
15351 * soft-fp/op-8.h: Likewise.
15352 * soft-fp/op-common.h: Likewise.
15353 * soft-fp/quad.h: Likewise.
15354 * soft-fp/single.h: Likewise.
15355 * soft-fp/soft-fp.h: Likewise.
15356 * soft-fp/sqrtdf2.c: Likewise.
15357 * soft-fp/sqrtsf2.c: Likewise.
15358 * soft-fp/sqrttf2.c: Likewise.
15359 * soft-fp/subdf3.c: Likewise.
15360 * soft-fp/subsf3.c: Likewise.
15361 * soft-fp/subtf3.c: Likewise.
15362 * soft-fp/truncdfsf2.c: Likewise.
15363 * soft-fp/trunctfdf2.c: Likewise.
15364 * soft-fp/trunctfsf2.c: Likewise.
15365 * soft-fp/trunctfxf2.c: Likewise.
15366 * soft-fp/unorddf2.c: Likewise.
15367 * soft-fp/unordsf2.c: Likewise.
15368 * soft-fp/unordtf2.c: Likewise.
15369
9ebb0332
JM
153702013-10-15 Joseph Myers <joseph@codesourcery.com>
15371
15372 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15373 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15374
4b1a6d8b
OB
153752013-10-15 Ondřej Bílka <neleai@seznam.cz>
15376
15377 * elf/dl-libc.c: Clear initfini list after freeing.
15378
1e145589
JM
153792013-10-14 Joseph Myers <joseph@codesourcery.com>
15380
15381 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15382 * soft-fp/addsf3.c: Likewise.
15383 * soft-fp/addtf3.c: Likewise.
15384 * soft-fp/divdf3.c: Likewise.
15385 * soft-fp/divsf3.c: Likewise.
15386 * soft-fp/divtf3.c: Likewise.
15387 * soft-fp/double.h: Likewise.
15388 * soft-fp/eqdf2.c: Likewise.
15389 * soft-fp/eqsf2.c: Likewise.
15390 * soft-fp/eqtf2.c: Likewise.
15391 * soft-fp/extenddftf2.c: Likewise.
15392 * soft-fp/extended.h: Likewise.
15393 * soft-fp/extendsfdf2.c: Likewise.
15394 * soft-fp/extendsftf2.c: Likewise.
15395 * soft-fp/extendxftf2.c: Likewise.
15396 * soft-fp/fixdfdi.c: Likewise.
15397 * soft-fp/fixdfsi.c: Likewise.
15398 * soft-fp/fixdfti.c: Likewise.
15399 * soft-fp/fixsfdi.c: Likewise.
15400 * soft-fp/fixsfsi.c: Likewise.
15401 * soft-fp/fixsfti.c: Likewise.
15402 * soft-fp/fixtfdi.c: Likewise.
15403 * soft-fp/fixtfsi.c: Likewise.
15404 * soft-fp/fixtfti.c: Likewise.
15405 * soft-fp/fixunsdfdi.c: Likewise.
15406 * soft-fp/fixunsdfsi.c: Likewise.
15407 * soft-fp/fixunsdfti.c: Likewise.
15408 * soft-fp/fixunssfdi.c: Likewise.
15409 * soft-fp/fixunssfsi.c: Likewise.
15410 * soft-fp/fixunssfti.c: Likewise.
15411 * soft-fp/fixunstfdi.c: Likewise.
15412 * soft-fp/fixunstfsi.c: Likewise.
15413 * soft-fp/fixunstfti.c: Likewise.
15414 * soft-fp/floatdidf.c: Likewise.
15415 * soft-fp/floatdisf.c: Likewise.
15416 * soft-fp/floatditf.c: Likewise.
15417 * soft-fp/floatsidf.c: Likewise.
15418 * soft-fp/floatsisf.c: Likewise.
15419 * soft-fp/floatsitf.c: Likewise.
15420 * soft-fp/floattidf.c: Likewise.
15421 * soft-fp/floattisf.c: Likewise.
15422 * soft-fp/floattitf.c: Likewise.
15423 * soft-fp/floatundidf.c: Likewise.
15424 * soft-fp/floatundisf.c: Likewise.
15425 * soft-fp/floatunsidf.c: Likewise.
15426 * soft-fp/floatunsisf.c: Likewise.
15427 * soft-fp/floatuntidf.c: Likewise.
15428 * soft-fp/floatuntisf.c: Likewise.
15429 * soft-fp/floatuntitf.c: Likewise.
15430 * soft-fp/fmadf4.c: Likewise.
15431 * soft-fp/fmasf4.c: Likewise.
15432 * soft-fp/fmatf4.c: Likewise.
15433 * soft-fp/gedf2.c: Likewise.
15434 * soft-fp/gesf2.c: Likewise.
15435 * soft-fp/getf2.c: Likewise.
15436 * soft-fp/ledf2.c: Likewise.
15437 * soft-fp/lesf2.c: Likewise.
15438 * soft-fp/letf2.c: Likewise.
15439 * soft-fp/muldf3.c: Likewise.
15440 * soft-fp/mulsf3.c: Likewise.
15441 * soft-fp/multf3.c: Likewise.
15442 * soft-fp/negdf2.c: Likewise.
15443 * soft-fp/negsf2.c: Likewise.
15444 * soft-fp/negtf2.c: Likewise.
15445 * soft-fp/op-1.h: Likewise.
15446 * soft-fp/op-2.h: Likewise.
15447 * soft-fp/op-4.h: Likewise.
15448 * soft-fp/op-8.h: Likewise.
15449 * soft-fp/op-common.h: Likewise.
15450 * soft-fp/quad.h: Likewise.
15451 * soft-fp/single.h: Likewise.
15452 * soft-fp/soft-fp.h: Likewise.
15453 * soft-fp/sqrtdf2.c: Likewise.
15454 * soft-fp/sqrtsf2.c: Likewise.
15455 * soft-fp/sqrttf2.c: Likewise.
15456 * soft-fp/subdf3.c: Likewise.
15457 * soft-fp/subsf3.c: Likewise.
15458 * soft-fp/subtf3.c: Likewise.
15459 * soft-fp/truncdfsf2.c: Likewise.
15460 * soft-fp/trunctfdf2.c: Likewise.
15461 * soft-fp/trunctfsf2.c: Likewise.
15462 * soft-fp/trunctfxf2.c: Likewise.
15463 * soft-fp/unorddf2.c: Likewise.
15464 * soft-fp/unordsf2.c: Likewise.
15465 * soft-fp/unordtf2.c: Likewise.
15466
17c48a60
OB
154672013-10-14 Ondřej Bílka <neleai@seznam.cz>
15468
15469 [BZ #15672]
15470 * misc/error.c (error_tail): Fix possible buffer overflow.
15471
cabba934
OB
154722013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15473
15474 [BZ #13028]
15475 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15476 address.
15477
94bf958a
PM
154782013-10-14 P. J. McDermott <pj@pehjota.net>
15479
15480 [BZ #832]
15481 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15482 testing pipefail option.
15483
71b4dea7
JM
154842013-10-12 Joseph Myers <joseph@codesourcery.com>
15485
15486 * soft-fp/double.h: Indent preprocessor directives inside #if.
15487 * soft-fp/extended.h: Likewise.
15488 * soft-fp/op-2.h: Likewise.
15489 * soft-fp/op-4.h: Likewise.
15490 * soft-fp/op-common.h: Likewise.
15491 * soft-fp/quad.h: Likewise.
15492 * soft-fp/single.h: Likewise.
15493 * soft-fp/soft-fp.h: Likewise.
15494
55602758
YC
154952013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15496
15497 * iconv/iconv_prog.c: Fix typos.
15498 * stdio-common/psiginfo-data.h: Likewise.
15499
9cd83302
RT
155002013-10-12 Reuben Thomas <rrt@sc3d.org>
15501
15502 [BZ #15764]
15503 * locale/setlocale.c: Fix typo.
15504
99fd9f47
JM
155052013-10-12 Joseph Myers <joseph@codesourcery.com>
15506
b7ea74f0
JM
15507 [BZ #16036]
15508 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15509 signaling NaN arguments.
15510 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15511 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15512
8a509447
JM
15513 [BZ #14910]
15514 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15515 unordered operands.
15516 * soft-fp/gesf2.c (__gesf2): Likewise.
15517 * soft-fp/getf2.c (__getf2): Likewise.
15518 * soft-fp/ledf2.c (__ledf2): Likewise.
15519 * soft-fp/lesf2.c (__lesf2): Likewise.
15520 * soft-fp/letf2.c (__letf2): Likewise.
15521
98998e9f
JM
15522 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15523 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15524 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15525 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15526 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15527 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15528 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15529 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15530 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15531 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15532 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15533 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15534 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15535 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15536 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15537 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15538 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15539 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15540 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15541 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15542 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15543 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15544 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15545 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15546 * soft-fp/floattidf.c (__floattidf): Likewise.
15547 * soft-fp/floattisf.c (__floattisf): Likewise.
15548 * soft-fp/floattitf.c (__floattitf): Likewise.
15549 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15550 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15551 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15552 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15553 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15554 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15555 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15556 * soft-fp/gesf2.c (__gesf2): Likewise.
15557 * soft-fp/getf2.c (__getf2): Likewise.
15558 * soft-fp/ledf2.c (__ledf2): Likewise.
15559 * soft-fp/lesf2.c (__lesf2): Likewise.
15560 * soft-fp/letf2.c (__letf2): Likewise.
15561
8edc4a11
JM
15562 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15563 Undefine and redefine.
15564 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15565 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15566 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15567 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15568 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15569 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15570 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15571 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15572 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15573 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15574 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15575 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15576 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15577 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15578 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15579
8399acaf
JM
15580 [BZ #16032]
15581 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15582 without decrementing exponent if mantissa >= that for the
15583 denominator, not >.
15584 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15585 denominator, not >. Decrement exponent in < case instead of
15586 incrementing in >= case.
15587 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15588 without decrementing exponent if mantissa >= that for the
15589 denominator, not >.
15590
99fd9f47
JM
15591 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15592 computing saturated result for unsigned overflow.
15593
10e1cf6b
SP
155942013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15595 Jeff Law <law@redhat.com>
15596
15597 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15598 (atan2Mp): Add systemtap probe marker.
15599 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15600 (__ieee754_log): Add systemtap probe marker.
15601 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15602 (atanMp): Add systemtap probe marker.
15603 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15604 (tanMp): Add systemtap probe marker.
15605 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15606 (__slowexp): Add systemtap probe marker.
15607 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15608 (__slowpow): Add systemtap probe marker.
15609 * manual/probes.texi: Document probes.
15610
3d110c7c
EB
156112013-10-11 Eric Biggers <ebiggers3@gmail.com>
15612
15613 [BZ #15362]
15614 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15615 written.
15616 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15617 written.
15618 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15619 written to buffer but not flushed.
15620 * libio/iofwrite_u.c: Likewise.
15621 * libio/iopadn.c: Return bytes returned even if EOF was
15622 encountered.
15623 * libio/iowpadn.c: Likewise.
15624 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15625 if _IO_padn does not write the whole buffer.
15626 [!COMPILE_WPRINTF] (PAD): Likewise.
15627
75b4202a
DM
156282013-10-10 David S. Miller <davem@davemloft.net>
15629
15630 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15631 directory block.
15632
6c6352e6
JM
156332013-10-10 Joseph Myers <joseph@codesourcery.com>
15634
33b853c3
JM
15635 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15636 instead of FSF address.
15637 * soft-fp/fixdfti.c: Likewise.
15638 * soft-fp/fixsfti.c: Likewise.
15639 * soft-fp/fixtfti.c: Likewise.
15640 * soft-fp/fixunsdfti.c: Likewise.
15641 * soft-fp/fixunssfti.c: Likewise.
15642 * soft-fp/fixunstfti.c: Likewise.
15643 * soft-fp/floattidf.c: Likewise.
15644 * soft-fp/floattisf.c: Likewise.
15645 * soft-fp/floattitf.c: Likewise.
15646 * soft-fp/floatuntidf.c: Likewise.
15647 * soft-fp/floatuntisf.c: Likewise.
15648 * soft-fp/floatuntitf.c: Likewise.
15649 * soft-fp/trunctfxf2.c: Likewise.
15650
6c6352e6
JM
15651 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15652 * soft-fp/fixdfti.c: Likewise.
15653 * soft-fp/fixsfti.c: Likewise.
15654 * soft-fp/fixtfti.c: Likewise.
15655 * soft-fp/fixunsdfti.c: Likewise.
15656 * soft-fp/fixunssfti.c: Likewise.
15657 * soft-fp/fixunstfti.c: Likewise.
15658 * soft-fp/floattidf.c: Likewise.
15659 * soft-fp/floattisf.c: Likewise.
15660 * soft-fp/floattitf.c: Likewise.
15661 * soft-fp/floatuntidf.c: Likewise.
15662 * soft-fp/floatuntisf.c: Likewise.
15663 * soft-fp/floatuntitf.c: Likewise.
15664 * soft-fp/trunctfxf2.c: Likewise.
15665
3bf78b71
DM
156662013-10-10 David S. Miller <davem@davemloft.net>
15667
15668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15669
6f10289e
JM
156702013-10-10 Joseph Myers <joseph@codsourcery.com>
15671
bd878fc0
JM
15672 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15673 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15674 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15679
6f10289e
JM
15680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15681 for NaNs before doing comparisons on argument.
15682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15683 Likewise.
15684
321e2684
WN
156852013-10-10 Will Newton <will.newton@linaro.org>
15686
15687 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15688 passed to _int_memalign does not overflow.
15689
40fefba1
TR
156902013-10-10 Torvald Riegel <triegel@redhat.com>
15691
15692 * scripts/bench.pl: Add include-sources directive.
15693 * benchtests/README: Update documentation.
15694
2ae21ed2
JM
156952013-10-10 Joseph Myers <joseph@codesourcery.com>
15696
dcc2dd3f
JM
15697 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15698 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15699 instead of FP_INIT_ROUNDMODE.
15700 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15701 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15702
2ae21ed2
JM
15703 [BZ #16034]
15704 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15705 copy class of input value.
15706 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15707 not handle exceptions.
15708 * soft-fp/negsf2.c (__negsf2): Likewise.
15709 * soft-fp/negtf2.c (__negtf2): Likewise.
15710 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15711
cb8f9562
JM
157122013-10-09 Joseph Myers <joseph@codesourcery.com>
15713
15714 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15715 semicolon. From Linux kernel.
15716
5b60c59d
AB
157172013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15718
15719 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15720
b86835ca
YC
157212013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15722
15723 [BZ #156]
15724 * manual/socket.texi: Added statement about buffer
15725 for gethostbyname2_r.
15726
e7044ea7
OB
157272013-10-08 Ondřej Bílka <neleai@seznam.cz>
15728
15729 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15730 Use .p2align directive instead, throughout.
15731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15732 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15733 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15736 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15737 * sysdeps/x86_64/strchr.S: Likewise.
15738 * sysdeps/x86_64/strrchr.S: Likewise.
15739
09544cbc
SP
157402013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15741
88576635
SP
15742 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15743
e7b2d1dd
SP
15744 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15745
09544cbc
SP
15746 * sysdeps/generic/math_private.h (__mpsin1): Remove
15747 declaration.
15748 (__mpcos1): Likewise.
15749 (__mpsin): New argument __range_reduce.
15750 (__mpcos): Likewise.
15751 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15752 (slow): Use __mpsin and __mpcos.
15753 (slow1): Likewise.
15754 (slow2): Likewise.
15755 (sloww): Likewise.
15756 (sloww1): Likewise.
15757 (sloww2): Likewise.
15758 (bsloww): Likewise.
15759 (bsloww1): Likewise.
15760 (bsloww2): Likewise.
15761 (cslow2): Likewise.
15762 (csloww): Likewise.
15763 (csloww1): Likewise.
15764 (csloww2): Likewise.
15765 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15766 range_reduce. Merge in __mpsin1.
15767 (__mpcos): Likewise.
15768 (__mpsin1): Remove.
15769 (__mpcos1): Likewise.
15770
7602d070
JM
157712013-10-07 Joseph Myers <joseph@codesourcery.com>
15772
15773 * locale/loadlocale.c (_nl_intern_locale_data): Use
15774 LOCFILE_ALIGNED_P.
15775 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15776 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15777 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15778 obstack data is appropriately aligned.
15779 (obstack_int32_grow_fast): Likewise.
15780 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15781 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15782 (add_locale_uint32_array): Likewise.
15783
a357259b
SP
157842013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15785
15786 * benchtests/Makefile: Remove ARGLIST and RET variables.
15787 ($(objpfx)bench-%.c): Pass only function name to the script.
15788 * benchtests/README: Update documentation.
15789 * benchtests/acos-inputs: Add new directives.
15790 * benchtests/acosh-inputs: Likewise.
15791 * benchtests/asin-inputs: Likewise.
15792 * benchtests/asinh-inputs: Likewise.
15793 * benchtests/atan-inputs: Likewise.
15794 * benchtests/atanh-inputs: Likewise.
15795 * benchtests/cos-inputs: Likewise.
15796 * benchtests/cosh-inputs: Likewise.
15797 * benchtests/exp-inputs: Likewise.
15798 * benchtests/log-inputs: Likewise.
15799 * benchtests/pow-inputs: Likewise.
15800 * benchtests/rint-inputs: Likewise.
15801 * benchtests/sin-inputs: Likewise.
15802 * benchtests/sinh-inputs: Likewise.
15803 * benchtests/tan-inputs: Likewise.
15804 * benchtests/tanh-inputs: Likewise.
15805 * scripts/bench.pl: Add support for new directives.
15806
9ec1b13d
AM
158072013-10-07 Alan Modra <amodra@gmail.com>
15808
15809 * README: Fix careless merge.
15810
8b7d57cd
AM
158112013-10-05 Alan Modra <amodra@gmail.com>
15812
15813 * NEWS: Mention powerpc64le support and bugs fixed.
15814 * README: Both big-endian and little-endian powerpc64 supported.
15815
7b7bab13
ST
158162013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15817
57f41c40
AS
15818 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15819 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15820 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15821 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15822
d39baad1
RA
158232013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15824
15825 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15826 match prototype.
15827
cd78f7e7
JM
158282013-10-04 Joseph Myers <joseph@codesourcery.com>
15829
29d73d86
JM
15830 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15831 Move -mhard-float appending from
15832 ports/sysdeps/powerpc/powerpc32/Makefile.
15833 [$(with-fp) = yes] (ASFLAGS): Likewise.
15834 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15835 * sysdeps/powerpc/nofpu: Move directory from
15836 ports/sysdeps/powerpc/nofpu.
15837 * sysdeps/powerpc/soft-fp: Move directory from
15838 ports/sysdeps/powerpc/soft-fp.
15839 * sysdeps/powerpc/powerpc32/405: Move directory from
15840 ports/sysdeps/powerpc/powerpc32/405.
15841 * sysdeps/powerpc/powerpc32/440: Move directory from
15842 ports/sysdeps/powerpc/powerpc32/440.
15843 * sysdeps/powerpc/powerpc32/464: Move directory from
15844 ports/sysdeps/powerpc/powerpc32/464.
15845 * sysdeps/powerpc/powerpc32/476: Move directory from
15846 ports/sysdeps/powerpc/powerpc32/476.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15848 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15850 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15852 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15854 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15856 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15857 * README: Update for powerpc-*-linux-gnu software floating point
15858 support in libc.
15859
e246b347
JM
15860 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15861 case to powerpc/powerpc32*.
15862 * sysdeps/unix/sysv/linux/configure: Regenerated.
15863
89c2003e
JM
15864 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15865 (_FPU_MASK_OM): Define as 0x04.
15866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15868 0x00c10080.
15869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15870 0x0000003c.
15871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15872
cd78f7e7
JM
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15874 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15875 getcontext_e500.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15877 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15878 setcontext_e500.
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15880 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15881 and setcontext_e500.
15882
c755294d
CL
158832013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15884
15885 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15886
e16d221c
SP
158872013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15888
15889 * manual/threads.texi (Default Thread Attributes): Fix typo.
15890
215c7d43
WN
158912013-10-04 Will Newton <will.newton@linaro.org>
15892
15893 * malloc/Makefile: Add tst-memalign.
15894 * malloc/tst-memalign.c: New file.
15895
27d0461b
WN
15896 * malloc/tst-posix_memalign.c: Add comments.
15897 (do_test): Add comments and call free on all potentially
15898 allocated pointers. Add space after cast.
15899
1bc92709
WN
15900 * malloc/tst-pvalloc.c: Add comments.
15901 (do_test): Add comments and call free on all potentially
15902 allocated pointers. Remove duplicate check for NULL pointer.
15903 Add space after cast.
15904
66a9be9d
WN
15905 * malloc/tst-valloc.c: Add comments.
15906 (do_test): Add comments and call free on all potentially
15907 allocated pointers. Remove duplicate check for NULL pointer.
15908 Add space after cast.
15909
4cb81307
AM
159102013-10-04 Alan Modra <amodra@gmail.com>
15911
15912 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15913 Use stdint types in rather than __attribute__((mode())).
15914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15915
f8e3e9f3
AM
159162013-10-04 Alan Modra <amodra@gmail.com>
15917
15918 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15919 Correct handling of unaligned relocs for little-endian.
15920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15921
8f9ebb08
AM
159222013-10-04 Alan Modra <amodra@gmail.com>
15923
15924 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15925 * configure: Regenerate.
15926 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15927 * shlib-versions: Likewise.
15928
0edf96c2
AM
159292013-10-04 Alan Modra <amodra@gmail.com>
15930
15931 * string/tester.c (test_memrchr): Increment reported test cycle.
15932
e0f7a380
AM
159332013-10-04 Alan Modra <amodra@gmail.com>
15934
15935 * string/test-memcpy.c (do_one_test): When reporting errors, print
15936 string address and don't overrun end of string.
15937
466b0393
AM
159382013-10-04 Alan Modra <amodra@gmail.com>
15939
15940 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15941 insrdi. Make better use of reg selection to speed exit slightly.
15942 Schedule entry path a little better. Remove useless "are we done"
15943 checks on entry to main loop. Handle wrapping around zero address.
15944 Correct main loop count. Handle single left-over word from main
15945 loop inline rather than by using loop_small. Remove extra word
15946 case in loop_small caused by wrong loop count. Add little-endian
15947 support.
15948 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15949 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15950 cache hint.
15951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15952 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15953 support. Avoid rlwimi.
15954 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15955
3be87c77
AM
159562013-10-04 Alan Modra <amodra@gmail.com>
15957
15958 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15959 insrdi. Formatting.
3be87c77
AM
15960 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15961 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15962 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15963 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15964 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15965 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15966
759cfef3
AM
159672013-10-04 Alan Modra <amodra@gmail.com>
15968
15969 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15970 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15972 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15973 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15974 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15975 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15976 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15977 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15978 use of regs. Use power7 mtocrf. Tidy function tails.
15979
fe6e95d7
AM
159802013-10-04 Alan Modra <amodra@gmail.com>
15981
15982 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15983 Formatting. Consistently use rXXX register defines or rN defines.
15984 Use early exit labels that avoid restoring unused non-volatile regs.
15985 Make cr field use more consistent with rWORDn compares. Rename
15986 regs used as shift registers for unaligned loop, using rN defines
15987 for short lifetime/multiple use regs.
15988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15989 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15990 addi 1,1,64 to pop stack frame. Simplify return value code.
15991 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15992
664318c3
AM
159932013-10-04 Alan Modra <amodra@gmail.com>
15994
15995 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15996 support. Correct typos, formatting. Optimize tail. Use insrdi
15997 rather than rlwimi.
15998 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15999 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16000 little-endian support. Correct typos.
16001 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16002 rather than rlwimi.
16003 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16004 in loop and entry code to keep "and." results.
16005 (strchr): Add little-endian support. Comment. Move cntlzd
16006 earlier in tail.
16007 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16008
43b84013
AM
160092013-10-04 Alan Modra <amodra@gmail.com>
16010
16011 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16012 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16013 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16014 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16015
8a7413f9
AM
160162013-10-04 Alan Modra <amodra@gmail.com>
16017
16018 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16019 (rTMP): Define as r11.
16020 (strcmp): Add little-endian support. Optimise tail.
16021 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16022 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16023 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16028
33ee81de
AM
160292013-10-04 Alan Modra <amodra@gmail.com>
16030
16031 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16032 little-endian support. Remove unnecessary "are we done" tests.
16033 Handle "s" wrapping around zero and extremely large "size".
16034 Correct main loop count. Handle single left-over word from main
16035 loop inline rather than by using small_loop. Correct comments.
16036 Delete "zero" tail, use "end_max" instead.
16037 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16038
db9b4570
AM
160392013-10-04 Alan Modra <amodra@gmail.com>
16040
16041 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16042 support. Don't branch over align.
16043 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16045 support. Rearrange tmp reg use to suit. Comment.
16046 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16047
f7c399cf
AM
160482013-10-04 Alan Modra <amodra@gmail.com>
16049
16050 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16051
0b2c2ace
AM
160522013-10-04 Alan Modra <amodra@gmail.com>
16053
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16055 conditional form of branch and link when obtaining pc.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16057
02f04a6c
AM
160582013-10-04 Alan Modra <amodra@gmail.com>
16059
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16061 HIWORD/LOWORD.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16064
9b874b2f
AM
160652013-10-04 Alan Modra <amodra@gmail.com>
16066
16067 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16068 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16069 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16070 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16071 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16072 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16073 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16074 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16075 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16076 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16077
be1e5d31
AB
160782013-10-04 Anton Blanchard <anton@au1.ibm.com>
16079 Alistair Popple <alistair@ozlabs.au.ibm.com>
16080 Alan Modra <amodra@gmail.com>
16081
16082 [BZ #15723]
16083 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16085 _dl_hwcap access for little-endian.
16086 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16087 destroy vmx regs when saving unaligned.
16088 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16089 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16090 destroy vmx regs when saving unaligned.
16091
fef13a78
AM
160922013-10-04 Alan Modra <amodra@gmail.com>
16093
16094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16095 Don't use a union to pack hi/low value.
16096
76a66d51
AB
160972013-10-04 Anton Blanchard <anton@au1.ibm.com>
16098
16099 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16100 for little-endian.
16101 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16102 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16103 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16104 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16105 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16106
6a31fe7f
AM
161072013-10-04 Alan Modra <amodra@gmail.com>
16108
16109 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16110 constants to usual value for .cst8 section, and remove redundant
16111 high address load.
16112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16113 constant for 0x1p52. Load little-endian words of double from
16114 correct stack offsets.
16115
7b88401f
AM
161162013-10-04 Alan Modra <amodra@gmail.com>
16117
16118 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16119 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16120 words of double from correct stack offsets.
16121 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16122 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16123 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16125 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16126 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16127 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16128 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16129 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16130 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16131 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16132 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16133 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16134 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16135 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16136 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16137 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16138
9c008155
AM
161392013-10-04 Alan Modra <amodra@gmail.com>
16140
16141 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16142 64-bit int/double union.
16143 (_FPU_SETCW): Likewise.
16144 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16145 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16146
da13146d
AM
161472013-10-04 Alan Modra <amodra@gmail.com>
16148
16149 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16150 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16151
603e8410
AM
161522013-10-04 Alan Modra <amodra@gmail.com>
16153
16154 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16155 use vector int constants.
16156 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16157
4a28b3ca
AB
161582013-10-04 Anton Blanchard <anton@au1.ibm.com>
16159
16160 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16161 array with long long.
16162 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16163 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16164 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16165 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16166 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16167 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16168 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16169 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16170 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16171 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16172 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16173 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16174 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16175
2ca85d2b
AB
161762013-10-04 Anton Blanchard <anton@au1.ibm.com>
16177
16178 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16179 (__signbit): Likewise. Correct for little-endian.
16180 (__signbitl): Call __signbit.
16181 (lrint): Correct for little-endian.
16182 (lrintf): Call lrint.
16183
62a728ae
AM
161842013-10-04 Alan Modra <amodra@gmail.com>
16185
16186 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16187 union 32-bit int array member with 64-bit int array.
16188 (t515, tm256): Double rather than long double.
16189 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16190
32c301df
AM
161912013-10-04 Alan Modra <amodra@gmail.com>
16192
16193 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16194 Delete.
16195 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16197 version of math_ldbl.h.
16198
650ef4bd
AM
161992013-10-04 Alan Modra <amodra@gmail.com>
16200
16201 [BZ #15734], [BZ #15735]
16202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16203 all uses of ieee875 long double macros and unions. Simplify test
16204 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16205 ldbl_extract_mantissa value for ix,iy exponents. Properly
16206 normalize after ldbl_extract_mantissa, and don't add hidden bit
16207 already handled. Don't treat low word of ieee854 mantissa like
16208 low word of IBM long double and mask off bit when testing for
16209 zero.
16210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16211 all uses of ieee875 long double macros and unions. Simplify tests
16212 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16213 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16214 two1022, instead use their values. Recognise that tests for large
16215 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16216 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16217 Rewrite all uses of ieee875 long double macros and unions. Simplify
16218 test for 0.0L and nan. Correct negation.
16219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16220 ieee875 long double macros and unions. Correct output for large
16221 magnitude x. Correct absolute value calculation.
16222 (__erfcl): Likewise.
16223 * math/libm-test.inc: Add tests for errors discovered in IBM long
16224 double versions of fmodl, remainderl, erfl and erfcl.
16225
765714ca
AM
162262013-10-04 Alan Modra <amodra@gmail.com>
16227
16228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16229 all uses of ieee854 long double macros and unions. Simplify tests
16230 for long doubles that are fully specified by the high double.
16231 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16232 Likewise.
16233 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16234 Remove dead code too.
16235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16236 (__ieee754_ynl): Likewise.
16237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16240 Remove dead code too.
16241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16242 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16244 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16245 Simplify.
16246 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16247 Simplify.
16248 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16250 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16251 Comment on variable precision.
16252 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16254 Likewise.
16255 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16258 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16259 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16260
4ebd120c
AM
162612013-10-04 Alan Modra <amodra@gmail.com>
16262
16263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16264 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16265 all uses of ieee854 long double macros and unions.
16266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16270 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16271 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16272 Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16274 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16276 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16277 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16278 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16279 Simplify sign and nan test too.
16280 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16281 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16282 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16283 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16284 Likewise.
16285 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16286 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16287 Likewise.
16288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16289 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16290 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16291 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16293 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16294
1b6adf88
AM
162952013-10-04 Alan Modra <amodra@gmail.com>
16296
16297 * stdio-common/printf_size.c (__printf_size): Don't use
16298 union ieee854_long_double in fpnum union.
16299 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16300 signbit macro to retrieve sign from long double.
16301 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16302 retrieve sign from long double.
16303 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16304 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16305 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16306 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16307 * math/test-misc.c (main): Don't use union ieee854_long_double.
16308
4cf69995
AM
163092013-10-04 Alan Modra <amodra@gmail.com>
16310
16311 [BZ #15680]
16312 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16313 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16314 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16315 calculation. Remove unnecessary test for denormal exponent.
16316 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16317 Correct handling of denormals. Avoid undefined shift behaviour.
16318 Correct normalisation of low mantissa when low double is denormal.
16319 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16320 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16321 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16322 Correct normalisation of low mantissa. Test for overflow of high
16323 mantissa and normalise.
16324 (ldbl_nearbyint): Use more readable constant for two52.
16325 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16326 (__mpn_construct_long_double): Fix test for overflow of high
16327 mantissa and correct normalisation. Avoid undefined shift.
16328
9605ca6c
AM
163292013-10-04 Alan Modra <amodra@gmail.com>
16330
16331 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16332 (union ibm_extended_long_double): Define as an array of ieee754_double.
16333 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16334 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16335 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16336 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16344
975569d0
JM
163452013-10-03 Joseph Myers <joseph@codesourcery.com>
16346
d3d23756
JM
16347 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16348 page size instead of calling getpagesize.
16349
975569d0
JM
16350 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16351 (LOCFILE_ALIGN_MASK): Likewise.
16352 (LOCFILE_ALIGN_UP): Likewise.
16353 (LOCFILE_ALIGNED_P): Likewise.
16354 * locale/programs/ld-collate.c (collate_output): Use the new
16355 macros instead of __alignof__ (int32_t).
16356 * locale/weight.h (findidx): Likewise.
16357
b1fe1f2b
OB
163582013-10-03 Ondřej Bílka <neleai@seznam.cz>
16359
16360 [BZ #431]
16361 * manual/string.texi: Fix strncat and wcsncat.
16362
5f855e35
BM
163632013-10-03 Brooks Moses <bmoses@google.com>
16364
16365 [BZ #15915]
16366 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16367 * Makerules: ...here, and adjust associated comments.
16368
3cef6009
WN
163692013-10-02 Will Newton <will.newton@linaro.org>
16370
16371 * malloc/Makefile: Add tst-pvalloc.
16372 * malloc/tst-pvalloc.c: New file.
16373
7815420b
WN
163742013-10-02 Will Newton <will.newton@linaro.org>
16375
16376 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16377 improve test coverage.
16378
4868b204
WN
163792013-10-02 Will Newton <will.newton@linaro.org>
16380
16381 * malloc/Makefile: Add tst-posix_memalign.
16382 * malloc/tst-posix_memalign.c: New file.
16383
29c793b3
EB
163842013-10-01 Eric Blake <eblake@redhat.com>
16385
16386 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16387 Use __THROWNL rather than __THROW on static functions.
16388
fd967522
PM
163892013-09-30 Petr Machata <pmachata@redhat.com>
16390
16391 * elf/elf.h (R_AARCH64_ABS16): New macro.
16392 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16393 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16394 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16395 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16396 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16397 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16398 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16399 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16400 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16401 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16402 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16403 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16404 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16405 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16406 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16407 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16408 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16409 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16410 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16411 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16412 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16413 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16414 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16415 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16416 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16417 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16418 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16419 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16420 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16421 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16422 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16423 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16424 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16425 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16426 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16427 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16428 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16429 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16430 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16431 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16432 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16433 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16434 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16435 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16436 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16437 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16438 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16439 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16440 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16441 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16442 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16443 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16444 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16445 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16446 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16447 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16448 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16449 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16450 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16451 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16452 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16453 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16454 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16455 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16456 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16457 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16458 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16459 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16460 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16461 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16462 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16463 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16464 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16465 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16466 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16467 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16468 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16469 (R_AARCH64_TLSDESC_LDR): Likewise.
16470 (R_AARCH64_TLSDESC_ADD): Likewise.
16471 (R_AARCH64_TLSDESC_CALL): Likewise.
16472
b2179107
AS
164732013-09-30 Andreas Schwab <schwab@suse.de>
16474
16475 [BZ #15048]
16476 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16477 the nss database lookup.
16478 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16480
47f28d0a
MF
164812013-09-28 Mike Frysinger <vapier@gentoo.org>
16482
16483 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16484
164852013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16486
16487 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16488 ${Bash-specific parameter/pattern/string} parameter expansion.
16489 * sysdeps/unix/make-syscalls.sh: Likewise.
16490
f4518a17
KK
164912013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16492
16493 * sysdeps/sh/stackguard-macros.h: New file.
16494
dc1a95c7
OB
164952013-09-26 Ondřej Bílka <neleai@seznam.cz>
16496
16497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16499 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16500 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16502 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16503
5ebbff8f
AZ
165042013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16505
16506 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16507 Fix thread ID register.
16508
4fd2cf9f
JM
165092013-09-25 Joseph Myers <joseph@codesourcery.com>
16510
16511 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16512 [POSIX || UNIX98]: Require rather than permitting all symbols from
16513 <time.h>.
16514 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16515 element of struct sched_param.
16516 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16517 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16518 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16519 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16520 constant.
16521
12c22bc4
OL
165222013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16523
16524 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16525 argument calculation.
16526
a03d8ea7
JM
165272013-09-24 Joseph Myers <joseph@codesourcery.com>
16528
16529 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16530 Expect macro.
16531 [POSIX] (pthread_attr_t): Do not require type.
16532 [POSIX] (pthread_cond_t): Likewise.
16533 [POSIX] (pthread_condattr_t): Likewise.
16534 [POSIX] (pthread_key_t): Likewise.
16535 [POSIX] (pthread_mutex_t): Likewise.
16536 [POSIX] (pthread_mutexattr_t): Likewise.
16537 [POSIX] (pthread_once_t): Likewise.
16538 [POSIX] (pthread_t): Likewise.
16539 [POSIX-based standards] (pthread_atfork): Expect function.
16540
6055173a
JM
165412013-09-24 Joseph Myers <joseph@codesourcery.com>
16542 Richard Sandiford <richard@codesourcery.com>
16543
16544 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16545 (swap_endianness_p): New extern variable.
16546 (set_big_endian): New inline function.
16547 (maybe_swap_uint32): Likewise.
16548 (maybe_swap_uint32_array): Likewise.
16549 (maybe_swap_uint32_obstack): Likewise.
16550 * locale/programs/locfile.c: Include <stdbool.h>.
16551 (swap_endianness_p): New variable.
16552 (add_locale_uint32): Call maybe_swap_uint32.
16553 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16554 (write_locale_data): Call maybe_swap_uint32_array.
16555 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16556 maybe_swap_uint32.
16557 (obstack_int32_grow_fast): Likewise.
16558 (output_weightwc): Call maybe_swap_uint32_obstack.
16559 (collate_output): Likewise.
16560 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16561 (OPT_LITTLE_ENDIAN): Likewise.
16562 (options): Add --little-endian and --big-endian options.
16563 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16564 * locale/programs/locarchive.c: Include "locfile.h".
16565 (GET): New macro.
16566 (SET): Likewise.
16567 (INC): Likewise.
16568 (create_archive): Use the new macros to access fields of
16569 structures directly mapped from or written to locale archives.
16570 (oldlocrecentcmp): Likewise.
16571 (enlarge_archive): Likewise.
16572 (insert_name): Likewise.
16573 (add_alias): Likewise.
16574 (add_locale): Likewise.
16575 (delete_locales_from_archive): Likewise.
16576 (show_archive_content): Likewise.
16577 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16578 locale data.
16579
39bf0bb4
RM
165802013-09-24 Roland McGrath <roland@hack.frob.com>
16581
16582 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16583 http://www.gnu.org/doc/freemanuals.texi.
16584 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16585
f02eed10
WN
165862013-09-24 Will Newton <will.newton@linaro.org>
16587
16588 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16589 macro.
16590
a3a6c312
JM
165912013-09-23 Joseph Myers <joseph@codesourcery.com>
16592
16593 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16594 unsigned char.
16595
107375ac
MR
165962013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16597
16598 * manual/threads.texi (POSIX Threads): Fix a typo.
16599
141f3a77
SP
166002013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16601
303e567a
SP
16602 [BZ #14547]
16603 * string/tst-strcoll-overflow.c: New test case.
16604 * string/Makefile (xtests): Add tst-strcoll-overflow.
16605 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16606 cache if string sizes may cause integer overflow.
16607
141f3a77
SP
16608 [BZ #14547]
16609 * string/strcoll_l.c (coll_seq): New members rule, idx,
16610 save_idx and back_us.
16611 (get_next_seq_nocache): New function.
16612 (do_compare_nocache): New function.
16613 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16614 when malloc fails.
16615
c61b4d41
CD
166162013-09-23 Carlos O'Donell <carlos@redhat.com>
16617
0b1f8e35
CD
16618 [BZ #15754]
16619 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16620 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16621 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16622
c61b4d41
CD
16623 [BZ #15754]
16624 * elf/Makefile (tests): Add tst-ptrguard1.
16625 (tests-static): Add tst-ptrguard1-static.
16626 (tst-ptrguard1-ARGS): Define.
16627 (tst-ptrguard1-static-ARGS): Define.
16628 * elf/tst-ptrguard1.c: New file.
16629 * elf/tst-ptrguard1-static.c: New file.
16630 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16631 * sysdeps/i386/stackguard-macros.h: Likewise.
16632 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16633 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16634 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16635 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16636 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16637 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16638
166392013-09-23 Hector Marco <hecmargi@upv.es>
16640 Ismael Ripoll <iripoll@disca.upv.es>
16641 Carlos O'Donell <carlos@redhat.com>
16642
16643 [BZ #15754]
16644 * sysdeps/generic/stackguard-macros.h: Define
16645 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16646 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16647 Define __pointer_chk_guard_local.
16648 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16649 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16650
f5f4e7b4
VV
166512013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16652
16653 [BZ #15859]
16654 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16655
5bb43a43
AS
166562013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16657
16658 * include/string.h (__ffs): Declare as hidden.
16659 * string/ffs.c (__ffs): Define as hidden.
16660 * sysdeps/i386/ffs.c (__ffs): Likewise.
16661 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16662 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16663 * sysdeps/s390/ffs.c (__ffs): Likewise.
16664 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16665
3ea5be54
AO
166662013-09-20 Alexandre Oliva <aoliva@redhat.com>
16667
ffb89e53
AO
16668 * NEWS: Mention malloc probes.
16669
322dea08
AO
16670 * malloc/arena.c (new_heap): New memory_heap_new probe.
16671 (grow_heap): New memory_heap_more probe.
16672 (shrink_heap): New memory_heap_less probe.
16673 (heap_trim): New memory_heap_free probe.
16674 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16675 (systrim): New memory_sbrk_less probe.
16676 * manual/probes.texi: Document them.
16677
655673f3
AO
16678 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16679 * manual/probes.texi: Document it.
16680
35fed6f1
AO
16681 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16682 (__libc_realloc): Add memory_realloc_retry probe.
16683 (__libc_memalign): Add memory_memalign_retry probe.
16684 (__libc_valloc): Add memory_valloc_retry probe.
16685 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16686 (__libc_calloc): Add memory_calloc_retry probe.
16687 * manual/probes.texi: Document them.
16688
6999d38c
AO
16689 * malloc/arena.c (get_free_list): Add probe
16690 memory_arena_reuse_free_list.
16691 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16692 and memory_arena_reuse.
16693 (arena_get2) [!PER_THREAD]: Likewise.
16694 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16695 memory_arena_reuse_realloc.
16696 * manual/probes.texi: Document them.
16697
0653427f
AO
16698 * malloc/malloc.c (__libc_free): Add
16699 memory_mallopt_free_dyn_thresholds probe.
16700 (__libc_mallopt): Add multiple memory_mallopt probes.
16701 * manual/probes.texi: Document them.
16702
3ea5be54
AO
16703 * malloc/malloc.c: Include stap-probe.h.
16704 (__libc_mallopt): Add memory_mallopt probe.
16705 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16706 * manual/probes.texi: New.
16707 * manual/Makefile (chapters): Add probes.
16708 * manual/threads.texi: Set next node.
16709
e35696c3 167102013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16711
e35696c3
CL
16712 [BZ #15963, #13985]
16713 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16714 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16715 Add `Chinese' to `nan' entry name.
16716
4aafb73c
SP
167172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16718
16719 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16720 (POLYNOMIAL): Likewise.
16721 (TAYLOR_SINCOS): Likewise.
16722 (TAYLOR_SLOW): Likewise.
16723 (__sin): Use TAYLOR_SINCOS.
16724 (__cos): Likewise.
16725 (slow): Use TAYLOR_SLOW.
16726 (sloww): Likewise.
16727 (bsloww): Likewise.
16728 (csloww): Likewise.
16729
d84f25c7
LD
167302013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16731
16732 * stdlib/strtod_l.c: Fix buffer overrun.
16733
5eea0404
SP
167342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16735
7849ff93
SP
16736 * benchtests/Makefile (bench): Add sincos.
16737 * benchtests/bench-sincos.c: New file.
16738
cfa3c886
SP
16739 * math/libm-test.inc (cos_test_data): New test inputs.
16740 (sin_test_data): Likewise.
16741
b348e1e3
SP
16742 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16743 macro.
16744 (__sin): Use it.
16745 (__cos): Likewise.
16746 (slow1): Likewise.
16747 (slow2): Likewise.
16748 (sloww1): Likewise.
16749 (sloww2): Likewise.
16750 (bsloww1): Likewise.
16751 (bsloww2): Likewise.
16752 (cslow2): Likewise.
16753 (csloww1): Likewise.
16754 (csloww2): Likewise.
16755
6cce25f8
SP
16756 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16757 function.
16758 (__sin): Use it.
16759 (__cos): Likewise.
16760
5eea0404
SP
16761 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16762 gotos.
16763 (__cos): Likewise.
16764
9c21573c
MR
167652013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16766
16767 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16768 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16769 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16770 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16771 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16772 * elf/cache.c (print_entry): Handle the new cache flags.
16773
24d22e65
JM
167742013-09-18 Joseph Myers <joseph@codesourcery.com>
16775 Aldy Hernandez <aldyh@redhat.com>
16776
16777 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16778 Change condition to [_SOFT_FLOAT].
16779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16791 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16794 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16795 declaration.
16796
d13ef066
JM
167972013-09-18 Joseph Myers <joseph@codesourcery.com>
16798
2e071de0
JM
16799 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16800 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16801 (__longjmp): Use LOAD_GP to load saved GPRs.
16802 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16803 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16804 (__sigsetjmp): Use SAVE_GP to save GPRs.
16805
d13ef066
JM
16806 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16807 Do not append -msoft-float.
16808 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16809
97a0650b
SP
168102013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16811
16812 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16813
11ca09e9
JM
168142013-09-17 Joseph Myers <joseph@codesourcery.com>
16815
16816 [BZ #15966]
16817 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16818 (_FPU_GETCW): Use initial "__" on variable and field names but not
16819 on macro parameter name.
16820 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16821 parentheses around reference to macro parameter.
16822
08ffcf34
RS
168232013-09-13 Richard Sandiford <richard@codesourcery.com>
16824
16825 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16826 prototype.
16827 (ctype_startup): Use uint32_t in cast and sizeof for
16828 ctype->charnames.
16829
ae7080d3
JL
168302013-09-11 Jia Liu <proljc@gmail.com>
16831
16832 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16833 __daddr_t_defined.
16834 [__FreeBSD__]: Likewise.
16835
5905e7b3
OB
168362013-09-11 Ondřej Bílka <neleai@seznam.cz>
16837
16838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16839 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16840 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16841 (strchr): Remove __strchr_sse42 ifunc selection.
16842 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16843 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16844
b987c776
WN
168452013-09-11 Will Newton <will.newton@linaro.org>
16846
16847 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16848 parameter to RES. Remove hardcoded 1000 value.
16849 * benchtests/bench-skeleton.c (main): Pass RES parameter
16850 to TIMING_INIT and multiply result by 1000.
16851
ddf985af
AZ
168522013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16853
16854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16855
ffdd3181
AS
168562013-09-11 Andreas Schwab <schwab@suse.de>
16857
16858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16859 if not defined.
16860 (O_TMPFILE) [__USE_GNU]: Define.
16861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16862 Define.
16863
b73ed247
WN
168642013-09-11 Will Newton <will.newton@linaro.org>
16865
16866 [BZ #15857]
16867 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16868 does not overflow.
16869
55e17aad
WN
168702013-09-11 Will Newton <will.newton@linaro.org>
16871
16872 [BZ #15856]
16873 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16874 does not overflow.
16875
1159a193
WN
168762013-09-11 Will Newton <will.newton@linaro.org>
16877
16878 [BZ #15855]
16879 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16880 does not overflow.
16881
5905e7b3 168822013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16883
16884 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16885 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16887 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16888 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16889
cdfc721b
AM
168902013-09-10 Allan McRae <allan@archlinux.org>
16891
aa04af00
AM
16892 [BZ #15748]
16893 * manual/arith.texi (Parsing of Floats): Clarify
16894 cross-reference.
16895
cdfc721b
AM
16896 [BZ #15849]
16897 * manual/install.texi (Running make install): Mention
16898 --enable-pt-chown.
16899 * INSTALL: Regenerated.
16900
95e7cf29
MR
169012013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16902
16903 * csu/init-first.c (_init): Remove the !SHARED condition around
16904 FPU control word initialization.
16905 * elf/dl-support.c (_dl_fpu_control): New variable.
16906 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16907 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16908 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16909 * math/test-fpucw-static.c: New file.
16910 * math/test-fpucw-ieee.c: New file.
16911 * math/test-fpucw-ieee-static.c: New file.
16912 * math/Makefile (tests): Add `test-fpucw-ieee' and
16913 `$(tests-static)'.
16914 (tests-static): New variable.
16915 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16916 dependency to...
16917 [($(build-shared),yes)]
16918 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16919 ... this.
16920 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16921 New dependency.
16922
83e43bf0
AM
169232013-09-09 Allan McRae <allan@archlinux.org>
16924
a9f5ce09
AM
16925 [BZ #15939]
16926 * manual/string.texi (Collation Functions): Fix typo in
16927 strcoll example.
16928 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16929
34829bc2
AM
16930 [BZ #15893]
16931 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16932
3932737d
AM
16933 [BZ #15892]
16934 * libio/memstream.c (open_memstream): Fix memory leak.
16935 * libio/wmemstream.c (open_wmemstream): Likewise.
16936
83e43bf0
AM
16937 [BZ #15895]
16938 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16939
0c66b8e9
WN
169402013-09-09 Will Newton <will.newton@linaro.org>
16941
16942 * malloc/Makefile: Add tst-realloc to tests.
16943 * malloc/tst-realloc.c: New file.
16944
f6b00fd1
AM
169452013-09-09 Allan McRae <allan@archlinux.org>
16946
16947 [BZ #15844]
16948 * COPYING: Update from GNU website to fix FSF address.
16949 * COPYING.LIB: Likewise.
16950
eec55e16
DM
169512013-09-06 David S. Miller <davem@davemloft.net>
16952
16953 * po/zh_TW.po: Update Chinese (traditional) translation from
16954 translation project.
16955
1ecbb381
RS
169562013-09-06 Richard Sandiford <richard@codesourcery.com>
16957 Joseph Myers <joseph@codesourcery.com>
16958
16959 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16960 "localeinfo.h".
16961 (obstack_chunk_alloc): New macro.
16962 (obstack_chunk_free): Likewise.
16963 (record_offset): New function.
16964 (init_locale_data): Likewise.
16965 (align_locale_data): Likewise.
16966 (add_locale_empty): Likewise.
16967 (add_locale_raw_data): Likewise.
16968 (add_locale_raw_obstack): Likewise.
16969 (add_locale_string): Likewise.
16970 (add_locale_wstring): Likewise.
16971 (add_locale_uint32): Likewise.
16972 (add_locale_uint32_array): Likewise.
16973 (add_locale_char): Likewise.
16974 (start_locale_structure): Likewise.
16975 (end_locale_structure): Likewise.
16976 (start_locale_prelude): Likewise.
16977 (end_locale_prelude): Likewise.
16978 (write_locale_data): Take locale_file structure rather than an
16979 iovec.
16980 * locale/programs/locfile.h: Include "obstack.h".
16981 (struct locale_file): Change to store locale file contents instead
16982 of header.
16983 (init_locale_data): New prototype.
16984 (align_locale_data): Likewise.
16985 (add_locale_empty): Likewise.
16986 (add_locale_raw_data): Likewise.
16987 (add_locale_raw_obstack): Likewise.
16988 (add_locale_string): Likewise.
16989 (add_locale_wstring): Likewise.
16990 (add_locale_uint32): Likewise.
16991 (add_locale_uint32_array): Likewise.
16992 (add_locale_char): Likewise.
16993 (start_locale_structure): Likewise.
16994 (end_locale_structure): Likewise.
16995 (start_locale_prelude): Likewise.
16996 (end_locale_prelude): Likewise.
16997 (write_locale_data): Update prototype.
16998 * locale/programs/3level.h (struct TABLE): Remove result field.
16999 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17000 Use new locale_file interface.
17001 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17002 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17003 * locale/programs/ld-address.c (address_output): Use new
17004 locale_file interface.
17005 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17006 NO_ADD_LOCALE.
17007 (collate_finish): Don't call collseq_table_finalize.
17008 (collate_output): Use new locale_file interface.
17009 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17010 in file.
17011 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17012 (TABLE): Move defines earlier in file.
17013 (ELEMENT): Likewise.
17014 (DEFAULT): Likewise.
17015 (wctrans_table_add): Move macro and inline function earlier in
17016 file.
17017 (struct wctype_table): Move type earlier in file.
17018 (add_locale_wctype_table): New static prototype.
17019 (struct locale_ctype_t): Use logical types instead of struct iovec
17020 pointers for members.
17021 (ctype_output): Use new locale_file interface.
17022 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17023 new locale_file interface.
17024 (allocate_arrays): Update for use of new locale_file interface.
17025 * locale/programs/ld-identification.c (identification_output): Use
17026 new locale_file interface.
17027 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17028 * locale/programs/ld-messages.c (messages_output): Likewise.
17029 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17030 * locale/programs/ld-name.c (name_output): Likewise.
17031 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17032 * locale/programs/ld-paper.c (paper_output): Likewise.
17033 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17034 * locale/programs/ld-time.c (time_output): Likewise.
17035
e029e2e5
AZ
170362013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17037
17038 * benchtests/Makefile: Add memrchr benchmark.
17039 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17040 benchmark as memrchr.
17041 * benchtests/bench-memrchr-ifunc.c: New file.
17042 * benchtests/bench-memrchr.c: New file.
17043
bbf6e8e4
WN
170442013-09-06 Will Newton <will.newton@linaro.org>
17045
17046 * benchtests/Makefile (string-bench): Add memcpy.
17047
6c82a2f8
CD
170482013-09-05 Carlos O'Donell <carlos@redhat.com>
17049 Cong Wang <amwang@redhat.com>
17050
e732c5f0 17051 [BZ #15850]
6c82a2f8
CD
17052 * sysdeps/unix/sysv/linux/bits/in.h
17053 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17054 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17055 before __USE_KERNEL_IPV6_DEFS uses.
17056 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17057 IPPROTO_BEETPH.
17058 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17059 sockaddr_in6, or ipv6_mreq.
17060
5430fc65
AZ
170612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17062
17063 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17064 memory access for final bytes in some large inputs.
17065 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17066
4660856c
AZ
170672013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17068
17069 * string/test-memrchr.c: New file.
17070 * string/test-memrchr-ifunc.c: New file.
17071 * string/Makefile: Add new memrchr testcase.
17072
bb8ea713
MF
170732013-09-05 Mike Frysinger <vapier@gentoo.org>
17074
17075 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17076 fanotify_init returns EPERM.
17077
b92a20b5
JM
170782013-09-04 Joseph Myers <joseph@codesourcery.com>
17079
17080 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17081 errors.
17082 (top level): Treat second token from macro or constant entries for
17083 allowed headers as allowed.
17084 * include/complex.h: Condition internal declarations on
17085 [!_ISOMAC].
17086 * include/fenv.h: Condition include of <stdbool.h> and internal
17087 declarations on [!_ISOMAC].
7447ccd9
CL
17088
170892013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17090
3e181dda 17091 [BZ #15923]
7447ccd9
CL
17092 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17093
3f2e46a4
JM
170942013-09-04 Joseph Myers <joseph@codesourcery.com>
17095
17096 * configure.in (--enable-versioning): Remove configure option.
17097 (libc_cv_asm_symver_directive): Remove configure test.
17098 (libc_cv_ld_version_script_option): Likewise.
17099 (VERSIONING): Remove variable and AC_SUBST.
17100 (DO_VERSIONING): Remove AC_DEFINE.
17101 * configure: Regenerated.
17102 * config.h.in (DO_VERSIONING): Remove macro.
17103 * Makerules [$(versioning) = yes]: Change conditionals to
17104 [$(build-shared) = yes].
17105 * config.make.in (versioning): Remove variable.
17106 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17107 [$(build-shared) = yes].
17108 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17109 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17110 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17111 [$(build-shared) = yes].
17112 * extra-lib.mk [$(versioning) = yes]: Likewise.
17113 * hurd/Makefile [$(versioning) = yes]: Likewise.
17114 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17115 [SHARED].
17116 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17117 [SHARED].
17118 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17119 [SHARED && !NO_HIDDEN].
17120 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17121 [SHARED].
17122 [SHARED && DO_VERSIONING]: Likewise..
17123 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17124 [$(build-shared) = yes].
17125 * manual/install.texi (--disable-versioning): Remove
17126 documentation.
17127 * INSTALL: Regenerated.
17128 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17129 to [SHARED].
17130 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17131 [$(build-shared) = yes].
17132 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17133 * sysdeps/i386/i686/multiarch/strstr-c.c
17134 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17135 [SHARED && !NO_HIDDEN].
17136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17137 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17138 * sysdeps/powerpc/powerpc32/dl-machine.c
17139 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17140 * sysdeps/powerpc/powerpc32/sysdep.h
17141 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17142 to [SHARED && PIC && !NO_HIDDEN].
17143 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17144 conditional to [SHARED].
17145
44558701
WN
171462013-09-04 Will Newton <will.newton@linaro.org>
17147
17148 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17149 * benchtests/bench-string.h: Include bench-timing.h instead
17150 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17151 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17152 call to HP_TIMING_DIFF_INIT.
17153 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17154 instead of hp-timing.h macros.
17155 * benchtests/bench-memchr.c: Likewise.
17156 * benchtests/bench-memcmp.c: Likewise.
17157 * benchtests/bench-memcpy.c: Likewise.
17158 * benchtests/bench-memmem.c: Likewise.
17159 * benchtests/bench-memmove.c: Likewise.
17160 * benchtests/bench-memset.c: Likewise.
17161 * benchtests/bench-rawmemchr.c: Likewise.
17162 * benchtests/bench-strcasecmp.c: Likewise.
17163 * benchtests/bench-strcasestr.c: Likewise.
17164 * benchtests/bench-strcat.c: Likewise.
17165 * benchtests/bench-strchr.c: Likewise.
17166 * benchtests/bench-strcmp.c: Likewise.
17167 * benchtests/bench-strcpy.c: Likewise.
17168 * benchtests/bench-strcpy_chk.c: Likewise.
17169 * benchtests/bench-strlen.c: Likewise.
17170 * benchtests/bench-strncasecmp.c: Likewise.
17171 * benchtests/bench-strncat.c: Likewise.
17172 * benchtests/bench-strncmp.c: Likewise.
17173 * benchtests/bench-strncpy.c: Likewise.
17174 * benchtests/bench-strnlen.c: Likewise.
17175 * benchtests/bench-strpbrk.c: Likewise.
17176 * benchtests/bench-strrchr.c: Likewise.
17177 * benchtests/bench-strspn.c: Likewise.
17178 * benchtests/bench-strstr.c: Likewise.
17179
cae16d66
WN
171802013-09-04 Will Newton <will.newton@linaro.org>
17181
17182 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17183
ffa3cd7f
JM
171842013-09-03 Joseph Myers <joseph@codesourcery.com>
17185
17186 [BZ #15427]
17187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17188 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17189 * math/libm-test.inc (lgamma_test_data): Add more tests.
17190 * sysdeps/i386/fpu/libm-test-ulps: Update.
17191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17192
8f02859f
OB
171932013-09-03 Ondřej Bílka <neleai@seznam.cz>
17194
17195 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17197 Add ifunc.
17198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17199 Add strcmp-sse2-unaligned
17200 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17201
18d43716
MF
172022013-09-02 Mike Frysinger <vapier@gentoo.org>
17203
17204 * Versions.def (libc): Add GLIBC_2.19.
17205
ac444012
MF
172062013-09-02 Mike Frysinger <vapier@gentoo.org>
17207
17208 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17209 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17210
b7835e32
JM
172112013-09-02 Joseph Myers <joseph@codesourcery.com>
17212
17213 [BZ #14155]
17214 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17215 intermediate calculations in recurrence.
17216 (__ieee754_ynf): Likewise.
17217 * math/libm-test.inc (jn_test_data): Do not allow spurious
17218 underflow exception. Add more tests.
17219 (yn_test_data): Add more tests.
17220 * sysdeps/i386/fpu/libm-test-ulps: Update.
17221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17222
8220f4f0
OB
172232013-09-02 Ondřej Bílka <neleai@seznam.cz>
17224
17225 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17226
f24a6d08
OB
172272013-08-30 Ondřej Bílka <neleai@seznam.cz>
17228
17229 * csu/init-first.c: Fix then/than typos.
17230 * locale/programs/ld-collate.c: Likewise.
17231 * locale/programs/linereader.h: Likewise.
17232 * manual/charset.texi: Likewise.
17233 * manual/filesys.texi: Likewise.
17234 * manual/stdio.texi: Likewise.
17235 * manual/string.texi: Likewise.
17236 * stdlib/fmtmsg.c: Likewise.
17237 * sysdeps/i386/stpncpy.S: Likewise.
17238 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17239 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17240 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17241 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17242
382466e0
OB
172432013-08-30 Ondřej Bílka <neleai@seznam.cz>
17244
17245 * elf/dl-open.c: Fix typos.
17246 * iconvdata/gbbig5.c: Likewise.
17247 * iconvdata/iso-2022-jp.c: Likewise.
17248 * iconv/gconv_int.h: Likewise.
17249 * iconv/loop.c: Likewise.
17250 * nis/rpcsvc/nis.h: Likewise.
17251 * resolv/ns_name.c: Likewise.
17252 * stdio-common/vfscanf.c: Likewise.
17253 * streams/stropts.h: Likewise.
17254 * sunrpc/rpc_thread.c: Likewise.
17255 * sysdeps/i386/strpbrk.S: Likewise.
17256 * sysdeps/ieee754/k_standard.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17259 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17260 * sysdeps/mach/hurd/profil.c: Likewise.
17261 * sysdeps/s390/dl-procinfo.h: Likewise.
17262 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17263 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17264 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17265 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17267
0186c6e9
OB
172682013-08-30 Ondřej Bílka <neleai@seznam.cz>
17269
17270 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17272
d4e16af1
OB
172732013-08-29 Ondřej Bílka <neleai@seznam.cz>
17274
17275 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17276 aix specific files.
17277 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17279 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17280 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17281 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17282 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17283 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17284 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17285
88335980
TS
172862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17287 Roland McGrath <roland@hack.frob.com>
17288
17289 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17290 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17291
ed479b02
ST
172922013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17293
17294 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17295 __executable_start symbol instead of _start.
17296
f1cc4c86
TS
172972013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17298
d821f07c
TS
17299 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17300 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17301 Move macros to...
17302 * sysdeps/gnu/ldsodefs.h: ... this new file.
17303
c54290cf
TS
17304 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17305 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17306 instead of ELFOSABI_LINUX.
17307
0007fc9b 17308 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17309 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17310 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17311 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17312 Likewise.
17313 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17314 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17315 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17316 Likewise.
17317 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17318 (ibm_extended_long_double): Add ieee_nan member.
17319 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17320 (do_test): New function.
17321
f1cc4c86
TS
17322 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17323 TEST_TRUNC.
17324 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17325 functions, renamed from truncdfsf_test, trunctfsf_test,
17326 trunctfdf_test.
17327 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17328 functions.
17329 (do_test): Run all these.
17330
6f65e668
OB
173312013-08-29 Ondřej Bílka <neleai@seznam.cz>
17332
17333 * argp/argp-help.c: Fix typos.
17334 * argp/argp-parse.c: Likewise.
17335 * debug/backtracesyms.c: Likewise.
17336 * elf/elf.h: Likewise.
17337 * malloc/malloc.c: Likewise.
17338 * nis/nis_print.c: Likewise.
17339 * resolv/res_comp.c: Likewise.
17340 * stdlib/stdlib.h: Likewise.
17341 * sunrpc/clnt_tcp.c: Likewise.
17342 * sunrpc/clnt_udp.c: Likewise.
17343 * sunrpc/clnt_unix.c: Likewise.
17344 * sysdeps/unix/bsd/ptsname.c: Likewise.
17345 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17346 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17348 Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17350 Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17352 Likewise.
6f65e668
OB
17353 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17354
3a309239
SP
173552013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17356
17357 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17359
3b813b29
MF
173602013-08-27 Mike Frysinger <vapier@gentoo.org>
17361
17362 [BZ #15897]
17363 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17364 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17365 ($(objpfx)bug-dl-leaf): New rule.
17366 ($(objpfx)bug-dl-leaf.so): Likewise.
17367 ($(objpfx)bug-dl-leaf.out): Likewise.
17368 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17369 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17370 * dlfcn/bug-dl-leaf.c: New test.
17371 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17372 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17373 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17374 (dlclose): Likewise.
17375 (dlmopen): Likewise.
17376
8cc3269f
RM
173772013-08-27 Roland McGrath <roland@hack.frob.com>
17378
7f9d0034
RM
17379 * include/netdb.h [!_ISOMAC]:
17380 Don't include <tls.h>.
17381 (h_errno, __libc_h_errno): Move declaration and macros out of
17382 [_LIBC_REENTRANT].
17383
fb431262
RM
17384 * include/resolv.h [_RESOLV_H_]:
17385 Don't include <tls.h>.
17386 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17387 * resolv/res_libc.c: Don't include <tls.h>.
17388 (_res): Use __attribute__ ((nocommon)) in place of
17389 __attribute__ ((section (".bss"))).
17390
bd81123a
RM
17391 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17392 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17393
c4e42566
RM
17394 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17395
f890a59b
RM
17396 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17397 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17398
17399 * resolv/res_mkquery.c: Include <sys/time.h>.
17400
5d1f0a09
RM
17401 * inet/ifreq.c: Moved to ...
17402 * sysdeps/unix/ifreq.c: ... here.
17403 * inet/ifreq.c: New file, true stub version.
17404
6fcf28b3
RM
17405 * socket/sa_len.c: New file.
17406 * socket/Makefile (aux): Add it.
17407 * sysdeps/unix/sysv/linux/Makefile
17408 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17409 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17410 and #include <socket/sa_len.c>.
17411 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17412 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17413
e041fb8b
RM
17414 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17415 * bits/socket.h: ... here.
17416
8cc3269f
RM
17417 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17418 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17419 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17420
5d228a43
AS
174212013-08-27 Andreas Schwab <schwab@suse.de>
17422
45b8accc
AS
17423 [BZ #15736]
17424 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17425 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17426 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17427 * string/test-strcasecmp.c (test_main): Run tests in several
17428 locales.
17429 * string/test-strncasecmp.c (test_main): Likewise.
17430
5d228a43
AS
17431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17432 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17433 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17435 (__strncasecmp_ssse3) [PIC]: Likewise.
17436
59d112a4
RM
174372013-08-26 Roland McGrath <roland@hack.frob.com>
17438
53234cc3
RM
17439 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17440
59d112a4
RM
17441 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17442 instead of explicitly declaring xdecrypt.
17443 * nis/nss_nis/nis-publickey.c: Likewise.
17444
595aba70
SP
174452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17446
17447 [BZ #15890]
17448 * nscd/aicache.c: Include res_hconf.h.
17449 (addhstaiX): Initialize res_hconf.
17450
ffabd393
AS
174512013-08-26 Andreas Schwab <schwab@suse.de>
17452
17453 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17454 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17455
e0a69f5c
SP
174562013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17457
17458 * nscd/aicache.c (addhstaiX): Fix indentation.
17459
8c12f01d
MF
174602013-08-25 Mike Frysinger <vapier@gentoo.org>
17461
17462 * configure.ac: Quote $build_pt_chown test.
17463 * configure: Regenerated.
17464
8fe89494
JM
174652013-08-23 Joseph Myers <joseph@codesourcery.com>
17466
17467 [BZ #15532]
17468 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17469 * math/s_cexpf.c (__cexpf): Likewise.
17470 * math/s_cexpl.c (__cexpl): Likewise.
17471 * math/libm-test.inc (cexp_test_data): Correct expected return
17472 value for NaN + i0. Add another test.
17473
75b181d6
DM
174742013-08-22 David S. Miller <davem@davemloft.net>
17475
17476 * po/ca.po: Update Catalan translation from translation project.
936241e4 17477 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17478
acd06bb1
JM
174792013-08-21 Joseph Myers <joseph@codesourcery.com>
17480
17481 [BZ #15797]
17482 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17483 is infinite, not alongside NaN test.
17484 * math/s_fdimf.c (__fdimf): Likewise.
17485 * math/s_fdiml.c (__fdiml): Likewise.
17486 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17487 errno is unchanged.
17488
c0c3f78a
OB
174892013-08-21 Ondřej Bílka <neleai@seznam.cz>
17490
17491 * argp/argp-help.c: Fix typos.
17492 * crypt/speeds.c: Likewise.
17493 * csu/check_fds.c: Likewise.
17494 * elf/dl-load.c: Likewise.
17495 * elf/dl-open.c: Likewise.
17496 * elf/reldep3.c: Likewise.
17497 * elf/reldep.c: Likewise.
17498 * elf/sprof.c: Likewise.
17499 * iconv/iconv_charmap.c: Likewise.
17500 * iconv/skeleton.c: Likewise.
17501 * iconv/strtab.c: Likewise.
17502 * io/lockf64.c: Likewise.
17503 * libio/libioP.h: Likewise.
17504 * resolv/gai_notify.c: Likewise.
17505 * resolv/ns_name.c: Likewise.
17506 * resolv/ns_samedomain.c: Likewise.
17507 * resolv/res_send.c: Likewise.
17508 * stdlib/random.c: Likewise.
17509 * sunrpc/rpc/xdr.h: Likewise.
17510 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17512 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17513 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17514 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17515 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17516 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17517 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17518 * sysdeps/mach/hurd/check_fds.c: Likewise.
17519 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17520 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17521 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17522 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17523 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17524 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17525 * sysdeps/pthread/aio_notify.c: Likewise.
17526 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17527 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17528 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17529 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17530 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17531
46ed1038
LD
175322013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17533
17534 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17535 version if bit_Slow_SSE4_2 is set.
17536 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17537 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17538
d400dcac
AZ
175392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17540
17541 [BZ #15867]
17542 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17543 trampoline stack frame information.
17544 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17545 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17546 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17547 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17548 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17549 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17550 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17551 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17552 sa_flags value.
17553 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17554 interrupting a syscall and set with option SA_SIGINFO.
17555
42c8fdd8
JM
175562013-08-20 Joseph Myers <joseph@codesourcery.com>
17557
c980f2f4
JM
17558 [BZ #15531]
17559 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17560 argument is infinite.
17561 * math/s_cprojf.c (__cprojf): Likewise.
17562 * math/s_cprojl.c (__cprojl): Likewise.
17563 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17564 * math/libm-test.inc (cproj_test_data): Add more tests.
17565
0716c4fc
JM
17566 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17567
42c8fdd8
JM
17568 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17569 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17570 size. Use __ffs to determine corresponding shift.
17571
b31469d0
JM
175722013-08-20 Joseph Myers <joseph@codesourcery.com>
17573 Roland McGrath <roland@hack.frob.com>
17574
17575 * Makefile (INSTALL): Remove trailing blank lines from output of
17576 makeinfo.
17577
4e39af6e
AK
175782013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17579
17580 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17581 Align 32 bit compat elf_greg to 8 bytes.
17582
f315524e
AA
175832013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17584
17585 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17586
1326ba1a
SP
175872013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17588
17589 * string/strcoll_l.c (coll_seq): New structure.
17590 (get_next_seq_cached): New function.
17591 (get_next_seq): New function.
17592 (do_compare): New function.
17593 (STRCOLL): Use GNU style definition. Simplify implementation
17594 by using get_next_seq, get_next_seq_cached and do_compare.
17595
91ce4085
FW
175962013-08-16 Florian Weimer <fweimer@redhat.com>
17597
17598 [BZ #14699]
17599 CVE-2013-4237
17600 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17601 member.
17602 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17603 member.
17604 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17605 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17606 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17607 conditional.
17608 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17609 GETDENTS_64BIT_ALIGNED.
17610 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17611 * manual/filesys.texi (Reading/Closing Directory): Document
17612 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17613 strongly.
17614 * manual/conf.texi (Limits for Files): Add portability note to
17615 NAME_MAX, PATH_MAX.
17616 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17617
ca0a6bc4
AS
176182013-08-13 Andreas Schwab <schwab@suse.de>
17619
17620 [BZ #15749]
17621 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17622 of fabs.
17623 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17624 LDBL_MAX_EXP >= 16384]: Add tests for it.
17625
6c1fd795
DM
176262013-08-12 David S. Miller <davem@davemloft.net>
17627
17628 * version.h (RELEASE): Set to "development".
17629 (VERSION): Set to "2.18.90".
17630 * NEWS: Add 2.19 section.
17631
31ad488d
DM
176322013-08-03 David S. Miller <davem@davemloft.net>
17633
17634 * po/ko.po: Update Korean translation from translation project.
17635
db24e684
DM
176362013-08-01 David S. Miller <davem@davemloft.net>
17637
17638 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17639 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17640 Bilka.
17641
f723285b
DM
176422013-07-30 David S. Miller <davem@davemloft.net>
17643
17644 * po/fr.po: Update French translation from translation project.
17645
3cbc52db
DM
176462013-07-28 David S. Miller <davem@davemloft.net>
17647
30bbc0cc
DM
17648 * po/cs.po: Update Czech translation from translation project.
17649
3cbc52db
DM
17650 * po/sv.po: Update Swedish translation from translation project.
17651
d492e6d0
DM
176522013-07-27 David S. Miller <davem@davemloft.net>
17653
f1a7f492
DM
17654 * po/eo.po: Update Esperanto translation from translation project.
17655
90e62a4a
DM
17656 * po/vi.po: Update Vietnamese translation from translation project.
17657
d492e6d0
DM
17658 * po/de.po: Update German translation from translation project.
17659
d4baa62d
DM
176602013-07-26 David S. Miller <davem@davemloft.net>
17661
641aa7b4
DM
17662 * po/bg.po: Update Bulgarian translation from translation project.
17663
d4baa62d
DM
17664 * po/nl.po: Update Dutch translation from translation project.
17665 * po/pl.po: Update Polish translation from translation project.
17666 * po/ru.po: Update Russian translation from translation project.
17667
61a9dcb9
DM
176682013-07-24 David S. Miller <davem@davemloft.net>
17669
17670 * po/libc.pot: Update.
17671
7b1f8b58
AZ
176722013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17673
17674 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17675 variable page size.
17676 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17677 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17678 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17679
a8fc7a03
AK
176802013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17681
17682 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17683
e4608715
CD
176842013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17685 Andreas Schwab <schwab@suse.de>
17686 Roland McGrath <roland@hack.frob.com>
17687 Joseph Myers <joseph@codesourcery.com>
17688 Carlos O'Donell <carlos@redhat.com>
17689
17690 [BZ #15755]
17691 * config.h.in: Define HAVE_PT_CHOWN.
17692 * config.make.in (build-pt-chown): New variable.
17693 * configure.in (--enable-pt_chown): New configure option.
17694 * configure: Regenerate.
17695 * login/Makefile: Include Makeconfig. Build pt_chown only if
17696 build-pt-chown is enabled.
17697 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17698 pt_chown to fix pty ownership.
17699 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17700 CLOSE_ALL_FDS.
17701 * manual/install.texi (Configuring and compiling): Mention
17702 --enable-pt_chown. Add @findex for grantpt.
17703 * INSTALL: Regenerate.
17704
da2d62df
DM
177052013-07-20 David S. Miller <davem@davemloft.net>
17706
17707 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17708 difference between 32-bit and 64-bit.
17709
d7e06450
CD
177102013-07-15 Carlos O'Donell <carlos@redhat.com>
17711
17712 [BZ #15711]
17713 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17714 Avoid system header dependency with -ffreestanding.
17715 ($(objpfx)bits/syscall%d): Likewise.
17716
f959cfd7
DM
177172013-07-13 David S. Miller <davem@davemloft.net>
17718
17719 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17720 underflows from atanl/atan2l due to bug 15319.
17721 (casinh_test_data): Likewise.
17722
c61f8513
DM
177232013-07-07 David S. Miller <davem@davemloft.net>
17724
17725 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17726
72c90ed0
JA
177272013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17728
17729 * sysdeps/i386/fpu/libm-test-ulps: Update.
17730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17731
52dfbe13
SP
177322013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17733
17734 * configure.in (--enable-lock-elision): Fix message text.
17735 * INSTALL: Regenerate.
17736 * configure: Regenerate.
17737
3f169543
AZ
177382013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17739
17740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17741
521c6785
AJ
177422013-07-03 Andreas Jaeger <aj@suse.de>
17743
17744 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17745 define.
17746 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17747 (ptrace_peeksiginfo_args): Add.
17748 (__ptrace_peeksiginfo_flags): Add.
17749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17751 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17752
d2cc15cb
AM
177532013-07-03 Allan McRae <allan@archlinux.org>
17754
17755 * sysdeps/i386/fpu/libm-test-ulps: Update.
17756
3aaeeca7
DM
177572013-07-02 David S. Miller <davem@davemloft.net>
17758
17759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17760
5314ed1a
MT
177612013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17762
17763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17764
67338156
JM
177652013-07-02 Joseph Myers <joseph@codesourcery.com>
17766
17767 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17769
1717da59
AK
177702013-07-02 Andi Kleen <ak@linux.intel.com>
17771
17772 * config.h.in (ENABLE_LOCK_ELISION): Add.
17773 * configure.in (--enable-lock-elision): Add option.
17774 * manual/install.texi: Document --enable lock elision.
17775 * configure: Regenerate
17776 * INSTALL: Regenerate.
17777
1c81621c
L
177782013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17779
17780 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17781 SSE4.2 strcasecmp for libc.a.
17782 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17783
77f01ab5
JM
177842013-07-02 Joseph Myers <joseph@codesourcery.com>
17785
17786 [BZ #13304]
17787 * soft-fp/op-common.h (_FP_FMA): New macro.
17788 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17789 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17790 (_FP_MUL_MEAT_1_imm): ... here.
17791 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17792 (_FP_MUL_MEAT_1_wide): ... here.
17793 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17794 (_FP_MUL_MEAT_1_hard): ... here.
17795 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17796 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17797 (_FP_MUL_MEAT_2_wide): ... here.
17798 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17799 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17800 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17801 (_FP_MUL_MEAT_2_gmp): ... here.
17802 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17803 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17804 (_FP_MUL_MEAT_4_wide): ... here.
17805 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17806 (_FP_MUL_MEAT_4_gmp): ... here.
17807 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17808 (_FP_WFRACBITS_DW_S): Likewise.
17809 (_FP_WFRACXBITS_DW_S): Likewise.
17810 (_FP_HIGHBIT_DW_S): Likewise.
17811 (FP_FMA_S): Likewise.
17812 (_FP_FRAC_HIGH_DW_S): Likewise.
17813 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17814 (_FP_WFRACBITS_DW_D): Likewise.
17815 (_FP_WFRACXBITS_DW_D): Likewise.
17816 (_FP_HIGHBIT_DW_D): Likewise.
17817 (FP_FMA_D): Likewise.
17818 (_FP_FRAC_HIGH_DW_D): Likewise.
17819 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17820 (_FP_WFRACBITS_DW_E): Likewise.
17821 (_FP_WFRACXBITS_DW_E): Likewise.
17822 (_FP_HIGHBIT_DW_E): Likewise.
17823 (FP_FMA_E): Likewise.
17824 (_FP_FRAC_HIGH_DW_E): Likewise.
17825 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17826 (_FP_WFRACBITS_DW_Q): Likewise.
17827 (_FP_WFRACXBITS_DW_Q): Likewise.
17828 (_FP_HIGHBIT_DW_Q): Likewise.
17829 (FP_FMA_Q): Likewise.
17830 (_FP_FRAC_HIGH_DW_Q): Likewise.
17831 * soft-fp/fmasf4.c: New file.
17832 * soft-fp/fmadf4.c: Likewise.
17833 * soft-fp/fmatf4.c: Likewise.
17834
6308fd9a
LD
178352013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17836
17837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17838 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17839 Silvermont.
17840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17841 macro.
17842 (index_Slow_SSE4_2): Likewise.
17843 (index_Prefer_PMINUB_for_stringop): Likewise.
17844 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17845 bit_Slow_SSE4_2 is set.
17846 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17847 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17848
89cd9569
RA
178492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17850
17851 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17852 rtld_global._dl_hwcap2.
17853 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17854 POWER8.
17855 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17856 POWER8 feature descriptions defined in _dl_hwcap2.
17857 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17858 string handling for POWER8 feature bits.
17859 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17860 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17861 _dl_powerpc_cap_flags.
17862 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17863 * sysdeps/powerpc/rtld-global-offsets.sym
17864 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17865 _dl_hwcap2 in the rtld_global_ro structure.
17866
1ae8bfe0
RA
178672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17868
17869 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17870 hardware capabilities in support of AT_HWCAP2.
17871 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17872 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17873 GLRO(dl_hwcap2).
17874 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17875 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17876 explicitly the unknown a_type display mechanism is used.
17877 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17878 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17879 struct member.
17880 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17881 to macro prototype for AT_HWCAP2 support.
17882 * sysdeps/i386/dl-procinfo.h: Likewise.
17883 * sysdeps/s390/dl-procinfo.h: Likewise.
17884 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17885 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17886 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17887 return -1 for unknown a_type display fallback.
17888 * sysdeps/sparc/dl-procinfo.h: Likewise.
17889 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17890 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17891
8fbec010
JM
178922013-06-28 Joseph Myers <joseph@codesourcery.com>
17893
17894 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17895 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17896
0432680e
PY
178972013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17898
17899 [BZ #12492]
17900 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17901 mprotect making __stack_prot writable.
17902
ce61a2ad
NF
179032013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17904 Joseph Myers <joseph@codesourcery.com>
17905
17906 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17907 as being properly aligned.
17908
f91f1c0f
MR
179092013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17910
3d0f5d0c
MR
17911 * dlfcn/modstatic5.c: New file.
17912 * dlfcn/tststatic5.c: New file.
17913 * dlfcn/Makefile (tests): Add tststatic5.
17914 (tests-static): Likewise.
17915 (modules-names): Add modstatic5.
17916 (tststatic5-ENV): New variable.
17917 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17918
f91f1c0f
MR
17919 [BZ #15022]
17920 * elf/dl-support.c (_dl_main_map): New variable.
17921 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17922 (_dl_nns, _dl_load_adds): Set to 1.
17923 (_dl_initial_searchlist): Refer to _dl_main_map.
17924 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17925 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17926 call to _dl_get_origin.
17927 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17928 around call_map.
17929 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17930 * dlfcn/modstatic3.c: New file.
17931 * dlfcn/tststatic3.c: New file.
17932 * dlfcn/tststatic4.c: New file.
17933 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17934 (tests-static): Likewise.
17935 (modules-names): Add modstatic3.
17936 (tststatic3-ENV, tststatic4-ENV): New variables.
17937 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17938 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17939
cbe7d24b
JM
179402013-06-26 Joseph Myers <joseph@codesourcery.com>
17941
17942 * configure.in (CC): Require GCC version 4.4 or later.
17943 * configure: Regenerated.
17944 * manual/install.texi (Tools for Compilation): Update GCC version
17945 requirement.
17946 * INSTALL: Regenerated.
17947
11b8a0e1
LD
179482013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17949
17950 [BZ #15674]
bb5bb87c
L
17951 * string/test-memcmp.c (check2): New.
17952 (main): Call check2.
17953
11b8a0e1
LD
17954 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17955
b0037103
MR
179562013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17957
17958 [BZ #15022]
17959 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17960 over to...
17961 (dl_open_worker) [!SHARED]: ... here.
17962
c18c701d
RA
179632013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17964
17965 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17966
1d17fa5f
RH
179672013-06-25 Richard Henderson <rth@redhat.com>
17968
17969 * locale/programs/locarchive.c: Include <libc-internal.h>
17970
8fcb833a
JM
179712013-06-25 Joseph Myers <joseph@codesourcery.com>
17972
17973 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17974 trailing whitespace removed.
17975
17db6e8d
MF
179762013-06-24 Mike Frysinger <vapier@gentoo.org>
17977
17978 [BZ #10283]
17db6e8d
MF
17979 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17980 * locale/programs/locarchive.c: Include libc-mmap.h.
17981 (prepare_address_space): Take two new outputs (the mmap base and len).
17982 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17983 values.
17984 (create_archive): Declare new mmap base and len values for
17985 prepare_address_space, and store the result in ah.
17986 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17987 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17988 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17989 Declare new mmap base and len values for
17990 prepare_address_space, and store the result in new_ah.
17991 (open_archive): Declare new mmap base and len values for
17992 prepare_address_space, and store the result in ah.
17993 (close_archive): If ah->mmap_base is not NULL, use that and
17994 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17995 * sysdeps/generic/libc-mmap.h: New file.
17996
d605071e
MF
179972013-06-24 Mike Frysinger <vapier@gentoo.org>
17998
17999 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18000 (ALIGN_UP): Likewise.
18001 (PTR_ALIGN_DOWN): Likewise.
18002 (PTR_ALIGN_UP): Likewise.
18003
2f063a6e
RA
180042013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18005
18006 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18007 entry mapped to PPC_PLATFORM_POWER8.
18008 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18009 POWER8.
18010 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18011 (_dl_string_platform): Add case for exporting platform position for
18012 POWER8.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18014 search path to sysdeps/powerpc/powerpc32/power8 directory.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18016 search path to sysdeps/powerpc/powerpc64/power8 directory.
18017 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18018 power7 directories.
18019 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18020 power7 directories.
18021
a31ee4b3
SP
180222013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18023
a74ca98f
SP
18024 * INSTALL: Regenerate.
18025
a31ee4b3
SP
18026 * nscd/connections.c (nscd_init): Fix comment.
18027
695c378f
JM
180282013-06-22 Joseph Myers <joseph@codesourcery.com>
18029
d8412221
JM
18030 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18031
695c378f
JM
18032 [BZ #15667]
18033 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18034 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18035
d1d54715
MR
180362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18037
18038 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18039 DL_DST_REQ_STATIC.
18040 (DL_DST_REQ_STATIC): Remove macro.
18041
8fdda7af
JM
180422013-06-21 Joseph Myers <joseph@codesourcery.com>
18043
18044 [BZ #7006]
18045 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18046 with a shift of 0 bits.
18047
f3bc5e5a
MR
180482013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18049
18050 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18051 $(tststatic-ENV).
18052
be09e8c9
KK
180532013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18054
18055 [BZ #15655]
18056 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18057
85c2e611
AZ
180582013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18059
18060 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18061 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18062 accepts -fno-tree-loop-distribute-patterns.
18063 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18064 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18065 recursive call.
18066 * string/memset.c (memset): Likewise.
18067 * string/test-memmove.c (simple_memmove): Disable loop transformation
18068 to library calls.
18069 * string/test-memset.c (simple_memset): Likewise.
18070 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18071 * benchtests/bench-memset.c (simple_memset): Likewise.
18072 * configure: Regenerated.
18073
c91e0825
JM
180742013-06-20 Joseph Myers <joseph@codesourcery.com>
18075
b8c792af
JM
18076 * math/test-misc.c (main): Ignore fesetround failure when failures
18077 of subsequent rounding tests would be ignored.
18078
c91e0825
JM
18079 [BZ #15654]
18080 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18081 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18082 * math/fegetenv.c (__fegetenv): Return 0.
18083 * math/fegetexcept.c (fegetexcept): Return 0.
18084 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18085 FE_TONEAREST.
18086 * math/feholdexcpt.c (feholdexcept): Return 0.
18087 * math/fesetenv.c (__fesetenv): Return 0.
18088 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18089 argument FE_TONEAREST.
18090 * math/feupdateenv.c (__feupdateenv): Return 0.
18091 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18092
bfcacbde
RM
180932013-06-18 Roland McGrath <roland@hack.frob.com>
18094
18095 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18096 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18097 ($(objpfx)rtld-%.os rules): Use them.
18098
e55a9b25
AZ
180992013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18100
18101 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18102 fields.
18103
346d65b3
RM
181042013-06-17 Roland McGrath <roland@hack.frob.com>
18105
12086fb4
RM
18106 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18107 length of target pattern, then descending length of dependency pattern.
18108 * configure.in (AWK): Require gawk 3.1.2 or newer.
18109 * manual/install.texi (Tools for Compilation): Say that we do.
18110 * configure: Regenerated.
18111
346d65b3
RM
18112 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18113 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18114 * scripts/sysd-rules.awk: ... this new script.
18115 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18116 than a glob-style pattern.
18117
1a846317
JM
181182013-06-17 Joseph Myers <joseph@codesourcery.com>
18119
18120 * math/test-misc.c (main): Do not treat incorrectly rounded
18121 conversions as failure unless ROUNDING_TESTS passes.
18122
8fc75e6f
JM
181232013-06-15 Joseph Myers <joseph@codesourcery.com>
18124
3711a167
JM
18125 [BZ #15631]
18126 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18127 restore exception state around main square root computation, then
18128 check for inexactness explicitly.
18129
8fc75e6f
JM
18130 * math/libm-test.inc (fma_test_data): Add another test.
18131
61dd6208
SP
181322013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18133
adf23d2c
SP
18134 * manual/threads.texi (Non-POSIX Extensions): New document
18135 node. Document pthread_getattr_default_np and
18136 pthread_setattr_default_np.
18137
61dd6208
SP
18138 * Versions.def (libpthread): Add GLIBC_2.18.
18139 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18141 Likewise.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18143 Likewise.
18144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18145 Likewise.
18146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18147 Likewise.
18148 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18149 Likewise.
18150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18151 Likewise.
18152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18153 Likewise.
18154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18155 Likewise.
18156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18157 Likewise.
18158
d086fc7b
LD
181592013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18160
18161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18162 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18163
747ef469
SP
181642013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18165 H.J. Lu <hjl.tools@gmail.com>
18166
18167 [BZ #15627]
18168 * sysdeps/x86_64/rtld-memset.c: Remove file.
18169 * sysdeps/x86_64/rtld-memset.S: New file.
18170
1b2feed2
JM
181712013-06-14 Joseph Myers <joseph@codesourcery.com>
18172
18173 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18174 (test_in_one_mode): Take arguments for whether the rounding mode
18175 is supported for each floating-point type.
18176 (do_test): Pass new arguments to test_in_one_mode using
18177 ROUNDING_TESTS.
18178
a58ad3f8
RM
181792013-06-13 Roland McGrath <roland@hack.frob.com>
18180
18181 * posix/tst-waitid.c (do_test): Distinguish different instances of
18182 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18183 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18184 before entering the kernel for waitpid.
18185
c204ab28
SP
181862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18187
18188 * NEWS: Fix note on clock function precision. Text by Roland
18189 McGrath.
18190
f4a29fba
RM
181912013-06-13 Roland McGrath <roland@hack.frob.com>
18192
18193 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18194 it into place only when and if the sanity check passes.
18195
1f24b9ad
JM
181962013-06-13 Joseph Myers <joseph@codesourcery.com>
18197
18198 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18199 output for whether conversion result is exact. Take argument
18200 indicating whether type is IBM long double.
18201 (round_for_all): Change need_exact field to ibm_ld.
18202 * stdlib/tst-strtod-round.c (struct exactness): New type.
18203 (struct test): Change bool ld_ok field to struct exactness exact.
18204 (TEST): Update all definitions for change to field.
18205 (tests): Regenerate array contents.
18206 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18207 field value. Check for IBM long double here.
18208 (do_test): Update calls to test_in_one_mode.
18209
58206c68
SP
182102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18211
18212 [BZ #12515]
18213 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18214 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18215
2d6f4c5b 182162013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18217
18218 [BZ #15605]
18219 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18220 generated by the compiler on loop optimizations.
18221 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18222 general definitions.
18223
94f2c076
JM
182242013-06-12 Joseph Myers <joseph@codesourcery.com>
18225
18226 * math/bug-nextafter.c: Include <math-tests.h>.
18227 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18228 the relevant type.
18229 * math/bug-nexttoward.c: Include <math-tests.h>.
18230 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18231 the relevant type.
18232 * math/test-misc.c: Include <math-tests.h>.
18233 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18234 the relevant type.
18235
e0e50a0a
AJ
182362013-06-12 Andreas Jaeger <aj@suse.de>
18237
18238 * po/ia.po: Update Interlingua translation from translation
18239 project.
18240
25061094
SP
182412013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18242
18243 * include/fenv.h: Include stdbool.h.
18244 (struct rm_ctx): New structure.
18245 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18246 Define macro.
18247 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18248 (SET_RESTORE_ROUNDF): Likewise.
18249 (SET_RESTORE_ROUNDL): Likewise.
18250 (SET_RESTORE_ROUND_NOEX): Likewise.
18251 (SET_RESTORE_ROUND_NOEXF): Likewise.
18252 (SET_RESTORE_ROUND_NOEXL): Likewise.
18253 (SET_RESTORE_ROUND_53BIT): Likewise.
18254 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18255 (libc_feresetround_noexf_ctx): Likewise.
18256 (libc_feresetround_noexl_ctx): Likewise.
18257 (libc_feholdsetround_53bit_ctx): Likewise.
18258 (libc_feresetround_53bit_ctx): Likewise.
18259 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18260 (libc_feholdexcept_setround_sse_ctx): New function.
18261 (libc_fesetenv_sse_ctx): Likewise.
18262 (libc_feupdateenv_sse_ctx): Likewise.
18263 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18264 (libc_feholdexcept_setround_387_ctx): Likewise.
18265 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18266 (libc_feholdsetround_387_prec_ctx): Likewise.
18267 (libc_feholdsetround_387_ctx): Likewise.
18268 (libc_feholdsetround_387_53bit_ctx): Likewise.
18269 (libc_feholdsetround_sse_ctx): Likewise.
18270 (libc_feresetround_sse_ctx): Likewise.
18271 (libc_feresetround_387_ctx): Likewise.
18272 (libc_feupdateenv_387_ctx): Likewise.
18273 (libc_feholdexcept_setroundf_ctx): Define macro.
18274 (libc_fesetenvf_ctx): Likewise.
18275 (libc_feupdateenvf_ctx): Likewise.
18276 (libc_feholdsetroundf_ctx): Likewise.
18277 (libc_feresetroundf_ctx): Likewise.
18278 (libc_feholdexcept_setround_ctx): Likewise.
18279 (libc_fesetenv_ctx): Likewise.
18280 (libc_feupdateenv_ctx): Likewise.
18281 (libc_feholdsetround_ctx): Likewise.
18282 (libc_feresetround_ctx): Likewise.
18283 (libc_feholdexcept_setroundl_ctx): Likewise.
18284 (libc_feupdateenvl_ctx): Likewise.
18285 (libc_feholdsetroundl_ctx): Likewise.
18286 (libc_feresetroundl_ctx): Likewise.
18287 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18288 (libc_feresetround_53bit_ctx): Likewise.
18289
59b30555
SP
182902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18291
18292 * locale/iso-639.def: Convert to UTF-8.
18293
f1d73d30
JM
182942013-06-11 Joseph Myers <joseph@codesourcery.com>
18295
18296 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18297 (EXCEPTION_TESTS_double): Likewise.
18298 (EXCEPTION_TESTS_long_double): Likewise.
18299 (EXCEPTION_TESTS): Likewise.
18300 * math/libm-test.inc (test_exceptions): Only test exceptions if
18301 EXCEPTION_TESTS (FLOAT).
18302
94aca5e7
SP
183032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18304
18305 * benchtests/Makefile (string-bench): Add strcpy_chk and
18306 stpcpy_chk.
18307 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18308 * benchtests/bench-stpcpy_chk.c: New file.
18309 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18310 * benchtests/bench-strcpy_chk.c: New file.
18311 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18312 code.
18313 (do_test): Likewise.
18314
fac0c5f2
RA
183152013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18316
18317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18318 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18319 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18320 with tabs where appropriate.
18321 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18322 dl-procinfo.h.
18323 [PPC_PLATFORM_PPC440]: Likewise.
18324 [PPC_PLATFORM_PPC464]: Likewise.
18325 [PPC_PLATFORM_PPC476]: Likewise.
18326 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18327 ppc464, and ppc476 platform strings merging from ports/
18328 dl-procinfo.h.
18329
f22bc486
AS
183302013-06-11 Andreas Schwab <schwab@suse.de>
18331
18332 [BZ #14991]
18333 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18334 (from_ucs4_idx): Regenerate.
18335 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18336 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18337 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18338 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18339 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18340 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18341 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18342 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18343 from FROM_LOOP and TO_LOOP specific macros.
18344 (BODY): Handle combining characters.
18345 * iconvdata/BIG5HKSCS.irreversible: Update.
18346 * iconvdata/BIG5HKSCS.precomposed: New file.
18347 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18348 characters.
18349 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18350
c1f75dc3
SP
183512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18352
4eacded2
SP
18353 * include/sys/time.h: Fix indentation and add copyright header.
18354
fec799f8
SP
18355 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18356 (do_test): Likewise.
18357 * string/test-memchr.c (do_one_test): Likewise.
18358 (do_test): Likewise.
18359 * string/test-memcmp.c (do_one_test): Likewise.
18360 (do_test): Likewise.
18361 * string/test-memcpy.c (do_one_test): Likewise.
18362 (do_test): Likewise.
18363 * string/test-memmem.c (do_one_test): Likewise.
18364 (do_test): Likewise.
18365 (do_random_tests): Likewise.
18366 * string/test-memmove.c (do_one_test): Likewise.
18367 (do_test): Likewise.
18368 * string/test-memset.c (do_one_test): Likewise.
18369 (do_test): Likewise.
18370 * string/test-rawmemchr.c (do_one_test): Likewise.
18371 (do_test): Likewise.
18372 * string/test-strcasecmp.c (do_one_test): Likewise.
18373 (do_test): Likewise.
18374 * string/test-strcasestr.c (do_one_test): Likewise.
18375 (do_test): Likewise.
18376 * string/test-strcat.c (do_one_test): Likewise.
18377 (do_test): Likewise.
18378 * string/test-strchr.c (do_one_test): Likewise.
18379 (do_test): Likewise.
18380 * string/test-strcmp.c (do_one_test): Likewise.
18381 (do_test): Likewise.
18382 * string/test-strcpy.c (do_one_test): Likewise.
18383 (do_test): Likewise.
18384 * string/test-string.h: Likewise.
18385 (test_init): Likewise.
18386 * string/test-strlen.c (do_one_test): Likewise.
18387 (do_test): Likewise.
18388 * string/test-strncasecmp.c (do_one_test): Likewise.
18389 (do_test): Likewise.
18390 * string/test-strncat.c (do_one_test): Likewise.
18391 (do_test): Likewise.
18392 * string/test-strncmp.c (do_one_test): Likewise.
18393 (do_test_limit): Likewise.
18394 (do_test): Likewise.
18395 * string/test-strncpy.c (do_one_test): Likewise.
18396 (do_test): Likewise.
18397 * string/test-strnlen.c (do_one_test): Likewise.
18398 (do_test): Likewise.
18399 * string/test-strpbrk.c (do_one_test): Likewise.
18400 (do_test): Likewise.
18401 * string/test-strrchr.c (do_one_test): Likewise.
18402 (do_test): Likewise.
18403 * string/test-strspn.c (do_one_test): Likewise.
18404 (do_test): Likewise.
18405 * string/test-strstr.c (do_one_test): Likewise.
18406 (do_test): Likewise.
18407
97020474
SP
18408 * benchtests/Makefile (string-bench): Add string benchmarks.
18409 * benchtests/bench-bcopy-ifunc.c: New file.
18410 * benchtests/bench-bcopy.c: New file.
18411 * benchtests/bench-bzero-ifunc.c: New file.
18412 * benchtests/bench-bzero.c: New file.
18413 * benchtests/bench-memccpy-ifunc.c: New file.
18414 * benchtests/bench-memccpy.c: New file.
18415 * benchtests/bench-memchr-ifunc.c: New file.
18416 * benchtests/bench-memchr.c: New file.
18417 * benchtests/bench-memcmp-ifunc.c: New file.
18418 * benchtests/bench-memcmp.c: New file.
18419 * benchtests/bench-memmem-ifunc.c: New file.
18420 * benchtests/bench-memmem.c: New file.
18421 * benchtests/bench-memmove-ifunc.c: New file.
18422 * benchtests/bench-memmove.c: New file.
18423 * benchtests/bench-mempcpy-ifunc.c: New file.
18424 * benchtests/bench-mempcpy.c: New file.
18425 * benchtests/bench-memset-ifunc.c: New file.
18426 * benchtests/bench-memset.c: New file.
18427 * benchtests/bench-rawmemchr-ifunc.c: New file.
18428 * benchtests/bench-rawmemchr.c: New file.
18429 * benchtests/bench-stpcpy-ifunc.c: New file.
18430 * benchtests/bench-stpcpy.c: New file.
18431 * benchtests/bench-stpncpy-ifunc.c: New file.
18432 * benchtests/bench-stpncpy.c: New file.
18433 * benchtests/bench-strcasecmp-ifunc.c: New file.
18434 * benchtests/bench-strcasecmp.c: New file.
18435 * benchtests/bench-strcasestr-ifunc.c: New file.
18436 * benchtests/bench-strcasestr.c: New file.
18437 * benchtests/bench-strcat-ifunc.c: New file.
18438 * benchtests/bench-strcat.c: New file.
18439 * benchtests/bench-strchr-ifunc.c: New file.
18440 * benchtests/bench-strchr.c: New file.
18441 * benchtests/bench-strchrnul-ifunc.c: New file.
18442 * benchtests/bench-strchrnul.c: New file.
18443 * benchtests/bench-strcmp-ifunc.c: New file.
18444 * benchtests/bench-strcmp.c: New file.
18445 * benchtests/bench-strcpy-ifunc.c: New file.
18446 * benchtests/bench-strcpy.c: New file.
18447 * benchtests/bench-strcspn-ifunc.c: New file.
18448 * benchtests/bench-strcspn.c: New file.
18449 * benchtests/bench-strlen-ifunc.c: New file.
18450 * benchtests/bench-strlen.c: New file.
18451 * benchtests/bench-strncasecmp-ifunc.c: New file.
18452 * benchtests/bench-strncasecmp.c: New file.
18453 * benchtests/bench-strncat-ifunc.c: New file.
18454 * benchtests/bench-strncat.c: New file.
18455 * benchtests/bench-strncmp-ifunc.c: New file.
18456 * benchtests/bench-strncmp.c: New file.
18457 * benchtests/bench-strncpy-ifunc.c: New file.
18458 * benchtests/bench-strncpy.c: New file.
18459 * benchtests/bench-strnlen-ifunc.c: New file.
18460 * benchtests/bench-strnlen.c: New file.
18461 * benchtests/bench-strpbrk-ifunc.c: New file.
18462 * benchtests/bench-strpbrk.c: New file.
18463 * benchtests/bench-strrchr-ifunc.c: New file.
18464 * benchtests/bench-strrchr.c: New file.
18465 * benchtests/bench-strspn-ifunc.c: New file.
18466 * benchtests/bench-strspn.c: New file.
18467 * benchtests/bench-strstr-ifunc.c: New file.
18468 * benchtests/bench-strstr.c: New file.
18469
c1f75dc3
SP
18470 * benchtests/Makefile: Disable parallel execution of targets.
18471 (string-bench): Add memcpy.
18472 (benchset): New variable to store a list of benchmark sets.
18473 (bench-func): Renamed from bench.
18474 (bench-set): New target.
18475 (bench): Depend on bench-func and bench-set.
18476 * benchtests/README: Add section on benchmark sets.
18477 * benchtests/bench-memcpy-ifunc.c: New file.
18478 * benchtests/bench-memcpy.c: New file.
18479 * benchtests/bench-string.h: New file.
18480
50fd745b
AS
184812013-06-11 Andreas Schwab <schwab@suse.de>
18482
18483 [BZ #15577]
18484 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18485 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18486 values in the triple.
18487 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18488 terminator in the group key.
18489
3ee7e9fe
AJ
184902013-06-11 Andreas Jaeger <aj@suse.de>
18491
18492 * po/zh_TW.po: Update Chinese (traditional) translation from
18493 translation project.
18494
89fb6835
SP
184952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18496
18497 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18498 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18499 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18500 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18501 (clock_getcpuclockid): Likewise.
18502 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18503 Add weak_alias and libc_hidden_def.
18504 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18505 * rt/clock_gettime.c (clock_gettime): Rename to
18506 __clock_gettime. Add weak_alias and libc_hidden_def.
18507 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18508 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18509 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18510 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18511 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18512 Likewise.
18513 * rt/clock_settime.c (clock_settime): Rename to
18514 __clock_settime. Add weak_alias and libc_hidden_def.
18515 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18516
0efa6f8b
JM
185172013-06-10 Joseph Myers <joseph@codesourcery.com>
18518
b8c61b4b
JM
18519 * mach/err_boot.sub: Remove trailing whitespace.
18520 * mach/err_ipc.sub: Likewise.
18521 * mach/err_mach.sub: Likewise.
18522
0efa6f8b
JM
18523 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18524 (ROUNDING_TESTS_double): Likewise.
18525 (ROUNDING_TESTS_long_double): Likewise.
18526 (ROUNDING_TESTS): Likewise.
18527 * math/libm-test.inc: Include <math-tests.h>.
18528 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18529 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18530 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18531 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18532
50b818bf
SP
185332013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18534
18535 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18536 of assigning.
18537
60d2f8f3
JM
185382013-06-08 Joseph Myers <joseph@codesourcery.com>
18539
4902d2c3
JM
18540 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18541 otherwise empty TRANS lines.
18542 * sysdeps/gnu/errlist.c: Regenerated.
18543
60d2f8f3
JM
18544 * catgets/gencat.c (error_print): Use (void) in function
18545 definition.
18546 * crypt/crypt_util.c (__init_des): Likewise.
18547 * crypt/speeds.c (Stop): Likewise.
18548 (main): Likewise.
18549 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18550 * inet/ruserpass.c (token): Likewise.
18551 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18552 * intl/localealias.c (extend_alias_table): Likewise.
18553 * intl/plural-exp.c (init_germanic_plural): Likewise.
18554 * libio/fcloseall.c (__fcloseall): Likewise.
18555 * libio/genops.c (_IO_flush_all): Likewise.
18556 (_IO_flush_all_linebuffered): Likewise.
18557 (_IO_cleanup): Likewise.
18558 (_IO_iter_begin): Likewise.
18559 (_IO_iter_end): Likewise.
18560 (_IO_list_lock): Likewise.
18561 (_IO_list_unlock): Likewise.
18562 (_IO_list_resetlock): Likewise.
18563 * libio/getchar.c (getchar): Likewise.
18564 * libio/getchar_u.c (getchar_unlocked): Likewise.
18565 * libio/getwchar.c (getwchar): Likewise.
18566 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18567 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18568 * login/getpt.c (__getpt): Likewise.
18569 * login/tst-utmp.c (main): Likewise.
18570 * malloc/hooks.c (__malloc_check_init): Likewise.
18571 * malloc/malloc.c (__malloc_stats): Likewise.
18572 * malloc/mtrace.c (tr_break): Likewise.
18573 (mtrace): Likewise.
18574 (muntrace): Likewise.
18575 * misc/fstab.c (endfsent): Likewise.
18576 * misc/getclktck.c (__getclktck): Likewise.
18577 * misc/getdtsz.c (__getdtablesize): Likewise.
18578 * misc/gethostid.c (gethostid): Likewise.
18579 * misc/getpagesize.c (__getpagesize): Likewise.
18580 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18581 (__get_nprocs): Likewise.
18582 (__get_phys_pages): Likewise.
18583 (__get_avphys_pages): Likewise.
18584 * misc/getttyent.c (getttyent): Likewise.
18585 (setttyent): Likewise.
18586 (endttyent): Likewise.
18587 * misc/getusershell.c (getusershell): Likewise.
18588 (endusershell): Likewise.
18589 (setusershell): Likewise.
18590 (initshells): Likewise.
18591 * misc/hsearch.c (__hdestroy): Likewise.
18592 * misc/sync.c (sync): Likewise.
18593 * misc/syslog.c (closelog_internal): Likewise.
18594 (closelog): Likewise.
18595 * misc/ttyslot.c (ttyslot): Likewise.
18596 * misc/vhangup.c (vhangup): Likewise.
18597 * posix/fork.c (__fork): Likewise.
18598 * posix/getegid.c (__getegid): Likewise.
18599 * posix/geteuid.c (__geteuid): Likewise.
18600 * posix/getgid.c (__getgid): Likewise.
18601 * posix/getpid.c (__getpid): Likewise.
18602 * posix/getppid.c (__getppid): Likewise.
18603 * posix/getuid.c (__getuid): Likewise.
18604 * posix/pause.c (pause): Likewise.
18605 * posix/setpgrp.c (setpgrp): Likewise.
18606 * posix/setsid.c (__setsid): Likewise.
18607 * posix/test-vfork.c (noop): Likewise.
18608 * resolv/gethnamaddr.c (_endhtent): Likewise.
18609 (_gethtent): Likewise.
18610 (ht_endhostent): Likewise.
18611 (gethostent): Likewise.
18612 (dns_service): Likewise.
18613 * stdlib/drand48.c (drand48): Likewise.
18614 * stdlib/lrand48.c (lrand48): Likewise.
18615 * stdlib/mrand48.c (mrand48): Likewise.
18616 * stdlib/rand.c (rand): Likewise.
18617 * stdlib/random.c (__random): Likewise.
18618 * stdlib/setenv.c (clearenv): Likewise.
18619 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18620 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18621 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18622 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18623 (__get_nprocs): Likewise.
18624 (__get_phys_pages): Likewise.
18625 (__get_avphys_pages): Likewise.
18626 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18627 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18628 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18629 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18630 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18631 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18632 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18633 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18634 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18635 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18636 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18637 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18638 * sysdeps/posix/clock.c (clock): Likewise.
18639 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18640 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18641 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18642 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18643 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18645 (__get_nprocs_conf): Likewise.
18646 (__get_phys_pages): Likewise.
18647 (__get_avphys_pages): Likewise.
18648 * time/clock.c (clock): Likewise.
18649 * time/tzset.c (__tzname_max): Likewise.
18650
2e09a79a
JM
186512013-06-07 Joseph Myers <joseph@codesourcery.com>
18652
18653 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18654 (__bswap_32): Do not use "register".
18655 * crypt/crypt.c (_ufc_doit_r): Likewise.
18656 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18657 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18658 * gmon/gmon.c (__monstartup): Likewise.
18659 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18660 * hurd/hurdmalloc.c (more_memory): Likewise.
18661 (malloc): Likewise.
18662 (free): Likewise.
18663 (realloc): Likewise.
18664 (malloc_fork_prepare): Likewise.
18665 (malloc_fork_parent): Likewise.
18666 (malloc_fork_child): Likewise.
18667 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18668 (_svcauth_des): Likewise.
18669 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18670 * inet/inet_net.c (inet_network): Likewise.
18671 * inet/inet_netof.c (inet_netof): Likewise.
18672 * inet/rcmd.c (__validuser2_sa): Likewise.
18673 * io/fts.c (fts_open): Likewise.
18674 (fts_load): Likewise.
18675 (fts_close): Likewise.
18676 (fts_read): Likewise.
18677 (fts_children): Likewise.
18678 (fts_build): Likewise.
18679 (fts_stat): Likewise.
18680 (fts_sort): Likewise.
18681 (fts_alloc): Likewise.
18682 (fts_lfree): Likewise.
18683 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18684 (_IO_file_xsgetn): Likewise.
18685 (_IO_file_xsgetn_mmap): Likewise.
18686 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18687 (_IO_cookie_write): Likewise.
18688 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18689 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18690 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18691 * malloc/obstack.c (_obstack_begin): Likewise.
18692 (_obstack_begin_1): Likewise.
18693 (_obstack_newchunk): Likewise.
18694 (_obstack_allocated_p): Likewise.
18695 (obstack_free): Likewise.
18696 (_obstack_memory_used): Likewise.
18697 * misc/getttyent.c (getttynam): Likewise.
18698 (getttyent): Likewise.
18699 (skip): Likewise.
18700 (value): Likewise.
18701 * misc/getusershell.c (initshells): Likewise.
18702 * misc/syslog.c (__vsyslog_chk): Likewise.
18703 * misc/ttyslot.c (ttyslot): Likewise.
18704 * nis/nis_hash.c (__nis_hash): Likewise.
18705 * posix/fnmatch_loop.c (FCT): Likewise.
18706 * posix/getconf.c (print_all): Likewise.
18707 (main): Likewise.
18708 * posix/getopt.c (exchange): Likewise.
18709 * posix/glob.c (globfree): Likewise.
18710 (prefix_array): Likewise.
18711 (__glob_pattern_type): Likewise.
18712 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18713 (NS_GET32): Likewise.
18714 (NS_PUT16): Likewise.
18715 (NS_PUT32): Likewise.
18716 * resolv/gethnamaddr.c (getanswer): Likewise.
18717 (gethostbyname2): Likewise.
18718 (gethostbyaddr): Likewise.
18719 (_gethtent): Likewise.
18720 (_gethtbyname2): Likewise.
18721 (_gethtbyaddr): Likewise.
18722 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18723 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18724 * resolv/res_init.c (__res_vinit): Likewise.
18725 (net_mask): Likewise.
18726 * resolv/res_mkquery.c (outchar): Likewise.
18727 (PRINT): Likewise.
18728 * stdio-common/printf_fp.c (outchar): Likewise.
18729 (PRINT): Likewise.
18730 * stdio-common/printf_fphex.c (outchar): Likewise.
18731 (PRINT): Likewise.
18732 * stdio-common/printf_size.c (outchar): Likewise.
18733 (PRINT): Likewise.
18734 * stdio-common/test_rdwr.c (main): Likewise.
18735 * stdio-common/tfformat.c (matches): Likewise.
18736 * stdio-common/vfprintf.c (outchar): Likewise.
18737 (printf_unknown): Likewise.
18738 (buffered_vfprintf): Likewise.
18739 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18740 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18741 (ReadFile): Likewise.
18742 * stdlib/qsort.c (SWAP): Likewise.
18743 (_quicksort): Likewise.
18744 * stdlib/setenv.c (__add_to_environ): Likewise.
18745 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18746 * stdlib/strtol_l.c (__strtol_l): Likewise.
18747 * stdlib/tst-strtod.c (main): Likewise.
18748 * stdlib/tst-strtol.c (main): Likewise.
18749 * stdlib/tst-strtoll.c (main): Likewise.
18750 * string/bits/string2.h (__strcmp_cc): Likewise.
18751 (__strcmp_cg): Likewise.
18752 (__strcspn_c1): Likewise.
18753 (__strcspn_c2): Likewise.
18754 (__strcspn_c3): Likewise.
18755 (__strspn_c1): Likewise.
18756 (__strspn_c2): Likewise.
18757 (__strspn_c3): Likewise.
18758 (__strsep_1c): Likewise.
18759 (__strsep_2c): Likewise.
18760 (__strsep_3c): Likewise.
18761 * string/memccpy.c (__memccpy): Likewise.
18762 * string/stpcpy.c (__stpcpy): Likewise.
18763 * string/strcmp.c (strcmp): Likewise.
18764 * string/strrchr.c (strrchr): Likewise.
18765 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18766 Likewise.
18767 * sysdeps/mach/hurd/getcwd.c
18768 (_hurd_canonicalize_directory_name_internal): Likewise.
18769 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18770 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18771 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18772 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18773 Likewise, in both definitions.
18774 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18775 definitions.
18776 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18777 64] (__bswap_64): Likewise.
18778 * time/test_time.c (main): Likewise.
18779 * time/tzfile.c (__tzfile_read): Likewise.
18780 (__tzfile_compute): Likewise.
18781 * time/tzset.c (__tzset_parse_tz): Likewise.
18782 (tzset_internal): Likewise.
18783 (compute_change): Likewise.
18784 * wcsmbs/wcscat.c (__wcscat): Likewise.
18785 * wcsmbs/wcschr.c (wcschr): Likewise.
18786 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18787 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18788 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18789 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18790 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18791 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18792 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18793 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18794 * wcsmbs/wmemset.c (wmemset): Likewise.
18795
9e54314b
JM
187962013-06-06 Joseph Myers <joseph@codesourcery.com>
18797
18798 * scripts/config.guess: Update to version 2013-05-16.
18799 * scripts/config.sub: Update to version 2013-04-24.
18800 * scripts/install-sh: Update to version 2011-11-20.07.
18801 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18802 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18803
350635a5
OB
188042013-06-06 Ondřej Bílka <neleai@seznam.cz>
18805
18806 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18807 * elf/sln.c: Likewise.
18808 * hurd/hurd/ioctl.h: Likewise.
18809 * hurd/hurdmalloc.c: Likewise.
18810 * hurd/xattr.c: Likewise.
18811 * include/shlib-compat.h: Likewise.
18812 * inet/ruserpass.c: Likewise.
18813 * libio/iofgets_u.c: Likewise.
18814 * libio/iofgetws_u.c: Likewise.
18815 * locale/programs/ld-identification.c: Likewise.
18816 * locale/programs/ld-time.c: Likewise.
18817 * mach/msg-destroy.c: Likewise.
18818 * nss/nss_files/files-netgrp.c: Likewise.
18819 * resolv/res_data.c: Likewise.
18820 * soft-fp/op-1.h: Likewise.
18821 * soft-fp/op-2.h: Likewise.
18822 * soft-fp/op-4.h: Likewise.
18823 * soft-fp/op-common.h: Likewise.
18824 * stdio-common/printf_fphex.c: Likewise.
18825 * stdlib/strtod_l.c: Likewise.
18826 * sunrpc/rpc/clnt.h: Likewise.
18827 * sysdeps/generic/framestate.c: Likewise.
18828 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18829 * sysdeps/i386/bsd-setjmp.S: Likewise.
18830 * sysdeps/i386/__longjmp.S: Likewise.
18831 * sysdeps/i386/setjmp.S: Likewise.
18832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18833 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18834 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18850 * sysdeps/ieee754/support.c: Likewise.
18851 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18852 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18853 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18854 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18855 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18856 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18857 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18858 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18859 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18860 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18861 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18862 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18863 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18864 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18865 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18866 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18867 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18869
44a988af
OB
188702013-06-05 Ondřej Bílka <neleai@seznam.cz>
18871
25506f09 18872 * posix/transbug.c: Remove executable mode.
44a988af 18873
9c84384c
JM
188742013-06-05 Joseph Myers <joseph@codesourcery.com>
18875
18876 * crypt/speeds.c: Remove trailing whitespace.
18877 * dlfcn/default.c: Likewise.
18878 * elf/ifuncdep2.c: Likewise.
18879 * elf/ifuncmain1.c: Likewise.
18880 * elf/ifuncmain1vis.c: Likewise.
18881 * elf/testobj.h: Likewise.
18882 * elf/tst-stackguard1.c: Likewise.
18883 * gmon/sys/gmon.h: Likewise.
18884 * hurd/hurdmsg.c: Likewise.
18885 * hurd/new-fd.c: Likewise.
18886 * hurd/ports-get.c: Likewise.
18887 * iconvdata/ibm1008_420.c: Likewise.
18888 * inet/tst-getni1.c: Likewise.
18889 * inet/tst-getni2.c: Likewise.
18890 * libio/ioungetc.c: Likewise.
18891 * libio/wfiledoalloc.c: Likewise.
18892 * manual/libm-err-tab.pl: Likewise.
18893 * math/w_dremf.c: Likewise.
18894 * misc/ftruncate.c: Likewise.
18895 * posix/bug-glob2.c: Likewise.
18896 * posix/tst-pcre.c: Likewise.
18897 * posix/wait4.c: Likewise.
18898 * resolv/README: Likewise.
18899 * resolv/res_debug.h: Likewise.
18900 * resolv/tst-inet_ntop.c: Likewise.
18901 * setjmp/bug269-setjmp.c: Likewise.
18902 * soft-fp/extended.h: Likewise.
18903 * soft-fp/op-1.h: Likewise.
18904 * soft-fp/op-2.h: Likewise.
18905 * soft-fp/op-4.h: Likewise.
18906 * soft-fp/op-8.h: Likewise.
18907 * soft-fp/testit.c: Likewise.
18908 * stdio-common/bug16.c: Likewise.
18909 * stdlib/random.c: Likewise.
18910 * sunrpc/rpcsvc/rquota.x: Likewise.
18911 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18912 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18913 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18914 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18915 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18916 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18917 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18918 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18919 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18920 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18921 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18940 * sysdeps/ieee754/s_lib_version.c: Likewise.
18941 * sysdeps/mach/hurd/check_fds.c: Likewise.
18942 * sysdeps/mach/hurd/getsockname.c: Likewise.
18943 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18944 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18945 * sysdeps/powerpc/bits/link.h: Likewise.
18946 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18947 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18948 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18949 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18950 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18951 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18952 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18953 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18954 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18958 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18959 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18961 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18962 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18963 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18964 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18966 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18967 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18969 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18970 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18971 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18972 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18973 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18974 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18975 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18976 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18977 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18978 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18979 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18980 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18981 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18982 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18983 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18984 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18985 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18986 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18987 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18988 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18989 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18990 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18991 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18992 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18993 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18994 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18995 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18998 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18999 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19000 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19001 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19002 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19003 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19004 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19005 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19006 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19007 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19008 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19009 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19010 * sysdeps/powerpc/sysdep.h: Likewise.
19011 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19012 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19013 * sysdeps/sh/dl-trampoline.S: Likewise.
19014 * sysdeps/sh/memset.S: Likewise.
19015 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19016 * sysdeps/sh/strlen.S: Likewise.
19017 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19018 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19019 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19020 * sysdeps/sparc/sparc32/rem.S: Likewise.
19021 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19022 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19023 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19024 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19025 * sysdeps/sparc/sparc32/urem.S: Likewise.
19026 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19027 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19028 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19029 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19030 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19031 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19032 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19033 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19034 * sysdeps/unix/bsd/times.c: Likewise.
19035 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19036 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19040 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19041 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19042 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19043 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19044 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19045 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19046 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19047 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19048 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19049 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19050 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19051 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19052 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19053 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19054 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19055 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19056 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19057 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19058 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19059 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19060 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19061 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19062 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19063 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19064 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19065 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19066 * sysdeps/x86_64/strcspn.S: Likewise.
19067
869378a5
RA
190682013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19069
19070 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19071 generated file. Regenerate properly from gen-translit.pl.
19072 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19073 locale/C-translit.h.
19074
840e2943
AS
190752013-06-05 Andreas Schwab <schwab@suse.de>
19076
19077 [BZ #15100]
19078 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19079 week as 6 instead of -1.
19080 * time/tst-strptime.c (day_tests): Add test case.
19081
4c60cb0c
SP
190822013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19083
19084 * sysdeps/generic/math_private.h
19085 (libc_feholdexcept_setround_53bit): Replace with
19086 libc_feholdsetround_53bit.
19087 (libc_feupdateenv_53bit): Replace with
19088 libc_feresetround_53bit.
19089 (SET_RESTORE_ROUND_53BIT): Adjust.
19090
d180203e
SP
190912013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19092
96df079a
SP
19093 * string/test-strchrnul.c: Add copyright header.
19094
d180203e
SP
19095 * posix/tst-getaddrinfo4.c: Increase test timeout.
19096
8b0ccb2d
CD
190972013-06-03 Carlos O'Donell <carlos@redhat.com>
19098
19099 [BZ #15536]
19100 * math/libm-test.inc (MAX_EXP): Remove
19101 (MIN_EXP): Define.
19102 (ulp): Use MIN_EXP - MANT_DIG.
19103 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19104
3b3c4d40
CD
191052013-05-31 Carlos O'Donell <carlos@redhat.com>
19106
19107 * po/be.po: Revert last change.
19108 * po/zh_CN.po: Likewise.
19109 * po/header.pot: Likewise.
19110
fab7ce3f
JM
191112013-05-31 Joseph Myers <joseph@codesourcery.com>
19112
19113 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19114 link-libc-deps to empty as target-specific variable.
19115 * Makerules (link-libc-args): New variable.
19116 (libc-for-link): Likewise.
19117 (link-libc-deps): Likewise.
19118 (lib%.so): Depend on $(link-libc-deps). Link with
19119 $(link-libc-args).
19120 (build-module): Link with $(link-libc-args).
19121 (build-module-asneeded): Likewise.
19122 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19123 list of objects.
19124 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19125 target-specific variable.
19126 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19127 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19128 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19129 libc.
19130 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19131 libc and ld.so.
19132 ($(objpfx)libpcprofile.so): Likewise.
19133 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19134 libc_nonshared.a.
19135 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19136 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19137 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19138 $(link-libc-deps).
19139 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19140 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19141 * login/Makefile ($(objpfx)libutil.so): Likewise.
19142 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19143 * math/Makefile ($(objpfx)libm.so): Likewise.
19144 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19145 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19146 variable instead of depending directly on libc.
19147 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19148 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19149 $(link-libc-deps).
19150 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19151 libc.
19152 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19153 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19154 ($(objpfx)libanl.so): Likewise.
19155 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19156 ld.so.
19157 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19158 $(link-libc-deps).
19159 * sysdeps/i386/fpu/Makefile: Remove file.
19160 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19161 ($(objpfx)libm.so): Remove dependency on ld.so.
19162
eca5920c
PF
191632013-05-30 Patsy Franklin <pfrankli@redhat.com>
19164
19165 [BZ # 15553]
19166 * nis/yp_xdr.c (XDRMAXNAME): Define.
19167 (XDRMAXRECORD): Define.
19168 (xdr_domainname): Use XDRMAXNAME.
19169 (xdr_mapname): Likewise.
19170 (xdr_peername): Likewise.
19171 (xdr_keydat): Use XDRMAXRECORD.
19172 (xdr_valdat): Likewise.
19173
191742013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19175
19176 [BZ #14256]
19177 * manual/errno.texi (ESTALE): Update to account for more than
19178 just NFS file systems.
19179 * sysdeps/gnu/errlist.c: Regenerated.
19180
b9375348
SP
191812013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19182
19183 [BZ #15465]
19184 * elf/Makefile (tests): Add tst-null-argv.
19185 (modules-names): Add tst-null-argv-lib.
19186 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19187 (tst-null-argv-ENV): Set environment for tst-null-argv.
19188 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19189 (RTLD_PROGNAME): New macro.
19190 * elf/tst-null-argv.c: New test case.
19191 * elf/tst-null-argv-lib.c: Library for test case.
19192 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19193 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19194 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19195 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19196 * elf/dl-init.c (call_init): Likewise.
19197 (_dl_init): Likewise.
19198 * elf/dl-load.c (print_search_path): Likewise.
19199 (_dl_map_object): Likewise.
19200 * elf/dl-lookup.c (do_lookup_x): Likewise.
19201 (add_dependency): Likewise.
19202 (_dl_lookup_symbol_x): Likewise.
19203 (_dl_debug_bindings): Likewise.
19204 * elf/dl-open.c (_dl_show_scope): Likewise.
19205 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19206 * elf/dl-version.c (match_symbol): Likewise.
19207 (_dl_check_map_versions): Likewise.
19208 * elf/rtld.c (dl_main): Likewise.
19209 (print_unresolved): Use RTLD_PROGNAME.
19210 (print_missing_version): Likewise.
19211 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19212 (elf_machine_rela): Likewise.
19213 * sysdeps/powerpc/powerpc32/dl-machine.c
19214 (__process_machine_rela): Likewise.
19215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19216 Likewise.
19217 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19218 Likewise.
19219 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19220 Likewise.
19221 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19222 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19223 Likewise.
19224 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19225 Likewise.
19226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19227
8a9f20c8
CD
192282013-05-28 Carlos O'Donell <carlos@redhat.com>
19229
19230 * po/be.po: Add descriptive title.
19231 * po/zh_CN.po: Likewise.
19232 * po/header.pot: Likewise.
19233
0e60d68e
MF
192342013-05-28 Mike Frysinger <vapier@gentoo.org>
19235
19236 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19237 error message.
19238 (enlarge_archive): Likewise.
19239
56b672e9
BN
192402013-05-28 Ben North <ben@redfrontdoor.org>
19241
19242 * manual/arith.texi (frexp): It is the magnitude of the return
19243 value which lies in [0.5, 1), not the return value itself.
19244
5e056687
AZ
192452013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19246
19247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19248
2b66ef5d
TS
192492013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19250
528c2405
TS
19251 * stdio-common/bug26.c (main): Correct fscanf template.
19252
07b4c13d
TS
19253 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19254 declare _dl_skip_args.
19255
ec9dd97c
TS
19256 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19257 Don't declare.
19258
2b66ef5d
TS
19259 * manual/platform.texi: Add missing @end deftypefun.
19260
4f8dfe27
JM
192612013-05-24 Joseph Myers <joseph@codesourcery.com>
19262
0323d086
JM
19263 [BZ #15529]
19264 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19265 bit of mantissa of 2^16382.
19266 * math/libm-test.inc (hypot_test_data): Add more tests.
19267
dd4259b9
JM
19268 * math/libm-test.inc: Add drem and pow10 to list of tested
19269 functions.
19270 (pow10_test): New function.
19271 (drem_test): Likewise.
19272 (drem_test_tonearest): Likewise.
19273 (drem_test_towardzero): Likewise.
19274 (drem_test_downward): Likewise.
19275 (drem_test_upward): Likewise.
19276 (main): Call the new functions.
19277
4f8dfe27
JM
19278 * math/libm-test.inc (finite_test_data): Remove.
19279 (finite_test): Run tests from isfinite_test_data.
19280 (gamma_test_data): Remove.
19281 (gamma_test): Run tests from lgamma_test_data.
19282 * sysdeps/i386/fpu/libm-test-ulps: Update.
19283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19284
d116b7c4
AZ
192852013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19286
19287 * manual/platform.texi: Add PowerPC PPR function set documentation.
19288 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19289 implementation.
19290
e96e3767
CD
192912013-05-24 Carlos O'Donell <carlos@redhat.com>
19292
19293 * math/libm-test.inc (MAX_EXP): Define.
19294 (ULPDIFF): Define.
19295 (ulp): New function.
19296 (check_float_internal): Use ULPDIFF.
19297 (cpow_test): Disable failing test.
19298 (check_ulp): Test ulp() implemetnation.
19299 (main): Call check_ulp before starting tests.
19300
b679a606
JM
193012013-05-24 Joseph Myers <joseph@codesourcery.com>
19302
e8bdba36
JM
19303 * math/gen-libm-test.pl (generate_testfile): Do not handle
19304 START_DATA and END_DATA.
19305 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19306 END_DATA.
19307 (acos_tonearest_test_data): Likewise.
19308 (acos_towardzero_test_data): Likewise.
19309 (acos_downward_test_data): Likewise.
19310 (acos_upward_test_data): Likewise.
19311 (acosh_test_data): Likewise.
19312 (asin_test_data): Likewise.
19313 (asin_tonearest_test_data): Likewise.
19314 (asin_towardzero_test_data): Likewise.
19315 (asin_downward_test_data): Likewise.
19316 (asin_upward_test_data): Likewise.
19317 (asinh_test_data): Likewise.
19318 (atan_test_data): Likewise.
19319 (atanh_test_data): Likewise.
19320 (atan2_test_data): Likewise.
19321 (cabs_test_data): Likewise.
19322 (cacos_test_data): Likewise.
19323 (cacosh_test_data): Likewise.
19324 (carg_test_data): Likewise.
19325 (casin_test_data): Likewise.
19326 (casinh_test_data): Likewise.
19327 (catan_test_data): Likewise.
19328 (catanh_test_data): Likewise.
19329 (cbrt_test_data): Likewise.
19330 (ccos_test_data): Likewise.
19331 (ccosh_test_data): Likewise.
19332 (ceil_test_data): Likewise.
19333 (cexp_test_data): Likewise.
19334 (cimag_test_data): Likewise.
19335 (clog_test_data): Likewise.
19336 (clog10_test_data): Likewise.
19337 (conj_test_data): Likewise.
19338 (copysign_test_data): Likewise.
19339 (cos_test_data): Likewise.
19340 (cos_tonearest_test_data): Likewise.
19341 (cos_towardzero_test_data): Likewise.
19342 (cos_downward_test_data): Likewise.
19343 (cos_upward_test_data): Likewise.
19344 (cosh_test_data): Likewise.
19345 (cosh_tonearest_test_data): Likewise.
19346 (cosh_towardzero_test_data): Likewise.
19347 (cosh_downward_test_data): Likewise.
19348 (cosh_upward_test_data): Likewise.
19349 (cpow_test_data): Likewise.
19350 (cproj_test_data): Likewise.
19351 (creal_test_data): Likewise.
19352 (csin_test_data): Likewise.
19353 (csinh_test_data): Likewise.
19354 (csqrt_test_data): Likewise.
19355 (ctan_test_data): Likewise.
19356 (ctan_tonearest_test_data): Likewise.
19357 (ctan_towardzero_test_data): Likewise.
19358 (ctan_downward_test_data): Likewise.
19359 (ctan_upward_test_data): Likewise.
19360 (ctanh_test_data): Likewise.
19361 (ctanh_tonearest_test_data): Likewise.
19362 (ctanh_towardzero_test_data): Likewise.
19363 (ctanh_downward_test_data): Likewise.
19364 (ctanh_upward_test_data): Likewise.
19365 (erf_test_data): Likewise.
19366 (erfc_test_data): Likewise.
19367 (exp_test_data): Likewise.
19368 (exp_tonearest_test_data): Likewise.
19369 (exp_towardzero_test_data): Likewise.
19370 (exp_downward_test_data): Likewise.
19371 (exp_upward_test_data): Likewise.
19372 (exp10_test_data): Likewise.
19373 (exp2_test_data): Likewise.
19374 (expm1_test_data): Likewise.
19375 (fabs_test_data): Likewise.
19376 (fdim_test_data): Likewise.
19377 (finite_test_data): Likewise.
19378 (floor_test_data): Likewise.
19379 (fma_test_data): Likewise.
19380 (fma_towardzero_test_data): Likewise.
19381 (fma_downward_test_data): Likewise.
19382 (fma_upward_test_data): Likewise.
19383 (fmax_test_data): Likewise.
19384 (fmin_test_data): Likewise.
19385 (fmod_test_data): Likewise.
19386 (fpclassify_test_data): Likewise.
19387 (frexp_test_data): Likewise.
19388 (gamma_test_data): Likewise.
19389 (hypot_test_data): Likewise.
19390 (ilogb_test_data): Likewise.
19391 (isfinite_test_data): Likewise.
19392 (isgreater_test_data): Likewise.
19393 (isgreaterequal_test_data): Likewise.
19394 (isinf_test_data): Likewise.
19395 (isless_test_data): Likewise.
19396 (islessequal_test_data): Likewise.
19397 (islessgreater_test_data): Likewise.
19398 (isnan_test_data): Likewise.
19399 (isnormal_test_data): Likewise.
19400 (issignaling_test_data): Likewise.
19401 (isunordered_test_data): Likewise.
19402 (j0_test_data): Likewise.
19403 (j1_test_data): Likewise.
19404 (jn_test_data): Likewise.
19405 (ldexp_test_data): Likewise.
19406 (lgamma_test_data): Likewise.
19407 (lrint_test_data): Likewise.
19408 (lrint_tonearest_test_data): Likewise.
19409 (lrint_towardzero_test_data): Likewise.
19410 (lrint_downward_test_data): Likewise.
19411 (lrint_upward_test_data): Likewise.
19412 (llrint_test_data): Likewise.
19413 (llrint_tonearest_test_data): Likewise.
19414 (llrint_towardzero_test_data): Likewise.
19415 (llrint_downward_test_data): Likewise.
19416 (llrint_upward_test_data): Likewise.
19417 (log_test_data): Likewise.
19418 (log10_test_data): Likewise.
19419 (log1p_test_data): Likewise.
19420 (log2_test_data): Likewise.
19421 (logb_test_data): Likewise.
19422 (logb_downward_test_data): Likewise.
19423 (lround_test_data): Likewise.
19424 (llround_test_data): Likewise.
19425 (modf_test_data): Likewise.
19426 (nearbyint_test_data): Likewise.
19427 (nextafter_test_data): Likewise.
19428 (nexttoward_test_data): Likewise.
19429 (pow_test_data): Likewise.
19430 (pow_tonearest_test_data): Likewise.
19431 (pow_towardzero_test_data): Likewise.
19432 (pow_downward_test_data): Likewise.
19433 (pow_upward_test_data): Likewise.
19434 (remainder_test_data): Likewise.
19435 (remainder_tonearest_test_data): Likewise.
19436 (remainder_towardzero_test_data): Likewise.
19437 (remainder_downward_test_data): Likewise.
19438 (remainder_upward_test_data): Likewise.
19439 (remquo_test_data): Likewise.
19440 (rint_test_data): Likewise.
19441 (rint_tonearest_test_data): Likewise.
19442 (rint_towardzero_test_data): Likewise.
19443 (rint_downward_test_data): Likewise.
19444 (rint_upward_test_data): Likewise.
19445 (round_test_data): Likewise.
19446 (scalb_test_data): Likewise.
19447 (scalbn_test_data): Likewise.
19448 (scalbln_test_data): Likewise.
19449 (signbit_test_data): Likewise.
19450 (sin_test_data): Likewise.
19451 (sin_tonearest_test_data): Likewise.
19452 (sin_towardzero_test_data): Likewise.
19453 (sin_downward_test_data): Likewise.
19454 (sin_upward_test_data): Likewise.
19455 (sincos_test_data): Likewise.
19456 (sinh_test_data): Likewise.
19457 (sinh_tonearest_test_data): Likewise.
19458 (sinh_towardzero_test_data): Likewise.
19459 (sinh_downward_test_data): Likewise.
19460 (sinh_upward_test_data): Likewise.
19461 (sqrt_test_data): Likewise.
19462 (tan_test_data): Likewise.
19463 (tan_tonearest_test_data): Likewise.
19464 (tan_towardzero_test_data): Likewise.
19465 (tan_downward_test_data): Likewise.
19466 (tan_upward_test_data): Likewise.
19467 (tanh_test_data): Likewise.
19468 (tgamma_test_data): Likewise.
19469 (trunc_test_data): Likewise.
19470 (y0_test_data): Likewise.
19471 (y1_test_data): Likewise.
19472 (yn_test_data): Likewise.
19473 (significand_test_data): Likewise.
19474
b679a606
JM
19475 * math/gen-libm-test.pl (@functions): Remove variable.
19476 (generate_testfile): Don't handle START and END lines.
19477 * math/libm-test.inc (START): New macro.
19478 (END): Likewise.
19479 (END_COMPLEX): Likewise.
19480 (acos_test): Use END macro without arguments.
19481 (acos_test_tonearest): Likewise.
19482 (acos_test_towardzero): Likewise.
19483 (acos_test_downward): Likewise.
19484 (acos_test_upward): Likewise.
19485 (acosh_test): Likewise.
19486 (asin_test): Likewise.
19487 (asin_test_tonearest): Likewise.
19488 (asin_test_towardzero): Likewise.
19489 (asin_test_downward): Likewise.
19490 (asin_test_upward): Likewise.
19491 (asinh_test): Likewise.
19492 (atan_test): Likewise.
19493 (atanh_test): Likewise.
19494 (atan2_test): Likewise.
19495 (cabs_test): Likewise.
19496 (cacos_test): Use END_COMPLEX macro without arguments.
19497 (cacosh_test): Likewise.
19498 (carg_test): Use END macro without arguments.
19499 (casin_test): Use END_COMPLEX macro without arguments.
19500 (casinh_test): Likewise.
19501 (catan_test): Likewise.
19502 (catanh_test): Likewise.
19503 (cbrt_test): Use END macro without arguments.
19504 (ccos_test): Use END_COMPLEX macro without arguments.
19505 (ccosh_test): Likewise.
19506 (ceil_test): Use END macro without arguments.
19507 (cexp_test): Use END_COMPLEX macro without arguments.
19508 (cimag_test): Use END macro without arguments.
19509 (clog_test): Use END_COMPLEX macro without arguments.
19510 (clog10_test): Likewise.
19511 (conj_test): Likewise.
19512 (copysign_test): Use END macro without arguments.
19513 (cos_test): Likewise.
19514 (cos_test_tonearest): Likewise.
19515 (cos_test_towardzero): Likewise.
19516 (cos_test_downward): Likewise.
19517 (cos_test_upward): Likewise.
19518 (cosh_test): Likewise.
19519 (cosh_test_tonearest): Likewise.
19520 (cosh_test_towardzero): Likewise.
19521 (cosh_test_downward): Likewise.
19522 (cosh_test_upward): Likewise.
19523 (cpow_test): Use END_COMPLEX macro without arguments.
19524 (cproj_test): Likewise.
19525 (creal_test): Use END macro without arguments.
19526 (csin_test): Use END_COMPLEX macro without arguments.
19527 (csinh_test): Likewise.
19528 (csqrt_test): Likewise.
19529 (ctan_test): Likewise.
19530 (ctan_test_tonearest): Likewise.
19531 (ctan_test_towardzero): Likewise.
19532 (ctan_test_downward): Likewise.
19533 (ctan_test_upward): Likewise.
19534 (ctanh_test): Likewise.
19535 (ctanh_test_tonearest): Likewise.
19536 (ctanh_test_towardzero): Likewise.
19537 (ctanh_test_downward): Likewise.
19538 (ctanh_test_upward): Likewise.
19539 (erf_test): Use END macro without arguments.
19540 (erfc_test): Likewise.
19541 (exp_test): Likewise.
19542 (exp_test_tonearest): Likewise.
19543 (exp_test_towardzero): Likewise.
19544 (exp_test_downward): Likewise.
19545 (exp_test_upward): Likewise.
19546 (exp10_test): Likewise.
19547 (exp2_test): Likewise.
19548 (expm1_test): Likewise.
19549 (fabs_test): Likewise.
19550 (fdim_test): Likewise.
19551 (finite_test): Likewise.
19552 (floor_test): Likewise.
19553 (fma_test): Likewise.
19554 (fma_test_towardzero): Likewise.
19555 (fma_test_downward): Likewise.
19556 (fma_test_upward): Likewise.
19557 (fmax_test): Likewise.
19558 (fmin_test): Likewise.
19559 (fmod_test): Likewise.
19560 (fpclassify_test): Likewise.
19561 (frexp_test): Likewise.
19562 (gamma_test): Likewise.
19563 (hypot_test): Likewise.
19564 (ilogb_test): Likewise.
19565 (isfinite_test): Likewise.
19566 (isgreater_test): Likewise.
19567 (isgreaterequal_test): Likewise.
19568 (isinf_test): Likewise.
19569 (isless_test): Likewise.
19570 (islessequal_test): Likewise.
19571 (islessgreater_test): Likewise.
19572 (isnan_test): Likewise.
19573 (isnormal_test): Likewise.
19574 (issignaling_test): Likewise.
19575 (isunordered_test): Likewise.
19576 (j0_test): Likewise.
19577 (j1_test): Likewise.
19578 (jn_test): Likewise.
19579 (ldexp_test): Likewise.
19580 (lgamma_test): Likewise.
19581 (lrint_test): Likewise.
19582 (lrint_test_tonearest): Likewise.
19583 (lrint_test_towardzero): Likewise.
19584 (lrint_test_downward): Likewise.
19585 (lrint_test_upward): Likewise.
19586 (llrint_test): Likewise.
19587 (llrint_test_tonearest): Likewise.
19588 (llrint_test_towardzero): Likewise.
19589 (llrint_test_downward): Likewise.
19590 (llrint_test_upward): Likewise.
19591 (log_test): Likewise.
19592 (log10_test): Likewise.
19593 (log1p_test): Likewise.
19594 (log2_test): Likewise.
19595 (logb_test): Likewise.
19596 (logb_test_downward): Likewise.
19597 (lround_test): Likewise.
19598 (llround_test): Likewise.
19599 (modf_test): Likewise.
19600 (nearbyint_test): Likewise.
19601 (nextafter_test): Likewise.
19602 (nexttoward_test): Likewise.
19603 (pow_test): Likewise.
19604 (pow_test_tonearest): Likewise.
19605 (pow_test_towardzero): Likewise.
19606 (pow_test_downward): Likewise.
19607 (pow_test_upward): Likewise.
19608 (remainder_test): Likewise.
19609 (remainder_test_tonearest): Likewise.
19610 (remainder_test_towardzero): Likewise.
19611 (remainder_test_downward): Likewise.
19612 (remainder_test_upward): Likewise.
19613 (remquo_test): Likewise.
19614 (rint_test): Likewise.
19615 (rint_test_tonearest): Likewise.
19616 (rint_test_towardzero): Likewise.
19617 (rint_test_downward): Likewise.
19618 (rint_test_upward): Likewise.
19619 (round_test): Likewise.
19620 (scalb_test): Likewise.
19621 (scalbn_test): Likewise.
19622 (scalbln_test): Likewise.
19623 (signbit_test): Likewise.
19624 (sin_test): Likewise.
19625 (sin_test_tonearest): Likewise.
19626 (sin_test_towardzero): Likewise.
19627 (sin_test_downward): Likewise.
19628 (sin_test_upward): Likewise.
19629 (sincos_test): Likewise.
19630 (sinh_test): Likewise.
19631 (sinh_test_tonearest): Likewise.
19632 (sinh_test_towardzero): Likewise.
19633 (sinh_test_downward): Likewise.
19634 (sinh_test_upward): Likewise.
19635 (sqrt_test): Likewise.
19636 (tan_test): Likewise.
19637 (tan_test_tonearest): Likewise.
19638 (tan_test_towardzero): Likewise.
19639 (tan_test_downward): Likewise.
19640 (tan_test_upward): Likewise.
19641 (tanh_test): Likewise.
19642 (tgamma_test): Likewise.
19643 (trunc_test): Likewise.
19644 (y0_test): Likewise.
19645 (y1_test): Likewise.
19646 (yn_test): Likewise.
19647 (significand_test): Likewise.
19648
bae143d2
OB
196492013-05-24 Ondřej Bílka <neleai@seznam.cz>
19650
19651 [BZ #15381]
19652 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19653
9323d39b
EM
196542013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19655
d4ea44a0 19656 [BZ #14894]
9323d39b
EM
19657 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19658 __ppc_mdoio and __ppc_mdoom.
19659 * manual/platform.texi: Document new functions __ppc_yield,
19660 __ppc_mdoio and __ppc_mdoom.
19661
13e23af7
CD
196622013-05-22 Carlos O'Donell <carlos@redhat.com>
19663
19664 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19665 (main): Mention "tls" pseudo-hwcap is legacy.
19666 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19667
351fe550
JM
196682013-05-22 Joseph Myers <joseph@codesourcery.com>
19669
19670 * math/gen-libm-test.pl (parse_args): Output only string of
19671 arguments as text for test name, not full call or descriptions of
19672 tests for extra outputs.
19673 (generate_testfile): Do not pass function name to parse_args.
19674 Generate this_func variable from START.
19675 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19676 field to arg_str.
19677 (struct test_ff_f_data): Likewise.
19678 (test_ff_f_data_nexttoward): Likewise.
19679 (struct test_fi_f_data): Likewise.
19680 (struct test_fl_f_data): Likewise.
19681 (struct test_if_f_data): Likewise.
19682 (struct test_fff_f_data): Likewise.
19683 (struct test_c_f_data): Likewise.
19684 (struct test_f_f1_data): Likewise. Remove field extra_name.
19685 (struct test_fF_f1_data): Likewise.
19686 (struct test_ffI_f1_data): Likewise.
19687 (struct test_c_c_data): Rename test_name field to arg_str.
19688 (struct test_cc_c_data): Likewise.
19689 (struct test_f_i_data): Likewise.
19690 (struct test_ff_i_data): Likewise.
19691 (struct test_f_l_data): Likewise.
19692 (struct test_f_L_data): Likewise.
19693 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19694 and extra2_name.
19695 (COMMON_TEST_SETUP): New macro.
19696 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19697 (COMMON_TEST_CLEANUP): Likewise.
19698 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19699 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19700 macros.
19701 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19702 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19703 macros.
19704 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19705 (RUN_TEST_fff_f): Take argument string. Call new setup and
19706 cleanup macros.
19707 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19708 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19709 macros.
19710 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19711 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19712 macros.
19713 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19714 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19715 cleanup macros.
19716 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19717 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19718 cleanup macros.
19719 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19720 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19721 cleanup macros.
19722 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19723 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19724 macros.
19725 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19726 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19727 macros.
19728 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19729 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19730 macros.
19731 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19732 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19733 cleanup macros.
19734 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19735 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19736 cleanup macros.
19737 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19738 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19739 macros.
19740 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19741 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19742 cleanup macros.
19743 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19744 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19745 macros.
19746 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19747 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19748 macros.
19749 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19750 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19751 cleanup macros.
19752 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19753
85118d4d
EBM
197542013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19755
19756 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19757 to _sifields.sigfault.
19758 (si_addr_lsb): Define new macro.
19759 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19760 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19761 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19762
7a44c18f
CD
197632013-05-03 Carlos O'Donell <carlos at redhat.com>
19764
19765 [BZ #15441]
19766 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19767 returns -1.
19768 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19769 null return -1.
19770 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19771 loading the domain.
19772
b50a7181
JM
197732013-05-22 Joseph Myers <joseph@codesourcery.com>
19774
19775 * math/gen-libm-test.pl (parse_args): Do not include expected
19776 result in test name.
19777 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19778 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19779 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19780 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19781 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19783
051063c8
SP
197842013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19785
3ce9e010
SP
19786 * benchtests/Makefile: Sort function entries.
19787
051063c8
SP
19788 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19789 tanh, asinh, acosh, atanh.
19790 * benchtests/acos-inputs: New file.
19791 * benchtests/acosh-inputs: New file.
19792 * benchtests/asin-inputs: New file.
19793 * benchtests/asinh-inputs: New file.
19794 * benchtests/atanh-inputs: New file.
19795 * benchtests/cosh-inputs: New file.
19796 * benchtests/log-inputs: New file.
19797 * benchtests/sinh-inputs: New file.
19798 * benchtests/tanh-inputs: New file.
19799
47c22455
DL
198002013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19801
19802 [BZ #15339]
19803 * posix/tst-getaddrinfo4.c: New test.
19804 * posix/Makefile (tests): Add it.
19805
3d04f5db
SP
198062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19807
19808 [BZ #15339]
19809 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19810 when no services were used.
19811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19812 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19813
d5dd6189
AS
198142013-05-21 Andreas Schwab <schwab@suse.de>
19815
19816 [BZ #15014]
19817 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19818 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19819 successful.
19820 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19821 redundant variable declarations and reallocation of buffer when
19822 parsing as IPv6 address. Always set NSS status when called from
19823 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19824 buffer too small. Correct computation of needed size.
19825 * nss/Makefile (tests): Add test-digits-dots.
19826 * nss/test-digits-dots.c: New test.
19827
fef94eab
SP
198282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19829
19830 * benchtests/Makefile: Remove instructions for adding
19831 benchmark tests.
19832 * benchtests/README: New file to explain how to execute and
19833 enhance the benchmark tests.
19834
e39adf43
AS
198352013-05-21 Andreas Schwab <schwab@suse.de>
19836
19837 [BZ #15493]
19838 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19839 * setjmp/tst-sigsetjmp.c: New test.
19840
b2b671b6
OB
198412013-05-20 Ondřej Bílka <neleai@seznam.cz>
19842
19843 * sysdeps/x86_64/memset.S (memset): New implementation.
19844 (__bzero): Likewise.
19845 (__memset_tail): New function.
19846
2d48b41c
OB
198472013-05-20 Ondřej Bílka <neleai@seznam.cz>
19848
19849 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19850 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19851 __memcpy_sse2_unaligned ifunc selection.
19852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19853 Add memcpy-sse2-unaligned.S.
19854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19855 Add: __memcpy_sse2_unaligned.
19856
f16cc3eb
JM
198572013-05-19 Joseph Myers <joseph@codesourcery.com>
19858
3e694268
JM
19859 [BZ #15490]
19860 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19861 math_force_eval before restoring floating-point envrionment.
19862 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19864 Likewise.
19865 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19866 <math_private.h>.
19867 (__nearbyintl): Use math_force_eval before restoring
19868 floating-point environment.
19869 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19870
db62a907
JM
19871 * math/gen-libm-test.pl (special_functions): Remove.
19872 (parse_args): Don't handle TEST_extra. Handle functions with no
19873 return value.
19874 * math/libm-test.inc (struct test_sincos_data): Replace with
19875 struct test_fFF_11_data.
19876 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19877 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19878 (sincos_test_data): Change element type to struct
19879 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19880 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19881 RUN_TEST_LOOP_sincos.
19882 * math/README.libm-test: Don't mention special handling of
19883 individual functions.
19884 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19885 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19886 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19887 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19888 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19890
f16cc3eb
JM
19891 * math/gen-libm-test.pl (get_variable): Remove function.
19892 (parse_args): Don't show pointer parameters to call in test
19893 names. Use "extra output N" in test names for extra outputs
19894 rather than naming variables.
19895
3779b5b6
JM
198962013-05-18 Joseph Myers <joseph@codesourcery.com>
19897
2ee094ff
JM
19898 [BZ #15488]
19899 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19900 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19901 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19902 double tests.
19903 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19904 disable.
19905 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19906 check_long_double.
19907
3779b5b6
JM
19908 * math/gen-libm-test.pl (@tests): Remove variable.
19909 ($count): Likewise.
19910 (new_test): Remove function.
19911 (show_exceptions): New function.
19912 (special_functions): Use show_exceptions instead of new_test.
19913 (parse_args): Likewise.
19914 (generate_testfile): Pass only function name in generated call to
19915 print_max_error or print_complex_max_error.
19916 (get_ulps): Do not handle complex tests specially.
19917 (output_test): Rename to ...
19918 (get_all_ulps_for_test): ... this. Return a string rather than
19919 printing to a file. Require ulps to be present.
19920 (output_ulps): Generate arrays rather than #defines.
19921 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19922 (struct ulp_data): New type.
19923 (BUILD_COMPLEX_ULP): Remove macro.
19924 (compare_ulp_data): New function.
19925 (find_ulps): Likewise.
19926 (find_test_ulps): Likewise.
19927 (find_function_ulps): Likewise.
19928 (find_complex_function_ulps): Likewise.
19929 (print_max_error): Determine allowed ulps using
19930 find_function_ulps.
19931 (print_complex_max_error): Determine allowed ulps using
19932 find_complex_function_ulps.
19933 (check_float_internal): Determine max ulps using find_test_ulps.
19934 (check_float): Do not take max_ulp parameter. Update call to
19935 check_float_internal.
19936 (check_complex): Likewise.
19937 (check_int): Do not take max_ulp parameter.
19938 (check_long): Likewise.
19939 (check_bool): Likewise.
19940 (check_longlong): Likewise.
19941 (struct test_f_f_data): Remove max_ulp field.
19942 (struct test_ff_f_data): Likewise.
19943 (struct test_ff_f_data_nexttoward): Likewise.
19944 (struct test_fi_f_data): Likewise.
19945 (struct test_fl_f_data): Likewise.
19946 (struct test_if_f_data): Likewise.
19947 (struct test_fff_f_data): Likewise.
19948 (struct test_c_f_data): Likewise.
19949 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19950 (struct test_fF_f1_data): Likewise.
19951 (struct test_ffI_f1_data): Likewise.
19952 (struct test_c_c_data): Remove max_ulp field.
19953 (struct test_cc_c_data): Likewise.
19954 (struct test_f_i_data): Likewise.
19955 (struct test_ff_i_data): Likewise.
19956 (struct test_f_l_data): Likewise.
19957 (struct test_f_L_data): Likewise.
19958 (struct test_sincos_data): Likewise.
19959 (RUN_TEST_f_f): Do not handle ulps.
19960 (RUN_TEST_LOOP_f_f): Likewise.
19961 (RUN_TEST_2_f): Likewise.
19962 (RUN_TEST_LOOP_2_f): Likewise.
19963 (RUN_TEST_fff_f): Likewise.
19964 (RUN_TEST_LOOP_fff_f): Likewise.
19965 (RUN_TEST_c_f): Likewise.
19966 (RUN_TEST_LOOP_c_f): Likewise.
19967 (RUN_TEST_f_f1): Likewise.
19968 (RUN_TEST_LOOP_f_f1): Likewise.
19969 (RUN_TEST_fF_f1): Likewise.
19970 (RUN_TEST_LOOP_fF_f1): Likewise.
19971 (RUN_TEST_fI_f1): Likewise.
19972 (RUN_TEST_LOOP_fI_f1): Likewise.
19973 (RUN_TEST_ffI_f1): Likewise.
19974 (RUN_TEST_LOOP_ffI_f1): Likewise.
19975 (RUN_TEST_c_c): Likewise.
19976 (RUN_TEST_LOOP_c_c): Likewise.
19977 (RUN_TEST_cc_c): Likewise.
19978 (RUN_TEST_LOOP_cc_c): Likewise.
19979 (RUN_TEST_f_i): Likewise.
19980 (RUN_TEST_LOOP_f_i): Likewise.
19981 (RUN_TEST_f_i_tg): Likewise.
19982 (RUN_TEST_LOOP_f_i_tg): Likewise.
19983 (RUN_TEST_ff_i_tg): Likewise.
19984 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19985 (RUN_TEST_f_b): Likewise.
19986 (RUN_TEST_LOOP_f_b): Likewise.
19987 (RUN_TEST_f_b_tg): Likewise.
19988 (RUN_TEST_LOOP_f_b_tg): Likewise.
19989 (RUN_TEST_f_l): Likewise.
19990 (RUN_TEST_LOOP_f_l): Likewise.
19991 (RUN_TEST_f_L): Likewise.
19992 (RUN_TEST_LOOP_f_L): Likewise.
19993 (RUN_TEST_sincos): Likewise.
19994 (RUN_TEST_LOOP_sincos): Likewise.
19995
8269107f
JM
199962013-05-17 Joseph Myers <joseph@codesourcery.com>
19997
bb38759d
JM
19998 [BZ #15480]
19999 [BZ #15485]
20000 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20001 main case of finite arguments, set rounding mode to FE_TONEAREST
20002 and discard exceptions.
20003 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20004 exceptions.
20005 (remainder_tonearest_test_data): New variable.
20006 (remainder_test_tonearest): New function.
20007 (remainder_towardzero_test_data): New variable.
20008 (remainder_test_towardzero): New function.
20009 (remainder_downward_test_data): New variable.
20010 (remainder_test_downward): New function.
20011 (remainder_upward_test_data): New variable.
20012 (remainder_test_upward): New function.
20013 (main): Call the new test functions.
20014
a00bdcf0
JM
20015 * math/libm-test.inc (struct test_f_f1_data): Remove field
20016 extra_init.
20017 (struct test_fF_f1_data): Likewise.
20018 (struct test_ffI_f1_data): Likewise.
20019 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20020 based on value of EXTRA_EXPECTED.
20021 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20022 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20023 EXTRA_VAR based on value of EXTRA_EXPECTED.
20024 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20025 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20026 EXTRA_VAR based on value of EXTRA_EXPECTED.
20027 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20028 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20029 EXTRA_VAR based on value of EXTRA_EXPECTED.
20030 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20031 * math/gen-libm-test.pl (parse_args): Don't output initializers
20032 for extra output values.
20033
de407f79
JM
20034 * math/libm-test.inc (check_int): Expect result to be exactly
20035 equal to expected value and do not handle ulps.
20036 (check_long): Likewise.
20037 (check_longlong): Likewise.
20038
8269107f
JM
20039 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20040 exceptions.
20041 (cimag_test_data): Likewise.
20042 (conj_test_data): Likewise.
20043 (copysign_test_data): Likewise.
20044 (cproj_test_data): Likewise.
20045 (creal_test_data): Likewise.
20046 (fabs_test_data): Likewise.
20047 (fdim_test_data): Likewise.
20048 (finite_test_data): Likewise.
20049 (floor_test_data): Likewise.
20050 (fmax_test_data): Likewise.
20051 (fmin_test_data): Likewise.
20052 (fmod_test_data): Likewise.
20053 (fpclassify_test_data): Likewise.
20054 (frexp_test_data): Likewise.
20055 (ilogb_test_data): Likewise.
20056 (isfinite_test_data): Likewise.
20057 (isgreater_test_data): Likewise.
20058 (isgreaterequal_test_data): Likewise.
20059 (isinf_test_data): Likewise.
20060 (isless_test_data): Likewise.
20061 (islessequal_test_data): Likewise.
20062 (islessgreater_test_data): Likewise.
20063 (isnan_test_data): Likewise.
20064 (isnormal_test_data): Likewise.
20065 (issignaling_test_data): Likewise.
20066 (isunordered_test_data): Likewise.
20067 (ldexp_test_data): Likewise.
20068 (lrint_test_data): Likewise.
20069 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20070 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20071 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20072 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20073 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20074 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20075 test input.
20076 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20077 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20078 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20079 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20080 that test input.
20081 (lrint_downward_test_data): Test for "inexact" exceptions.
20082 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20083 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20084 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20085 test input.
20086 (lrint_upward_test_data): Test for "inexact" exceptions.
20087 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20088 test input.
20089 (llrint_test_data): Test for "inexact" exceptions.
20090 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20091 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20092 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20093 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20094 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20095 (llrint_downward_test_data): Test for "inexact" exceptions.
20096 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20097 (llrint_upward_test_data): Test for "inexact" exceptions.
20098 (logb_test_data): Likewise.
20099 (logb_downward_test_data): Likewise.
20100 (nextafter_test_data): Likewise.
20101 (nexttoward_test_data): Likewise.
20102 (remainder_test_data): Likewise.
20103 (remquo_test_data): Likewise.
20104 (scalbn_test_data): Likewise.
20105 (scalbln_test_data): Likewise.
20106 (signbit_test_data): Likewise.
20107 (sqrt_test_data): Likewise.
20108 (significand_test_data): Likewise.
20109
48a18de1
SP
201102013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20111
20112 [BZ #15424]
20113 * benchtests/bench-modf.c (struct args): Mark arg0 as
20114 volatile.
20115 * scripts/bench.pl: Mark members of struct args as volatile.
20116
13d3b41a
AZ
201172013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20118
68191c1d 20119 [BZ # 15497]
13d3b41a
AZ
20120 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20121 negative infinity on POWER6 or lower.
20122 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20123
2848b105
MR
201242013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20125
20126 [BZ #15442]
20127 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20128 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20129 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20130 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20131 (_FP_SETQNAN): New macro.
20132 (_FP_SETQNAN_SEMIRAW): Likewise.
20133 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20134 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20135 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20136 (FP_EXTEND): Use _FP_FRAC_SNANP.
20137 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20138 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20139 into account.
20140 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20141 New macro.
20142 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20143 Likewise.
20144
323e5cb7
JM
201452013-05-16 Joseph Myers <joseph@codesourcery.com>
20146
c58b274f
JM
20147 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20148 with DIVIDE_BY_ZERO_EXCEPTION.
20149 (gamma_test_data): Likewise.
20150 (lgamma_test_data): Likewise.
20151 (log_test_data): Likewise.
20152 (log10_test_data): Likewise.
20153 (log2_test_data): Likewise.
20154 (tgamma_test_data): Likewise.
20155
0ab34904
JM
20156 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20157 (acos_test_tonearest): Likewise.
20158 (acos_test_towardzero): Likewise.
20159 (acos_test_downward): Likewise.
20160 (acos_test_upward): Likewise.
20161 (acosh_test): Likewise.
20162 (asin_test): Likewise.
20163 (asin_test_tonearest): Likewise.
20164 (asin_test_towardzero): Likewise.
20165 (asin_test_downward): Likewise.
20166 (asin_test_upward): Likewise.
20167 (asinh_test): Likewise.
20168 (atan_test): Likewise.
20169 (atanh_test): Likewise.
20170 (atan2_test): Likewise.
20171 (cabs_test): Likewise.
20172 (cacos_test): Likewise.
20173 (cacosh_test): Likewise.
20174 (casin_test): Likewise.
20175 (casinh_test): Likewise.
20176 (catan_test): Likewise.
20177 (catanh_test): Likewise.
20178 (cbrt_test): Likewise.
20179 (ccos_test): Likewise.
20180 (ccosh_test): Likewise.
20181 (cexp_test): Likewise.
20182 (clog_test): Likewise.
20183 (clog10_test): Likewise.
20184 (cos_test): Likewise.
20185 (cos_test_tonearest): Likewise.
20186 (cos_test_towardzero): Likewise.
20187 (cos_test_downward): Likewise.
20188 (cos_test_upward): Likewise.
20189 (cosh_test): Likewise.
20190 (cosh_test_tonearest): Likewise.
20191 (cosh_test_towardzero): Likewise.
20192 (cosh_test_downward): Likewise.
20193 (cosh_test_upward): Likewise.
20194 (cpow_test): Likewise.
20195 (csin_test): Likewise.
20196 (csinh_test): Likewise.
20197 (csqrt_test): Likewise.
20198 (ctan_test): Likewise.
20199 (ctan_test_tonearest): Likewise.
20200 (ctan_test_towardzero): Likewise.
20201 (ctan_test_downward): Likewise.
20202 (ctan_test_upward): Likewise.
20203 (ctanh_test): Likewise.
20204 (ctanh_test_tonearest): Likewise.
20205 (ctanh_test_towardzero): Likewise.
20206 (ctanh_test_downward): Likewise.
20207 (ctanh_test_upward): Likewise.
20208 (erf_test): Likewise.
20209 (erfc_test): Likewise.
20210 (exp_test): Likewise.
20211 (exp_test_tonearest): Likewise.
20212 (exp_test_towardzero): Likewise.
20213 (exp_test_downward): Likewise.
20214 (exp_test_upward): Likewise.
20215 (exp10_test): Likewise.
20216 (exp2_test): Likewise.
20217 (expm1_test): Likewise.
20218 (fmod_test): Likewise.
20219 (gamma_test): Likewise.
20220 (hypot_test): Likewise.
20221 (j0_test): Likewise.
20222 (j1_test): Likewise.
20223 (jn_test): Likewise.
20224 (lgamma_test): Likewise.
20225 (log_test): Likewise.
20226 (log10_test): Likewise.
20227 (log1p_test): Likewise.
20228 (log2_test): Likewise.
20229 (logb_test_downward): Likewise.
20230 (pow_test): Likewise.
20231 (pow_test_tonearest): Likewise.
20232 (pow_test_towardzero): Likewise.
20233 (pow_test_downward): Likewise.
20234 (pow_test_upward): Likewise.
20235 (remainder_test): Likewise.
20236 (remquo_test): Likewise.
20237 (sin_test): Likewise.
20238 (sin_test_tonearest): Likewise.
20239 (sin_test_towardzero): Likewise.
20240 (sin_test_downward): Likewise.
20241 (sin_test_upward): Likewise.
20242 (sincos_test): Likewise.
20243 (sinh_test): Likewise.
20244 (sinh_test_tonearest): Likewise.
20245 (sinh_test_towardzero): Likewise.
20246 (sinh_test_downward): Likewise.
20247 (sinh_test_upward): Likewise.
20248 (sqrt_test): Likewise.
20249 (tan_test): Likewise.
20250 (tan_test_tonearest): Likewise.
20251 (tan_test_towardzero): Likewise.
20252 (tan_test_downward): Likewise.
20253 (tan_test_upward): Likewise.
20254 (tanh_test): Likewise.
20255 (tgamma_test): Likewise.
20256 (y0_test): Likewise.
20257 (y1_test): Likewise.
20258 (yn_test): Likewise.
20259
323e5cb7
JM
20260 * math/gen-libm-test.pl (adjust_arg): Remove function.
20261 (special_function): Remove argument $in_func. Only handle
20262 generating output for tables of tests, not inside functions.
20263 (parse_args): Likewise.
20264 (generate_testfile): Remove variable $in_func. Update call to
20265 parse_args.
20266 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20267 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20268 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20269 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20270 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20271 (MAX_VALUE_INIT): Rename macro to max_value.
20272 (MIN_VALUE_INIT): Rename macro to min_value.
20273 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20274 (plus_zero): Remove variable.
20275 (minus_zero): Likewise.
20276 (plus_infty): Likewise.
20277 (minus_infty): Likewise.
20278 (qnan_value): Likewise.
20279 (max_value): Likewise.
20280 (min_value): Likewise.
20281 (min_subnorm_value): Likewise.
20282
e054f494
RA
202832013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20284
20285 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20286 uint64_t or uint32_t usage.
20287 * crypt/sha256-block.c: Likewise.
20288 * crypt/sha256-crypt.c: Likewise.
20289 * crypt/sha256.c: Likewise.
20290 * crypt/sha512-block.c: Likewise.
20291 * crypt/sha512-crypt.c: Likewise.
20292 * crypt/sha512.c: Likewise.
20293 * debug/backtrace-tst.c: Likewise.
20294 * debug/pcprofiledump.c: Likewise.
20295 * elf/cache.c: Likewise.
20296 * elf/dl-cache.c: Likewise.
20297 * elf/dl-misc.c: Likewise.
20298 * elf/dl-profile.c: Likewise.
20299 * elf/dl-support.c: Likewise.
20300 * elf/ldconfig.c: Likewise.
20301 * elf/sprof.c: Likewise.
20302 * iconv/dummy-repertoire.c: Likewise.
20303 * iconv/iconv_charmap.c: Likewise.
20304 * iconv/skeleton.c: Likewise.
20305 * iconvdata/8bit-generic.c: Likewise.
20306 * iconvdata/cp737.h: Likewise.
20307 * iconvdata/cp775.h: Likewise.
20308 * iconvdata/ibm1008.h: Likewise.
20309 * iconvdata/ibm1025.h: Likewise.
20310 * iconvdata/ibm1046.h: Likewise.
20311 * iconvdata/ibm1097.h: Likewise.
20312 * iconvdata/ibm1112.h: Likewise.
20313 * iconvdata/ibm1122.h: Likewise.
20314 * iconvdata/ibm1123.h: Likewise.
20315 * iconvdata/ibm1124.h: Likewise.
20316 * iconvdata/ibm1129.h: Likewise.
20317 * iconvdata/ibm1130.h: Likewise.
20318 * iconvdata/ibm1132.h: Likewise.
20319 * iconvdata/ibm1133.h: Likewise.
20320 * iconvdata/ibm1137.h: Likewise.
20321 * iconvdata/ibm1140.h: Likewise.
20322 * iconvdata/ibm1141.h: Likewise.
20323 * iconvdata/ibm1142.h: Likewise.
20324 * iconvdata/ibm1143.h: Likewise.
20325 * iconvdata/ibm1144.h: Likewise.
20326 * iconvdata/ibm1145.h: Likewise.
20327 * iconvdata/ibm1146.h: Likewise.
20328 * iconvdata/ibm1147.h: Likewise.
20329 * iconvdata/ibm1148.h: Likewise.
20330 * iconvdata/ibm1149.h: Likewise.
20331 * iconvdata/ibm1153.h: Likewise.
20332 * iconvdata/ibm1154.h: Likewise.
20333 * iconvdata/ibm1155.h: Likewise.
20334 * iconvdata/ibm1156.h: Likewise.
20335 * iconvdata/ibm1157.h: Likewise.
20336 * iconvdata/ibm1158.h: Likewise.
20337 * iconvdata/ibm1160.h: Likewise.
20338 * iconvdata/ibm1161.h: Likewise.
20339 * iconvdata/ibm1162.h: Likewise.
20340 * iconvdata/ibm1163.h: Likewise.
20341 * iconvdata/ibm1164.h: Likewise.
20342 * iconvdata/ibm1166.h: Likewise.
20343 * iconvdata/ibm1167.h: Likewise.
20344 * iconvdata/ibm12712.h: Likewise.
20345 * iconvdata/ibm1390.h: Likewise.
20346 * iconvdata/ibm1399.h: Likewise.
20347 * iconvdata/ibm16804.h: Likewise.
20348 * iconvdata/ibm4517.h: Likewise.
20349 * iconvdata/ibm4899.h: Likewise.
20350 * iconvdata/ibm4909.h: Likewise.
20351 * iconvdata/ibm4971.h: Likewise.
20352 * iconvdata/ibm5347.h: Likewise.
20353 * iconvdata/ibm803.h: Likewise.
20354 * iconvdata/ibm856.h: Likewise.
20355 * iconvdata/ibm901.h: Likewise.
20356 * iconvdata/ibm902.h: Likewise.
20357 * iconvdata/ibm9030.h: Likewise.
20358 * iconvdata/ibm9066.h: Likewise.
20359 * iconvdata/ibm921.h: Likewise.
20360 * iconvdata/ibm922.h: Likewise.
20361 * iconvdata/ibm9448.h: Likewise.
20362 * iconvdata/isiri-3342.h: Likewise.
20363 * iconvdata/jis0201.h: Likewise.
20364 * include/link.h: Likewise.
20365 * include/netdb.h: Likewise.
20366 * inet/check_native.c: Likewise.
20367 * inet/check_pf.c: Likewise.
20368 * inet/getipv4sourcefilter.c: Likewise.
20369 * inet/getnameinfo.c: Likewise.
20370 * inet/getsourcefilter.c: Likewise.
20371 * inet/htonl.c: Likewise.
20372 * inet/setipv4sourcefilter.c: Likewise.
20373 * inet/setsourcefilter.c: Likewise.
20374 * inet/test-inet6_opt.c: Likewise.
20375 * inet/tst-network.c: Likewise.
20376 * locale/C-collate.c: Likewise.
20377 * locale/C-ctype.c: Likewise.
20378 * locale/C-time.c: Likewise.
20379 * locale/C-translit.h: Likewise.
20380 * locale/loadarchive.c: Likewise.
20381 * locale/programs/3level.h: Likewise.
20382 * locale/programs/charmap.c: Likewise.
20383 * locale/programs/charmap.h: Likewise.
20384 * locale/programs/ld-address.c: Likewise.
20385 * locale/programs/ld-collate.c: Likewise.
20386 * locale/programs/ld-ctype.c: Likewise.
20387 * locale/programs/ld-identification.c: Likewise.
20388 * locale/programs/ld-measurement.c: Likewise.
20389 * locale/programs/ld-messages.c: Likewise.
20390 * locale/programs/ld-monetary.c: Likewise.
20391 * locale/programs/ld-name.c: Likewise.
20392 * locale/programs/ld-numeric.c: Likewise.
20393 * locale/programs/ld-paper.c: Likewise.
20394 * locale/programs/ld-telephone.c: Likewise.
20395 * locale/programs/ld-time.c: Likewise.
20396 * locale/programs/linereader.c: Likewise.
20397 * locale/programs/locale.c: Likewise.
20398 * locale/programs/locarchive.c: Likewise.
20399 * locale/programs/locfile.h: Likewise.
20400 * locale/programs/repertoire.c: Likewise.
20401 * locale/programs/simple-hash.c: Likewise.
20402 * locale/programs/simple-hash.h: Likewise.
20403 * malloc/memusage.c: Likewise.
20404 * malloc/memusagestat.c: Likewise.
20405 * nis/nis_defaults.c: Likewise.
20406 * nis/nis_hash.c: Likewise.
20407 * nis/nis_print.c: Likewise.
20408 * nis/nis_xdr.c: Likewise.
20409 * nscd/connections.c: Likewise.
20410 * nscd/hstcache.c: Likewise.
20411 * nscd/nscd_gethst_r.c: Likewise.
20412 * nscd/nscd_getserv_r.c: Likewise.
20413 * nscd/nscd_helper.c: Likewise.
20414 * nscd/servicescache.c: Likewise.
20415 * nss/makedb.c: Likewise.
20416 * nss/nss_db/db-XXX.c: Likewise.
20417 * nss/nss_db/db-initgroups.c: Likewise.
20418 * nss/nss_db/db-netgrp.c: Likewise.
20419 * nss/nss_files/files-network.c: Likewise.
20420 * nss/nss_files/files-parse.c: Likewise.
20421 * posix/bug-regex5.c: Likewise.
20422 * posix/fnmatch_loop.c: Likewise.
20423 * posix/regcomp.c: Likewise.
20424 * posix/regexec.c: Likewise.
20425 * posix/tst-rfc3484-2.c: Likewise.
20426 * posix/tst-rfc3484-3.c: Likewise.
20427 * posix/tst-rfc3484.c: Likewise.
20428 * resolv/nss_dns/dns-canon.c: Likewise.
20429 * resolv/nss_dns/dns-network.c: Likewise.
20430 * resolv/res_init.c: Likewise.
20431 * resolv/res_mkquery.c: Likewise.
20432 * resolv/tst-aton.c: Likewise.
20433 * stdlib/cxa_atexit.c: Likewise.
20434 * stdlib/cxa_finalize.c: Likewise.
20435 * stdlib/gen-fpioconst.c: Likewise.
20436 * stdlib/strtol_l.c: Likewise.
20437 * string/tst-endian.c: Likewise.
20438 * sunrpc/auth_des.c: Likewise.
20439 * sunrpc/clnt_udp.c: Likewise.
20440 * sunrpc/rtime.c: Likewise.
20441 * sunrpc/svcauth_des.c: Likewise.
20442 * sunrpc/xdr.c: Likewise.
20443 * sunrpc/xdr_intXX_t.c: Likewise.
20444 * sunrpc/xdr_rec.c: Likewise.
20445 * sysdeps/generic/ldconfig.h: Likewise.
20446 * sysdeps/generic/ldsodefs.h: Likewise.
20447 * sysdeps/generic/memusage.h: Likewise.
20448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20450 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20454 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20456 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20458 * sysdeps/posix/getaddrinfo.c: Likewise.
20459 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20460 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20461 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20463 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20464 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20465 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20466 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20467 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20468 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20469 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20470 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20471 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20472 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20473 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20474 * sysdeps/x86_64/dl-tls.h: Likewise.
20475 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20476 * time/alt_digit.c: Likewise.
20477 * time/era.c: Likewise.
20478 * wcsmbs/tst-c16c32-1.c: Likewise.
20479
8c75f674
JM
204802013-05-16 Joseph Myers <joseph@codesourcery.com>
20481
20482 * math/libm-test.inc (struct test_sincos_data): New type.
20483 (RUN_TEST_LOOP_sincos): New macro.
20484 (sincos_test_data): New variable.
20485 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20486
e6e49e59
RH
204872013-05-16 Richard Henderson <rth@redhat.com>
20488
20489 * math/atest-exp2.c (LIMB64): New macro.
20490 (CONSTSZ): New macro.
20491 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20492 (hexdig): Move ...
20493 (print_mpn_fp): ... to function scope.
20494 (read_mpn_hex): Remove.
20495 (get_log2): Remove.
20496 (exp2_mpn): Use mp_log2.
20497 (main): Use mp_exp1.
20498
15c7c18d
JM
204992013-05-16 Joseph Myers <joseph@codesourcery.com>
20500
105a07df
JM
20501 * math/libm-test.inc: Remove comment about not testing "inexact"
20502 exceptions.
20503 (INEXACT_EXCEPTION): New macro.
20504 (NO_INEXACT_EXCEPTION): Likewise.
20505 (INVALID_EXCEPTION_OK): Update value.
20506 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20507 (OVERFLOW_EXCEPTION_OK): Likewise.
20508 (UNDERFLOW_EXCEPTION_OK): Likewise.
20509 (IGNORE_ZERO_INF_SIGN): Likewise.
20510 (ERRNO_UNCHANGED): Likewise.
20511 (ERRNO_EDOM): Likewise.
20512 (ERRNO_ERANGE): Likewise.
20513 (test_exceptions): Handle testing "inexact" exceptions.
20514 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20515 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20516 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20517 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20518 INEXACT_EXCEPTION.
20519 (rint_towardzero_test_data): Likewise.
20520 (rint_downward_test_data): Likewise.
20521 (rint_upward_test_data): Likewise.
20522
e9eee333
JM
20523 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20524 with OVERFLOW_EXCEPTION.
20525 (exp10_test_data): Likewise.
20526 (exp2_test_data): Likewise.
20527 (expm1_test_data): Likewise.
20528 (lgamma_test_data): Likewise.
20529 (pow_test_data): Likewise.
20530 (tgamma_test_data): Likewise.
20531 (yn_test_data): Remove duplicate test of overflow.
20532
1c38ff73
JM
20533 * math/libm-test.inc (struct test_cc_c_data): New type.
20534 (RUN_TEST_LOOP_cc_c): New macro.
20535 (cpow_test_data): New variable.
20536 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20537
15c7c18d
JM
20538 * math/libm-test.inc (struct test_f_L_data): New type.
20539 (RUN_TEST_LOOP_f_L): New macro.
20540 (llrint_test_data): New variable.
20541 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20542 (llrint_tonearest_test_data): New variable.
20543 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20544 (llrint_towardzero_test_data): New variable.
20545 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20546 (llrint_downward_test_data): New variable.
20547 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20548 (llrint_upward_test_data): New variable.
20549 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20550 (llround_test_data): New variable.
20551 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20552
f137ff13
PC
205532013-05-13 Peter Collingbourne <pcc@google.com>
20554
20555 * math/atest-exp2.c (get_log2): Remove const attribute.
20556
3608cb24
JM
205572013-05-15 Joseph Myers <joseph@codesourcery.com>
20558
20559 * math/libm-test.inc (struct test_f_l_data): New type.
20560 (RUN_TEST_LOOP_f_l): New macro.
20561 (lrint_test_data): New variable.
20562 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20563 (lrint_tonearest_test_data): New variable.
20564 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20565 (lrint_towardzero_test_data): New variable.
20566 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20567 (lrint_downward_test_data): New variable.
20568 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20569 (lrint_upward_test_data): New variable.
20570 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20571 (lround_test_data): New variable.
20572 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20573
39b1f617
PC
205742013-05-15 Peter Collingbourne <pcc@google.com>
20575
1deff3dc
PC
20576 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20577 (EXTRACT_WORDS64) Use where appropriate.
20578 (INSERT_WORDS64) Likewise.
20579
791f3ba0
PC
20580 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20581 constraints with x constraints.
20582 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20583
39b1f617
PC
20584 * malloc/obstack.c (_obstack_compat): Add initializer.
20585
12fba011
EM
205862013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20587
20588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20589 si_trapno and add si_addr_lsb to _sifields.sigfault.
20590 (si_trapno): Remove macro.
20591 (si_addr_lsb): Define new macro.
20592 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20593
d369f531
JM
205942013-05-15 Joseph Myers <joseph@codesourcery.com>
20595
b861c6c4
JM
20596 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20597 instead of TEST_f_l.
20598 (llrint_test_tonearest): Likewise.
20599 (llrint_test_towardzero): Likewise.
20600 (llrint_test_downward): Likewise.
20601 (llrint_test_upward): Likewise.
20602 (llround_test): Likewise.
20603
7abeee12
JM
20604 * math/libm-test.inc (struct test_f_i_data): Add comment.
20605 (RUN_TEST_LOOP_f_b): New macro.
20606 (RUN_TEST_LOOP_f_b_tg): Likewise.
20607 (finite_test_data): New variable.
20608 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20609 (isfinite_test_data): New variable.
20610 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20611 (isinf_test_data): New variable.
20612 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20613 (isnan_test_data): New variable.
20614 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20615 (isnormal_test_data): New variable.
20616 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20617 (issignaling_test_data): New variable.
20618 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20619 (signbit_test_data): New variable.
20620 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20621
cbe8c4d3
JM
20622 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20623 with INVALID_EXCEPTION.
20624 (acosh_test_data): Likewise.
20625 (asin_test_data): Likewise.
20626 (atanh_test_data): Likewise.
20627 (fmod_test_data): Likewise.
20628 (log_test_data): Likewise.
20629 (log10_test_data): Likewise.
20630 (log2_test_data): Likewise.
20631 (pow_test_data): Likewise.
20632 (sqrt_test_data): Likewise.
20633 (y0_test_data): Likewise.
20634 (y1_test_data): Likewise.
20635 (yn_test_data): Likewise.
20636
5575c0e5
JM
20637 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20638 function contents.
20639
d369f531
JM
20640 * math/libm-test.inc (struct test_ff_i_data): New type.
20641 (RUN_TEST_LOOP_ff_i_tg): New macro.
20642 (isgreater_test_data): New variable.
20643 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20644 (isgreaterequal_test_data): New variable.
20645 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20646 (isless_test_data): New variable.
20647 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20648 (islessequal_test_data): New variable.
20649 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20650 (islessgreater_test_data): New variable.
20651 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20652 (isunordered_test_data): New variable.
20653 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20654
781fd748
DM
206552013-05-14 David S. Miller <davem@davemloft.net>
20656
20657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20658
87aa21df
JM
206592013-05-14 Joseph Myers <joseph@codesourcery.com>
20660
5e908270
JM
20661 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20662
f71172e5
JM
20663 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20664 extra_test to int.
20665 (struct test_f_i_data): Change type of max_ulp to int.
20666
8cfa635a
JM
20667 * math/libm-test.inc (test_ffI_f1_data): New type.
20668 (RUN_TEST_LOOP_ffI_f1): New macro.
20669 (remquo_test_data): New variable.
20670 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20671
2bcb36b2
JM
20672 * setjmp/tst-setjmp-fp.c: New file.
20673 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20674 (link-libm): New variable.
20675 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20676
acbd839a
JM
20677 * math/libm-test.inc (struct test_f_i_data): New type.
20678 (RUN_TEST_LOOP_f_i): New macro.
20679 (RUN_TEST_LOOP_f_i_tg): Likewise.
20680 (fpclassify_test_data): New variable.
20681 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20682 (ilogb_test_data): New variable.
20683 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20684
e414d745
JM
20685 * math/libm-test.inc (scalbln_test): Correct function name in END
20686 call.
20687
d9c2a0fd
JM
20688 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20689 (RUN_TEST_LOOP_fI_f1): New macro.
20690 (frexp_test_data): New variable.
20691 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20692
9dc9095d
JM
20693 * math/libm-test.inc (struct test_fF_f1_data): New type.
20694 (RUN_TEST_LOOP_fF_f1): New macro.
20695 (modf_test_data): New variable.
20696 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20697
87aa21df
JM
20698 * math/libm-test.inc (struct test_f_f1_data): New type.
20699 (RUN_TEST_LOOP_f_f1): New macro.
20700 (gamma_test_data): New variable.
20701 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20702 (lgamma_test_data): New variable.
20703 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20704
141af660
CD
207052013-05-13 Carlos O'Donell <carlos@redhat.com>
20706
20707 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20708 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20709 (main): Comment "tls" pseudo-hwcap.
20710
6d33265c
JM
207112013-05-13 Joseph Myers <joseph@codesourcery.com>
20712
68fc074c
JM
20713 * math/libm-test.inc (struct test_fl_f_data): New type.
20714 (RUN_TEST_LOOP_fl_f): New variable.
20715 (scalbln_test_data): New variable.
20716 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20717
243216e1
JM
20718 * math/libm-test.inc (struct test_fi_f_data): New type.
20719 (RUN_TEST_LOOP_fi_f): New macro.
20720 (ldexp_test_data): New variable.
20721 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20722 (scalbn_test_data): New variable.
20723 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20724
6a1992e2
JM
20725 * math/libm-test.inc (struct test_c_f_data): New type.
20726 (RUN_TEST_LOOP_c_f): New macro.
20727 (cabs_test_data): New variable.
20728 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20729 (carg_test_data): New variable.
20730 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20731 (cimag_test_data): New variable.
20732 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20733 (creal_test_data): New variable.
20734 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20735
0e400df5
JM
20736 * math/libm-test.inc (struct test_if_f_data): New type.
20737 (RUN_TEST_LOOP_if_f): New macro.
20738 (jn_test_data): New variable.
20739 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20740 (yn_test_data): New variable.
20741 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20742
6d33265c
JM
20743 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20744
f98ece5f
AZ
207452013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20746
20747 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20748 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20749
0f7d347b
SP
207502013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20751
43fe811b
SP
20752 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20753 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20754 (bench-deps): Add bench-timing.h.
20755 * benchtests-bench-skeleton.c: Include bench-timing.h.
20756 (main): Use TIMING_* macros instead of clock_gettime.
20757 * benchtests/bench-timing.h: New file.
20758
0f7d347b
SP
20759 [BZ #14582]
20760 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20761 Renamed from _LIB_VERSION.
20762 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20763
601a3a5f
JM
207642013-05-12 Joseph Myers <joseph@codesourcery.com>
20765
4f184d30
JM
20766 * math/libm-test.inc (struct test_fff_f_data): New type.
20767 (RUN_TEST_LOOP_fff_f): New macro.
20768 (fma_test_data): New variable.
20769 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20770 (fma_towardzero_test_data): New variable.
20771 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20772 (fma_downward_test_data): New variable.
20773 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20774 (fma_upward_test_data): New variable.
20775 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20776
08198877
JM
20777 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20778 (struct test_c_c_data): New type.
20779 (RUN_TEST_LOOP_c_c): New macro.
20780 (cacos_test_data): New variable.
20781 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20782 (cacosh_test_data): New variable.
20783 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20784 (casin_test_data): New variable.
20785 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20786 (casinh_test_data): New variable.
20787 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20788 (catan_test_data): New variable.
20789 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20790 (catanh_test_data): New variable.
20791 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20792 (ccos_test_data): New variable.
20793 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20794 (ccosh_test_data): New variable.
20795 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20796 (cexp_test_data): New variable.
20797 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20798 (clog_test_data): New variable.
20799 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20800 (clog10_test_data): New variable.
20801 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20802 (conj_test_data): New variable.
20803 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20804 (cproj_test_data): New variable.
20805 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20806 (csin_test_data): New variable.
20807 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20808 (csinh_test_data): New variable.
20809 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20810 (csqrt_test_data): New variable.
20811 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20812 (ctan_test_data): New variable.
20813 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20814 (ctan_tonearest_test_data): New variable.
20815 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20816 (ctan_towardzero_test_data): New variable.
20817 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20818 (ctan_downward_test_data): New variable.
20819 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20820 (ctan_upward_test_data): New variable.
20821 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20822 (ctanh_test_data): New variable.
20823 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20824 (ctanh_tonearest_test_data): New variable.
20825 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20826 (ctanh_towardzero_test_data): New variable.
20827 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20828 (ctanh_downward_test_data): New variable.
20829 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20830 (ctanh_upward_test_data): New variable.
20831 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20832 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20833 of BUILD_COMPLEX.
20834
601a3a5f
JM
20835 * math/libm-test.inc (struct test_ff_f_data): New type.
20836 (struct test_ff_f_data_nexttoward): Likewise.
20837 (RUN_TEST_LOOP_2_f): New macro.
20838 (RUN_TEST_LOOP_ff_f): Likewise.
20839 (atan2_test_data): New variable.
20840 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20841 (copysign_test_data): New variable.
20842 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20843 (fdim_test_data): New variable.
20844 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20845 (fmax_test_data): New variable.
20846 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20847 (fmin_test_data): New variable.
20848 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20849 (fmod_test_data): New variable.
20850 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20851 (hypot_test_data): New variable.
20852 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20853 (nextafter_test_data): New variable.
20854 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20855 (nexttoward_test_data): New variable.
20856 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20857 (pow_test_data): New variable.
20858 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20859 (pow_tonearest_test_data): New variable.
20860 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20861 (pow_towardzero_test_data): New variable.
20862 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20863 (pow_downward_test_data): New variable.
20864 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20865 (pow_upward_test_data): New variable.
20866 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20867 (remainder_test_data): New variable.
20868 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20869 (scalb_test_data): New variable.
20870 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20871 * sysdeps/i386/fpu/libm-test-ulps: Update.
20872
74c57478
JM
208732013-05-11 Joseph Myers <joseph@codesourcery.com>
20874
8329e4da
JM
20875 * math/libm-test.inc (fma_test): Use max_value instead of local
20876 variable fltmax.
20877 (nextafter_test): Likewise.
20878
74c57478
JM
20879 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20880 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20881 (acos_downward_test_data): New variable.
20882 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20883 (acos_upward_test_data): New variable.
20884 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20885 (acosh_test_data): New variable.
20886 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20887 (asin_test_data): New variable.
20888 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20889 (asin_tonearest_test_data): New variable.
20890 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20891 (asin_towardzero_test_data): New variable.
20892 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20893 (asin_downward_test_data): New variable.
20894 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20895 (asin_upward_test_data): New variable.
20896 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20897 (asinh_test_data): New variable.
20898 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20899 (atan_test_data): New variable.
20900 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20901 (atanh_test_data): New variable.
20902 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20903 (cbrt_test_data): New variable.
20904 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20905 (ceil_test_data): New variable.
20906 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20907 (cos_test_data): New variable.
20908 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20909 (cos_tonearest_test_data): New variable.
20910 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20911 (cos_towardzero_test_data): New variable.
20912 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20913 (cos_downward_test_data): New variable.
20914 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20915 (cos_upward_test_data): New variable.
20916 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20917 (cosh_test_data): New variable.
20918 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20919 (cosh_tonearest_test_data): New variable.
20920 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20921 (cosh_towardzero_test_data): New variable.
20922 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20923 (cosh_downward_test_data): New variable.
20924 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20925 (cosh_upward_test_data): New variable.
20926 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20927 (erf_test_data): New variable.
20928 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20929 (erfc_test_data): New variable.
20930 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20931 (exp_test_data): New variable.
20932 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20933 (exp_tonearest_test_data): New variable.
20934 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20935 (exp_towardzero_test_data): New variable.
20936 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20937 (exp_downward_test_data): New variable.
20938 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20939 (exp_upward_test_data): New variable.
20940 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20941 (exp10_test_data): New variable.
20942 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20943 (exp2_test_data): New variable.
20944 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20945 (expm1_test_data): New variable.
20946 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20947 (fabs_test_data): New variable.
20948 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20949 (floor_test_data): New variable.
20950 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20951 (j0_test_data): New variable.
20952 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20953 (j1_test_data): New variable.
20954 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20955 (log_test_data): New variable.
20956 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20957 (log10_test_data): New variable.
20958 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20959 (log1p_test_data): New variable.
20960 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20961 (log2_test_data): New variable.
20962 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20963 (logb_test_data): New variable.
20964 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20965 (logb_downward_test_data): New variable.
20966 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20967 (nearbyint_test_data): New variable.
20968 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20969 (rint_test_data): New variable.
20970 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20971 (rint_tonearest_test_data): New variable.
20972 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20973 (rint_towardzero_test_data): New variable.
20974 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20975 (rint_downward_test_data): New variable.
20976 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20977 (rint_upward_test_data): New variable.
20978 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20979 (round_test_data): New variable.
20980 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20981 (sin_test_data): New variable.
20982 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20983 (sin_tonearest_test_data): New variable.
20984 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20985 (sin_towardzero_test_data): New variable.
20986 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20987 (sin_downward_test_data): New variable.
20988 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20989 (sin_upward_test_data): New variable.
20990 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20991 (sinh_test_data): New variable.
20992 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20993 (sinh_tonearest_test_data): New variable.
20994 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20995 (sinh_towardzero_test_data): New variable.
20996 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20997 (sinh_downward_test_data): New variable.
20998 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20999 (sinh_upward_test_data): New variable.
21000 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21001 (sqrt_test_data): New variable.
21002 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21003 (tan_test_data): New variable.
21004 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21005 (tan_tonearest_test_data): New variable.
21006 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21007 (tan_towardzero_test_data): New variable.
21008 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21009 (tan_downward_test_data): New variable.
21010 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21011 (tan_upward_test_data): New variable.
21012 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21013 (tanh_test_data): New variable.
21014 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21015 (tgamma_test_data): New variable.
21016 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21017 (trunc_test_data): New variable.
21018 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21019 (y0_test_data): New variable.
21020 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21021 (y1_test_data): New variable.
21022 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21023 (significand_test_data): New variable.
21024 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21025
7187d844
CG
210262013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21027
21028 [BZ #12387]
21029 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21030
f63fae73
PT
210312013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21032
21033 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21034
8a67a4b3
AJ
210352013-05-10 Andreas Jaeger <aj@suse.de>
21036
21037 [BZ #15448]
21038 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21039 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21040
51df539d
JM
210412013-05-10 Joseph Myers <joseph@codesourcery.com>
21042
21043 * math/gen-libm-test.pl (adjust_arg): New function.
21044 (special_functions): Handle generating output in both functions
21045 and arrays.
21046 (parse_args): Likewise.
21047 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21048 $in_func argument to parse_args.
21049 * math/libm-test.inc (struct test_f_f_data): New type.
21050 (IF_ROUND_INIT_): New macro.
21051 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21052 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21053 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21054 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21055 (ROUND_RESTORE_): Likewise.
21056 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21057 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21058 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21059 (ROUND_RESTORE_FE_UPWARD): Likewise.
21060 (RUN_TEST_LOOP_f_f): New macro.
21061 (acos_test_data): New variable.
21062 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21063 (acos_tonearest_test_data): New variable.
21064 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21065
5c637fe5
SP
210662013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21067
21068 * benchtests/bench-skeleton.c (startup): Fix coding style.
21069
ab2b9461
JM
210702013-05-10 Joseph Myers <joseph@codesourcery.com>
21071
21072 [BZ #6809]
21073 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21074 negative infinity argument.
21075 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21076 negative infinity argument.
21077 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21078 negative infinity argument.
21079 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21080 domain errors.
21081
4c0fe6fe
FW
210822013-05-10 Florian Weimer <fweimer@redhat.com>
21083
21084 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21085 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21086 * iconv/iconv_prog.c (main): Likewise.
21087 * locale/programs/charmap-dir.c (charmap_readdir)
21088 (fopen_uncompressed): Likewise.
21089 * locale/programs/locfile.c (siblings_uncached)
21090 (write_locale_data): Use lstat64 instead of lstat.
21091 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21092 stat.
21093
a3375d29
AJ
210942013-05-10 Andreas Jaeger <aj@suse.de>
21095
21096 [BZ #15395]
21097 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21098 localization.
21099 Include <locale.h>.
21100
36129722
CD
211012013-05-09 Carlos O'Donell <carlos@redhat.com>
21102
21103 * elf/dl-close.c (_dl_close_worker): Add comments.
21104
faa7f811
JM
211052013-05-09 Joseph Myers <joseph@codesourcery.com>
21106
ed41ffef
JM
21107 [BZ #15359]
21108 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21109 high part of pi/2.
21110 (__ieee754_rem_pio2l): Update comments.
21111
d0213cd0
JM
21112 [BZ #15429]
21113 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21114 high part of pi/2.
21115 (__ieee754_rem_pio2l): Update comments.
21116
0d3e777a
JM
21117 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21118 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21119
24f56066
JM
21120 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21121 M_PI_4l.
21122
faa7f811
JM
21123 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21124 (M_PI_34_LOG10El): Likewise.
21125 (M_PI2_LOG10El): Likewise.
21126 (M_PI4_LOG10El): Likewise.
21127 (M_PI_LOG10El): Likewise.
21128
e9a5e0fd
AZ
211292013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21130
21131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21132
d8cd06db
JM
211332013-05-08 Joseph Myers <joseph@codesourcery.com>
21134
a0d9f9d7
JM
21135 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21136 (MINUS_ZERO_INIT): Likewise.
21137 (PLUS_INFTY_INIT): Likewise.
21138 (MINUS_INFTY_INIT): Likewise.
21139 (QNAN_VALUE_INIT): Likewise.
21140 (MAX_VALUE_INIT): Likewise.
21141 (MIN_VALUE_INIT): Likewise.
21142 (MIN_SUBNORM_VALUE_INIT): Likewise.
21143 (plus_zero): Initialize with PLUS_ZERO_INIT.
21144 (minus_zero): Initialize with MINUS_ZERO_INIT.
21145 (plus_infty): Initialize with PLUS_INFTY_INIT.
21146 (minus_infty): Initialize with MINUS_INFTY_INIT.
21147 (qnan_value): Initialize with QNAN_VALUE_INIT.
21148 (max_value): Initialize with MAX_VALUE_INIT.
21149 (min_value): Initialize with MIN_VALUE_INIT.
21150 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21151
ae08db3b
JM
21152 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21153 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21154 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21155 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21156
f44bf14a
JM
21157 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21158 (RUN_TEST_2_f): Likewise.
21159 (RUN_TEST_ff_f): Likewise.
21160 (RUN_TEST_fi_f): Likewise.
21161 (RUN_TEST_fl_f): Likewise.
21162 (RUN_TEST_fff_f): Likewise.
21163 (RUN_TEST_c_f): Likewise.
21164 (RUN_TEST_f_f1): Likewise.
21165 (RUN_TEST_fF_f1): Likewise.
21166 (RUN_TEST_fI_f1): Likewise.
21167 (RUN_TEST_ffI_f1): Likewise.
21168 (RUN_TEST_c_c): Likewise.
21169 (RUN_TEST_cc_c): Likewise.
21170 (RUN_TEST_f_i): Likewise.
21171 (RUN_TEST_f_i_tg): Likewise.
21172 (RUN_TEST_ff_i_tg): Likewise.
21173 (RUN_TEST_f_b): Likewise.
21174 (RUN_TEST_f_b_tg): Likewise.
21175 (RUN_TEST_f_l): Likewise.
21176 (RUN_TEST_f_L): Likewise.
21177 (RUN_TEST_sincos): Likewise.
21178 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21179 whether to show exceptions. Do not include ");\n" in return
21180 value.
21181 (special_functions): Output call to RUN_TEST_sincos instead of
21182 check_float calls. Update calls to new_test.
21183 (parse_args): Output call to single RUN_TEST_* macro instead of
21184 check_* calls and other assignments. Update calls to new_test.
21185
d8cd06db
JM
21186 [BZ #2546]
21187 [BZ #2560]
21188 [BZ #5159]
21189 [BZ #15426]
21190 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21191 input to result for tgamma overflow.
21192 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21193 (gamma_coeff): New variable.
21194 (NCOEFF): New macro.
21195 (gamma_positive): New function.
21196 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21197 underflow here. Use gamma_positive instead of exp (lgamma) for
21198 other arguments.
21199 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21200 (gamma_coeff): New variable.
21201 (NCOEFF): New macro.
21202 (gammaf_positive): New function.
21203 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21204 underflow here. Use gamma_positive instead of exp (lgamma) for
21205 other arguments.
21206 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21207 (gamma_coeff): New variable.
21208 (NCOEFF): New macro.
21209 (gammal_positive): New function.
21210 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21211 underflow here. Use gamma_positive instead of exp (lgamma) for
21212 other arguments.
21213 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21214 (gamma_coeff): New variable.
21215 (NCOEFF): New macro.
21216 (gammal_positive): New function.
21217 (__ieee754_gammal_r): Handle positive infinity, overflow and
21218 underflow here. Handle NaN the same as positive infinity. Remove
21219 check x < 0xffffffff for negative integers. Use gamma_positive
21220 instead of exp (lgamma) for other arguments.
21221 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21222 (gamma_coeff): New variable.
21223 (NCOEFF): New macro.
21224 (gammal_positive): New function.
21225 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21226 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21231 * sysdeps/generic/math_private.h (__gamma_productf): New
21232 prototype.
21233 (__gamma_product): Likewise.
21234 (__gamma_productl): Likewise.
21235 * math/Makefile (libm-calls): Add gamma_product.
21236 * math/libm-test.inc (tgamma_test): Add more tests.
21237 * sysdeps/i386/fpu/libm-test-ulps: Update.
21238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21239
bb7cf681
OB
212402013-05-08 Ondřej Bílka <neleai@seznam.cz>
21241
21242 * benchtests/bench-skeleton.c (main): Preheat CPU.
21243
ba853947
AJ
212442013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21245
21246 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21247
8347c74c
RM
212482013-05-07 Roland McGrath <roland@hack.frob.com>
21249
21250 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21251 and _dl_skip_args_internal.
21252
e8dd4791
CD
212532013-05-07 Carlos O'Donell <carlos@redhat.com>
21254
21255 * manual/message.texi (Message Translation): Talk about users.
21256 Message to key mapping impacts design.
21257
c7405830
RM
212582013-05-06 Roland McGrath <roland@hack.frob.com>
21259
a9173057
RM
21260 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21261
976e2f03
RM
21262 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21263
9723ffc5
RM
21264 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21265 * sysdeps/wordsize-64/glob64.c: ... here.
21266
962e6658
RM
21267 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21268 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21269 New macros.
21270
ee586a6d
RM
21271 * debug/getlogin_r_chk.c: Moved to ...
21272 * login/getlogin_r_chk.c: ... here.
21273 * debug/Makefile (routines): Move getlogin_r_chk to ...
21274 * login/Makefile (routines): ... here.
21275 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21276 * login/Versions (libc: GLIBC_2.4): ... here.
21277
355f9165
RM
21278 * io/poll.c (__poll): Renamed from poll.
21279 Add libc_hidden_def.
21280 (poll): Define as weak alias.
21281
bd9ffde6
RM
21282 * debug/ptsname_r_chk.c: Moved to ...
21283 * login/ptsname_r_chk.c: ... here.
21284 * debug/Makefile (routines): Move ptsname_r_chk to ...
21285 * login/Makefile (routines): ... here.
21286 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21287 * login/Versions (libc: GLIBC_2.4): ... here.
21288
8fb16a04
RM
21289 * posix/getlogin.c: Moved to ...
21290 * login/getlogin.c: ... here.
21291 * posix/getlogin_r.c: Moved to ...
21292 * login/getlogin_r.c: ... here.
21293 * posix/getlogin_r.c: Moved to ...
21294 * login/getlogin_r.c: ... here.
21295 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21296 * login/Makefile (routines): ... here.
21297 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21298 * login/Versions (libc: GLIBC_2.0): ... here.
21299
b99b892f
RM
21300 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21301 (setrlimit): Define as weak alias.
21302
c7405830
RM
21303 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21304 Call __ names for open, ftruncate, and close.
21305 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21306 (truncate): Define as weak alias.
21307
5bf96de5
JM
213082013-05-06 Joseph Myers <joseph@codesourcery.com>
21309
9ea3513c
JM
21310 * math/gen-libm-test.pl (parse_args): Initialize x before each
21311 test of frexp, modf and remquo.
21312
5bf96de5
JM
21313 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21314 test signgam value.
21315
16e616a7
AZ
213162013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21317
21318 [BZ #15418]
21319 [BZ #15419]
21320 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21321 internal tests.
21322 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21323
d5e82754
RM
213242013-05-06 Roland McGrath <roland@hack.frob.com>
21325
21326 * elf/dl-writev.h: New file.
21327 * elf/dl-misc.c: Include it.
21328 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21329 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21330
a7548d41
JM
213312013-05-04 Joseph Myers <joseph@codesourcery.com>
21332
b7dab1e4
JM
21333 * math/libm-test.inc (noXFails): Remove variable.
21334 (noXPasses): Likewise.
21335 (BUILD_COMPLEX_INT): Remove macro.
21336 (print_screen): Remove xfail argument.
21337 (print_screen_max_error): Likewise.
21338 (update_stats): Likewise.
21339 (print_max_error): Likewise. Update calls to other affected
21340 functions.
21341 (print_complex_max_error): Likewise.
21342 (test_single_exception): Update calls to print_screen.
21343 (test_single_errno): Likewise.
21344 (check_float_internal): Remove xfail argument. Update calls to
21345 other affected functions.
21346 (check_float): Likewise.
21347 (check_complex): Likewise.
21348 (check_int): Likewise.
21349 (check_long): Likewise.
21350 (check_bool): Likewise.
21351 (check_longlong): Likewise.
21352 (main): Don't print noXFails and noXPasses.
21353 * math/gen-libm-test.pl (top level): Don't mention expected
21354 failure handling in comment.
21355 (new_test): Don't handle expected failures.
21356 (parse_args): Don't mention expected failure handling in comment.
21357 (generate_testfile): Don't handle expected failures.
21358 (parse_ulps): Likewise.
21359 (print_ulps_file): Likewise.
21360 (get_failure): Remove function.
21361 (output_test): Don't handle expected failures.
21362 * make/README.libm-test: Don't mention expected failure handling.
21363
a7548d41
JM
21364 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21365 (minus_zero): Likewise.
21366 (plus_infty): Likewise.
21367 (minus_infty): Likewise.
21368 (qnan_value): Likewise.
21369 (max_value): Likewise.
21370 (min_value): Likewise.
21371 (min_subnorm_value): Likewise.
21372 (initialize): Do not initialize those variables dynamically.
21373
60bfd54c
RM
213742013-05-03 Roland McGrath <roland@hack.frob.com>
21375
cc0e6ed8
RM
21376 * io/open.c (__open_2): Moved to ...
21377 * io/open_2.c: ... this new file.
21378 * io/open64.c (__open64_2): Moved to ...
21379 * io/open64_2.c: ... this new file.
21380 * io/openat.c (__openat_2): Moved to ...
21381 * io/openat_2.c: ... this new file.
21382 * io/openat64.c (__openat64_2): Moved to ...
21383 * io/openat64_2.c: ... this new file.
21384 * io/Makefile (routines): Add them.
21385 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21386 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21387 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21388 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21389 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21390 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21391 (__openat64): Add hidden_ver.
21392 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21393 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21394
60bfd54c
RM
21395 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21396 Separately conditionalize setting of GLRO(dl_sysinfo) so
21397 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21398 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21399
83e7640f
AZ
214002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21401
21402 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21404 definition.
21405 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21406 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21407 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21408 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21409 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21410
d5dc2af3
JM
214112013-05-03 Joseph Myers <joseph@codesourcery.com>
21412
c31a5b1e
JM
21413 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21414 test signgam value.
21415
d5dc2af3
JM
21416 * math/libm-test.inc (hypot_test): Do not use
21417 IGNORE_ZERO_INF_SIGN.
21418
164fd39d
AJ
214192013-05-03 Andreas Jaeger <aj@suse.de>
21420
21421 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21422 Linux 3.9.
21423 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21424 (PF_MAX): Adjust for VSOCK change.
21425
8237f48c
AZ
214262013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21427
21428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21429
9df02941
CD
214302013-05-02 Carlos O'Donell <carlos@redhat.com>
21431
21432 [BZ #15264]
21433 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21434 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21435 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21436
d422395e
DM
214372013-05-02 David S. Miller <davem@davemloft.net>
21438
21439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21440
a07c5731
OB
214412013-05-01 Ondřej Bílka <neleai@seznam.cz>
21442
21443 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21444
1324e37f
RM
214452013-05-01 Roland McGrath <roland@hack.frob.com>
21446
21447 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21448
0695940b
RS
214492013-05-01 Richard Smith <richard@metafoo.co.uk>
21450
bb5f27ad 21451 [BZ #14952]
0695940b
RS
21452 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21453 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21454 Use __attribute__ ((__gnu_inline__)).
21455 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21456 Don't use __attribute__ ((__gnu_inline__)).
21457
10de07f5
JM
214582013-05-01 Joseph Myers <joseph@codesourcery.com>
21459
21460 [BZ #15423]
21461 * math/s_catan.c (__catan): Handle small real or imaginary part of
21462 input specially to avoid spurious underflow.
21463 * math/s_catanf.c (__catanf): Likewise.
21464 * math/s_catanh.c (__catanh): Likewise.
21465 * math/s_catanhf.c (__catanhf): Likewise.
21466 * math/s_catanhl.c (__catanhl): Likewise.
21467 * math/s_catanl.c (__catanl): Likewise.
21468 * math/libm-test.inc (catan_test): Add more tests.
21469 (catanh_test): Likewise.
21470 * sysdeps/i386/fpu/libm-test-ulps: Update.
21471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21472
cb4d5414
AZ
214732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21474
21475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21476
caf84319
JM
214772013-04-30 Joseph Myers <joseph@codesourcery.com>
21478
21479 [BZ #15416]
21480 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21481 accurately for denominator in atan2.
21482 * math/s_catanf.c (__catanf): Likewise.
21483 * math/s_catanh.c (__catanh): Likewise.
21484 * math/s_catanhf.c (__catanhf): Likewise.
21485 * math/s_catanhl.c (__catanhl): Likewise.
21486 * math/s_catanl.c (__catanl): Likewise.
21487 * math/libm-test.inc (catan_test): Add more tests.
21488 (catanh_test): Likewise.
21489 * sysdeps/i386/fpu/libm-test-ulps: Update.
21490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21491
d569c6ee
SP
214922013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21493
6dbe713d
SP
21494 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21495
f0ee064b
SP
21496 * benchtests/Makefile (bench): Remove slow benchmarks.
21497 * benchtests/atan-inputs: Add slow benchmark inputs.
21498 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21499 (BENCH_FUNC): Accept variant offset.
21500 (VARIANT): Define.
21501 * benchtests/bench-skeleton.c (main): Run benchmark for each
21502 variant.
21503 * benchtests/cos-inputs: Add slow benchmark inputs.
21504 * benchtests/exp-inputs: Likewise.
21505 * benchtests/pow-inputs: Likewise.
21506 * benchtests/sin-inputs: Likewise.
21507 * benchtests/slowatan-inputs: Remove.
21508 * benchtests/slowatan.c: Remove.
21509 * benchtests/slowcos-inputs: Remove.
21510 * benchtests/slowcos.c: Remove.
21511 * benchtests/slowexp-inputs: Remove.
21512 * benchtests/slowexp.c: Remove.
21513 * benchtests/slowpow-inputs: Remove.
21514 * benchtests/slowpow.c: Remove.
21515 * benchtests/slowsin-inputs: Remove.
21516 * benchtests/slowsin.c: Remove.
21517 * benchtests/slowtan-inputs: Remove.
21518 * benchtests/slowtan.c: Remove.
21519 * benchtests/tan-inputs: Add slow benchmark inputs.
21520 * scripts/bench.pl: Parse comments and directives.
21521
d569c6ee
SP
21522 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21523 in CPPFLAGS.
21524 ($(objpfx)bench-%.c): Remove *-ITER.
21525 * benchtests/bench-modf.c: Remove definition of ITER.
21526 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21527 (main): Loop for DURATION seconds instead of fixed number of
21528 iterations.
21529 * scripts/bench.pl: Don't expect iterations in parameters.
21530
a6a242fe
RM
215312013-04-29 Roland McGrath <roland@hack.frob.com>
21532
21533 * io/fchdir.c (__fchdir): Renamed from fchdir.
21534 (fchdir): Define as weak alias.
21535
f2da7793
JM
215362013-04-29 Joseph Myers <joseph@codesourcery.com>
21537
21538 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21539 (ERRNO_EDOM): Likewise.
21540 (ERRNO_ERANGE): Likewise.
21541 (noErrnoTests): New variable.
21542 (init_max_error): Set errno to 0.
21543 (test_single_errno): New function.
21544 (test_errno): Likewise.
21545 (check_float_internal): Call test_errno. Set errno to 0.
21546 (check_complex): Refer to errno tests in comment.
21547 (check_int): Call test_errno. Set errno to 0.
21548 (check_long): Likewise.
21549 (check_bool): Likewise.
21550 (check_longlong): Likewise.
21551 (cos_test): Use ERRNO_* flags for errno tests instead of
21552 check_int.
21553 (expm1_test): Likewise.
21554 (fmod_test): Likewise.
21555 (ilogb_test): Likewise.
21556 (lgamma_test): Likewise.
21557 (pow_test): Likewise.
21558 (remainder_test): Likewise.
21559 (sin_test): Likewise.
21560 (tan_test): Likewise.
21561 (yn_test): Likewise.
21562 (initialize): Set errno to 0.
21563 (main): Print number of errno tests.
21564 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21565
b1a36ceb
AJ
215662013-04-29 Andreas Jaeger <aj@suse.de>
21567
c3ed8088
AJ
21568 [BZ #15084]
21569 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21570 and RES_USEVC.
21571
f1a24198
AJ
21572 [BZ #15085]
21573 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21574 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21575 unimplemented.
21576
9ce3b2cb
AJ
21577 [BZ #15380]
21578 * stdlib/random.c (__initstate): Return NULL if
21579 __initstate fails.
21580
f1a24198 21581 [BZ #15086]
b1a36ceb
AJ
21582 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21583 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21584 RES_SNGLKUPREOP.
21585
7e7b6f36
AZ
215862013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21587
21588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21589
4d14f449
JM
215902013-04-29 Joseph Myers <joseph@codesourcery.com>
21591
21592 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21593 of individual tests.
21594 (casin_test): Likewise.
21595 (casinh_test): Likewise.
21596
5b4217d7
JM
215972013-04-27 Joseph Myers <joseph@codesourcery.com>
21598
21599 [BZ #15409]
21600 * math/s_catan.c (__catan): Handle arguments with large real or
21601 imaginary part separately without squaring.
21602 * math/s_catanf.c (__catanf): Likewise.
21603 * math/s_catanh.c (__catanh): Likewise.
21604 * math/s_catanhf.c (__catanhf): Likewise.
21605 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21606 and redefine.
21607 (__catanhl): Handle arguments with large real or imaginary part
21608 separately without squaring.
21609 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21610 and redefine.
21611 (__catanl): Handle arguments with large real or imaginary part
21612 separately without squaring.
21613 * math/libm-test.inc (catan_test): Add more tests.
21614 (catanh_test): Likewise.
21615 * sysdeps/i386/fpu/libm-test-ulps: Update.
21616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21617
4220c3ef
AJ
216182013-04-27 Andreas Jaeger <aj@suse.de>
21619
21620 [BZ #15007]
21621 * stdlib/stdlib.h: Update guards for qecvt.
21622 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21623 <stdlib.h>.
21624
4721b2d1
AM
216252013-04-27 Allan McRae <allan@archlinux.org>
21626
21627 * sysdeps/i386/fpu/libm-test-ulps: Update.
21628
f0302940
JM
216292013-04-26 Joseph Myers <joseph@codesourcery.com>
21630
9457fd95
JM
21631 [BZ #15406]
21632 * math/s_catan.c: Include <float.h>.
21633 (__catan): Ensure underflow exception occurs for underflowed
21634 result.
21635 * math/s_catanf.c: Include <float.h>.
21636 (__catanf): Ensure underflow exception occurs for underflowed
21637 result.
21638 * math/s_catanh.c: Include <float.h>.
21639 (__catanh): Ensure underflow exception occurs for underflowed
21640 result.
21641 * math/s_catanhf.c: Include <float.h>.
21642 (__catanhf): Ensure underflow exception occurs for underflowed
21643 result.
21644 * math/s_catanhl.c: Include <float.h>.
21645 (__catanhl): Ensure underflow exception occurs for underflowed
21646 result.
21647 * math/s_catanl.c: Include <float.h>.
21648 (__catanl): Ensure underflow exception occurs for underflowed
21649 result.
21650 * math/libm-test.inc (catan_test): Add more tests.
21651 (catanh_test): Likewise.
21652
f0302940
JM
21653 [BZ #15405]
21654 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21655 underflowed result.
21656 * math/s_ccoshf.c (__ccoshf): Likewise.
21657 * math/s_ccoshl.c (__ccoshl): Likewise.
21658 * math/s_csin.c (__csin): Likewise.
21659 * math/s_csinf.c (__csinf): Likewise.
21660 * math/s_csinh.c (__csinh): Likewise.
21661 * math/s_csinhf.c (__csinhf): Likewise.
21662 * math/s_csinhl.c (__csinhl): Likewise.
21663 * math/s_csinl.c (__csinl): Likewise.
21664 * math/libm-test.inc (ccos_test): Add more tests.
21665 (ccosh_test): Likewise.
21666 (csin_test): Likewise.
21667 (csinh_test): Likewise.
21668
aa630f59
AZ
216692013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21670
21671 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21672 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21673 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21674 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21675 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21676 powerpc/power5+/fpu folders.
21677 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21678
21679
1b835983
MT
216802013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21681
21682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21683
73709b26
JM
216842013-04-25 Joseph Myers <joseph@codesourcery.com>
21685
21686 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21687 additions to variable.
21688 [$(config-machine) = x86_64] (modules-names): Likewise.
21689 ($(objpfx)tst-audit3): Remove dependency.
21690 ($(objpfx)tst-audit3.out): Likewise.
21691 ($(objpfx)tst-audit4): Likewise.
21692 ($(objpfx)tst-audit4.out): Likewise.
21693 ($(objpfx)tst-audit5): Likewise.
21694 ($(objpfx)tst-audit5.out): Likewise.
21695 ($(objpfx)tst-audit6): Likewise.
21696 ($(objpfx)tst-audit6.out): Likewise.
21697 ($(objpfx)tst-audit7): Likewise.
21698 ($(objpfx)tst-audit7.out): Likewise.
21699 (tst-audit3-ENV): Remove variable.
21700 (tst-audit4-ENV): Likewise.
21701 (tst-audit5-ENV): Likewise.
21702 (tst-audit6-ENV): Likewise.
21703 (tst-audit7-ENV): Likewise.
21704 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21705 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21706 addition to variable.
21707 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21708 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21709 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21710 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21711 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21712 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21713 tst-audit3, tst-audit4 and tst-audit5.
21714 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21715 tst-audit6 and tst-audit7.
21716 [$(subdir) = elf] (modules-names): Add audit modules for those
21717 tests.
21718 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21719 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21720 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21721 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21722 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21723 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21724 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21725 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21726 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21727 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21728 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21729 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21730 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21731 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21732 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21733 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21734 Likewise.
21735 [$(subdir) = elf && $(config-cflags-avx) = yes]
21736 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21737 [$(subdir) = elf && $(config-cflags-avx) = yes]
21738 (CFLAGS-tst-auditmod4a.c): Likewise.
21739 [$(subdir) = elf && $(config-cflags-avx) = yes]
21740 (CFLAGS-tst-auditmod4b.c): Likewise.
21741 [$(subdir) = elf && $(config-cflags-avx) = yes]
21742 (CFLAGS-tst-auditmod6b.c): Likewise.
21743 [$(subdir) = elf && $(config-cflags-avx) = yes]
21744 (CFLAGS-tst-auditmod6c.c): Likewise.
21745 [$(subdir) = elf && $(config-cflags-avx) = yes]
21746 (CFLAGS-tst-auditmod7b.c): Likewise.
21747 * elf/tst-audit3.c: Move to ...
21748 * sysdeps/x86_64/tst-audit3.c: ... here.
21749 * elf/tst-audit4.c: Move to ...
21750 * sysdeps/x86_64/tst-audit4.c: ... here.
21751 * elf/tst-audit5.c: Move to ...
21752 * sysdeps/x86_64/tst-audit5.c: ... here.
21753 * elf/tst-audit6.c: Move to ...
21754 * sysdeps/x86_64/tst-audit6.c: ... here.
21755 * elf/tst-audit7.c: Move to ...
21756 * sysdeps/x86_64/tst-audit7.c: ... here.
21757 * elf/tst-auditmod3a.c: Move to ...
21758 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21759 * elf/tst-auditmod3b.c: Move to ...
21760 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21761 * elf/tst-auditmod4a.c: Move to ...
21762 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21763 * elf/tst-auditmod4b.c: Move to ...
21764 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21765 * elf/tst-auditmod5a.c: Move to ...
21766 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21767 * elf/tst-auditmod5b.c: Move to ...
21768 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21769 * elf/tst-auditmod6a.c: Move to ...
21770 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21771 * elf/tst-auditmod6b.c: Move to ...
21772 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21773 * elf/tst-auditmod6c.c: Move to ...
21774 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21775 * elf/tst-auditmod7a.c: Move to ...
21776 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21777 * elf/tst-auditmod7b.c: Move to ...
21778 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21779
1ef74943
PP
217802013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21781
21782 [BZ #15366]
21783 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21784 define unconditionally.
21785 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21786 define unconditionally.
21787 (INT8_C, INT16_C, etc.): Likewise.
21788
93fd48c5
MR
217892013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21790
ae9552cf
MR
21791 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21792 __ehdr_start with hidden visibility.
21793
93fd48c5
MR
21794 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21795
418601aa
CD
217962013-04-24 Carlos O'Donell <carlos@redhat.com>
21797
21798 * math/libm-test.inc (cos_test): Use accurate hex constants.
21799 (sincost_test): Likewise.
21800
2f38fbfe
JM
218012013-04-24 Joseph Myers <joseph@codesourcery.com>
21802
5e221800
JM
21803 * math/libm-test.inc (catan_test): Add more tests.
21804 (catanh_test): Likewise.
21805
77f143fd
JM
21806 * math/s_catanf.c (__catanf): Use suffixed floating-point
21807 constants.
21808 * math/s_catanhf.c (__catanhf): Likewise.
21809 * math/s_catanhl.c (__catanhl): Likewise.
21810 * math/s_catanl.c (__catanl): Likewise.
21811
2f38fbfe
JM
21812 [BZ #15394]
21813 * math/s_catan.c (__catan): Calculate imaginary part of result
21814 with log1p not log unless computing log of number close to 0.
21815 * math/s_catanf.c (__catanf): Likewise.
21816 * math/s_catanl.c (__catanl): Likewise.
21817 * math/s_catanh.c (__catanh): Calculate real part of result with
21818 log1p not log unless computing log of number close to 0.
21819 * math/s_catanhf.c (__catanhf): Likewise.
21820 * math/s_catanhl.c (__catanhl): Likewise.
21821 * math/libm-test.inc (catan_test): Add more tests.
21822 (catanh_test): Likewise.
21823 * sysdeps/i386/fpu/libm-test-ulps: Update.
21824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21825
45d69176
SP
218262013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21827
21828 * benchtests/Makefile: Mention files in which fast and slow
21829 paths of math functions are implemented.
21830
87f51853
RM
218312013-04-23 Roland McGrath <roland@hack.frob.com>
21832
21833 * sysdeps/posix/timespec_get.c: New file.
21834
3c026539
AZ
218352013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21836
21837 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21838 POWER.
21839 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21840 for POWER.
21841 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21842 powerpc/power5/fpu folders.
21843 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21844 * benchtests/Makefile: Add modf testcase.
21845 * benchtests/bench-modf.c: New file: Benchmark test for mo
21846
ff491d14
SP
218472013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21848
21849 [BZ #14888]
21850 * time/Makefile (tests): Add tst-strptime-whitespace.
21851 * time/strptime_l.c (get_number): Use ISSPACE.
21852 (__strptime_internal): Likewise.
21853 * time/tst-strptime-whitespace.c: New test case.
21854
7ed3f4e8
AS
218552013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21856
21857 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21858 member.
21859 (_nss_files_init): Set it here.
21860
5c95f7b6
HC
218612013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21862
21863 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21864 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21865 unsigned.
21866
d34c9158
JBG
218672013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21868
21869 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21870
2169712d
SP
218712013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21872
21873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21874 size just once.
21875
29c5de99
DM
218762013-04-21 David S. Miller <davem@davemloft.net>
21877
21878 * po/ru.po: Update Russion translation from translation project.
21879
ccdad15d
AC
218802013-04-17 Adam Conrad <adconrad@0c3.net>
21881
21882 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21883 and setfsgid.
21884
0f122b8d
CD
218852013-04-17 Carlos O'Donell <carlos@redhat.com>
21886
5c5b07da 21887 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21888 * configure: Regenerate.
5c5b07da 21889 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21890 Add example to error message.
21891 * sysdeps/i386/configure: Regenerate.
21892
037714dd
SP
218932013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21894
21895 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21896 slowtan.
21897 * benchtests/cos-inputs: New file.
21898 * benchtests/slowcos-inputs: New file.
21899 * benchtests/slowcos.c: New file.
21900 * benchtests/slowtan-inputs: New file.
21901 * benchtests/slowtan.c: New file.
21902 * benchtests/tan-inputs: New file.
21903
e913141d
RM
219042013-04-16 Roland McGrath <roland@hack.frob.com>
21905
21906 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21907 considered kosher.
21908
a2964074
SP
219092013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21910
4856bcd2
SP
21911 * benchtests/Makefile: Include cppflags-iterator.mk to add
21912 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21913
a2964074
SP
21914 * Makefile.in (bench-clean): New target.
21915 * benchtests/Makefile (bench-clean): Likewise.
21916
9fbf9aca
DH
219172013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21918
21919 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21920
207d1e2a
TS
219212013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21922
21923 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21924
306dfba9
AS
219252013-04-15 Andreas Schwab <schwab@suse.de>
21926
21927 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21928 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21929 * nscd/pwdcache.c (cache_addpw): Likewise.
21930 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21931 more than recsize.
21932
206a6699
SP
219332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21934
21935 * benchtests/Makefile (bench): Write all output to
21936 bench-out.tmp together.
21937
0582f6b3
AS
219382013-04-15 Andreas Schwab <schwab@suse.de>
21939
21940 * nscd/nscd.c (main): Don't fork again after closing files.
21941
acb4325f
SP
219422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21943
5cb26d0a
SP
21944 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21945
acb4325f
SP
21946 * benchtests/Rules (bench-deps): Collect dependencies into a
21947 single variable. Add Makefile to dependencies.
21948 ($(objpfx)bench-%.c): Depend on bench-deps.
21949
47792506
RM
219502013-04-12 Roland McGrath <roland@hack.frob.com>
21951 Xavier Roche <roche+kml2@exalead.com>
21952
21953 [BZ #15361]
21954 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21955 just that it's a file descriptor.
21956 * manual/llio.texi (Synchronizing AIO Operations): Update description
21957 for EBADF error from aio_fsync.
21958
8fc1bee5
SP
219592013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21960
21961 * Rules (bench): Move target definition...
21962 * benchtests/Makefile: ... here.
21963
aba5e333
CD
219642013-04-11 Carlos O'Donell <carlos@redhat.com>
21965
21966 * math/libm-test.inc (cos_test): Fix PI/2 test.
21967 (sincos_test): Likewise.
21968 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21969 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21970
273cdee8
AS
219712013-04-11 Andreas Schwab <schwab@suse.de>
21972
6ecec3b6
AS
21973 [BZ #13988]
21974 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21975 accept exponent character only when digits were seen.
21976 * stdio-common/Makefile (tests): Add bug26.
21977 * stdio-common/bug26.c: New file.
21978
273cdee8
AS
21979 [BZ #14293]
21980 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21981 non-freeable.
21982
8da491f5
SP
219832013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21984
01dc6df9
SP
21985 * Makeconfig (rtld-prefix): Define built linker prefix.
21986 * Rules (run-bench): Use it.
21987 * math/Makefile (run-regen-ulps): Likewise.
21988
8da491f5
SP
21989 * Rules (bench): Remove eval.
21990
abe7f530
SP
219912013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21992 Roland McGrath <roland@hack.frob.com>
21993 Ondrej Bilka <neleai@seznam.cz>
21994
21995 [BZ #15346]
21996 * time/getdate.c: Include ctype.h and alloca.h.
21997 (__getdate_r): Trim leading and trailing spaces of input.
21998 * time/tst-getdate.c (tests): Add tests with leading and
21999 trailing spaces.
22000
61c23e62
RM
220012013-04-08 Roland McGrath <roland@hack.frob.com>
22002
22003 [BZ #14280]
22004 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22005 when computing value.
22006
7208a313
CD
220072013-04-06 Carlos O'Donell <carlos@redhat.com>
22008
085b2d41
CD
22009 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22010 Use testrun.sh to run libm tests.
22011
7208a313
CD
22012 [BZ #15309]
22013 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22014
872c0acd
MM
220152013-04-06 Marko Myllynen <myllynen@redhat.com>
22016
22017 [BZ #15264]
22018 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22019
26510bdd
CD
220202013-04-06 Carlos O'Donell <carlos@redhat.com>
22021
22022 * Makefile.in (regen-ulps): New target.
22023 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22024 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22025 [ifneq (no,$(PERL)] (regen-ulps): New target.
22026 [ifeq (no,$(PERL)] (regen-ulps): New target.
22027 * math/libm-test.inc (ulps_file_name): Define.
22028 (output_dir): New variable.
22029 (options): Add "output-dir" option.
22030 (parse_opt): Handle 'o' case.
22031 (main): If output_dir is non-NULL use it as a prefix
22032 otherwise use "".
22033 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22034
a01f19c8
CD
220352013-04-06 Carlos O'Donell <carlos@redhat.com>
22036
22037 [BZ #10060, #10062]
22038 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22039 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22040 fail configure if __sync_val_compare_and_swap is not inlined.
22041 * sysdeps/i386/configure: Regenerate.
22042 * configure.in: Build for i686 when configured for i386.
22043 * configure: Regenerate.
22044 * README: Remove i386 reference.
22045
b7a329a5
CD
220462013-04-06 Carlos O'Donell <carlos@redhat.com>
22047
22048 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22050
bf0f50df
TS
220512013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22052
ee091edf
TS
22053 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22054 (lmsnanval): New variables.
22055 (F): Add conversion tests.
22056 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22057 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22058
a8b792d6
TS
22059 * stdio-common/tstdiomisc.c (F): Properly collect individual
22060 tests' results.
22061
a1cbf437
TS
22062 [BZ #14686, #15336]
22063 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22064 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22065 Instead, use input NaN values or generate a qNaN by arithmetic
22066 operation. Also fix bugs to comply with the standard.
22067 * math/libm-test.inc (remainder_test): Add more tests.
22068
8b43a0c9
TS
22069 [BZ #15335, #15342]
22070 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22072 input NaN values or generate a qNaN by arithmetic operation.
22073
d91da4ce
TS
22074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22075 unreachable code.
22076
bf0f50df
TS
22077 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22078 definitions.
22079
05e166c8
JM
220802013-04-03 Joseph Myers <joseph@codesourcery.com>
22081
22082 [BZ #14478]
22083 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22084 underflowed result.
22085 * math/s_cexpf.c (__cexpf): Likewise.
22086 * math/s_cexpl.c (__cexpl): Likewise.
22087 * math/libm-test.inc (cexp_test): Add more tests.
22088
1cef1b19
AS
220892013-04-03 Andreas Schwab <schwab@suse.de>
22090
22091 [BZ #15330]
22092 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22093 order arrays from heap if bigger than alloca cutoff.
22094
74d87055
TS
220952013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22096
22097 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22098 (SNAN_TESTS_double): Refer to GCC PR56831.
22099 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22100 GCC PR56828.
22101
d755bba4
SP
221022013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22103
90d5d5bb
SP
22104 * Rules (bench): Move bench.out after the run is complete.
22105
73e0cd5d
SP
22106 * Rules (bench): Echo currently running benchmark.
22107
64aabd4b
SP
22108 * benchtests/Makefile (bench): Add atan and slowatan.
22109 * benchtests/atan-inputs: New file.
22110 * benchtests/slowatan-inputs: New file.
22111 * benchtests/slowatan.c: New file.
22112
c871eccd
SP
22113 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22115 its value.
22116
d755bba4
SP
22117 [BZ #15305]
22118 * sysdeps/unix/sysv/linux/kernel-features.h
22119 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22120 __ASSUME_XFS_RESTRICTED_CHOWN.
22121 * sysdeps/unix/sysv/linux/pathconf.c
22122 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22123 Save and restore errno.
22124
52ce4860
JM
221252013-04-02 Joseph Myers <joseph@codesourcery.com>
22126
22127 [BZ #15327]
22128 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22129 arguments using __kernel_casinh.
22130 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22131 arguments using __kernel_casinhf.
22132 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22133 arguments using __kernel_casinhl.
22134 * math/libm-test.inc (cacosh_test): Add more tests.
22135 * sysdeps/i386/fpu/libm-test-ulps: Update.
22136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22137
81f311c2
SP
221382013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22139
e7906a47
SP
22140 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22142
92e3664b
SP
22143 * bench/Makefile (bench): Add sin and slowsin.
22144 * benchtests/sin-inputs: New file.
22145 * benchtests/slowsin-inputs: New file.
22146 * benchtests/slowsin.c: New file.
22147
81f311c2
SP
22148 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22149 (bench): Add slowexp and slowpow.
22150 (exp-ITER): Increase iterations.
22151 (pow-ITER): Likewise.
22152 * benchtests/exp-inputs: Change input.
22153 * benchtests/pow-inputs: Likewise.
22154 * benchtests/slowexp-inputs: New file.
22155 * benchtests/slowexp.c: New file.
22156 * benchtests/slowpow-inputs: New file.
22157 * benchtests/slowpow.c: New file.
22158
ab0f1aa9
AZ
221592013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22160
22161 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22162 instructions.
22163 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22164 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22165 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22166 * benchtests/Makefile: Add rint benchtest.
22167 * benchtests/rint-inputs: Input for rint benchtest.
22168
57267616
TS
221692013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22170
22171 * Versions.def (libm): Add GLIBC_2.18.
22172 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22173 hidden libm prototypes.
22174 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22175 * math/Makefile (libm-calls): Add s_issignaling.
22176 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22177 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22178 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22179 declaration.
22180 * math/math.h [__USE_GNU] (issignaling): New macro.
22181 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22182 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22184 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22187 * manual/arith.texi (issignaling): New section.
22188 * manual/libm-err-tab.pl (@all_functions): Update comment.
22189 * math/gen-libm-test.pl (parse_args): Apply special handling for
22190 issignaling.
22191 * math/libm-test.inc (print_float, issignaling_test): New
22192 functions.
22193 (check_float_internal): Add issignaling checks.
22194 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22195 default definition.
22196 * sysdeps/powerpc/math-tests.h: New file.
22197 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22198 tests.
22199 * math/test-snan.c (TEST_FUNC): Likewise.
22200
6142896d
DM
222012013-03-30 David S. Miller <davem@davemloft.net>
22202
22203 * po/de.po: Update from translation team.
22204
ccc8cadf
JM
222052013-03-30 Joseph Myers <joseph@codesourcery.com>
22206
22207 [BZ #10357]
22208 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22209 imaginary part less than 1.0 and real part less than 0.5
22210 specially.
22211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22213 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22214 (cacos_test): Add more tests.
22215 (casin_test): Likewise.
22216 (casinh_test): Likewise.
22217 * sysdeps/i386/fpu/libm-test-ulps: Update.
22218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22219
0f6a8d4b
SP
222202013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22221
0d1029de
SP
22222 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22223 ONE with its value.
22224
c2d94018
SP
22225 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22226 (__pow_mp): Replace ONE and MONE with their values.
22227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22228 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22229 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22230 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22231 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22233
27ec37f1
SP
22234 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22235
a64d7e0e
SP
22236 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22237 (__pow_mp): Replace ZERO and MZERO with their values.
22238 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22240 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22242 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22243 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22244 (__sqr): Likewise.
22245
d26dd3eb
SP
22246 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22247
0f6a8d4b
SP
22248 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22249
e57b0c61
RM
222502013-03-28 Roland McGrath <roland@hack.frob.com>
22251
22252 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22253 Declare with __attribute__ ((weak)).
22254 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22255 Call __call_tls_dtors only if it's not NULL.
22256
356b3480
RM
222572013-03-28 Roland McGrath <roland@hack.frob.com>
22258
288f7d79
RM
22259 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22260 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22261 magic __ehdr_start linker symbol if it's defined.
22262 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22263 them up here if it was already done.
22264
dc0a0263
RM
22265 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22266 (_dl_aux_init): Use const in cast when setting it.
22267 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22268 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22269 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22270
3d3436ae
RM
22271 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22272 Declare them here.
22273 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22274 * csu/libc-tls.c: Nor here.
22275 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22276
356b3480
RM
22277 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22278 (__libc_message): Never call vsyslog.
22279
b0f1246a
AM
222802013-03-28 Alan Modra <amodra@gmail.com>
22281
22282 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22283 Define as empty.
22284 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22285 Likewise.
22286
fbbe2b9a
AZ
222872013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22288
22289 [BZ #15214]
22290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22291 underflow.
22292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22293
1728ab37
SP
222942013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22295
7a86be6e
SP
22296 [BZ #15304]
22297 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22298 Don't add gid passed as argument.
22299
1728ab37
SP
22300 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22301
3a7182a1
JM
223022013-03-27 Joseph Myers <joseph@codesourcery.com>
22303
22304 [BZ #15307]
22305 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22306 imaginary part between 1.0 and 1.5 and real part less than 0.5
22307 specially.
22308 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22309 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22310 * math/libm-test.inc (cacos_test): Add more tests.
22311 (casin_test): Likewise.
22312 (casinh_test): Likewise.
22313 * sysdeps/i386/fpu/libm-test-ulps: Update.
22314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22315
6f2e90e7
SP
223162013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22317
5739f705
SP
22318 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22319 constants.
22320 (norm): Likewise.
22321 (denorm): Likewise.
22322 (__dbl_mp): Likewise.
22323 (add_magnitudes): Likewise.
22324 (sub_magnitudes): Likewise.
22325 (__add): Likewise.
22326 (__sub): Likewise.
22327 (__mul): Likewise.
22328 (__sqr): Likewise.
22329 (__inv): Likewise.
22330 (__dvd): Likewise.
22331
e375e83d
SP
22332 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22333 commented code.
22334 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22335 (__dubcos): Likewise.
22336 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22337 (__ieee754_acos): Likewise.
22338 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22339 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22340 (__exp1): Likewise.
22341 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22343 (log1): Likewise.
22344 (my_log2): Likewise.
22345 (checkint): Likewise.
22346 * sysdeps/ieee754/dbl-64/e_remainder.c
22347 (__ieee754_remainder): Likewise.
22348 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22350 (bsloww): Likewise.
22351 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22352
6f2e90e7
SP
22353 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22354 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22355 MANTISSA_STORE_T to store computations on mantissa. Use
22356 macros for rounding and division.
22357 (denorm): Likewise.
22358 (__dbl_mp): Likewise.
22359 (add_magnitudes): Likewise.
22360 (sub_magnitudes): Likewise.
22361 (__mul): Likewise.
22362 (__sqr): Likewise.
22363 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22364 powers of two in terms of TWOPOW macro.
22365 (mp_no): Make type of mantissa as MANTISSA_T.
22366 [!RADIXI]: Define RADIXI.
22367 [!TWO52]: Define TWO52.
22368 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22369
fce14d4e
AZ
223702013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22371
22372 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22373 llroundl symbol when building for PPC32.
22374
9ad027fb
MW
223752013-03-24 Mark H Weaver <mhw@netris.org>
22376
22377 * manual/arith.texi (Normalization Functions): Fix prototypes for
22378 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22379
e42a38dd
AZ
223802013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22381
22382 [BZ #13889]
22383 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22384 high value to check if expl overflow.
22385 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22386 to check for underflow and overflow.
22387 * math/libm-test.inc: Add exp test.
22388
2e0fb521
DL
223892013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22390
22391 [BZ #11120]
22392 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22393 with NOT_IN_libc.
22394
b5784d95
AZ
223952013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22396
22397 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22398 symbol.
22399
5aa4a1a1
TS
224002013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22401
bdef0be7
TS
22402 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22403 wrap blocks consisting of several statements.
22404
5aa4a1a1
TS
22405 * sysdeps/generic/math-tests.h: New file.
22406 * sysdeps/i386/fpu/math-tests.h: Likewise.
22407 * math/test-snan.c: Include it.
22408 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22409
98c48fe5
JM
224102013-03-21 Joseph Myers <joseph@codesourcery.com>
22411
22412 [BZ #15285]
22413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22414 (__ieee754_j0l): Do not improve calculations using cos of twice
22415 input for inputs above LDBL_MAX / 2.0L.
22416 (__ieee754_y0l): Likewise.
22417 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22418 (__ieee754_j1l): Do not improve calculations using cos of twice
22419 input for inputs above LDBL_MAX / 2.0L.
22420 (__ieee754_y1l): Likewise.
22421 * math/libm-test.inc (j0_test): Add another test.
22422 (j1_test): Likewise.
22423 (y0_test): Likewise.
22424 (y1_test): Likewise.
22425 * sysdeps/i386/fpu/libm-test-ulps: Update.
22426
3775a8bc
SP
224272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22428
22429 * Rules ($(objpfx)bench-%.c): Include code from a C source
22430 file.
22431
0a1b2ae6
JM
224322013-03-21 Joseph Myers <joseph@codesourcery.com>
22433
22434 [BZ #15287]
22435 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22436 imaginary part 1.0 and real part less than 0.5 specially.
22437 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22438 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22439 * math/libm-test.inc (cacos_test): Add more tests.
22440 (casin_test): Likewise.
22441 (casinh_test): Likewise.
22442 * sysdeps/i386/fpu/libm-test-ulps: Update.
22443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22444
b33d4ce4
SP
224452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22446
22447 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22448 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22449
bef0b507
JM
224502013-03-20 Joseph Myers <joseph@codesourcery.com>
22451
22452 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22453 * config.make.in (config-cflags-sse4): Remove variable.
22454 (config-cflags-avx): Likewise.
22455 (config-cflags-sse2avx): Likewise.
22456 (config-cflags-novzeroupper): Likewise.
22457 (config-asflags-i686): Likewise.
22458 (have-mfma4): Likewise.
22459 (have-as-vis3): Likewise.
22460 (MIG): Likewise.
22461 * configure.in (MIG): Do not AC_SUBST.
22462 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22463 (libc_cv_cc_sse4): Do not AC_SUBST.
22464 (libc_cv_cc_avx): Likewise.
22465 (libc_cv_cc_sse2avx): Likewise.
22466 (libc_cv_cc_novzeroupper): Likewise.
22467 (libc_cv_cc_fma4): Likewise.
22468 (libc_cv_as_i686): Likewise.
22469 (libc_cv_sparc_as_vis3): Likewise.
22470 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22471 LIBC_CONFIG_VAR.
22472 (config-asflags-i686): Likewise.
22473 (config-cflags-avx): Likewise.
22474 (config-cflags-sse2avx): Likewise.
22475 (have-mfma4): Likewise.
22476 (config-cflags-novzeroupper): Likewise.
22477 * sysdeps/mach/configure.in (MIG): Likewise.
22478 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22479 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22480 LIBC_CONFIG_VAR.
22481 (config-cflags-avx): Likewise.
22482 (config-cflags-sse2avx): Likewise.
22483 (have-mfma4): Likewise.
22484 (config-cflags-novzeroupper): Likewise.
22485 * configure: Regenerated.
22486 * sysdeps/i386/configure: Likewise.
22487 * sysdeps/mach/configure: Likewise.
22488 * sysdeps/sparc/configure: Likewise.
22489 * sysdeps/x86_64/configure: Likewise.
22490
912cc4b3
RM
224912013-03-20 Roland McGrath <roland@hack.frob.com>
22492
22493 [BZ #14812]
22494 * locale/programs/localedef.c (options): Put N_ translation marker
22495 on argument names, not just descriptions.
22496
04eed2b0
MS
224972013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22498
22499 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22500
a065ceff
OB
225012013-03-20 Ondřej Bílka <neleai@seznam.cz>
22502
9bb2a810 22503 [BZ #14176]
a065ceff
OB
22504 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22505
a600e5ce
RM
225062013-03-19 Roland McGrath <roland@hack.frob.com>
22507
22508 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22509 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22510 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22511 [!BEFORE_ABORT] (before_abort): New function.
22512 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22513 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22514 (writev_for_fatal): New function.
22515 (WRITEV_FOR_FATAL): New macro; call that.
22516 (backtrace_and_maps): New function.
22517 (BEFORE_ABORT): New macro; call that.
22518 (struct str_list): Type removed.
22519 (__libc_message, __libc_fatal): Functions removed.
22520 Include <sysdeps/posix/libc_fatal.c> instead.
22521
6b18bea6
JM
225222013-03-19 Joseph Myers <joseph@codesourcery.com>
22523
22524 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22525 constants.
22526 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22527 double constants.
22528
aaa8cb4b
AS
225292013-03-19 Andreas Schwab <schwab@suse.de>
22530
44673770
AS
22531 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22532 * sysdeps/gnu/configure: Regenerate.
22533
aaa8cb4b
AS
22534 * configure.in: Substitute libc_cv_rtlddir.
22535 * configure: Regenerate.
22536 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22537 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22538 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22539 * elf/Makefile (install-others, CFLAGS-interp.c)
22540 (ldso_install, common-ldd-rewrite): Likewise.
22541 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22542 $(inst_slibdir)/$(rtld-installed-name).
22543 * scripts/rellns-sh: Add -p option.
22544 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22545 for source.
22546
d3cfc668
SP
225472013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22548
22549 * manual/nptl.texi: Renamed to ...
22550 * manual/threads.texi: ... this.
22551 * manual/Makefile (chapters): Update.
22552
0e2b9cdd
RM
225532013-03-18 Roland McGrath <roland@hack.frob.com>
22554
22555 [BZ #14812]
22556 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22557 on argument names, not just descriptions.
0e2b9cdd
RM
22558 * malloc/memusagestat.c (options): Likewise.
22559 * nss/getent.c (options): Likewise.
63270c24
RM
22560
225612013-03-18 Benno Schulenberg <bensberg@justemail.net>
22562
22563 [BZ #14812]
22564 * iconv/iconv_prog.c (options): Put N_ translation marker
22565 on argument names, not just descriptions.
22566 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22567
b2e1393c
OB
225682013-03-18 Ondrej Bilka <neleai@seznam.cz>
22569
22570 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22571 implementation which is faster on all x86_64 architectures.
22572 Tested on AMD, Intel Nehalem, SNB, IVB.
22573 * sysdeps/x86_64/strnlen.S: Likewise.
22574
22575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22576 Remove all multiarch strlen and strnlen versions.
22577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22578 Remove strlen and strnlen related parts.
22579
22580 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22581 Inline strlen part.
22582 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22583
22584 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22585 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22586 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22587 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22588 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22589 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22590
ec4ff04d
CD
225912013-03-17 Carlos O'Donell <carlos@redhat.com>
22592
22593 * manual/memory.texi (Malloc Tunable Parameters):
22594 Sort parameters alphabetically. Add comments for missing entries.
22595
cd18e90a
DM
225962013-03-17 David S. Miller <davem@davemloft.net>
22597
22598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22599
2a185d32
JM
226002013-03-16 Joseph Myers <joseph@codesourcery.com>
22601
d2f9799e
JM
22602 [BZ #15283]
22603 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22604 for arguments at most half maximum finite value.
22605 * math/libm-test.inc (j0_test): Add more tests.
22606 (j1_test): Likewise.
22607 (y0_test): Likewise.
22608 (y1_test): Likewise.
22609 * sysdeps/i386/fpu/libm-test-ulps: Update.
22610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22611
2a185d32
JM
22612 [BZ #14155]
22613 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22614 1 / x and functions P and Q for arguments above 0x1p256L.
22615 (__ieee754_y0l): Likewise.
22616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22617 (__ieee754_y1l): Likewise.
22618 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22619 (j1_test): Likewise.
22620 (y0_test): Likewise.
22621 (y1_test): Likewise.
22622
6cbec759
TS
226232013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22624
22625 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22626 variable.
22627
bc16e260
RM
226282013-03-15 Roland McGrath <roland@hack.frob.com>
22629
aefc9b8c
RM
22630 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22631 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22632 zero since it's initialized to EXEC_PAGESIZE.
22633
bc16e260
RM
22634 * sysdeps/unix/sysv/linux/ldsodefs.h
22635 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22636 * sysdeps/generic/ldsodefs.h: ... here.
22637
a57da955
TS
226382013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22639
af00a34d
TS
22640 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22641
495ded2c
TS
22642 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22643 math/test-snan.c.
22644 * math/test-snan.c: Renamed from
22645 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22646 * math/Makefile (tests): Add test-snan.
22647 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22648 test-powerpc-snan.
22649
777b0332
TS
22650 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22651 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22652 functions.
22653 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22654 __builtin_nan family of functions.
22655 * math/libm-test.inc (initialize): Initialize qnan_value with
22656 __builtin_nan family of functions.
22657 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22658 Remove variables.
22659 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22660 Remove functions.
22661 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22662 storage class. Initialize qNaN_var and sNaN_var with
22663 __builtin_nan and __builtin_nans families of functions,
22664 respectively.
22665
64d063b8
TS
22666 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22667 (sqrt_test): Remove duplicate test with qNaN input.
22668 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22669 (round_test, signbit_test, significand_test): Note missing +/-Inf
22670 as well as qNaN tests.
22671
67e971f1
TS
22672 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22673 qNaN_var. Fix a few strings, too.
22674 * math/libm-test.inc (nan_value): Rename to qnan_value.
22675 * math/gen-libm-test.pl (%beautify): Adjust to that.
22676 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22677 * math/test-misc.c (main): Likewise.
22678 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22679 to __qnan_bytes, and __qnan_union, respectively.
22680 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22681 Likewise.
22682 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22683 and lqnanval, respectively.
22684 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22685 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22686 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22687 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22688
64487e12
TS
22689 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22690 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22691 doubles.
22692
e015e27b
TS
22693 * math/test-misc.c (main): Fix copy'n'pastos.
22694 * misc/tst-efgcvt.c (special): Likewise.
22695
a57da955
TS
22696 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22697 Remove declarations.
22698
1e380345
SP
226992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22700
22701 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22702 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22703 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22704 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22705
ef26eece
AZ
227062013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22707
22708 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22709 macro to return vdso values correctly in IFUNC implementations.
22710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22711 Optimization by using IFUNC.
22712
8cfdb7e0
SP
227132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22714 Richard Henderson <rth@redhat.com>
22715 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22716
22717 * Makefile.in (bench): New target.
22718 * NEWS: Mention the benchmark framework.
22719 * Rules (bench): Likewise.
22720 (binaries-bench): Generate binaries for functions to
22721 benchmark.
22722 * benchtests/Makefile: New makefile for benchmark tests.
22723 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22724 programs.
22725 * benchtests/exp-inputs: New input file for EXP function.
22726 * benchtests/pow-inputs: New input file for POW function.
22727 * scripts/bench.pl: New script to generate source files for
22728 benchmark programs.
22729
bcda9880
SP
227302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22731
d22ca8cd
SP
22732 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22733 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22734 computations on mantissa. Use macros for rounding and
22735 division.
22736 (denorm): Likewise.
22737 (__dbl_mp): Likewise.
22738 (add_magnitudes): Likewise.
22739 (sub_magnitudes): Likewise.
22740 (__mul): Likewise.
22741 (__sqr): Likewise.
22742 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22743 powers of two in terms of TWOPOW macro.
22744 (mp_no): Make type of mantissa as MANTISSA_T.
22745 [!RADIXI]: Define RADIXI.
22746 [!TWO52]: Define TWO52.
22747 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22748
bcda9880
SP
22749 * manual/nptl.texi (cindex): Modify threads to pthreads.
22750
06d5adfb
JM
227512013-03-15 Joseph Myers <joseph@codesourcery.com>
22752
22753 * sysdeps/x86_64/preconfigure: Regenerated.
22754
41c7328e
JM
227552013-03-14 Joseph Myers <joseph@codesourcery.com>
22756
22757 [BZ #14155]
22758 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22759 0x1p28 and above.
22760 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22761 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22762 0x1p28 and above.
22763 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22764 * math/libm-test.inc (j0_test): Do not allow one spurious
22765 underflow exception.
22766 (y1_test): Likewise.
22767
e25cfa60
SP
227682013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22769
0409959c
SP
22770 * manual/Makefile (chapters): Add nptl.
22771 * manual/debug.texi (Debugging Support): Add link to Threads
22772 chapter.
22773 * manual/nptl.texi: New file.
22774
e25cfa60
SP
22775 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22776
58a1335e
PB
227772013-03-14 Petr Baudis <pasky@ucw.cz>
22778
22779 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22780 for non-NULL pointer before the memory validity test. Pointed
22781 out by Holger Brunck <holger.brunck@keymile.com>.
22782
9dc7c64f
AS
227832013-03-13 Andreas Schwab <schwab@suse.de>
22784
22785 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22786 instead of .os.
22787
54206aa6
JM
227882013-03-13 Joseph Myers <joseph@codesourcery.com>
22789
22790 * timezone/zic.c: Update from tzcode 2013b.
22791
e98cdb38
CD
227922013-03-12 Carlos O'Donell <carlos@redhat.com>
22793
22794 * manual/install.texi (Configuring and compiling):
22795 Mention i686 and i586.
22796 * INSTALL: Regenerate.
22797
9967e003
RM
227982013-03-12 Roland McGrath <roland@hack.frob.com>
22799
22800 * sysdeps/init_array/elf-init.c: New file.
22801 * csu/elf-init.c
22802 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22803 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22804
22805 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22806 __gmon_start__ as global, but as static with a .preinit_array pointer.
22807 * sysdeps/init_array/gmon-start.c: New file. Use that.
22808 * sysdeps/init_array/crti.S: New file, empty except for comments.
22809 * sysdeps/init_array/crtn.S: Likewise.
22810
e6b5a293 228112013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22812
22813 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22814 definining bcopy.
80f844c9
OB
22815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22816 Remove Prefer_SSE_for_memop.
22817 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22818 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22819 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22821 memset-x86-64.
80f844c9 22822 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22823 Remove bzero, memset ifunc support.
80f844c9
OB
22824 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22825 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22826 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22827 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22828
fb6b0fcb
AS
228292013-03-11 Andreas Schwab <schwab@suse.de>
22830
22831 [BZ #15234]
22832 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22833 by SHLIB_COMPAT.
22834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22835 (GLIBC_2.16): Remove pthread_atfork.
22836
3e6bd4b1
PP
228372013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22838
22839 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22840 (ptestcases.h): Likewise.
22841
222d7f00
RM
228422013-03-08 Roland McGrath <roland@hack.frob.com>
22843
22844 * Makeconfig ($(common-objpfx)config.status): Depend on
22845 sysdeps/*/preconfigure{,.in} too.
22846
1ba4f030
JM
228472013-03-08 Joseph Myers <joseph@codesourcery.com>
22848
a222d91a
JM
22849 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22850 (__free_hook): Use void * instead of __malloc_ptr_t.
22851 (__malloc_hook): Likewise.
22852 (__realloc_hook): Likewise.
22853 (__memalign_hook): Likewise.
22854 (__after_morecore_hook): Likewise.
22855 * malloc/arena.c (save_malloc_hook): Likewise.
22856 (save_free_hook): Likewise.
22857 * malloc/hooks.c (malloc_hook_ini): Likewise.
22858 (realloc_hook_ini): Likewise.
22859 (memalign_hook_ini): Likewise.
22860 * malloc/malloc.c (malloc_hook_ini): Likewise.
22861 (realloc_hook_ini): Likewise.
22862 (memalign_hook_ini): Likewise.
22863 (__free_hook): Likewise.
22864 (__malloc_hook): Likewise.
22865 (__realloc_hook): Likewise.
22866 (__memalign_hook): Likewise.
22867 (__libc_malloc): Likewise.
22868 (__libc_free): Likewise.
22869 (__libc_realloc): Likewise.
22870 (__libc_memalign): Likewise.
22871 (__libc_valloc): Likewise.
22872 (__libc_pvalloc): Likewise.
22873 (__libc_calloc): Likewise.
22874 (__posix_memalign): Likewise.
22875 * malloc/morecore.c (__sbrk): Likewise.
22876 (__default_morecore): Likewise.
22877
5cc45e10
JM
22878 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22879
dd54b864
JM
22880 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22881 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22882 __malloc_ptrdiff_t.
22883
1ba4f030
JM
22884 * malloc/malloc.h (__malloc_size_t): Remove macro.
22885 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22886 __malloc_size_t.
22887 (old_memalign_hook): Likewise.
22888 (old_realloc_hook): Likewise.
22889 (struct hdr): Likewise.
22890 (flood): Likewise.
22891 (mallochook): Likewise.
22892 (memalignhook): Likewise.
22893 (reallochook): Likewise.
22894 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22895 (tr_old_realloc_hook): Likewise.
22896 (tr_old_memalign_hook): Likewise.
22897 (tr_mallochook): Likewise.
22898 (tr_reallochook): Likewise.
22899 (tr_memalignhook): Likewise.
22900
edf66e57
AZ
229012013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22902
22903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22904 default_ldbl_pack and using as default implementation.
22905 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22906 implementation.
22907 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22908 redundant definition.
22909 (ldbl_insert_mantissa): Likewise.
22910 (ldbl_canonicalize): Likewise.
22911 (ldbl_nearbyint): Likewise.
22912 (ldbl_pack): Rename to ldbl_pack_ppc.
22913 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22914 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22915 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22916
6d9145d8
SP
229172013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22918
22919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22920 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22921 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22922 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22925 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22926 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22927
4dd4e157
AJ
229282013-03-07 Andreas Jaeger <aj@suse.de>
22929
22930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22931 bits/mman-linux.h.
22932
adbb8027
SP
229332013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22934
ce544b5b
SP
22935 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22936 Include mpa.h and declare __MPEXP.
22937 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22938 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22939 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22940 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22941 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22942 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22944
4cc149fd
SP
22945 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22946 (__slowpow): Use long double EXPL and LOGL functions to
22947 compute POW.
22948 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22949 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22950 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22951 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22952 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22953 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22954
e6ebd4a7
SP
22955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22956 intermediate variable to calculate exponent.
22957 (__sqr): Likewise.
22958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22959 Likewise.
22960 (__sqr): Likewise.
22961
82a9811d
SP
22962 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22963 [!NO__SQR]: Define __sqr.
22964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22965 and NO__SQR. Remove all code except __mul and __sqr. Include
22966 sysdeps/ieee754/dbl-64/mpa.c.
22967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22968
adbb8027
SP
22969 [BZ #12723]
22970 * posix/Makefile (tests): Add tst-pathconf.
22971 * posix/tst-pathconf.c: New test case.
22972 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22973 _PC_PIPE_BUF.
22974 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22975
39120df9
PF
229762013-03-06 Patsy Franklin <pfrankli@redhat.com>
22977
22978 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22979
67525cb8
AJ
229802013-03-06 Andreas Jaeger <aj@suse.de>
22981
664a9ce4
AJ
22982 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22983 definition via __MAP_ANONYMOUS.
22984
8e39047d
AJ
22985 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22986 it's not part of Linux headers.
22987
67525cb8
AJ
22988 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22989 (MAP_HUGE_MASK): Define.
22990
22991 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22992 Define.
22993 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22995 Define.
22996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22997 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22998 Define.
22999 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23001 Define.
23002 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23003
23004 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23005 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23006 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23007 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23008 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23009 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23010
23011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23012 Handle f2fs.
23013
23014 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23015 Handle f2fs and efivarfs.
23016
23017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23018 f2fs.
23019
23020 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23021 (EFIVARFS_MAGIC): Add.
23022 (F2FS_LINK_MAX): Add.
23023
e1b42695
PP
230242013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23025
23026 * stdio-common/vfprintf.c: Replace __builtin_expect with
23027 __glibc_unlikely.
23028
2d67d91a
JM
230292013-03-06 Joseph Myers <joseph@codesourcery.com>
23030
23031 [BZ #13550]
23032 * sysdeps/generic/bp-sym.h: Remove file.
23033 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23034 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23035 <bp-sym.h> and <bp-asm.h>.
23036 (__longjmp): Don't use BP_SYM.
23037 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23038 and <bp-asm.h>.
23039 (memcpy): Don't use BP_SYM.
23040 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23041 <bp-sym.h> and <bp-asm.h>.
23042 (memcpy): Don't use BP_SYM.
23043 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23044 <bp-asm.h>.
23045 (memcpy): Don't use BP_SYM.
23046 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23047 <bp-asm.h>.
23048 (memset): Don't use BP_SYM.
23049 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23050 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23051 (__bzero): Don't use BP_SYM.
23052 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23053 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23054 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23055 <bp-sym.h> and <bp-asm.h>.
23056 (memcmp): Don't use BP_SYM. Remove comment about bounded
23057 pointers.
23058 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23059 <bp-sym.h> and <bp-asm.h>.
23060 (memcpy): Don't use BP_SYM.
23061 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23062 <bp-sym.h> and <bp-asm.h>.
23063 (memset): Don't use BP_SYM.
23064 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23065 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23066 (__bzero): Don't use BP_SYM.
23067 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23068 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23069 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23070 <bp-sym.h> and <bp-asm.h>.
23071 (strncmp): Don't use BP_SYM. Remove comment about bounded
23072 pointers.
23073 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23074 <bp-sym.h> and <bp-asm.h>.
23075 (memcpy): Don't use BP_SYM.
23076 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23077 <bp-sym.h> and <bp-asm.h>.
23078 (memset): Don't use BP_SYM.
23079 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23080 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23081 (__bzero): Don't use BP_SYM.
23082 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23083 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23084 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23085 <bp-sym.h> and <bp-asm.h>.
23086 (__memchr): Don't use BP_SYM.
23087 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23088 <bp-sym.h> and <bp-asm.h>.
23089 (memcmp): Don't use BP_SYM. Remove comment about bounded
23090 pointers.
23091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23092 <bp-sym.h> and <bp-asm.h>.
23093 (memcpy): Don't use BP_SYM.
23094 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23095 <bp-sym.h> and <bp-asm.h>.
23096 (__mempcpy): Don't use BP_SYM.
23097 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23098 <bp-sym.h> and <bp-asm.h>.
23099 (__memrchr): Don't use BP_SYM.
23100 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23101 <bp-sym.h> and <bp-asm.h>.
23102 (memset): Don't use BP_SYM.
23103 (__bzero): Likewise.
23104 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23105 <bp-sym.h> and <bp-asm.h>.
23106 (__rawmemchr): Don't use BP_SYM.
23107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23108 <bp-sym.h> and <bp-asm.h>.
23109 (__STRCMP): Don't use BP_SYM.
23110 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23111 <bp-sym.h> and <bp-asm.h>.
23112 (strchr): Don't use BP_SYM.
23113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23114 <bp-sym.h> and <bp-asm.h>.
23115 (__strchrnul): Don't use BP_SYM.
23116 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23117 <bp-sym.h> and <bp-asm.h>.
23118 (strlen): Don't use BP_SYM.
23119 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23120 <bp-sym.h> and <bp-asm.h>.
23121 (strncmp): Don't use BP_SYM. Remove comment about bounded
23122 pointers.
23123 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23124 <bp-sym.h> and <bp-asm.h>.
23125 (__strnlen): Don't use BP_SYM.
23126 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23127 <bp-sym.h> and <bp-asm.h>.
23128 (__GI__setjmp): Don't use BP_SYM.
23129 (_setjmp): Likewise.
23130 (__sigsetjmp): Likewise.
23131 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23132 (L(start_addresses)): Don't use BP_SYM.
23133 (_start): Likewise.
23134 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23135 <bp-asm.h>.
23136 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23137 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23138 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23139 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23140 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23141 <bp-asm.h>.
23142 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23143 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23144 about bounded pointers.
23145 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23146 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23147 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23148 <bp-asm.h>.
23149 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23150 about bounded pointers. Remove GKM FIXME comments.
23151 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23152 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23153 <bp-asm.h>.
23154 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23155 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23156 Remove GKM FIXME comments.
23157 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23158 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23159 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23160 <bp-asm.h>.
23161 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23162 about bounded pointers. Remove GKM FIXME comment.
23163 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23164 and <bp-asm.h>.
23165 (strncmp): Don't use BP_SYM. Remove comment about bounded
23166 pointers.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23168 <bp-sym.h> and <bp-asm.h>.
23169 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23171 <bp-sym.h> and <bp-asm.h>.
23172 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23173 comment.
23174
cdcf361f
PP
231752013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23176
23177 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23178 call free(NULL).
23179
3c4a2b15
DM
231802013-03-05 David S. Miller <davem@davemloft.net>
23181
23182 * po/es.po: Update from translation team.
23183
cdcf361f 231842013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23185
23186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23187 <bits/mman-linux.h>.
23188 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23189 is fine.
23190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23191 <bits/mman-linux.h> to end of file.
23192 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23193 is fine.
23194 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23195 <bits/mman-linux.h> to end of file.
23196 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23197 is fine.
23198 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23199 <bits/mman-linux.h> to end of file.
23200
23201 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23202 (MCL_CURRENT, MCL_FUTURE): Define here.
23203
5f67c04f
AK
232042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23205
8a4473cc 23206 [BZ #15232]
5f67c04f
AK
23207 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23208 attribute_hidden.
23209 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23210
c3e94a95
AK
232112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23212
23213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23214 fourth parameter needed for rt_sigprocmask syscall.
23215 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23216 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23217 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23218 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23219 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23220 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23221
cfb6382a
JM
232222013-03-04 Joseph Myers <joseph@codesourcery.com>
23223
23224 [BZ #13550]
23225 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23226 comment about bounded pointers.
23227 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23228 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23229
539d8e01
AJ
232302013-03-04 Andreas Jaeger <aj@suse.de>
23231
23232 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23233 common definitions.
23234
23235 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23236 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23237 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23238 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23240 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23241
2e167a70 232422013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23243
23244 [BZ #15055]
23245 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23246 __ieee754_sqrl instead of __sqrl.
23247
68508633
JM
232482013-03-01 Joseph Myers <joseph@codesourcery.com>
23249
23250 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23251 * sysdeps/powerpc/fpu_control.h: ... here.
23252 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23253 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23254 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23255 * sysdeps/powerpc/bits/mathinline.h: ... here.
23256
7775448e
RM
232572013-03-01 Roland McGrath <roland@hack.frob.com>
23258
23259 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23260 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23261 to just [NEED_DL_SYSINFO_DSO].
23262 * elf/dl-support.c: Likewise.
23263 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23264 * elf/rtld.c (dl_main): Likewise.
23265 * elf/setup-vdso.h (setup_vdso): Likewise.
23266 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23267 * sysdeps/unix/sysv/linux/dl-sysdep.c
23268 (_dl_discover_osversion): Likewise.
23269
4e9b5995
CD
232702013-03-01 Carlos O'Donell <carlos@redhat.com>
23271
23272 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23273 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23274
e23872c8
SP
232752013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23276
e5c74c63
SP
23277 * NEWS: Mention libm performance improvements and non-x86 PI
23278 futex support.
23279
e23872c8
SP
23280 * csu/libc-start.c (__pthread_initialize_minimal): Change
23281 function arguments.
23282 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23283
b5510883
JM
232842013-02-28 Joseph Myers <joseph@codesourcery.com>
23285
23286 [BZ #13550]
23287 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23288 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23289 <bp-sym.h> and <bp-asm.h>.
23290 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23291 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23292 and <bp-asm.h>.
23293 (memcpy): Don't use BP_SYM.
23294 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23295 <bp-asm.h>.
23296 (__mpn_add_n): Don't use BP_SYM.
23297 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23298 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23299 and <bp-asm.h>.
23300 (__mpn_addmul_1): Don't use BP_SYM.
23301 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23302 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23303 <bp-sym.h>.
23304 (_setjmp): Don't use BP_SYM.
23305 (__novmx_setjmp): Likewise.
23306 (__GI__setjmp): Likewise.
23307 (__vmx_setjmp): Likewise.
23308 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23309 <bp-sym.h>.
23310 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23311 (__bzero): Don't use BP_SYM.
23312 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23313 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23314 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23315 <bp-sym.h> and <bp-asm.h>.
23316 (memcpy): Don't use BP_SYM.
23317 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23318 <bp-sym.h> and <bp-asm.h>.
23319 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23320 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23321 <bp-sym.h> and <bp-asm.h>.
23322 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23323 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23324 <bp-asm.h>.
23325 (__mpn_lshift): Don't use BP_SYM.
23326 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23327 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23328 <bp-asm.h>.
23329 (memset): Don't use BP_SYM.
23330 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23331 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23332 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23333 <bp-asm.h>.
23334 (__mpn_mul_1): Don't use BP_SYM.
23335 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23336 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23337 <bp-sym.h> and <bp-asm.h>.
23338 (memcmp): Don't use BP_SYM.
23339 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23340 <bp-sym.h> and <bp-asm.h>.
23341 (memcpy): Don't use BP_SYM.
23342 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23343 <bp-sym.h> and <bp-asm.h>.
23344 (memset): Don't use BP_SYM.
23345 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23346 <bp-sym.h> and <bp-asm.h>.
23347 (strncmp): Don't use BP_SYM.
23348 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23349 <bp-sym.h> and <bp-asm.h>.
23350 (memcpy): Don't use BP_SYM.
23351 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23352 <bp-sym.h> and <bp-asm.h>.
23353 (memset): Don't use BP_SYM.
23354 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23355 <bp-sym.h> and <bp-asm.h>.
23356 (__memchr): Don't use BP_SYM.
23357 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23358 <bp-sym.h> and <bp-asm.h>.
23359 (memcmp): Don't use BP_SYM.
23360 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23361 <bp-sym.h> and <bp-asm.h>.
23362 (memcpy): Don't use BP_SYM.
23363 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23364 <bp-sym.h> and <bp-asm.h>.
23365 (__mempcpy): Don't use BP_SYM.
23366 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23367 <bp-sym.h> and <bp-asm.h>.
23368 (__memrchr): Don't use BP_SYM.
23369 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23370 <bp-sym.h> and <bp-asm.h>.
23371 (memset): Don't use BP_SYM.
23372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23373 <bp-sym.h> and <bp-asm.h>.
23374 (__rawmemchr): Don't use BP_SYM.
23375 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23376 <bp-sym.h> and <bp-asm.h>.
23377 (__STRCMP): Don't use BP_SYM.
23378 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23379 <bp-sym.h> and <bp-asm.h>.
23380 (strchr): Don't use BP_SYM.
23381 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23382 <bp-sym.h> and <bp-asm.h>.
23383 (__strchrnul): Don't use BP_SYM.
23384 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23385 <bp-sym.h> and <bp-asm.h>.
23386 (strlen): Don't use BP_SYM.
23387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23388 <bp-sym.h> and <bp-asm.h>.
23389 (strncmp): Don't use BP_SYM.
23390 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23391 <bp-sym.h> and <bp-asm.h>.
23392 (__strnlen): Don't use BP_SYM.
23393 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23394 <bp-asm.h>.
23395 (__mpn_rshift): Don't use BP_SYM.
23396 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23397 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23398 <bp-sym.h> and <bp-asm.h>.
23399 (__sigsetjmp): Don't use BP_SYM.
23400 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23401 (L(start_addresses)): Don't use BP_SYM.
23402 (_start): Likewise.
23403 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23404 <bp-asm.h>.
23405 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23406 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23407 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23408 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23409 <bp-asm.h>.
23410 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23411 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23412 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23413 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23414 <bp-asm.h>.
23415 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23416 comments.
23417 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23418 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23419 <bp-asm.h>.
23420 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23421 FIXME comments.
23422 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23423 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23424 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23425 <bp-asm.h>.
23426 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23427 comment.
23428 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23429 and <bp-asm.h>.
23430 (strncmp): Don't use BP_SYM,
23431 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23432 <bp-asm.h>.
23433 (__mpn_sub_n): Don't use BP_SYM.
23434 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23435 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23436 and <bp-asm.h>.
23437 (__mpn_submul_1): Don't use BP_SYM.
23438 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23440 <bp-sym.h> and <bp-asm.h>.
23441 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23443 <bp-sym.h> and <bp-asm.h>.
23444 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23445 comment.
23446
8d19fe64
SP
234472013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23448
23449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23450 Use ZK to minimize writes to Z.
23451 (sub_magnitudes): Simplify code a bit.
23452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23453 Use ZK to minimize writes to Z.
23454 (sub_magnitudes): Simplify code a bit.
23455
85bd816a
RM
234562013-02-27 Roland McGrath <roland@hack.frob.com>
23457
23458 * csu/gmon-start.c: Add special exception to license text.
23459
b5977bf2
RH
234602013-02-27 Richard Henderson <rth@redhat.com>
23461
23462 * scripts/config.guess: Update from config.git.
23463 * scripts/config.sub: Likewise.
23464
11d6e2f2
SP
234652013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23466
09c14ed2
SP
23467 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23468
a688864e
SP
23469 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23470
6295157a
SP
23471 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23472
b8de2202
SP
23473 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23474
11d6e2f2
SP
23475 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23476
7e80ddb8
RM
234772013-02-26 Roland McGrath <roland@hack.frob.com>
23478
23479 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23480 [$(build-shared = yes].
7e80ddb8 23481
7da6d9ed
SP
234822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23483
45f05884
SP
23484 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23485 (__mul): Reduce iterations for calculating mantissa.
23486
2236d359
SP
23487 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23488 MPTWO.
23489 (__mpranred): Likewise.
23490
7da6d9ed
SP
23491 [BZ #15160]
23492 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23493 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23494
b7688c42
PE
234952013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23496
23497 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23498 Define __attribute__.
23499
53a5c423
SP
235002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23501
23502 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23503 unused.
23504 * posix/regex_internal.h (__attribute): Remove.
23505 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23506 (re_string_context_at): Likewise.
23507 (bitset_not): Use __attribute__ and mark function as possibly
23508 unused.
23509 (bitset_merge): Likewise.
23510 (bitset_mask): Likewise.
23511 (re_string_char_size_at): Likewise.
23512 (re_string_wchar_at): Likewise.
23513 (re_string_elem_size_at): Likewise.
23514
60f5a8b5
SP
235152013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23516
2a983a2e
SP
23517 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23518 code.
23519 (cc32): Likewise.
23520
e69804d1
SP
23521 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23522 (__acr): Likewise.
23523 (__cpy): Likewise.
23524 (norm): Likewise.
23525 (denorm): Likewise.
23526 (__dbl_mp): Likewise.
23527 (add_magnitudes): Likewise.
23528 (sub_magnitudes): Likewise.
23529 (__mul): Likewise.
23530 (__inv): Likewise.
23531
2f22a1e8
SP
23532 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23533 style.
23534
8930ddc7
SP
23535 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23536 style.
23537
dc60cb11
SP
23538 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23539 code.
23540
60f5a8b5
SP
23541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23542 up changes with default code.
23543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23544 Likewise.
23545
b4d1fd33
AM
235462013-02-24 Allan McRae <allan@archlinux.org>
23547
faf6f8bc
AM
23548 * manual/socket.texi (The Internet Namespace): Order menu items
23549 to match that in the file.
23550
b4d1fd33
AM
23551 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23552 node listing of the info page menu.
23553
2366713d
JM
235542013-02-21 Joseph Myers <joseph@codesourcery.com>
23555
23556 [BZ #13550]
23557 * sysdeps/i386/bp-asm.h: Remove file.
23558 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23559 (PARMS): Do not use macros from bp-asm.h.
23560 (S1): Likewise.
23561 (S2): Likewise.
23562 (SIZE): Likewise.
23563 (__mpn_add_n): Do not use BP_SYM
23564 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23565 "bp-asm.h".
23566 (PARMS): Do not use macros from bp-asm.h.
23567 (S1): Likewise.
23568 (SIZE): Likewise.
23569 (__mpn_addmul_1): Do not use BP_SYM
23570 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23571 "bp-asm.h".
23572 (PARMS): Do not use macros from bp-asm.h.
23573 (SIGMSK): Likewise.
23574 (_setjmp): Likewise. Do not use BP_SYM.
23575 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23576 "bp-asm.h".
23577 (PARMS): Do not use macros from bp-asm.h.
23578 (SIGMSK): Likewise.
23579 (setjmp): Likewise. Do not use BP_SYM.
23580 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23581 "bp-asm.h".
23582 (PARMS): Do not use macros from bp-asm.h.
23583 (__frexp): Do not use BP_SYM.
23584 (frexp): Likewise.
23585 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23586 "bp-asm.h".
23587 (PARMS): Do not use macros from bp-asm.h.
23588 (__frexpf): Do not use BP_SYM.
23589 (frexpf): Likewise.
23590 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23591 "bp-asm.h".
23592 (PARMS): Do not use macros from bp-asm.h.
23593 (__frexpl): Do not use BP_SYM.
23594 (frexpl): Likewise.
23595 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23596 "bp-asm.h".
23597 (PARMS): Do not use macros from bp-asm.h.
23598 (__remquo): Do not use BP_SYM.
23599 (remquo): Likewise.
23600 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23601 "bp-asm.h".
23602 (PARMS): Do not use macros from bp-asm.h.
23603 (__remquof): Do not use BP_SYM.
23604 (remquof): Likewise.
23605 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23606 "bp-asm.h".
23607 (PARMS): Do not use macros from bp-asm.h.
23608 (__remquol): Do not use BP_SYM.
23609 (remquol): Likewise.
23610 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23611 "bp-asm.h".
23612 (PARMS): Do not use macros from bp-asm.h.
23613 (DEST): Likewise.
23614 (SRC): Likewise.
23615 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23616 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23617 "bp-asm.h".
23618 (PARMS): Do not use macros from bp-asm.h.
23619 (strlen): Do not use BP_SYM.
23620 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23621 "bp-asm.h".
23622 (PARMS): Do not use macros from bp-asm.h.
23623 (S1): Likewise.
23624 (S2): Likewise.
23625 (SIZE): Likewise.
23626 (__mpn_add_n): Do not use BP_SYM.
23627 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23628 "bp-asm.h".
23629 (PARMS): Do not use macros from bp-asm.h.
23630 (S1): Likewise.
23631 (SIZE): Likewise.
23632 (__mpn_addmul_1): Do not use BP_SYM.
23633 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23634 weak_alias.
23635 (bzero): Likewise.
23636 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23637 "bp-asm.h".
23638 (PARMS): Do not use macros from bp-asm.h.
23639 (S): Likewise.
23640 (SIZE): Likewise.
23641 (__mpn_lshift): Do not use BP_SYM.
23642 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23643 "bp-asm.h".
23644 (PARMS): Do not use macros from bp-asm.h.
23645 (DEST): Likewise.
23646 (SRC): Likewise.
23647 (LEN): Likewise.
23648 (memcpy): Likewise. Do not use BP_SYM.
23649 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23650 libc_hidden_def and weak_alias.
23651 (mempcpy): Do not use BP_SYM in weak_alias.
23652 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23653 "bp-asm.h".
23654 (PARMS): Do not use macros from bp-asm.h.
23655 (DEST): Likewise.
23656 (LEN): Likewise.
23657 [!BZERO_P] (CHR): Likewise.
23658 (memset): Likewise. Do not use BP_SYM.
23659 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23660 "bp-asm.h".
23661 (PARMS): Do not use macros from bp-asm.h.
23662 (S1): Likewise.
23663 (SIZE): Likewise.
23664 (__mpn_mul_1): Do not use BP_SYM.
23665 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23666 "bp-asm.h".
23667 (PARMS): Do not use macros from bp-asm.h.
23668 (S): Likewise.
23669 (SIZE): Likewise.
23670 (__mpn_rshift): Do not use BP_SYM.
23671 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23672 "bp-asm.h".
23673 (PARMS): Do not use macros from bp-asm.h.
23674 (STR): Likewise.
23675 (CHR): Likewise.
23676 (strchr): Likewise. Do not use BP_SYM.
23677 (index): Do not use BP_SYM in weak_alias.
23678 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23679 "bp-asm.h".
23680 (PARMS): Do not use macros from bp-asm.h.
23681 (DEST): Likewise.
23682 (SRC): Likewise.
23683 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23684 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23685 "bp-asm.h".
23686 (PARMS): Do not use macros from bp-asm.h.
23687 (strlen): Do not use BP_SYM.
23688 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23689 "bp-asm.h".
23690 (PARMS): Do not use macros from bp-asm.h.
23691 (S1): Likewise.
23692 (S2): Likewise.
23693 (SIZE): Likewise.
23694 (__mpn_sub_n): Do not use BP_SYM.
23695 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23696 "bp-asm.h".
23697 (PARMS): Do not use macros from bp-asm.h.
23698 (S1): Likewise.
23699 (SIZE): Likewise.
23700 (__mpn_submul_1): Do not use BP_SYM.
23701 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23702 "bp-asm.h".
23703 (PARMS): Do not use macros from bp-asm.h.
23704 (S1): Likewise.
23705 (S2): Likewise.
23706 (SIZE): Likewise.
23707 (__mpn_add_n): Do not use BP_SYM.
23708 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23709 weak_alias.
23710 (bzero): Likewise.
23711 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23712 "bp-asm.h".
23713 (PARMS): Do not use macros from bp-asm.h.
23714 (BLK2): Likewise.
23715 (LEN): Likewise.
23716 (memcmp): Do not use BP_SYM.
23717 (bcmp): Do not use BP_SYM in weak_alias.
23718 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23719 "bp-asm.h".
23720 (PARMS): Do not use macros from bp-asm.h.
23721 (DEST): Likewise.
23722 (SRC): Likewise.
23723 (LEN): Likewise.
23724 (memcpy): Likewise. Do not use BP_SYM.
23725 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23726 "bp-asm.h".
23727 (PARMS): Do not use macros from bp-asm.h.
23728 (DEST): Likewise.
23729 (SRC): Likewise.
23730 (LEN): Likewise.
23731 (memmove): Likewise. Do not use BP_SYM.
23732 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23733 "bp-asm.h".
23734 (PARMS): Do not use macros from bp-asm.h.
23735 (DEST): Likewise.
23736 (SRC): Likewise.
23737 (LEN): Likewise.
23738 (__mempcpy): Likewise. Do not use BP_SYM.
23739 (mempcpy): Do not use BP_SYM in weak_alias.
23740 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23741 "bp-asm.h".
23742 (PARMS): Do not use macros from bp-asm.h.
23743 (DEST): Likewise.
23744 (LEN): Likewise.
23745 [!BZERO_P] (CHR): Likewise.
23746 (memset): Likewise. Do not use BP_SYM.
23747 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23748 "bp-asm.h".
23749 (PARMS): Do not use macros from bp-asm.h.
23750 (STR2): Likewise.
23751 (strcmp): Do not use BP_SYM.
23752 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23753 "bp-asm.h".
23754 (PARMS): Do not use macros from bp-asm.h.
23755 (STR): Likewise.
23756 (DELIM): Likewise.
23757 [USE_AS_STRTOK_R] (SAVE): Likewise.
23758 (FUNCTION): Likewise. Do not use BP_SYM.
23759 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23760 aliases.
23761 (strtok_r): Likewise.
23762 (__GI___strtok_r): Likewise.
23763 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23764 (PARMS): Do not use macros from bp-asm.h.
23765 (S): Likewise.
23766 (SIZE): Likewise.
23767 (__mpn_lshift): Do not use BP_SYM.
23768 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23769 (PARMS): Do not use macros from bp-asm.h.
23770 (STR): Likewise.
23771 (CHR): Likewise.
23772 (__memchr): Do not use BP_SYM.
23773 (memchr): Do not use BP_SYM in weak_alias.
23774 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23775 (PARMS): Do not use macros from bp-asm.h.
23776 (BLK2): Likewise.
23777 (LEN): Likewise.
23778 (memcmp): Do not use BP_SYM.
23779 (bcmp): Do not use BP_SYM in weak_alias.
23780 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23781 (PARMS): Do not use macros from bp-asm.h.
23782 (S1): Likewise.
23783 (SIZE): Likewise.
23784 (__mpn_mul_1): Do not use BP_SYM.
23785 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23786 "bp-asm.h".
23787 (PARMS): Do not use macros from bp-asm.h.
23788 (STR): Likewise.
23789 (CHR): Likewise.
23790 (__rawmemchr): Do not use BP_SYM.
23791 (rawmemchr): Do not use BP_SYM in weak_alias.
23792 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23793 (PARMS): Do not use macros from bp-asm.h.
23794 (S): Likewise.
23795 (SIZE): Likewise.
23796 (__mpn_rshift): Do not use BP_SYM.
23797 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23798 (PARMS): Do not use macros from bp-asm.h.
23799 (SIGMSK): Likewise.
23800 (__sigsetjmp): Likewise. Do not use BP_SYM.
23801 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23802 (_start): Do not use BP_SYM.
23803 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23804 (PARMS): Do not use macros from bp-asm.h.
23805 (DEST): Likewise.
23806 (SRC): Likewise.
23807 (__stpcpy): Likewise. Do not use BP_SYM.
23808 (stpcpy): Do not use BP_SYM in weak_alias.
23809 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23810 "bp-asm.h".
23811 (PARMS): Do not use macros from bp-asm.h.
23812 (DEST): Likewise.
23813 (SRC): Likewise.
23814 (LEN): Likewise.
23815 (__stpncpy): Likewise. Do not use BP_SYM.
23816 (stpncpy): Do not use BP_SYM in weak_alias.
23817 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23818 (PARMS): Do not use macros from bp-asm.h.
23819 (STR): Likewise.
23820 (CHR): Likewise.
23821 (strchr): Likewise. Do not use BP_SYM.
23822 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23823 "bp-asm.h".
23824 (PARMS): Do not use macros from bp-asm.h.
23825 (STR): Likewise.
23826 (CHR): Likewise.
23827 (__strchrnul): Likewise. Do not use BP_SYM.
23828 (strchrnul): Do not use BP_SYM in weak_alias.
23829 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23830 "bp-asm.h".
23831 (PARMS): Do not use macros from bp-asm.h.
23832 (STOP): Likewise.
23833 (strcspn): Do not use BP_SYM.
23834 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23835 "bp-asm.h".
23836 (PARMS): Do not use macros from bp-asm.h.
23837 (STR): Likewise.
23838 (STOP): Likewise.
23839 (strpbrk): Likewise. Do not use BP_SYM.
23840 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23841 "bp-asm.h".
23842 (PARMS): Do not use macros from bp-asm.h.
23843 (STR): Likewise.
23844 (CHR): Likewise.
23845 (strrchr): Likewise. Do not use BP_SYM.
23846 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23847 (PARMS): Do not use macros from bp-asm.h.
23848 (SKIP): Likewise.
23849 (strspn): Do not use BP_SYM.
23850 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23851 (PARMS): Do not use macros from bp-asm.h.
23852 (STR): Likewise.
23853 (DELIM): Likewise.
23854 (SAVE): Likewise.
23855 (FUNCTION): Likewise. Do not use BP_SYM.
23856 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23857 aliases.
23858 (strtok_r): Likewise.
23859 (__GI___strtok_r): Likewise.
23860 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23861 (PARMS): Do not use macros from bp-asm.h.
23862 (S1): Likewise.
23863 (S2): Likewise.
23864 (SIZE): Likewise.
23865 (__mpn_sub_n): Do not use BP_SYM.
23866 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23867 "bp-asm.h".
23868 (PARMS): Do not use macros from bp-asm.h.
23869 (S1): Likewise.
23870 (SIZE): Likewise.
23871 (__mpn_submul_1): Do not use BP_SYM.
23872 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23873 <bp-sym.h>.
23874 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23875 and <bp-asm.h>.
23876 (PARMS): Do not use macros from bp-asm.h.
23877 (FLAGS): Likewise.
23878 (PTID): Likewise.
23879 (TLS): Likewise.
23880 (CTID): Likewise.
23881 (__clone): Do not use BP_SYM.
23882 (clone): Do not use BP_SYM in weak_alias.
23883 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23884 and <bp-asm.h>.
23885 (PARMS): Do not use macros from bp-asm.h.
23886 (LEN): Likewise.
23887 (__mmap64): Do not use BP_SYM.
23888 (mmap64): Do not use BP_SYM in weak_alias.
23889 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23890 <bp-sym.h> and <bp-asm.h>.
23891 (PARMS): Do not use macros from bp-asm.h.
23892 (__posix_fadvise64_l64): Do not use BP_SYM.
23893 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23894 (PARMS): Do not use macros from bp-asm.h.
23895 (NSOPS): Likewise.
23896 (semtimedop): Do not use BP_SYM.
23897 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23898 and <bp-asm.h>.
23899
582a3cff
AM
239002013-02-21 Allan McRae <allan@archlinux.org>
23901
23902 * manual/message.texi (Charset conversion in gettext):
23903 Move @end statement to beginning of line.
23904
bab8a695
SP
239052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23906
80945231
SP
23907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23908 static.
23909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23910 Likewise.
23911
bab8a695
SP
23912 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23913 (denorm): Likewise.
23914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23916
e21d7aa7
AK
239172013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23918
23919 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23920 tail-call to the resolved function if pltexit isn't needed.
23921
4c7a4263
SP
239222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23923
23924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23925 or Y being zero as being unlikely.
23926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23927 Likewise.
23928
41f49342
CD
239292013-02-20 Carlos O'Donell <carlos@redhat.com>
23930
23931 * manual/nss.texi (System Databases and Name Service Switch):
23932 Remove frobnicate @pxref.
23933
50022a93
TS
239342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23935
23936 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23937 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23938
08cbd996
PM
239392013-02-20 Petr Machata <pmachata@redhat.com>
23940
23941 * elf/elf.h (R_ARM_TARGET1): New macro.
23942 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23943 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23944 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23945 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23946 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23947 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23948 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23949 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23950 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23951 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23952 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23953 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23954 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23955 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23956 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23957 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23958 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23959 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23960 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23961 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23962 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23963 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23964 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23965 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23966 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23967 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23968 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23969 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23970 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23971 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23972 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23973 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23974 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23975 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23976 (R_ARM_THM_GOT_BREL12): Likewise.
23977 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23978 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23979 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23980 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23981 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23982 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23983 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23984 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23985 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23986
c7b275d6
TS
239872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23988
23989 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23990 __attribute_used__ to __attribute__ ((unused)).
23991
20cd7fb3
SP
239922013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23993
23994 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23995 powerpc mpa.c.
23996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23997 comment formatting.
23998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23999
92945b52
JM
240002013-02-19 Joseph Myers <joseph@codesourcery.com>
24001
24002 [BZ #13550]
24003 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24004 Remove macro.
24005 (ENTER): Remove both macro definitions.
24006 (LEAVE): Likewise.
24007 (CHECK_BOUNDS_LOW): Likewise.
24008 (CHECK_BOUNDS_HIGH): Likewise.
24009 (CHECK_BOUNDS_BOTH): Likewise.
24010 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24011 (RETURN_BOUNDED_POINTER): Likewise.
24012 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24013 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24014 (POP_ERRNO_LOCATION_RETURN): Likewise.
24015 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24016 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24017 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24018 macros.
24019 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24020 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24021 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24022 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24023 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24024 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24025 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24026 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24027 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24028 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24029 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24030 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24031 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24032 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24033 removed macros.
24034 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24035 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24036 macros.
24037 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24038 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24039 * sysdeps/i386/i586/memset.S (memset): Likewise.
24040 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24041 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24042 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24043 macros.
24044 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24045 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24046 Change uses of L(2) to L(out).
24047 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24048 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24049 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24050 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24051 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24052 removed macros.
24053 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24054 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24055 macros.
24056 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24057 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24058 (RETURN): Do not use macro LEAVE.
24059 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24060 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24061 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24062 * sysdeps/i386/i686/memset.S (memset): Likewise.
24063 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24064 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24065 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24066 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24067 Likewise.
24068 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24069 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24070 L(1_2) and L(1_3) into L(1).
24071 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24072 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24073 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24074 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24075 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24076 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24077 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24078 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24079 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24080 macros.
24081 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24082 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24083 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24084 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24085 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24086 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24087 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24088 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24089 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24090 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24091 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24092 * sysdeps/i386/strspn.S (strspn): Likewise.
24093 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24094 conditional code.
24095 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24096 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24097 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24098 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24099 L(1_3) into L(1_1).
24100 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24101 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24102 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24103 macros.
24104 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24105
2389741a
JJ
241062013-02-19 Jakub Jelinek <jakub@redhat.com>
24107
24108 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24109 macro.
24110
2016b3cd
SP
241112013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24112
e4f22324
SP
24113 * math/atest-exp.c (exp_mpn): Remove ROUND.
24114 * math/atest-exp2.c (exp_mpn): Likewise.
24115 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24116
2016b3cd
SP
24117 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24118 * stdlib/tst-tls-atexit-lib.c: Likewise.
24119 * stdlib/tst-tls-atexit.c: Likewise.
24120
4be9b544
MF
241212013-02-18 Mike Frysinger <vapier@gentoo.org>
24122
24123 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24124 and __attribute_alloc_size__.
24125
2f62b9ee
MF
241262013-02-18 Mike Frysinger <vapier@gentoo.org>
24127
24128 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24129 __attribute_alloc_size__.
24130 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24131 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24132
6ff444c4
MF
241332013-02-18 Mike Frysinger <vapier@gentoo.org>
24134
24135 * include/programs/xmalloc.h: New file.
24136 * catgets/gencat.c: Include it.
24137 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24138 * elf/pldd.c: Likewise.
24139 * iconv/iconv_charmap.c: Likewise.
24140 * iconv/iconvconfig.c: Likewise.
24141 * iconv/strtab.c: Likewise.
24142 * locale/programs/locale.c: Likewise.
24143 * locale/programs/localedef.h: Likewise.
24144 * locale/programs/simple-hash.c: Likewise.
24145 * nscd/nscd.h: Likewise.
24146 * nss/makedb.c: Likewise.
24147 * sysdeps/generic/ldconfig.h: Likewise.
24148
be179c8a
SP
241492013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24150
ba384f6e
SP
24151 * Versions.def: Add GLIBC_2.18.
24152 * include/link.h (struct link_map): New member l_tls_dtor_count.
24153 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24154 (__call_tls_dtors): Likewise.
24155 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24156 __cxa_thread_atexit_impl.
24157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24158 Likewise.
24159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24160 Likewise.
24161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24162 Likewise.
24163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24164 Likewise.
24165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24167 Likewise.
24168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24169 Likewise.
24170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24172 Likewise.
24173 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24174 (tests): Add test case tst-tls-atexit.
24175 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24176 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24177 (GLIBC_PRIVATE): Add __call_tls_dtors.
24178 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24179 for libstdc++.
24180 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24181 * stdlib/tst-tls-atexit.c: New test case.
24182 * stdlib/tst-tls-atexit-lib.c: New test case.
24183
ffaa74cf 24184 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24185
be179c8a
SP
24186 * elf/Versions (ld): Add _dl_find_dso_for_object.
24187 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24188 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24189 (dl_open_worker): Use _dl_find_dso_for_object.
24190 * elf/dl-sym.c (do_sym): Likewise.
24191 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24192
f78b5caa
AK
241932013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24194
24195 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24196 Syntactic changes only.
24197 (_dl_runtime_profile): Do a tail-call to the resolved function.
24198
29691210
JM
241992013-02-17 Joseph Myers <joseph@codesourcery.com>
24200
24201 [BZ #13550]
24202 * sysdeps/x86_64/bp-asm.h: Remove file.
24203 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24204 <bp-sym.h> and <bp-asm.h>.
24205 (__clone): Do not use BP_SYM.
24206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24207 <bp-sym.h> and <bp-asm.h>.
24208 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24209 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24210 "bp-asm.h".
24211 (_setjmp): Do not use BP_SYM.
24212 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24213 "bp-asm.h".
24214 (setjmp): Do not use BP_SYM.
24215 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24216 libc_hidden_def.
24217 (mempcpy): Do not use BP_SYM in weak_alias.
24218 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24219 "bp-asm.h".
24220 (strchr): Do not use BP_SYM.
24221 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24222 "bp-asm.h".
24223 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24224 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24225 (_start): Do not use BP_SYM.
24226 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24227 "bp-asm.h".
24228 (strcat): Do not use BP_SYM.
24229 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24230 "bp-asm.h".
24231 (STRCMP): Do not use BP_SYM.
24232 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24233 "bp-asm.h".
24234 (STRCPY): Do not use BP_SYM.
24235 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24236 "bp-asm.h".
24237 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24238 "bp-asm.h".
24239 (FUNCTION): Do not use BP_SYM.
24240 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24241 weak_alias.
24242 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24243
f238fd19
AJ
242442013-02-17 Andreas Jaeger <aj@suse.de>
24245
24246 * time/Versions: Sort entries.
24247 * string/Versions: Likewise.
24248 * resolv/Versions: Likewise.
24249 * posix/Versions: Likewise.
24250 * iconv/Versions: Likewise.
24251 * elf/Versions: Likewise.
24252 * wcsmbs/Versions: Likewise.
24253
bd07f23c 242542013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24255
22af19f9
SP
24256 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24257 loop termination condition.
24258
4709fe76
SP
24259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24260 variable to calculate EZ.
24261 (__sqr): Likewise.
2d0e0f29
SP
24262
24263 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24264 the lower precision input.
24265
daaa7713
JM
242662013-02-15 Joseph Myers <joseph@codesourcery.com>
24267
24268 [BZ #13550]
24269 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24270 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24271 (run-via-rtld-prefix): Do not handle %-bp tests.
24272 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24273 (all-object-suffixes): Remove .ob.
24274 (bppfx): Remove variable.
24275 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24276 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24277 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24278 [$(build-bounded) = yes] (libtype.ob): Likewise.
24279 * Makerules (elide-routines.ob): Remove variable.
24280 (do-tests-clean): Do not handle *-bp.out.
24281 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24282 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24283 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24284 (tests): Do not include $(tests-bp.out).
24285 (xtests): Do not include $(xtests-bp.out).
24286 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24287 [$(build-bounded) = yes] ($(addprefix
24288 $(objpfx),$(binaries-bounded))): Remove rule.
24289 ($(objpfx)%-bp.out): Remove rule.
24290 * config.make.in (build-bounded): Remove variable.
24291 * crypt/Makefile [$(build-bounded) = yes]
24292 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24293 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24294 append to variable.
24295 [$(build-bounded) = yes] (install-lib): Likewise.
24296 [$(build-bounded) = yes] (generated): Likewise.
24297 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24298 Remove rule.
24299 * intl/Makefile [$(build-bounded) = yes]
24300 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24301 * math/Makefile [$(build-bounded) = yes]
24302 ($(tests:%=$(objpfx)%-bp): Likewise.
24303 * misc/Makefile [$(build-bounded) = yes]
24304 ($(objpfx)tst-tsearch-bp): Likewise.
24305 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24306 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24307 Remove dependency.
24308 * string/Makefile (o-objects.ob): Remove variable.
24309 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24310 (CFLAGS-.ob): Remove variable.
24311 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24312 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24313 both definitions of variable.
24314 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24315 (ASFLAGS-.ob): Remove variable.
24316
e97ed6dd
JM
243172013-02-14 Joseph Myers <joseph@codesourcery.com>
24318
2bdd4ca6
JM
24319 [BZ #13550]
24320 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24321 Remove __BOUNDED_POINTERS__ from condition.
24322 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24323 * string/bits/string2.h [!__NO_STRING_INLINES &&
24324 !__BOUNDED_POINTERS__]: Likewise.
24325 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24326 Likewise.
24327 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24328 Remove conditional code.
24329 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24330 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24331 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24332 condition.
24333
e97ed6dd
JM
24334 [BZ #13550]
24335 * csu/libc-start.c: Do not include <bp-sym.h>.
24336 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24337 * elf/dl-open.c: Do not include <bp-sym.h>.
24338 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24339 * math/fegetenv.c: Do not include <bp-sym.h>.
24340 (fegetenv): Do not use BP_SYM in versioned symbols.
24341 * nptl/sysdeps/pthread/bits/libc-lockP.h
24342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24343 <bp-sym.h>.
24344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24345 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24347 (__pthread_mutex_destroy): Likewise.
24348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24349 (__pthread_mutex_lock): Likewise.
24350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24351 (__pthread_mutex_trylock): Likewise.
24352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24353 (__pthread_mutex_unlock): Likewise.
24354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24355 (__pthread_mutexattr_init): Likewise.
24356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24357 (__pthread_mutexattr_destroy): Likewise.
24358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24359 (__pthread_mutexattr_settype): Likewise.
24360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24361 (__pthread_rwlock_init): Likewise.
24362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24363 (__pthread_rwlock_destroy): Likewise.
24364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24365 (__pthread_rwlock_rdlock): Likewise.
24366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24367 (__pthread_rwlock_tryrdlock): Likewise.
24368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24369 (__pthread_rwlock_wrlock): Likewise.
24370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24371 (__pthread_rwlock_trywrlock): Likewise.
24372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24373 (__pthread_rwlock_unlock): Likewise.
24374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24375 (__pthread_key_create): Likewise.
24376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24377 (__pthread_setspecific): Likewise.
24378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24379 (__pthread_getspecific): Likewise.
24380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24381 Likewise.
24382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24383 (_pthread_cleanup_push_defer): Likewise.
24384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24385 (_pthread_cleanup_pop_restore): Likewise.
24386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24387 (pthread_setcancelstate): Likewise.
24388 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24389 <bp-sym.h>.
24390 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24391 (memchr): Do not use BP_SYM in weak_alias.
24392 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24393 (fegetenv): Do not use BP_SYM in versioned symbols.
24394 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24395 (fesetenv): Do not use BP_SYM in versioned symbols.
24396 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24397 (feupdateenv): Do not use BP_SYM in versioned symbols.
24398 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24399 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24400 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24401 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24402 (open64): Do not use BP_SYM in weak_alias.
24403 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24404 (fegetenv): Do not use BP_SYM in versioned symbols.
24405 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24406 (fesetenv): Do not use BP_SYM in versioned symbols.
24407 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24408 (feupdateenv): Do not use BP_SYM in versioned symbols.
24409 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24410 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24411 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24412 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24413 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24414 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24415 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24416 <bp-sym.h>.
24417 (__libc_start_main): Do not use BP_SYM.
24418
d6752ccd
SP
244192013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24420
cb57ce60
SP
24421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24422 redundant return line.
24423 (norm): Likewise.
24424 (denorm): Likewise.
24425 (dbl_mp): Likewise.
24426 (sub_magnitudes): Likewise.
24427 (__add): Likewise.
24428 (__sub): Likewise.
24429 (__mul): Likewise.
24430 (__inv): Likewise.
24431 (__dvd): Likewise.
24432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24433 (norm): Likewise.
24434 (denorm): Likewise.
24435 (dbl_mp): Likewise.
24436 (sub_magnitudes): Likewise.
24437 (__add): Likewise.
24438 (__sub): Likewise.
24439 (__mul): Likewise.
24440 (__inv): Likewise.
24441 (__dvd): Likewise.
24442
f414520d
SP
24443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24444 instead of __mul.
24445 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24446 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24447 (cc32): Likewise.
24448
d6752ccd
SP
24449 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24450 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24452 of __mul for squares.
24453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24454 function
24455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24456 Likewise.
24457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24458 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24459
70d9946a
JM
244602013-02-13 Joseph Myers <joseph@codesourcery.com>
24461
24462 [BZ #13550]
24463 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24464 code.
24465 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24466 prototype or function definition. Rename ubp_* variables and
24467 parameters. Remove argv definitions conditional on
24468 [__BOUNDED_POINTERS__].
24469 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24470 * elf/dl-runtime.c (_dl_fixup): Likewise.
24471 * include/set-hooks.h (RUN_HOOK): Likewise.
24472 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24473 definition.
24474 * string/strcpy.c (strcpy): Do not use __unbounded.
24475 * sysdeps/generic/frame.h (struct layout): Likewise.
24476 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24477 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24478 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24479 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24480 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24481 (__backtrace): Likewise.
24482 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24483 use __ptrvalue.
24484 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24485 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24486 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24487 Likewise.
24488 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24489 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24490 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24491 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24492 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24493 Do not use __unbounded.
24494 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24495 Rename __unboundedrlimits parameter to rlimits in prototype.
24496 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24497 Do not use __unbounded.
24498 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24499 not use __ptrvalue.
24500 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24501 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24502 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24503 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24504 __ptrvalue or __unbounded.
24505 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24506 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24507 use __unbounded.
24508 (__new_msgctl): Do not use __ptrvalue.
24509 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24510 __unbounded.
24511 (__libc_msgrcv): Do not use __ptrvalue.
24512 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24513 startup_info): Do not use __unbounded.
24514 (__libc_start_main): Likewise. Rename ubp_* variables and
24515 parameters. Remove argv definitions conditional on
24516 [__BOUNDED_POINTERS__].
24517 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24518 __ptrvalue.
24519 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24520 use __unbounded.
24521 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24522 or __ptrvalue.
24523 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24524 use __unbounded.
24525 (__new_shmctl): Do not use __ptrvalue.
24526 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24527 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24528 Likewise.
24529 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24530 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24531 (__libc_sigaction): Likewise.
24532 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24533 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24534 Likewise.
24535 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24536
cc7834d6
OB
245372013-02-13 Ondřej Bílka <neleai@seznam.cz>
24538
ffb1ec7b 24539 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24540
24541 * string/mempcpy.c: Implement by calling memcpy.
24542
bdf02814
SP
245432013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24544
c2af38aa
SP
24545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24546
4e92d59e
SP
24547 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24548 evaluation.
24549
909279a5
SP
24550 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24551 values in the mantissa.
24552
bdf02814
SP
24553 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24554 minimize writes to Z.
24555 (sub_magnitudes): Simplify code a bit.
24556
cd525923
RM
245572013-02-12 Roland McGrath <roland@hack.frob.com>
24558
24559 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24560 from the message. The linker prefixes all warnings with that already.
24561
7e2f0d2d
AS
245622013-02-12 Andreas Schwab <schwab@suse.de>
24563
a445af0b
AS
24564 [BZ #15078]
24565 * posix/regexec.c (extend_buffers): Add parameter min_len.
24566 (check_matching): Pass minimum needed length.
24567 (clean_state_log_if_needed): Likewise.
24568 (get_subexp): Likewise.
24569 * posix/Makefile (tests): Add bug-regex34.
24570 (bug-regex34-ENV): Define.
24571 * posix/bug-regex34.c: New file.
24572
7e2f0d2d
AS
24573 [BZ #11561]
24574 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24575 elements compare against the byte sequence of it, not its name.
24576 * posix/Makefile (tests): Add bug-regex35.
24577 (bug-regex35-ENV): Define.
24578 * posix/bug-regex35.c: New file.
24579
a175b684
TV
245802013-02-11 Tom de Vries <tom@codesourcery.com>
24581
24582 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24583 comment.
24584 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24585 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24586 (CHECK_EOL): Add undef.
24587
310998fe 245882013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24589
24590 * bits/stdlib-bsearch.h: New file.
24591 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24592 * stdlib/stdlib.h: Likewise.
41eda41d 24593
8ded91fb
RM
245942013-02-11 Roland McGrath <roland@hack.frob.com>
24595
24596 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24597 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24598 declaration.
24599 * manual/search.texi (Array Search Function): Add missing const in
24600 lfind prototype.
24601 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24602 declaration to use rlim_t.
24603 (Basic Scheduling Functions): Remove erroneous const from
24604 sched_getparam prototype. Remove erroneous * from
24605 sched_get_priority_max and sched_get_priority_min prototypes.
24606 (Resource Usage): Fix summary @comment on vtimes to refer to
24607 sys/vtimes.h rather than vtimes.h.
24608 Add missing *s in vtimes prototype.
24609 (Limits on Resources): Fix ulimit prototype to return long int.
24610 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24611 prototypes to use long int rather than double.
24612 (BSD Random): Fix initstate and setstate to use char *, not void *.
24613 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24614 prototype to make second argument 'struct aiocb64 *const[]'.
24615 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24616 (Status of AIO Operations): Remove erroneous const in aio_return and
24617 aio_return64 prototypes.
24618 (Synchronizing I/O): Fix sync prototype to return void.
24619 * manual/startup.texi (Suboptions): Remove an erroneous const in
24620 getsubopt prototype.
24621 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24622 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24623 use size_t rather than int.
24624 (Scanning All Users): Likewise for getpwent_r.
24625 (Setting Groups): Add missing const to setgroups prototype.
24626 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24627 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24628 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24629 'const void *' rather than 'const char *'.
24630 (Host Address Functions): Likewise for inet_ntop.
24631 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24632 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24633 ssize_t for return value.
24634 (Sending Data): Likewise for send, sendto, sendmsg.
24635 (Socket Option Functions): Add a missing const in setsockopt prototype.
24636 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24637 use wchar_t for the argument.
24638 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24639 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24640 take no arguments.
24641 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24642 double/float/long double for second argument.
24643 Fix return types of significand, significandf, significandl.
24644 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24645 argument in fchmod prototype.
24646 (File Owner): Use uid_t and gid_t in fchown prototype.
24647 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24648 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24649 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24650 use 'const struct dirent **' as argument types to CMP function pointer
24651 argument.
24652 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24653 (File Times): Fix summary magic @comment for struct utimbuf and utime
24654 to refer to utime.h, not time.h.
24655 * manual/string.texi (Argz Functions): Add missing const in
24656 argz_extract and argz_next prototypes.
24657 (Finding Tokens in a String): Likewise for basename.
24658 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24659 (Copying and Concatenation): Fix typo in wmemmove prototype.
24660 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24661 (Signal Stack): Remove erroneous const in sigstack prototype.
24662 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24663 prototype.
24664 (Simple Calendar Time): Likewise for stime.
24665 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24666 prototype.
24667 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24668 say sys/sysctl.h instead.
24669 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24670 and vsyslog prototypes.
24671
fe77fe6d
TV
246722013-02-11 Tom de Vries <tom@codesourcery.com>
24673
24674 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24675 Remove.
24676
3a09b620
RM
246772013-02-11 Roland McGrath <roland@hack.frob.com>
24678
24679 * misc/sys/mman.h: Fix typo in mremap comment.
24680
550a0b89
RM
246812013-02-08 Roland McGrath <roland@hack.frob.com>
24682
24683 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24684 the '\0' terminator.
24685
a2da1673
JM
246862013-02-08 Joseph Myers <joseph@codesourcery.com>
24687
24688 [BZ #13550]
24689 * debug/segfault.c: Don't include <bp-checks.h>.
24690 * sysdeps/generic/bp-checks.h: Remove file.
24691 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24692 (__GETDENTS): Don't use CHECK_N.
24693 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24694 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24695 (__getgroups): Don't use CHECK_N.
24696 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24697 (setgroups): Don't use CHECK_N.
24698 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24699 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24700 (__libc_msgrcv): Don't use CHECK_N.
24701 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24702 (__libc_msgsnd): Don't use CHECK_N.
24703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24704 <bp-checks.h>.
24705 (__libc_pread): Don't use CHECK_N.
24706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24707 include <bp-checks.h>.
24708 (__libc_pread64): Don't use CHECK_N.
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24710 include <bp-checks.h>.
24711 (__libc_pwrite): Don't use CHECK_N.
24712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24713 include <bp-checks.h>.
24714 (__libc_pwrite64): Don't use CHECK_N.
24715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24716 <bp-checks.h>.
24717 (__libc_pread): Don't use CHECK_N.
24718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24719 include <bp-checks.h>.
24720 (__libc_pread64): Don't use CHECK_N.
24721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24722 include <bp-checks.h>.
24723 (__libc_pwrite): Don't use CHECK_N.
24724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24725 include <bp-checks.h>.
24726 (__libc_pwrite64): Don't use CHECK_N.
24727 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24728 (do_pread): Don't use CHECK_N.
24729 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24730 (do_pread64): Don't use CHECK_N.
24731 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24732 (do_pwrite): Don't use CHECK_N.
24733 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24734 (do_pwrite64): Don't use CHECK_N.
24735 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24736 (__libc_readv): Don't use CHECK_N.
24737 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24738 (semop): Don't use CHECK_N.
24739 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24740 <bp-checks.h>.
24741 (semtimedop): Don't use CHECK_N.
24742 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24743 (__libc_pread): Don't use CHECK_N.
24744 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24745 <bp-checks.h>.
24746 (__libc_pread64): Don't use CHECK_N.
24747 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24748 <bp-checks.h>.
24749 (__libc_pwrite): Don't use CHECK_N.
24750 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24751 <bp-checks.h>.
24752 (__libc_pwrite64): Don't use CHECK_N.
24753 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24754 <bp-checks.h>.
24755 (__libc_msgrcv): Don't use CHECK_N.
24756 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24757 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24758 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24759 (__libc_writev): Don't use CHECK_N.
24760
b84660a8
RM
247612013-02-08 Roland McGrath <roland@hack.frob.com>
24762
7f3e75f8
RM
24763 * string/strcpy.c: Removed unused variable.
24764
b84660a8
RM
24765 * Makeconfig (+sysdep-includes): Define with := rather than =.
24766 Use an existing include/ subdir of each sysdeps dir before it.
24767
471514d3
CD
247682013-02-08 Carlos O'Donell <carlos@redhat.com>
24769
24770 * nscd/connection.c (register_traced_file): Comment function.
24771 [HAVE_INOTIFY] (union __inev): Define.
24772 [HAVE_INOTIFY] (inotify_check_files): New function.
24773 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24774 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24775 clear_db_cache.
24776 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24777
b2d3c3be
CD
247782013-02-08 Carlos O'Donell <carlos@redhat.com>
24779
24780 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24781 loaded if not already and that a failure is permanent.
24782
b39949d2
CD
247832013-02-08 Carlos O'Donell <carlos@redhat.com>
24784
ddacd1db 24785 [BZ #15006]
b39949d2
CD
24786 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24787 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24788
b2c9eff4
JM
247892013-02-08 Joseph Myers <joseph@codesourcery.com>
24790
f3aae3f3
JM
24791 [BZ #13550]
24792 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24793 (CHECK_1_NULL_OK): Likewise.
24794 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24795 (__fxstat): Do not use CHECK_1.
24796 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24797 <bp-checks.h>.
24798 (___fxstat64): Do not use CHECK_1.
24799 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24800 <bp-checks.h>.
24801 (__fxstatat): Do not use CHECK_1.
24802 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24803 <bp-checks.h>.
24804 (__fxstatat64): Do not use CHECK_1.
24805 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24806 <bp-checks.h>.
24807 (__fxstat): Do not use CHECK_1.
24808 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24809 <bp-checks.h>.
24810 (__fxstatat): Do not use CHECK_1.
24811 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24812 <bp-checks.h>.
24813 (__getresgid): Do not use CHECK_1.
24814 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24815 <bp-checks.h>.
24816 (__getresuid): Do not use CHECK_1.
24817 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24818 <bp-checks.h>.
24819 (__lxstat): Do not use CHECK_1.
24820 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24821 <bp-checks.h>.
24822 (__old_msgctl): Do not use CHECK_1.
24823 (__new_msgctl): Likewise.
24824 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24825 <bp-checks.h>.
24826 (__new_setrlimit): Do not use CHECK_1.
24827 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24828 <bp-checks.h>.
24829 (__old_shmctl): Do not use CHECK_1.
24830 (__new_shmctl): Likewise.
24831 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24832 <bp-checks.h>.
24833 (__xstat): Do not use CHECK_1.
24834 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24835 (__lxstat): Do not use CHECK_1.
24836 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24837 <bp-checks.h>.
24838 (___lxstat64): Do not use CHECK_1.
24839 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24840 (__old_msgctl): Do not use CHECK_1.
24841 (__new_msgctl): Likewise.
24842 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24843 <bp-checks.h>.
24844 (__gettimeofday): Do not use CHECK_1.
24845 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24846 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24847 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24848 <bp-checks.h>.
24849 (__gettimeofday): Do not use CHECK_1.
24850 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24851 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24852 (__new_shmctl): Do not use CHECK_1.
24853 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24854 <bp-checks.h>.
24855 (do_sigtimedwait): Do not use CHECK_1.
24856 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24857 <bp-checks.h>.
24858 (do_sigwaitinfo): Do not use CHECK_1.
24859 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24860 <bp-checks.h>.
24861 (msgctl): Do not use CHECK_1.
24862 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24863 <bp-checks.h>.
24864 (shmctl): Do not use CHECK_1.
24865 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24866 (ustat): Do not use CHECK_1.
24867 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24868 <bp-checks.h>.
24869 (__fxstat): Do not use CHECK_1.
24870 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24871 <bp-checks.h>.
24872 (__fxstatat): Do not use CHECK_1.
24873 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24874 <bp-checks.h>.
24875 (__lxstat): Do not use CHECK_1.
24876 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24877 <bp-checks.h>.
24878 (__xstat): Do not use CHECK_1.
24879 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24880 (__xstat): Do not use CHECK_1.
24881 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24882 (___xstat64): Do not use CHECK_1.
24883
b2c9eff4
JM
24884 [BZ #13550]
24885 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24886 definitions.
24887 (CHECK_BOUNDS_HIGH): Likewise.
24888 * string/strcpy.c: Do not include <bp-checks.h>.
24889 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24890
f1d70dad
RM
248912013-02-07 Roland McGrath <roland@hack.frob.com>
24892
24893 * nscd/nscd-client.h (__nscd_drop_map_ref):
24894 Add __attribute__ ((unused)).
24895 * nis/nss-nisplus.h (niserr2nss): Likewise.
24896
24897 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24898 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24899
24900 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24901 Remove inline keyword.
24902 * include/rounding-mode.h (round_away): Likewise.
24903 * libio/wfileops.c (adjust_wide_data): Likewise.
24904 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24905 (__m128i_strloadu_tolower): Likewise.
24906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24907 (__m128i_strloadu_tolower): Likewise.
24908 * time/mktime.c (ydhms_diff): Likewise.
24909 * locale/elem-hash.h (elem_hash): Likewise.
24910 * locale/setlocale.c (setdata): Likewise.
24911 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24912 (re_string_wchar_at): Likewise.
24913 (bitset_not, bitset_merge, bitset_mask): Likewise.
24914 [!(__GNUC__ > 3)] (inline): Remove macro.
24915 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24916 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24917 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24918 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24919 * string/memcmp.c (memcmp_bytes): Likewise.
24920 * locale/programs/locarchive.c (compute_hashval): Likewise.
24921 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24922 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24923 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24924 * nss/getent.c (print_rpc, print_protocols): Likewise.
24925 (print_passwd, print_group, print_aliases): Likewise.
24926 * nis/nss-nisplus.h (niserr2nss): Likewise.
24927 * nscd/connections.c (restart_p): Likewise.
24928 Change return type to bool.
24929
eab55bfb
RM
249302013-02-05 Roland McGrath <roland@hack.frob.com>
24931
7bd642f5
RM
24932 * Makeconfig (all-Depend-files): Add existing
24933 $(sorted-subdirs:=/Depend) files.
24934 (all-subdirs): Remove nss.
24935 * sysdeps/unix/inet/Subdirs: Add it here instead.
24936 * hesiod/Depend: New file.
24937
573c29b2
RM
24938 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24939 instead of calling alloca.
24940
b2e25af0
RM
24941 * io/lseek.c (__lseek): Rename to __libc_lseek.
24942 Define __lseek as an alias.
24943
eab55bfb
RM
24944 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24945
9a0d1941
CD
249462013-02-04 Carlos O'Donell <carlos@redhat.com>
24947
24948 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24949 else clause and remove check for non-standard endianness.
24950
b83bbec4
DM
249512013-02-04 David S. Miller <davem@davemloft.net>
24952
24953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24954
6277fdab
JM
249552013-02-04 Joseph Myers <joseph@codesourcery.com>
24956
24957 [BZ #13550]
24958 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24959 (__ubp_memchr): Remove prototype.
24960 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24961 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24962 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24963 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24964 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24965 Remove alias.
24966 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24967 (__ubp_memchr): Likewise.
24968 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24969 (__ubp_memchr): Likewise.
24970 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24971 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24972 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24973 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24974 CHECK_STRING.
24975 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24976 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24977 (__getcwd): Do not use CHECK_STRING.
24978 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24979 <bp-checks.h>.
24980 (__real_chown): Do not use CHECK_STRING.
24981 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24982 <bp-checks.h>.
24983 (fchownat): Do not use CHECK_STRING.
24984 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24985 CHECK_STRING.
24986 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24987 <bp-checks.h>.
24988 (__lchown): Do not use CHECK_STRING.
24989 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24990 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24991 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24992 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24994 include <bp-checks.h>.
24995 (truncate64): Do not use CHECK_STRING.
24996 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24997 <bp-checks.h>.
24998 (__real_chown): Do not use CHECK_STRING.
24999 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25000 <bp-checks.h>.
25001 (__lchown): Do not use CHECK_STRING.
25002 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25003 <bp-checks.h>.
25004 (__chown): Do not use CHECK_STRING.
25005 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25006 <bp-checks.h>.
25007 (truncate64): Do not use CHECK_STRING.
25008 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25009 Likewise.
25010 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25011 (__xmknod): Do not use CHECK_STRING.
25012 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25013 <bp-checks.h>.
25014 (__xmknodat): Do not use CHECK_STRING.
25015 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25016 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25017
903ae060
AS
250182013-02-04 Andreas Schwab <schwab@suse.de>
25019
25020 [BZ #14142]
25021 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25022 * include/netdb.h: Likewise for h_errno.
25023 * elf/tst-stackguard1.c: Include <tls.h>.
25024
542f9466
JK
250252013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25026
25027 * elf/link.h (struct link_map): Extend the l_addr comment.
25028 * include/link.h (struct link_map): Likewise.
25029
e782a927
JM
250302013-02-01 Joseph Myers <joseph@codesourcery.com>
25031
25032 [BZ #13550]
25033 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25034 (BOUNDED_1): Remove macro.
25035 * debug/backtrace.c: Don't include <bp-checks.h>.
25036 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25037 (__backtrace): Likewise.
25038 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25039 <bp-checks.h>.
25040 (__backtrace): Don't use BOUNDED_1.
25041 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25042 <bp-checks.h>.
25043 (__backtrace): Don't use BOUNDED_1.
25044 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25045 (__backtrace): Don't use BOUNDED_1.
25046 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25047 (shmat): Don't use BOUNDED_N.
25048
8cf28c5e
JM
250492013-01-31 Joseph Myers <joseph@codesourcery.com>
25050
3a7ac8a0
JM
25051 [BZ #13550]
25052 * sysdeps/generic/bp-start.h: Remove file.
25053 * csu/libc-start.c: Don't include <bp-start.h>.
25054 (LIBC_START_MAIN): Set up __environ directly instead of using
25055 INIT_ARGV_and_ENVIRON.
25056 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25057 <bp-start.h>.
25058
f3499f95
JM
25059 [BZ #13550]
25060 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25061 definitions.
25062 (CHECK_FCNTL): Likewise.
25063 (CHECK_N_PAGES): Likewise.
25064
32a45bea
JM
25065 [BZ #13550]
25066 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25067 definitions.
25068 (CHECK_SIGSET_NULL_OK): Likewise.
25069 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25070 <bp-checks.h>.
25071 (sigpending): Don't use CHECK_SIGSET.
25072 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25073 <bp-checks.h>.
25074 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25075 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25076 <bp-checks.h>.
25077 (do_sigsuspend): Don't use CHECK_SIGSET.
25078 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25079 use CHECK_SIGSET.
25080 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25081 (do_sigwait): Don't use CHECK_SIGSET.
25082 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25083 use CHECK_SIGSET.
25084 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25085 include <bp-checks.h>.
25086 (sigpending): Don't use CHECK_SIGSET.
25087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25088 include <bp-checks.h>.
25089 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25090 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25091 <bp-checks.h>.
25092 (sigpending): Don't use CHECK_SIGSET.
25093 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25094 <bp-checks.h>.
25095 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25096
2e8a5c8c
JM
25097 [BZ #13550]
25098 * sysdeps/generic/bp-semctl.h: Remove file.
25099 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25100 <bp-checks.h> and <bp-semctl.h>.
25101 (__old_semctl): Don't use CHECK_SEMCTL.
25102 (__new_semctl): Likewise.
25103 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25104 and <bp-semctl.h>.
25105 (__old_semctl): Don't use CHECK_SEMCTL.
25106 (__new_semctl): Likewise.
25107 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25108 <bp-checks.h> and <bp-semctl.h>.
25109 (__old_semctl): Don't use CHECK_SEMCTL.
25110 (__new_semctl): Likewise.
25111 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25112 <bp-checks.h> and <bp-semctl.h>.
25113 (semctl): Don't use CHECK_SEMCTL.
25114
c2d54929
JM
25115 [BZ #13550]
25116 * Makerules (elide-bp-thunks): Remove variable.
25117 (elide-routines.oS): Don't use $(elide-bp-thunks).
25118 (elide-routines.os): Likewise.
25119 (elide-routines.o): Likewise.
25120 (elide-routines.op): Likewise.
25121 (elide-routines.og): Likewise.
25122 (objects): Don't use $(bp-thunks).
25123 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25124 include.
25125 (common-generated): Do not add s-proto-bp.d.
25126 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25127 (int): Likewise.
25128 (typ): Likewise.
25129 Do not generate makefile rules for bounded-pointer thunks.
25130 * sysdeps/generic/bp-thunks.h: Remove file.
25131 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25132 * sysdeps/unix/s-proto-bp.S: Likewise.
25133
8cf28c5e
JM
25134 [BZ #15062]
25135 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25136 parts of result separately when argument is not close to line from
25137 -i to i and one part of argument is small.
25138 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25139 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25140 * math/libm-test.inc (cacos_test): Add more tests.
25141 (casin_test): Likewise.
25142 (casinh_test): Likewise.
25143 * sysdeps/i386/fpu/libm-test-ulps: Update.
25144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25145
c4e33b8d
DM
251462013-01-31 David S. Miller <davem@davemloft.net>
25147
25148 * po/de.po: Update from translation team.
25149
3b60b421
MK
251502013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25151
25152 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25153
bb931195
TS
251542013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25155
b5a5da23
TS
25156 * configure.in (_AC_PROG_CC_C89): New definition.
25157 * configure: Regenerate.
25158
bb931195
TS
25159 * configure.in (AC_PROG_CPP): New definition.
25160 * configure: Regenerate.
25161
8c53a12c
JM
251622013-01-23 Joseph Myers <joseph@codesourcery.com>
25163
25164 * debug/tst-backtrace.h: New file.
25165 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25166 (ret): Remove variable.
25167 (x): Likewise.
25168 (FAIL): Remove macro.
25169 (NO_INLINE): Likewise.
25170 (fn1): Use match function instead of strstr.
25171 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25172 (ret): Remove variable.
25173 (x): Likewise.
25174 (FAIL): Remove macro.
25175 (NO_INLINE): Likewise.
25176 (fn): Use match function instead of strstr.
25177 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25178 (ret): Remove variable.
25179 (x): Likewise.
25180 (FAIL): Remove macro.
25181 (NO_INLINE): Likewise.
25182 (handle_signal): Use match function instead of strstr.
25183 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25184 (ret): Remove variable.
25185 (x): Likewise.
25186 (FAIL): Remove macro.
25187 (NO_INLINE): Likewise.
25188 (handle_signal): Use match function instead of strstr.
25189
4858fa2a
RM
251902013-01-23 Roland McGrath <roland@hack.frob.com>
25191
25192 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25193
bae8e7f5
DM
251942013-01-23 David S. Miller <davem@davemloft.net>
25195
25196 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25197 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25198 argument of CAS if possible.
25199 * sysdeps/sparc/sparc64/bits/atomic.h
25200 (__arch_compare_and_exchange_val_32_acq): Likewise.
25201 (__arch_compare_and_exchange_val_64_acq): Likewise.
25202
9cbbc4ae
PT
252032013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25204
25205 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25206 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25207 Include <limits.h>.
67b3f58c 25208 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25209
5655a0b5
AC
252102013-01-23 Adam Conrad <adconrad@0c3.net>
25211
25212 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25213 (LDFLAGS-tst-array5): Likewise.
25214
052aff95
JM
252152013-01-23 Joseph Myers <joseph@codesourcery.com>
25216
25217 [BZ #15036]
25218 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25219 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25220 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25221 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25222
7c1e01aa
DM
252232013-01-21 David S. Miller <davem@davemloft.net>
25224
25225 * sysdeps/sparc/backtrace.c: New file.
25226 * sysdeps/sparc/sparc32/backtrace.h: New file.
25227 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25228 * sysdeps/sparc/sparc64/backtrace.h: New file.
25229 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25230 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25231 -funwind-tables.
25232
ab087e0a
AS
252332013-01-21 Andreas Schwab <schwab@suse.de>
25234
25235 [BZ #15020]
25236 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25237 closed its stdout.
25238
ed689c2f
AS
252392013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25240
25241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25242 "mpa2.h".
25243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25244
31d470ac
JM
252452013-01-18 Joseph Myers <joseph@codesourcery.com>
25246 Mark Mitchell <mark@codesourcery.com>
25247 Tom de Vries <tom@codesourcery.com>
25248 Paul Pluzhnikov <ppluzhnikov@google.com>
25249
25250 * debug/tst-backtrace2.c: New file.
25251 * debug/tst-backtrace3.c: Likewise.
25252 * debug/tst-backtrace4.c: Likewise.
25253 * debug/tst-backtrace5.c: Likewise.
25254 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25255 (CFLAGS-tst-backtrace3.c): Likewise.
25256 (CFLAGS-tst-backtrace4.c): Likewise.
25257 (CFLAGS-tst-backtrace5.c): Likewise.
25258 (LDFLAGS-tst-backtrace2): Likewise.
25259 (LDFLAGS-tst-backtrace3): Likewise.
25260 (LDFLAGS-tst-backtrace4): Likewise.
25261 (LDFLAGS-tst-backtrace5): Likewise.
25262 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25263 tst-backtrace4 and tst-backtrace5.
25264
90567f30 252652013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25266 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25267
25268 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25269 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25270 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25271 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25273 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25274 "+r" and remove output regs list as redundant. Add explicit inline
25275 asm to specify register of return val to work around compiler codegen
25276 bug. Remove (int) cast on return value. Add return type parameter to
25277 use in macro so that this macro does not truncate return value for
25278 64-bit values.
25279 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25280 pass to INTERNAL_VSYSCALL_NCS.
25281 (INLINE_VSYSCALL): Add 'long int' as return type to
25282 INTERNAL_VSYSCALL_NCS macro invocation.
25283 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25284 INTERNAL_VSYSCALL_NCS macro invocation.
25285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25286
d3b9ea61
SP
252872013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25288
0b57daeb
SP
25289 [BZ #14496]
25290 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25291 Fix application of SIMD FP exception mask.
25292
caa99d06
SP
25293 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25294 mp_no from a power of two.
25295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25296 __mpexp_twomm1. Use __pow_mp.
25297
d3b9ea61
SP
25298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25299 multiplication.
25300
1dbaee3c
DM
253012013-01-17 David S. Miller <davem@davemloft.net>
25302
25303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25304
728d7b43
JM
253052013-01-17 Joseph Myers <joseph@codesourcery.com>
25306
25307 [BZ #15023]
25308 * include/complex.h: Condition contents on [!_COMPLEX_H].
25309 (__kernel_casinhf): New prototype.
25310 (__kernel_casinh): Likewise.
25311 (__kernel_casinhl): Likewise.
25312 * math/Makefile (libm_calls): Add k_casinh.
25313 * math/k_casinh.c: New file.
25314 * math/k_casinhf.c: Likewise.
25315 * math/k_casinhl.c: Likewise.
25316 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25317 finite nonzero arguments.
25318 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25319 finite nonzero arguments.
25320 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25321 finite nonzero arguments.
25322 * math/s_casinh.c: Do not include <float.h>.
25323 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25324 * math/s_casinhf.c: Do not include <float.h>.
25325 (__casinhf): Move code for finite nonzero arguments to
25326 k_casinhf.c.
25327 * math/s_casinhl.c: Do not include <float.h>.
25328 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25329 redefine.
25330 (__casinhl): Move code for finite nonzero arguments to
25331 k_casinhl.c.
25332 * math/libm-test.inc (cacos_test): Add more tests.
25333 * sysdeps/i386/fpu/libm-test-ulps: Update.
25334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25335
2a26ef3a
PT
253362013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25337
25338 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25339 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25340 [!HAVE_MREMAP]: Remove [defined linux] case.
25341 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25342
a897655d
SP
253432013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25344
25345 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25346
881ebe89 253472013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25348
25349 * elf/elf.h (R_386_SIZE32): New relocation.
25350 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25351 R_386_SIZE32.
25352 (elf_machine_rela): Likewise.
25353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25354 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25355
59981e9b
JM
253562013-01-17 Joseph Myers <joseph@codesourcery.com>
25357
25358 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25359 (FP_FAST_FMA): Do not define.
25360 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25361 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25362 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25363 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25364 !_SOFT_FLOAT]: Likewise.
25365 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25366 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25367 value.
25368 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25369 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25370 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25371 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25372 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25373 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25374 file.
25375
cfa8054f
AS
253762013-01-16 Andreas Schwab <schwab@suse.de>
25377
25378 [BZ #14327]
25379 * include/stdlib.h (__mktemp): Add declaration.
25380 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25381 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25382
dd930cc5
SP
253832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25384
881ebe89
SP
25385 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25386 definitions.
25387 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25388 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25389 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25390 definitions here.
25391 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25392 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25393 definitions.
25394 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25395 and ONE.
25396 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25397 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25398 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25399 definitions.
25400 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25401 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25402 definitions.
25403 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25404
dd930cc5
SP
25405 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25406
c19a9f89
DM
254072013-01-15 David S. Miller <davem@davemloft.net>
25408
1aa61767
DM
25409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25410 trunc{,f} to libm-sysdep_routes.
25411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25413 file.
25414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25416 file.
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25418 file.
25419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25421 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25422 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25423 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25424 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25425 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25426 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25427
c42d5e98
DM
25428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25429 nearbyint{,f} to libm-sysdep_routes.
25430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25432 New file.
25433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25434 file.
25435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25436 New file.
25437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25438 file.
25439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25441 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25442 file.
25443 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25444 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25445 file.
25446 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25447 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25448 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25449
c19a9f89
DM
25450 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25451 libc_feholdexcept and libc_fesetenv.
25452
357679d2
MF
254532013-01-15 Mike Frysinger <vapier@gentoo.org>
25454
25455 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25456
65a82e3d
DM
254572013-01-14 David S. Miller <davem@davemloft.net>
25458
8b954ab9
DM
25459 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25460 (SPARC_ASM_VIS2_IFUNC): Likewise.
25461 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25463 use of 'siam' instruction.
25464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25465 Likewise.
25466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25467 Likewise.
25468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25469 Likewise.
25470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25475 file.
25476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25477 file.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25479 file.
25480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25481 file.
25482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25487 new VIS2 routines.
25488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25491 Likewise.
25492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25497 routines to libm-sysdep_routines.
25498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25499
65a82e3d
DM
25500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25501 fdim/fdimf to libm-sysdep_routines.
25502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25503 file.
25504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25506 file.
25507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25510 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25511 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25512 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25513 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25514
e34ab705
SP
255152013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25516
2a91b573
SP
25517 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25518 to optimize copies.
25519
1066a534
SP
25520 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25523
e34ab705
SP
25524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25525 local variable MPTWO.
25526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25527 Likewise.
25528
aba5e596
MF
255292013-01-13 Mike Frysinger <vapier@gentoo.org>
25530
25531 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25532 GLOB_NOESCAPE.
25533
e557e9e5
MF
255342013-01-13 Mike Frysinger <vapier@gentoo.org>
25535
25536 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25537
0428cec9
MF
255382013-01-13 Mike Frysinger <vapier@gentoo.org>
25539
25540 * manual/pattern.texi (glob_t): Document gl_flags.
25541 (glob64_t): Likewise.
25542
8794a964
DM
255432013-01-11 David S. Miller <davem@davemloft.net>
25544
66438c3f
RM
25545 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25546 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25547 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25548 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25549 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25550 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25551 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25552 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25553 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25554 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25555 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25556 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25557 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25558
4ae4244d
DM
25559 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25560 sparc V9 rather than using V8 code.
25561 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25562 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25563
8794a964
DM
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25565 Move to...
25566 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25567 Here.
25568
6270516e
RM
255692013-01-11 Roland McGrath <roland@hack.frob.com>
25570
25571 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25572 not in the main loop.
25573 * configure: Regenerated.
25574
6a57d931
JM
255752013-01-11 Joseph Myers <joseph@codesourcery.com>
25576
25577 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25578 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25579 to just #else.
25580 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25581 [!__GLIBC_HAVE_LONG_LONG] case.
25582 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25583 condition to just #else.
25584 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25585 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25586 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25587 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25588 unconditional.
25589 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25590 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25591 #elif condition to just #else.
25592 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25593 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25594 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25595 #elif condition to just #else.
25596
0e8529e9
SE
255972013-01-11 Steve Ellcey <sellcey@mips.com>
25598
25599 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25600 (EF_MIPS_ARCH_64): Fix value.
25601 (EF_MIPS_ARCH_32R2): New.
25602 (EF_MIPS_ARCH_64R2): New.
25603
740b3dbe
L
256042013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25605
25606 * Makeconfig (+link-pie-before-libc): New.
25607 (+link-pie-after-libc): Likewise.
25608 (+link-pie-tests): Likewise.
25609 (+link-pie): Rewritten.
25610 (link-before-libc): Remove $(config-LDFLAGS).
25611 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25612 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25613 (config-LDFLAGS): Renamed to ...
25614 (rtld-LDFLAGS): This.
25615 (rtld-tests-LDFLAGS): New macro.
25616 (link-libc-rpath-link): Likewise.
25617 (link-libc-tests-rpath-link): Likewise.
25618 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25619 (link-libc): Prepand $(link-libc-rpath-link).
25620 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25621 (test-program-prefix): New macro.
25622 (test-via-rtld-prefix): Likewise.
25623 (test-program-cmd): Likewise.
25624 (host-test-program-cmd): Likewise.
25625 * Makefile ($(common-objpfx)testrun.sh): Replace
25626 $(run-program-prefix) with $(test-program-prefix).
25627 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25628 $(rtld-LDFLAGS).
25629 ($(common-objpfx)shlib.lds): Likewise.
25630 (build-module-helper): Likewise.
25631 ($(common-objpfx)format.lds): Likewise.
25632 * Rules (binaries-pie-tests): New.
25633 (binaries-pie-notests): Likewise.
25634 (binaries-pie): Rewritten.
25635 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25636 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25637 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25638 (make-test-out): Replace $(host-built-program-cmd) with
25639 $(host-test-program-cmd).
25640 * config.make.in (build-hardcoded-path-in-tests): New variable.
25641 * configure.in (--enable-hardcoded-path-in-tests): New configure
25642 option.
25643 (hardcoded_path_in_tests): New AC_SUBST.
25644 * configure: Regenerated.
25645 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25646 $(built-program-cmd) with $(test-program-cmd).
25647 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25648 (test_program_cmd): This.
25649 * elf/Makefile ($(objpfx)order.out): Run test with
25650 $(test-program-prefix).
25651 ($(objpfx)order2.out): Likewise.
25652 ($(objpfx)tst-initorder.out): Likewise.
25653 ($(objpfx)tst-initorder2.out): Likewise.
25654 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25655 $(test-program-cmd).
25656 ($(objpfx)tst-array1-static.out): Likewise.
25657 ($(objpfx)tst-array2.out): Likewise.
25658 ($(objpfx)tst-array3.out): Likewise.
25659 ($(objpfx)tst-array4.out): Likewise.
25660 ($(objpfx)tst-array5.out): Likewise.
25661 ($(objpfx)tst-array5-static.out): Likewise.
25662 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25663 $(test-program-cmd).
25664 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25665 $(run-program-prefix) with $(test-program-prefix).
25666 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25667 (test_program_prefix): This.
25668 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25669 $(run-program-prefix) with $(test-program-prefix).
25670 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25671 (test_program_prefix): This.
25672 * iconvdata/tst-tables.sh: Likewise.
25673 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25674 $(run-program-prefix) with $(test-program-prefix).
25675 ($(objpfx)tst-translit.out): Likewise.
25676 ($(objpfx)tst-gettext2.out): Likewise.
25677 ($(objpfx)tst-gettext4.out): Likewise.
25678 ($(objpfx)tst-gettext6.out): Likewise.
25679 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25680 (test_program_prefix): This.
25681 * intl/tst-gettext2.sh: Likewise.
25682 * intl/tst-gettext4.sh Likewise.
25683 * intl/tst-gettext6.sh: Likewise.
25684 * intl/tst-translit.sh: Likewise.
25685 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25686 with $(test-program-cmd).
25687 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25688 $(run-program-prefix) with $(test-program-prefix).
25689 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25690 (test_program_prefix): This.
25691 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25692 $(run-program-prefix) with $(test-program-prefix).
25693 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25694 (test_program_prefix): This.
25695 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25696 * posix/Makefile ($(objpfx)globtest.out): Replace
25697 $(run-via-rtld-prefix) and $(test-wrapper) with
25698 $(test-program-prefix) and $(test-via-rtld-prefix).
25699 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25700 $(test-program-prefix).
25701 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25702 $(host-test-program-cmd).
25703 (tst-spawn-ARGS): Likewise.
25704 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25705 $(test-program-prefix).
25706 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25707 (test_via_rtld_prefix): This.
25708 (test_wrapper): Renamed to ...
25709 (test_program_prefix): This.
25710 (run_program_prefix): Replaced by test_program_prefix.
25711 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25712 (test_program_prefix): This.
25713 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25714 with $(host-test-program-cmd).
25715 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25716 $(run-program-prefix) with $(test-program-prefix).
25717 ($(objpfx)tst-printf.out): Likewise.
25718 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25719 $(test-program-cmd).
25720 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25721 (test_program_prefix): This.
25722 * stdio-common/tst-unbputc.sh: Likewise.
25723 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25724 $(run-program-prefix) with $(test-program-prefix).
25725 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25726 (test_program_prefix): This.
25727 * string/Makefile ($(objpfx)tst-svc.out): Replace
25728 $(built-program-cmd) with $(test-program-cmd).
25729
c6fe55cf
AJ
257302013-01-11 Andreas Jaeger <aj@suse.de>
25731
25732 [BZ #15003]
25733 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25734 value. Sync with Linux 3.7.
25735
9e6919c8
DM
257362013-01-10 David S. Miller <davem@davemloft.net>
25737
25738 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25739 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25740 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25741
1c9f1a02
RM
257422013-01-10 Roland McGrath <roland@hack.frob.com>
25743
25744 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25745 never set.
25746 * configure: Regenerated.
25747
b9de2dde
DM
257482013-01-10 David S. Miller <davem@davemloft.net>
25749
25750 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25751 sparc V9 rather than using V8 code.
25752 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25753 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25754
e7f68ef4
RM
257552013-01-10 Roland McGrath <roland@hack.frob.com>
25756
25757 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25758 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25759 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25760 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25761 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25762 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25763 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25764 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25765 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25766 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25767 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25768 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25769 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25770 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25771 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25772 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25773 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25774 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25775 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25776 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25777 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25778 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25779 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25780 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25781 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25782 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25783 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25784
5a47cc9c
DM
257852013-01-10 David S. Miller <davem@davemloft.net>
25786
25787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25788
4cf8f209
L
257892013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25790
25791 * posix/Makefile (tests-static): New variable.
25792 (tests): Add $(tests-static).
25793 (tst-exec-static-ARGS): New variable.
25794 (tst-spawn-static-ARGS): Likewise.
25795 * posix/tst-exec-static.c: New file.
25796 * posix/tst-spawn-static.c: Likewise.
25797 * posix/tst-exec.c: Support run directly.
25798 * posix/tst-spawn.c: Likewise.
25799
fed0faa1
JM
258002013-01-10 Joseph Myers <joseph@codesourcery.com>
25801
828beb13
JM
25802 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25803 long.
25804 * math/bits/mathcalls.h (llrint): Likewise.
25805 (llround): Likewise.
25806 * stdlib/stdlib.h (struct drand48_data): Likewise.
25807 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25808 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25809 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25810 Likewise.
25811 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25812 Likewise.
25813 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25814 (elf_greg_t): Likewise.
25815 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25816 (__jmp_buf): Likewise.
25817 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25818 definitions.
25819 (llrint): Likewise, for all definitions.
25820 (llrintl): Likewise.
25821
fed0faa1
JM
25822 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25823 Remove [__GNUC__] condition.
25824 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25825 condition to just [__USE_ISOC99].
25826 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25827
1a20cb20
L
258282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25829
25830 [BZ #14200]
25831 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25832 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25833 defined.
25834 (_POSIX_V6_ILP32_OFF32): Likewise.
25835 (_XBS5_ILP32_OFF32): Likewise.
25836 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25837 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25838
751b85f7
SP
258392013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25840
7490eb81
SP
25841 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25842
751b85f7
SP
25843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25844 doubles __mpexp_twomm1. Adjust usage.
25845 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25846 Remove.
25847
988197f0
AS
258482013-01-10 Andreas Schwab <schwab@suse.de>
25849
25850 [BZ #14964]
25851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25852 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25853
e83d7298
DM
258542013-01-09 David S. Miller <davem@davemloft.net>
25855
034ed64b 25856 [BZ #15003]
57f41c40
AS
25857 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25858 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25859 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25860 (TCP_FASTOPEN): Define.
e83d7298
DM
25861 (tcp_repair_opt): New structure.
25862 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25863 enum values.
57f41c40
AS
25864 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25865 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25866 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25867 (tcp_cookie_transactions): New structure.
25868
d5e0b9bd
AB
258692013-01-09 Anton Blanchard <anton@samba.org>
25870
25871 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25872 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25875
0c07e3ea
JM
258762013-01-09 Joseph Myers <joseph@codesourcery.com>
25877
25878 * include/features.h (__USE_ANSI): Remove.
25879
232f7002
RM
258802013-01-09 Roland McGrath <roland@hack.frob.com>
25881
ad98e30c
RM
25882 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25883
232f7002
RM
25884 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25885
950c99ca
SP
258862013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25887
b5792741
SP
25888 * sysdeps/s390/fpu/libm-test-ulps: Update.
25889
47cf2278
SP
25890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25891
950c99ca
SP
25892 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25893 (__acr): Likewise.
25894 (__cpy): Likewise.
25895 (norm): Likewise.
25896 (denorm): Likewise.
25897 (__mp_dbl): Likewise.
25898 (__dbl_mp): Likewise.
25899 (add_magnitudes): Likewise.
25900 (sub_magnitudes): Likewise.
25901 (__add): Likewise.
25902 (__sub): Likewise.
25903 (__mul): Likewise.
25904 (__inv): Likewise.
25905 (__dvd): Likewise.
25906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25907 (__acr): Likewise.
25908 (__cpy): Likewise.
25909 (norm): Likewise.
25910 (denorm): Likewise.
25911 (__mp_dbl): Likewise.
25912 (__dbl_mp): Likewise.
25913 (add_magnitudes): Likewise.
25914 (sub_magnitudes): Likewise.
25915 (__add): Likewise.
25916 (__sub): Likewise.
25917 (__mul): Likewise.
25918 (__inv): Likewise.
25919 (__dvd): Likewise.
25920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25921 (__acr): Likewise.
25922 (__cpy): Likewise.
25923 (norm): Likewise.
25924 (denorm): Likewise.
25925 (__mp_dbl): Likewise.
25926 (__dbl_mp): Likewise.
25927 (add_magnitudes): Likewise.
25928 (sub_magnitudes): Likewise.
25929 (__add): Likewise.
25930 (__sub): Likewise.
25931 (__mul): Likewise.
25932 (__inv): Likewise.
25933 (__dvd): Likewise.
25934
eede9df9
JM
259352013-01-08 Joseph Myers <joseph@codesourcery.com>
25936
25937 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25938 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25939 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25940 2 && __USE_EXTERN_INLINES]: Likewise.
25941
c40ea3d9
AJ
259422013-01-08 Andreas Jaeger <aj@suse.de>
25943
25944 [BZ# 14985]
25945 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25946 Remove.
25947 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25948 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25949
2ccdea26
AB
259502013-01-07 Anton Blanchard <anton@samba.org>
25951
25952 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25953 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25954 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25955 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25956 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25957 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25958 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25959 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25961 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25962 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25963 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25965 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25966 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25968 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25969 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25970 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25971 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25973 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25975 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25977 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25979 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25982 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25984 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25985 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25986 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25987 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25989 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25990 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25992 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25994 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25995
a9708fed
JM
259962013-01-07 Joseph Myers <joseph@codesourcery.com>
25997
375607b9
JM
25998 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25999 (__MALLOC_PMT): Likewise.
26000 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26001 [__GNUC__], only on [_LIBC].
26002 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26003 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26004 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26005 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26006 forward declaration.
26007 (realloc_hook_ini): Likewise.
26008 (memalign_hook_ini): Likewise.
26009 (__libc_memalign): Do not use __MALLOC_PMT in variable
26010 declaration.
26011 (__libc_valloc): Likewise.
26012 (__libc_pvalloc): Likewise.
26013 (__libc_calloc): Likewise.
26014 (__posix_memalign): Likewise.
26015
a9708fed
JM
26016 [BZ #14996]
26017 * math/s_casinh.c: Include <float.h>.
26018 (__casinh): Do not do computation with squaring and square root
26019 for large arguments.
26020 * math/s_casinhf.c: Include <float.h>.
26021 (__casinhf): Do not do computation with squaring and square root
26022 for large arguments.
26023 * math/s_casinhl.c: Include <float.h>.
26024 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26025 (__casinhl): Do not do computation with squaring and square root
26026 for large arguments.
26027 * math/libm-test.inc (casin_test): Add more tests.
26028 (casinh_test): Likewise.
26029 * sysdeps/i386/fpu/libm-test-ulps: Update.
26030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26031
afec409a
L
260322013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26033
26034 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26035 (__x86_64_raw_data_cache_size): Likewise.
26036 (__x86_64_data_cache_size_half): Likewise.
26037 (__x86_64_raw_data_cache_size_half): Likewise.
26038 (__x86_64_shared_cache_size): Likewise.
26039 (__x86_64_raw_shared_cache_size): Likewise.
26040 (__x86_64_shared_cache_size_half): Likewise.
26041 (__x86_64_raw_shared_cache_size_half): Likewise.
26042 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26043 to ...
26044 (__x86_data_cache_size): This.
26045 (__x86_64_raw_data_cache_size): Renamed to ...
26046 (__x86_raw_data_cache_size): This.
26047 (__x86_64_data_cache_size_half): Renamed to ...
26048 (__x86_data_cache_size_half): This.
26049 (__x86_64_raw_data_cache_size_half): Renamed to ...
26050 (__x86_raw_data_cache_size_half): This.
26051 (__x86_64_shared_cache_size): Renamed to ...
26052 (__x86_shared_cache_size): This.
26053 (__x86_64_raw_shared_cache_size): Renamed to ...
26054 (__x86_raw_shared_cache_size): This.
26055 (__x86_64_shared_cache_size_half): Renamed to ...
26056 (__x86_shared_cache_size_half): This.
26057 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26058 (__x86_raw_shared_cache_size_half): This.
26059 * sysdeps/x86_64/memcpy.S: Updated.
26060 * sysdeps/x86_64/memset.S: Likewise.
26061 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26064
0b3986d0
DM
260652013-01-04 David S. Miller <davem@davemloft.net>
26066
26067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26068
e47686e9
AS
260692013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26070
d643bac1
AS
26071 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26072 1 to avoid redefinition warning.
26073 (__USE_GNU): Don't define.
26074 (init_signaling_nan): Protoize.
26075
e47686e9
AS
26076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26077
b18decba
SP
260782013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26079
fffb407f
SP
26080 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26082 (__cpymn): Likewise.
26083 (norm): Remove commented code.
26084 (denorm): Likewise.
26085 (__mp_dbl): Likewise.
26086 (__inv): Likewise.
26087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26088 (__cpymn): Likewise.
26089 (norm): Remove commented code.
26090 (denorm): Likewise.
26091 (__mp_dbl): Likewise.
26092 (__inv): Likewise.
26093
b18decba
SP
26094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26095 mp_no value for 1.0 and 2.0.
26096 (norm): Use RADIXI instead of radixi.d.
26097 (denorm): Likewise.
26098 (__mul): Use 0.0 instead of zero.d.
26099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26100 mp_no value for 1.0 and 2.0.
26101 (norm): Use RADIXI instead of radixi.d.
26102 (denorm): Likewise.
26103 (__mul): Use 0.0 instead of zero.d.
26104
cdc1c96f
JM
261052013-01-04 Joseph Myers <joseph@codesourcery.com>
26106
26107 [BZ #14994]
26108 * math/s_casinh.c (__casinh): Reduce finite argument to first
26109 quadrant then set signs of results at the end.
26110 * math/s_casinhf.c (__casinhf): Likewise.
26111 * math/s_casinhl.c (__casinhl): Likewise.
26112 * math/libm-test.inc (casin_test): Add more tests.
26113 (casinh_test): Likewise.
26114 * sysdeps/i386/fpu/libm-test-ulps: Update.
26115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26116
302913e1
SP
261172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26118
6420d207
SP
26119 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26120
a9e48ab4
SP
26121 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26122
b7837264
SP
26123 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26124 declarations.
26125 (denorm): Likewise.
26126 (__mp_dbl): Likewise.
26127 (__inv): Likewise.
26128
f8af25d2
SP
26129 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26130 and adjust the header comment.
26131
302913e1
SP
26132 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26133 variable name from declaration.
26134
5d7dd1ca
L
261352013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26136
26137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26138 Initialize COMMON_CPUID_INDEX_7 element.
26139 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26140 (CPUID_RTM): Likewise.
26141 (HAS_RTM): Likewise.
26142 (COMMON_CPUID_INDEX_7): New enum.
26143
2f5f40f4
AS
261442013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26145
26146 [BZ #14981]
26147 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26148 size is zero, record memory as freed.
26149
4056f4a0
AJ
261502013-01-03 Andreas Jaeger <aj@suse.de>
26151
26152 * po/ia.po: Add new Interlingua translation.
26153
ab15736f 261542012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26155
26156 * locale/programs/localedef.c: Fix description of '--posix' flag.
26157
568035b7
JM
261582013-01-02 Joseph Myers <joseph@codesourcery.com>
26159
e6898b8d
JM
26160 * NEWS: Update dates in second copyright notice.
26161 * README: Update copyright dates in example.
26162 * manual/libc.texinfo: Update copyright dates.
26163 * scripts/test-installation.pl: Update copyright date in --version
26164 output.
26165
0e2f9562
JM
26166 * hurd/ctty-input.c: Fix copyright notice formatting.
26167 * hurd/ctty-output.c: Likewise.
26168 * hurd/dtable.c: Likewise.
26169 * hurd/hurd-raise.c: Likewise.
26170 * hurd/hurdprio.c: Likewise.
26171 * hurd/msgportdemux.c: Likewise.
26172 * misc/sys/file.h: Likewise.
26173 * misc/sys/ioctl.h: Likewise.
26174 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26175 * sysdeps/mach/hurd/chdir.c: Likewise.
26176 * sysdeps/mach/hurd/fchdir.c: Likewise.
26177 * sysdeps/mach/hurd/rename.c: Likewise.
26178 * sysdeps/mach/hurd/rmdir.c: Likewise.
26179 * sysdeps/mach/hurd/seekdir.c: Likewise.
26180 * sysdeps/mach/hurd/setsid.c: Likewise.
26181 * sysdeps/posix/wait3.c: Likewise.
26182
568035b7
JM
26183 * All files with FSF copyright notices: Update copyright dates
26184 using scripts/update-copyrights.
26185 * intl/plural.c: Regenerated.
26186 * locale/programs/charmap-kw.h: Likewise.
26187 * locale/programs/locfile-kw.h: Likewise.
26188
da08f647
SP
261892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26190
0f5477af
SP
26191 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26192 four values.
26193
44e0d4c2
SP
26194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26195 calculation loop and add branch prediction.
26196
4d55b4e5
SP
26197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26198 check access beyond bounds of m1np.
26199
da08f647
SP
26200 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26201 MPTWO.
26202 (__inv): Remove local variable MPTWO to use the global
26203 constant.
26204 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26206 variable MPTWO.
26207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26208 MP3HALFS static const.
26209
8e051029
DM
262102013-01-01 David S. Miller <davem@davemloft.net>
26211
26212 * po/ca.po: Update from translation team.
26213
f4cf5f2d
JM
262142013-01-01 Joseph Myers <joseph@codesourcery.com>
26215
26216 * scripts/update-copyrights: New file.
26217 * Makeconfig: Reformat copyright notice.
26218 * ctype/ctype.h: Likewise.
26219 * debug/swprintf_chk.c: Likewise.
26220 * elf/dl-cache.c: Likewise.
26221 * elf/dl-debug.c: Likewise.
26222 * elf/dl-object.c: Likewise.
26223 * grp/initgroups.c: Likewise.
26224 * hurd/Makefile: Likewise.
26225 * hurd/hurd/signal.h: Likewise.
26226 * hurd/hurdfault.c: Likewise.
26227 * hurd/hurdioctl.c: Likewise.
26228 * hurd/hurdlookup.c: Likewise.
26229 * hurd/intr-msg.c: Likewise.
26230 * iconv/gconv_open.c: Likewise.
26231 * libio/swprintf.c: Likewise.
26232 * locale/lc-ctype.c: Likewise.
26233 * locale/nl_langinfo.c: Likewise.
26234 * mach/Machrules: Likewise.
26235 * mach/Makefile: Likewise.
26236 * malloc/obstack.h: Likewise.
26237 * manual/Makefile: Likewise.
26238 * manual/tsort.awk: Likewise.
26239 * misc/bits/stab.def: Likewise.
26240 * nis/nis_print_group_entry.c: Likewise.
26241 * nis/nis_table.c: Likewise.
26242 * nis/nss_compat/compat-pwd.c: Likewise.
26243 * nis/nss_compat/compat-spwd.c: Likewise.
26244 * po/Makefile: Likewise.
26245 * posix/fnmatch.c: Likewise.
26246 * posix/regex.h: Likewise.
26247 * resolv/Makefile: Likewise.
26248 * resolv/nss_dns/dns-network.c: Likewise.
26249 * resolv/res_hconf.c: Likewise.
26250 * scripts/gen-sorted.awk: Likewise.
26251 * soft-fp/soft-fp.h: Likewise.
26252 * stdio-common/printf.h: Likewise.
26253 * stdlib/monetary.h: Likewise.
26254 * stdlib/random.c: Likewise.
26255 * stdlib/random_r.c: Likewise.
26256 * sysdeps/generic/Makefile: Likewise.
26257 * sysdeps/gnu/Makefile: Likewise.
26258 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26265 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26268 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26269 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26270 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26271 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26272 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26273 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26274 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26278 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26279 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26280 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26286 * sysdeps/mach/hurd/errnos.awk: Likewise.
26287 * sysdeps/mach/hurd/fork.c: Likewise.
26288 * sysdeps/mach/hurd/getcwd.c: Likewise.
26289 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26290 * sysdeps/mach/hurd/mmap.c: Likewise.
26291 * sysdeps/mach/hurd/utimes.c: Likewise.
26292 * sysdeps/mach/hurd/xmknod.c: Likewise.
26293 * sysdeps/posix/profil.c: Likewise.
26294 * sysdeps/posix/readdir_r.c: Likewise.
26295 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26296 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26297 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26298 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26300 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26302 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26304 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26306 * sysdeps/pthread/lio_listio.c: Likewise.
26307 * sysdeps/sparc/dl-procinfo.h: Likewise.
26308 * sysdeps/unix/i386/sysdep.S: Likewise.
26309 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26310 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26311 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26312 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26314 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26315 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26316 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26317 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26318 * sysdeps/wordsize-32/divdi3.c: Likewise.
26319 * time/sys/time.h: Likewise.
26320 * wcsmbs/Makefile: Likewise.
26321
0549fbba
DM
263222013-01-01 David S. Miller <davem@davemloft.net>
26323
a141f1a7
DM
26324 * po/fr.po: Update from translation team.
26325
0549fbba
DM
26326 * catgets/gencat.c: Update copyright year.
26327 * csu/version.c: Likewise.
26328 * debug/catchsegv.sh: Likewise.
26329 * debug/pcprofiledump.c: Likewise.
26330 * debug/xtrace.sh: Likewise.
26331 * elf/ldconfig.c: Likewise.
26332 * elf/ldd.bash.in: Likewise.
26333 * elf/pldd.c: Likewise.
26334 * elf/sotruss.ksh: Likewise.
26335 * elf/sprof.c: Likewise.
26336 * iconv/iconv_prog.c: Likewise.
26337 * iconv/iconvconfig.c: Likewise.
26338 * locale/programs/locale.c: Likewise.
26339 * locale/programs/localedef.c: Likewise.
26340 * login/programs/pt_chown.c: Likewise.
26341 * malloc/memusage.sh: Likewise.
26342 * malloc/memusagestat.c: Likewise.
26343 * malloc/mtrace.pl: Likewise.
26344 * nscd/nscd.c: Likewise.
26345 * nss/getent.c: Likewise.
26346 * nss/makedb.c: Likewise.
26347 * posix/getconf.c: Likewise.
26348
18ea052c
SP
263492012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26350
26351 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26352 numbers.
26353
9c89fca6
MF
263542012-12-30 Mike Frysinger <vapier@gentoo.org>
26355
26356 * math/bits/mathcalls.h (modf): Use __nonnull.
26357
085ec079
SP
263582012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26359
26360 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26361 (split): Use macro CN instead of the bare value.
26362 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26363 could be used.
26364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26365 instead of the bare value.
26366 (power1): Likewise.
26367
6d9f97e1
SP
263682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26369
d63f73be
SP
26370 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26371 __ATAN_TWOM.
26372 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26373
6d9f97e1
SP
26374 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26375 their values.
26376 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26377 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26378 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26379 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26380
4c4febf5
AJ
263812012-12-28 Andreas Jaeger <aj@suse.de>
26382
af5843ef
AJ
26383 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26384 values are from Linux 3.7.
26385
4c4febf5
AJ
26386 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26387 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26388
99136f82
SP
263892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26390
2f216c3c 26391 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26392 TRUE case.
26393
99136f82
SP
26394 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26395 (norm): Likewise.
26396 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26397 variables with preprocessor constants.
26398 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26399 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26400 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26401
7fffbdff
BH
264022012-12-27 Bruno Haible <bruno@clisp.org>
26403
26404 [BZ #14317]
26405 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26406 only if needed.
26407
b76eb5f0
SP
264082012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26409
31a7fe5c
SP
26410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26411 and use variable directly.
26412 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26413
b76eb5f0
SP
26414 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26415 MPONE.
26416 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26418 variable MPONE.
26419 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26421 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26422 include directive. Remove local variable MPONE.
26423 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26424 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26425 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26426
2c8bfe7d
DM
264272012-12-25 David S. Miller <davem@davemloft.net>
26428
26429 * version.h (RELEASE): Set to "development".
26430 (VERSION): Set to "2.17.90".
26431 * NEWS: Add 2.18 section.
26432
147d03b0
DM
264332012-12-21 David S. Miller <davem@davemloft.net>
26434
26435 * po/hr.po: Update from translation team.
26436
a8ebb2b9
AK
264372012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26438
26439 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26440
95b4f1b6
SE
264412012-12-19 Steve Ellcey <sellcey@mips.com>
26442
b2d94007 26443 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26444
cedb2a90
MS
264452012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26446
26447 * manual/contrib.texi (Contributors): Spelling correction.
26448
bbf527d6
DM
264492012-12-15 David S. Miller <davem@davemloft.net>
26450
26451 * po/ru.po: Update from translation team.
26452
bc38c906
DM
264532012-12-13 David S. Miller <davem@davemloft.net>
26454
85429b1a
DM
26455 * NEWS: Mention IFUNC testsuite enhancements.
26456
d283e353
DM
26457 * po/pl.po: Update from translation team.
26458 * po/bg.po: Likewise.
26459
bc38c906
DM
26460 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26461 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26462
a181b0d7
DM
264632012-12-11 David S. Miller <davem@davemloft.net>
26464
4641d57e
DM
26465 * po/sv.po: Update from translation team.
26466
f7bc6495
DM
26467 * po/vi.po: Update from translation team.
26468
6fc9048f
DM
26469 * po/cs.po: Update from translation team.
26470
a181b0d7
DM
26471 * po/de.po: Update from translation team.
26472 * po/eo.po: Likewise.
26473 * po/nl.po: Likewise.
26474
f70bfe80
SP
264752012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26476
3c8b4190
SP
26477 [BZ #14246]
26478 * manual/argp.texi (Argp Helper Functions): Move node to follow
26479 Argp Parsing State.
26480
f70bfe80
SP
26481 [BZ #14872]
26482 * manual/conf.texi (Limits on File System Capacity): Mention if
26483 terminating null is included in the max size.
26484
188f0adf
AJ
264852012-12-10 Andreas Jaeger <aj@suse.de>
26486
26487 * po/cs.po: Update from translation team.
26488
56e7d3ad
SP
264892012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26490
26491 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26492 void pointer and cast to uintptr_t.
26493 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26494 path.
26495 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26496 * sysdeps/s390/s390-64/memset.S: Likewise.
26497
76f2d2ea 264982012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26499
26500 [BZ #14833]
26501 * menual/message.texi (Message Translation): Fix typos.
26502 (Helper programs for gettext): Likewise.
26503
67cbf9a2
AS
265042012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26505
26506 [BZ #14898]
26507 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26508 Change to -1.
26509
682d0e9a
DM
265102012-12-07 David S. Miller <davem@davemloft.net>
26511
26512 * po/libc.pot: Update.
26513
573cd484
RH
265142012-12-07 Richard Henderson <rth@redhat.com>
26515
7e9da188 26516 [BZ #10114]
573cd484
RH
26517 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26518 normal/normal case to before the switch.
26519 (_FP_DIV): Likewise.
26520
e933a943
MF
265212012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26522 Mike Frysinger <vapier@gentoo.org>
26523
26524 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26525 check for __NR_fadvise64_64.
26526
82123268
CM
265272012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26528
26529 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26530 0, not just to plain "0" as a statement.
26531 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26532 with cw.
26533
d9814526
JM
265342012-12-06 Joseph Myers <joseph@codesourcery.com>
26535
26536 * NEWS: Use sourceware.org in Bugzilla URL.
26537
7728c574
SP
265382012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26539
f16946dd
SP
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26541 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26542
5704bbcb
SP
26543 * stdio-common/tst-put-error.c (do_test): Add newline to the
26544 padded test to ensure flush.
26545
17aa0516
JL
265462012-12-05 Jeff Law <law@redhat.com>
26547
26548 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26549
363313b5
JM
265502012-12-05 Joseph Myers <joseph@codesourcery.com>
26551
effbd42a
JM
26552 * README: Don't refer to ports add-on as distributed separately.
26553 Mention AArch64 in list of systems supported in the ports add-on.
26554
87600365
JM
26555 * LICENSES: Add more non-FSF copyright and license notices.
26556
a0d7066a
JM
26557 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26558 ((unused)).
26559
66ca5a5b
JM
26560 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26561
363313b5
JM
26562 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26563 10000 as width of padded output.
26564
b37984ad
JM
265652012-12-04 Joseph Myers <joseph@codesourcery.com>
26566
9003570a
JM
26567 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26568
b37984ad
JM
26569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26570 variable LX with __attribute__ ((unused)).
26571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26572 Likewise.
26573 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26574 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26576 with __attribute__ ((unused)).
26577
c8df52ec
DM
265782012-12-04 David S. Miller <davem@abraco.davemloft.net>
26579
26580 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26581
b3b099af
JM
265822012-12-04 Joseph Myers <joseph@codesourcery.com>
26583
c33aa6e3
JM
26584 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26585 (CFLAGS-nldbl-acos.c): New variable.
26586 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26607 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26608 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26609 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26610 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26611 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26612 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26613 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26614 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26615 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26616 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26617 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26618 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26619 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26620 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26621 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26622 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26623 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26624 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26625 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26626 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26627 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26628 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26629 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26630 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26631 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26632 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26633 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26634 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26635 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26636 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26637 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26638 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26639 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26640 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26641 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26642 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26643 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26644 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26645 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26646 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26647 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26648 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26649 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26650 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26651 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26652 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26653 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26654 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26655 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26656 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26657 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26658 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26659 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26660 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26661 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26662 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26663 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26664 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26665 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26666 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26667 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26668 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26669 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26670 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26671 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26672 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26673 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26674 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26675 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26676 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26677 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26678 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26679 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26680 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26681 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26682 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26683
20f0018d
JM
26684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26685 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26686
b3b099af
JM
26687 [BZ #14914]
26688 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26689 whole low double instead of just low 47 bits when splitting values
26690 into two parts.
26691
029264d1
AM
266922012-12-03 Allan McRae <allan@archlinux.org>
26693
26694 * manual/stdio.texi (Predefined Printf Handlers): Remove
26695 @hsep and @vsep usage.
26696
c9d6789e
MF
266972012-12-03 Mike Frysinger <vapier@gentoo.org>
26698
26699 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26700 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26701
4b7634a5
JL
267022012-12-03 Jeff Law <law@redhat.com>
26703
26704 * time/sys/time.h (settimeofday): Do not mark TV argument
26705 as __nonnull.
26706
eb6cbd24
MF
267072012-12-01 Mike Frysinger <vapier@gentoo.org>
26708
26709 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26710 when currently writing and seek to current position when not.
26711 * libio/Makefile (tests): Remove bug-fclose1.
26712 * libio/bug-fclose1.c: Delete.
26713
f638872a
JM
267142012-12-01 Joseph Myers <joseph@codesourcery.com>
26715
26716 * manual/arith.texi (feenableexcept): Fix typo.
26717 (fedisableexcept): Likewise.
26718
48085d14
RM
267192012-11-30 Roland McGrath <roland@hack.frob.com>
26720
26721 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26722 second, differently-typed declaration, rather than a cast.
26723
1a538b9f
SP
267242012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26725
26726 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26727 * include/rpc/svc.h: ... here.
26728
d07f2ff1 267292012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26730
26731 [BZ #13013]
26732 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26733 depending n and resplen2 to catch cases where answer
26734 equals answerp2.
26735
c93ec1f0
CD
267362012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26737
26738 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26739 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26740
37db69de
MF
267412012-11-29 Mike Frysinger <vapier@gentoo.org>
26742
26743 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26744
e10c4e4f
RM
267452012-11-29 Roland McGrath <roland@hack.frob.com>
26746
26747 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26748
2af1b328
JL
267492012-11-28 Jeff Law <law@redhat.com>
26750
26751 [BZ #13761]
26752 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26753 dataset_temporary. Track alloca usage into alloca_used.
26754 If dataset is large allocate and release it via malloc/free.
26755
111db5b1
FW
267562012-06-04 Florian Weimer <fweimer@redhat.com>
26757
f06cc227 26758 [BZ #14197]
111db5b1
FW
26759 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26760
dd694abd
DM
267612012-11-28 David S. Miller <davem@davemloft.net>
26762
26763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26764
9984dd01
JM
267652012-11-28 Joseph Myers <joseph@codesourcery.com>
26766
26767 [BZ #14803]
26768 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26769 of pi/2 rounded to nearest to 64 bits.
26770 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26771 nearest to 64 bits.
26772 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26773 bits.
26774
14bc93a9
JL
267752012-11-28 Jeff Law <law@redhat.com>
26776 Martin Osvald <mosvald@redhat.com>
26777
26778 [BZ #14889]
26779 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26780 * sunrpc/svc.c: Include time.h.
26781 (__svc_accept_failed): New function.
26782 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26783 any reason other than EINTR, call __svc_accept_failed.
26784 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26785 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26786
e3c6aa3a
AS
267872012-11-28 Andreas Schwab <schwab@suse.de>
26788
26789 * scripts/abilist.awk: Also handle indirect functions in .opd
26790 section.
26791
1bead169
JM
267922012-11-28 Joseph Myers <joseph@codesourcery.com>
26793
26794 [BZ #13881]
26795 * sysdeps/x86/fpu/powl_helper.c: New file.
26796 * sysdeps/x86/fpu/Makefile: Likewise.
26797 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26798 (p3): New object.
26799 (__ieee754_powl): Use __powl_helper for finite arguments except
26800 integer exponents below 8.
26801 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26802 (p3): New object.
26803 (__ieee754_powl): Use __powl_helper for finite arguments except
26804 integer exponents below 8.
26805 * math/libm-test.inc (pow_test): Add more tests and enable some
26806 previously disabled tests.
26807 * sysdeps/i386/fpu/libm-test-ulps: Update.
26808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809
0817d63d
SP
268102012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26811 Carlos O'Donell <carlos_odonell@mentor.com>
26812
26813 * nss/makedb.c (is_prime): Assert that input is odd and greater
26814 than 4. Note that fact in a comment too.
26815 (next_prime): Add 4 to input.
26816
de2fd463
SP
268172012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26818
26819 [BZ #11741]
26820 * libio/Makefile (tests): Add test case tst-fwrite-error.
26821 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26822 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26823 * libio/tst-fwrite-error.c: New test case.
26824
c515fb51
L
268252012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26826
26827 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26828 before casting to void *.
26829 * include/libc-internal.h (__pointer_type): New macro.
26830 (__integer_if_pointer_type_sub): Likewise.
26831 (__integer_if_pointer_type): Likewise.
26832 (cast_to_integer): Likewise.
26833 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26834 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26835 before casting to atomic64_t.
26836 (atomic_exchange_acq): Likewise.
26837 (__arch_exchange_and_add_body): Likewise.
26838 (__arch_add_body): Likewise.
26839 (atomic_add_negative): Likewise.
26840 (atomic_add_zero): Likewise.
26841
4cf77aa9
JM
268422012-11-26 Joseph Myers <joseph@codesourcery.com>
26843
26844 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26845 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26846 (add_fdes): Likewise.
26847 (linear_search_fdes): Likewise.
26848 (binary_search_unencoded_fdes): Likewise.
26849
d260b3b4
AS
268502012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26851
26852 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26853
67060746
AC
268542012-11-24 Adam Conrad <adconrad@0c3.net>
26855
26856 * configure.in: Autodetect C++ header directories.
26857 * configure: Regenerated.
26858
800938a1
MF
268592012-11-23 Mike Frysinger <vapier@gentoo.org>
26860
26861 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26862
4e6e34e6
AS
268632012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26864
26865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26866
7c7feb47
JM
268672012-11-22 Joseph Myers <joseph@codesourcery.com>
26868
7184dcdf
JM
26869 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26870 LDBL_MANT_DIG == 106]: Disable some tests.
26871 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26872 Likewise.
26873 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26874 Likewise.
26875
0a42601f
JM
26876 [BZ #14871]
26877 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26878 input for small inputs. Return +/- pi/2 for large inputs.
26879 * math/libm-test.inc (atan_test): Add more tests.
26880
79c9b9fe
JM
26881 * sysdeps/generic/unwind-dw2-fde-glibc.c
26882 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26883 __attribute__ ((unused)).
26884
c60d3bf2
JM
26885 [BZ #14645]
26886 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26887 x * y if x and y are nonzero and z is zero.
26888
ef1e0867
JM
26889 [BZ #14811]
26890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26891 nonzero exponents with absolute value below 0x1p-117 to +/-
26892 0x1p-117.
26893
1468ded3
JM
26894 [BZ #14869]
26895 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26896 up arguments below 2**-450, not just those below 2**-500.
26897 * math/libm-test.inc (hypot_test): Add another test.
26898
8e27e3cc
JM
26899 [BZ #14868]
26900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26901 Return a+b for ratio over 2**120, not 2**60.
26902 * math/libm-test.inc (hypot_test): Add another test.
26903
c9c0279b
JM
26904 * math/libm-test.inc (clog_test): Use
26905 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26906 (clog10_test): Likewise.
26907
7c7feb47
JM
26908 [BZ #6778]
26909 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26910
fff1530e
AS
269112012-11-22 Andreas Schwab <schwab@suse.de>
26912
26913 * sysdeps/i386/fpu/libm-test-ulps: Update.
26914
94558d30
PT
269152012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26916
26917 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26918 printf output with newline.
26919
7e1be741
L
269202012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26921
6bfea974
L
26922 [BZ #14865]
26923 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26924 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26925 -z nodlopen, -z initfirst and -z execstack support.
26926 * configure: Regenerated.
26927
7e1be741
L
26928 * elf/elf.h (DF_1_NODIRECT): New macro.
26929 (DF_1_IGNMULDEF): Likewise.
26930 (DF_1_NOKSYMS): Likewise.
26931 (DF_1_NOHDR): Likewise.
26932 (DF_1_EDITED): Likewise.
26933 (DF_1_NORELOC): Likewise.
26934 (DF_1_SYMINTPOSE): Likewise.
26935 (DF_1_GLOBAUDIT): Likewise.
26936 (DF_1_SINGLETON): Likewise.
26937 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26938 DT_1_SUPPORTED_MASK bits.
26939 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26940
105ce2ce
CD
269412012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26942
26943 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26944
123be9de
TS
269452012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26946
d072f3f7
TS
26947 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26948 macro.
26949
123be9de
TS
26950 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26951 (sendmmsg): Move declarations...
26952 * socket/sys/socket.h: ... here.
26953 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26954 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26955 include it from...
26956 * socket/recvmmsg.c: ... this new file.
26957 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26958 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26959 definition of __sendmmsg hidden.
26960 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26961 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26962 Move ENOSYS stub into and include it from...
26963 * socket/sendmmsg.c: ... this new file.
26964 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26965 (sysdep_routines): Move recvmmsg and sendmmsg...
26966 * socket/Makefile (routines): ... here.
26967 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26968 (GLIBC_PRIVATE): Add __sendmmsg.
26969 * include/sys/socket.h (__sendmmsg): Add declarations.
26970 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26971 sendmmsg.
26972
cf9a5d18
JM
269732012-11-20 Joseph Myers <joseph@codesourcery.com>
26974
26975 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26976 variable I1 with __attribute__ ((unused)).
26977 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26978
ecd4caf9
JM
269792012-11-19 Joseph Myers <joseph@codesourcery.com>
26980
be14d48f
JM
26981 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26982 DUMMY variables with __attribute__ ((unused)).
26983
ecd4caf9
JM
26984 * bits/byteswap.h: Include <bits/types.h>.
26985 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26986
986cab95
PT
269872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26988
26989 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26990 string_t. Do not manually set errno.
26991 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26992 length with __strnlen. Make sure to both set errno and return it on
26993 failure.
26994
6d33cc9d
DM
269952012-11-19 David S. Miller <davem@davemloft.net>
26996
26997 With help from Joseph Myers.
26998 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26999 very large arguments properly.
27000 * math/libm-test.inc (atan_test): New tests.
27001 (atan2_test): New tests.
27002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27004
ee663277
JM
270052012-11-19 Joseph Myers <joseph@codesourcery.com>
27006
877f2d8e
JM
27007 [BZ #14856]
27008 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27009 Define to 3.
27010
116fc08a
JM
27011 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27012 [POSIX] (EADDRNOTAVAIL): Likewise.
27013 [POSIX] (EAFNOSUPPORT): Likewise.
27014 [POSIX] (EALREADY): Likewise.
27015 [POSIX] (ECONNABORTED): Likewise.
27016 [POSIX] (ECONNREFUSED): Likewise.
27017 [POSIX] (ECONNRESET): Likewise.
27018 [POSIX] (EDESTADDRREQ): Likewise.
27019 [POSIX] (EDQUOT): Likewise.
27020 [POSIX] (EHOSTUNREACH): Likewise.
27021 [POSIX] (EIDRM): Likewise.
27022 [POSIX] (EISCONN): Likewise.
27023 [POSIX] (ELOOP): Likewise.
27024 [POSIX] (EMULTIHOP): Likewise.
27025 [POSIX] (ENETDOWN): Likewise.
27026 [POSIX] (ENETUNREACH): Likewise.
27027 [POSIX] (ENOBUFS): Likewise.
27028 [POSIX] (ENODATA): Likewise.
27029 [POSIX] (ENOLINK): Likewise.
27030 [POSIX] (ENOMSG): Likewise.
27031 [POSIX] (ENOPROTOOPT): Likewise.
27032 [POSIX] (ENOSR): Likewise.
27033 [POSIX] (ENOSTR): Likewise.
27034 [POSIX] (ENOTCONN): Likewise.
27035 [POSIX] (ENOTSOCK): Likewise.
27036 [POSIX] (EOPNOTSUPP): Likewise.
27037 [POSIX] (EOVERFLOW): Likewise.
27038 [POSIX] (EPROTO): Likewise.
27039 [POSIX] (EPROTONOSUPPORT): Likewise.
27040 [POSIX] (EPROTOTYPE): Likewise.
27041 [POSIX] (ESTALE): Likewise.
27042 [POSIX] (ETIME): Likewise.
27043 [POSIX] (ETXTBSY): Likewise.
27044 [POSIX] (EWOULDBLOCK): Likewise.
27045 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27046 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27047 [POSIX] (SEEK_CUR): Likewise.
27048 [POSIX] (SEEK_END): Likewise.
27049 [POSIX || UNIX98] (mode_t): Do not require.
27050 [POSIX] (off_t): Likewise.
27051 [POSIX] (pid_t): Likewise.
27052 [POSIX] (sys/stat.h): Do not allow header.
27053 [POSIX] (unistd.h): Likewise.
27054 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27055 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27056 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27057 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27058 require.
27059 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27060 sigevent): Specify elements.
27061 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27062 entry.
27063 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27064 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27065
a483863f
JM
27066 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27067 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27068 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27069 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27070 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27071 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27072 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27073 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27074 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27075 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27076 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27077 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27078 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27079 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27080 Likewise.
27081 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27082 Likewise.
27083 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27084 Likewise.
27085 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27086 Likewise.
27087 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27088 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27089 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27090 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27091 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27092 Specify lower bound on value.
27093 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27094 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27097 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27098 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27099 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27100 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27101 value.
27102 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27103 as optional.
27104 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27105 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27106 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27107 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27108 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27109 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27110 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27111 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27112 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27113 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27114 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27115 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27116 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27117 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27118 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27119 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27120 entry.
27121 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27122 optional.
27123 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27124 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27125 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27126 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27127 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27128 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27129 Likewise.
27130 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27131 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27132 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27133 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27134 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27135 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27136 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27137 as optional.
27138 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27139 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27140 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27141 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27142 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27143 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27144 specify as optional.
27145 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27146 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27147 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27148 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27149 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27150 [XPG3] (NL_LANGMAX): Likewise.
27151 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27152 [POSIX || XPG3] (NL_NMAX): Likewise.
27153 [POSIX || XPG3] (NL_SETMAX): Likewise.
27154 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27155 [XPG3] (NZERO): Likewise.
27156 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27157 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27158 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27159 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27160 (REG_ERANGE): Expect.
27161 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27162 optional-constant.
27163 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27164 Use (void) in prototype.
27165 [POSIX] (*_t): Allow.
27166 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27167 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27168 (WRDE_BADVAL): Expect.
27169
5ba924e3
JM
27170 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27171 expect.
27172 [XPG3 || XPG4] (O_RSYNC): Likewise.
27173 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27174 Likewise.
27175 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27176 [XPG3 || XPG4] (sigqueue): Likewise.
27177 [XPG3 || XPG4] (sigtimedwait): Likewise.
27178 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27179 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27180 [XPG3 || XPG4] (vsnprintf): Likewise.
27181 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27182 Likewise.
27183 [XPG3 || XPG4] (blksize_t): Likewise.
27184 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27185 Likewise.
27186 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27187 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27188 [XPG3 || XPG4] (struct itimerspec): Likewise.
27189 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27190 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27191 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27192 [XPG3 || XPG4] (clockid_t): Likewise.
27193 [XPG3 || XPG4] (timer_t): Likewise.
27194 [XPG3 || XPG4] (clock_getres): Likewise.
27195 [XPG3 || XPG4] (clock_gettime): Likewise.
27196 [XPG3 || XPG4] (clock_settime): Likewise.
27197 [XPG3 || XPG4] (nanosleep): Likewise.
27198 [XPG3 || XPG4] (timer_create): Likewise.
27199 [XPG3 || XPG4] (timer_delete): Likewise.
27200 [XPG3 || XPG4] (timer_gettime): Likewise.
27201 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27202 [XPG3 || XPG4] (timer_settime): Likewise.
27203 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27204 [XPG3 || XPG4] (getlogin_r): Likewise.
27205 [XPG3 || XPG4] (pread): Likewise.
27206 [XPG3 || XPG4] (pthread_atfork): Likewise.
27207 [XPG3 || XPG4] (pwrite): Likewise.
27208
ee663277
JM
27209 [BZ #14835]
27210 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27211 <bits/siginfo.h>.
27212
942caa16
PT
272132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27214
e19af380
PT
27215 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27216 finalizing MALLSTREAM.
27217
942caa16
PT
27218 * sysdeps/mach/hurd/syncfs.c: New file.
27219
cfde9b46
SP
272202012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27221
27222 [BZ #14719]
27223 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27224 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27225 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27226 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27227 (_nss_dns_gethostbyname4_r): Likewise.
27228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27229 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27230
f6da27e5
PH
272312012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27232
27233 [BZ #13763]
27234 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27235
6665d4a2
SM
272362012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27237
1f51ee92
SM
27238 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27239 * elf/cache.c (print_entry): Print ",AArch64" for
27240 FLAG_AARCH64_LIB64
27241
6665d4a2
SM
27242 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27243 * elf/cache.c (print_entry): Print ",hard-float" for
27244 FLAG_ARM_LIBHF.
27245
05b227bd
DM
272462012-11-18 David S. Miller <davem@davemloft.net>
27247
27248 With help from Joseph Myers.
27249 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27250 cutoff to 2**-13.
27251 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27252 cutoff to 2**-25.
27253 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27254 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27255 small.
27256 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27257 * math/libm-test.inc (y0_test): New tests.
27258 (y1_test): New tests.
27259 * sysdeps/i386/fpu/libm-test-ulps: Update.
27260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27262
786b0b67
AS
272632012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27264
27265 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27266 64-bit targets.
27267 * configure: Regenerated.
27268
8e18b86d
DM
272692012-11-17 David S. Miller <davem@davemloft.net>
27270
27271 [BZ #14811]
27272 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27273 nonzero exponents with absolute value below 0x1p-128 to +/-
27274 0x1p-128.
27275
531f1ae0
JM
272762012-11-17 Joseph Myers <joseph@codesourcery.com>
27277
12df29e2
JM
27278 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27279
150dc1a0
JM
27280 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27281
531f1ae0
JM
27282 * posix/getconf-speclist.c: New file.
27283 * posix/posix-envs.def: Likewise.
27284 * posix/confstr.c (START_ENV_GROUP): New macro.
27285 (END_ENV_GROUP): Likewise.
27286 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27287 (KNOWN_PRESENT_ENV_STRING): Likewise.
27288 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27289 (UNKNOWN_ENVIRONMENT): Likewise.
27290 (confstr): Include posix-envs.def instead of handling
27291 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27292 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27293 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27294 (END_ENV_GROUP): Likewise.
27295 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27296 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27297 (UNKNOWN_ENVIRONMENT): Likewise.
27298 (__sysconf): Include posix-envs.def instead of handling associated
27299 cases directly here.
27300 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27301 preprocessing getconf-speclist.c rather than running getconf or
27302 generating empty file.
27303
a93f9cbc
PT
273042012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27305
27306 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27307
d64d9f87
AL
273082012-11-16 Andrej Lajovic <natrij@gmail.com>
27309
27310 [BZ #14672]
27311 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27312
447885eb
DM
273132012-11-16 David S. Miller <davem@davemloft.net>
27314
27315 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27316 smaller than LDBL_EPSILON/2.0L, just return xm1.
27317
bcbf9830
L
273182012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27319
27320 * elf/tst-array1.c (init): Set constructor priority to 1000.
27321 (fini): Set destructor priority to 1000.
27322 * elf/tst-array2dep.c: Likewise.
27323
2b766585
SP
273242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27325
27326 [BZ #11741]
27327 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27328 (_IO_new_file_xsputn): Also return EOF if none of the input
27329 data was written when overflow failed.
27330 * libio/iopadn.c (_IO_padn): Likewise.
27331 * libio/iowpadn.c (_IO_wpadn): Likewise.
27332 * stdio-common/tst-put-error.c: Add copyright notice.
27333 (do_test): Add case for printing padded string.
27334 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27335 _IO_padn returned error.
27336 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27337 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27338 return EOF.
27339
b1848fde
SP
273402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27341
27342 * libio/libioP.h: Add comment note that the references to C++
27343 bits are now obsolete.
27344
2fd89785
MS
273452012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27346
27347 * math/libm-test.inc (check_complex): Use asprintf.
27348
e3ea5409
JM
273492012-11-14 Joseph Myers <joseph@codesourcery.com>
27350
27351 * debug/pcprofiledump.c (print_version): Update copyright year.
27352 * malloc/memusagestat.c (print_version): Likewise.
27353
2e64d265
L
273542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27355
27356 [BZ #14831]
27357 * elf/Makefile (tests): Add tst-audit8.
27358 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27359 ($(objpfx)tst-audit8.out): New target.
27360 (tst-audit8-ENV): New variable.
27361 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27362 audit if l_reloc_result is NULL.
27363 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27364 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27365 * elf/tst-audit8.c: New file.
27366
c485e4d2
MS
273672012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27368
27369 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27370 * misc/Makefile (CFLAGS-select.c): Define.
27371 * posix/Makefile (CFLAGS-pause.c): Define.
27372
3a0d900a
DM
273732012-11-13 David S. Miller <davem@davemloft.net>
27374
27375 * crypt/Makefile: Move test targets after toplevel Rules
27376 inclusion. Grab any necessary sysdep routines when linking.
27377 * crypt/md5.c (md5_process_block): Remove define, we will always
27378 name it __md5_process_block.
27379 (md5_finish_ctx): Update md5_process_block call.
27380 (md5_stream): Likewise.
27381 (md5_process_bytes): Likewise.
27382 (md5_process_block): Rename to __md5_process_block and move to ...
27383 * crypt/md5-block.c: ... here.
27384 * crypt/sha256.c (sha256_process_block): Move to ...
27385 * crypt/sha256-block.c: ... here.
27386 * crypt/sha512.c (sha512_process_block): Move to ...
27387 * crypt/sha512-block.c: ... here.
27388 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27389 path.
27390 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27391 * sysdeps/sparc/sparc64/multiarch/Makefile
27392 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27393 crypt subdir.
27394 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27395 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27396 multiarch changes.
27397 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27398 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27399 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27400 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27401 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27402 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27403 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27404 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27405 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27406 file.
27407 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27408 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27409 file.
27410 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27411
8ca89318
JM
274122012-11-13 Joseph Myers <joseph@codesourcery.com>
27413
e27d476a
JM
27414 * timezone/tzselect.ksh: Update from tzcode git revision
27415 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27416 * timezone/zdump.c: Likewise.
27417 * timezone/zic.c: Likewise.
27418 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27419 in TZVERSION setting, not $(PKGVERSION).
27420 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27421 REPORT_BUGS_TO settings.
27422
8ca89318
JM
27423 [BZ #14838]
27424 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27425 macro.
27426
47594329
MS
274272012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27428
27429 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27430 detection to immediately after _FP_ROUND().
27431 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27432 bits are 0.
27433
640ac3f1
DM
274342012-11-11 David S. Miller <davem@davemloft.net>
27435
27436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27437 inttypes.h
27438 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27439 __close rather than their public counterparts.
27440
3d2577bb
JM
274412012-11-10 Joseph Myers <joseph@codesourcery.com>
27442
27443 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27444 file.
27445 [UNIX98] (sem_timedwait): Do not expect.
27446 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27447 [XPG4 || UNIX98] (sockatmark): Do not expect.
27448 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27449 (clock_getcpuclockid): Do not expect.
27450 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27451 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27452 Do not expect.
27453 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27454 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27455 [UNIX98] (vwscanf): Likewise.
27456 [UNIX98] (vswscanf): Likewise.
27457
fb1ae1ee
JM
274582012-11-09 Joseph Myers <joseph@codesourcery.com>
27459
9ec6f8bd
JM
27460 * timezone/version.h: Remove file.
27461 * timezone/README: Do not refer to version.h.
27462 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27463 $(objpfx)version.h.
27464 ($(objpfx)zdump.o): Likewise.
c3f81911 27465 ($(objpfx)version.h): New target.
9ec6f8bd 27466
0aa8f8a1
JM
27467 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27468 2012i.
27469 * timezone/README: Don't mention modification to tzselect.ksh.
27470 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27471 work on unmodified tzselect.ksh. Substitute version numbers in
27472 tzselect.ksh.
27473
4e87147f
JM
27474 * Makefile (format-me): Remove.
27475 (INSTALL): Adjust indentation. Use commands directly instead of
27476 using $(format-me).
27477
8b748aed
JM
27478 * aclocal.m4 (ACX_PKGVERSION): New macro.
27479 (ACX_BUGURL): Likewise.
27480 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27481 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27482 (REPORT_BUGS_TO): Likewise.
27483 * configure: Regenerated.
27484 * config.h.in (PKGVERSION): New macro.
27485 (REPORT_BUGS_TO): Likewise.
27486 * config.make.in (PKGVERSION): New variable.
27487 (PKGVERSION_TEXI): Likewise.
27488 (REPORT_BUGS_TO): Likewise.
27489 (REPORT_BUGS_TEXI): Likewise.
27490 * Makefile (format-me): Use -I$(common-objpfx)manual.
27491 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27492 ($(common-objpfx)manual/%): New target.
27493 (manual/%): Remove target.
27494 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27495 (print_version): Use PKGVERSION.
27496 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27497 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27498 and REPORT_BUGS_TO.
27499 ($(objpfx)xtrace): Likewise.
27500 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27501 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27502 (print_version): Use PKGVERSION.
27503 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27504 (do_version): Use PKGVERSION.
27505 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27506 REPORT_BUGS_TO.
27507 (common-ldd-rewrite): Likewise.
27508 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27509 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27510 (print_version): Use PKGVERSION.
27511 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27512 * elf/pldd.c (argp_program_bug_address): Remove variable.
27513 (more_help): New function.
27514 (argp): Use more_help.
27515 (print_version): Use PKGVERSION.
27516 * elf/sln.c (main): Use PKGVERSION.
27517 (usage): Use REPORT_BUGS_TO.
27518 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27519 (top level): Use PKGVERSION.
27520 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27521 (print_version): Use PKGVERSION.
27522 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27523 (print_version): Use PKGVERSION.
27524 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27525 (print_version): Use PKGVERSION.
27526 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27527 (print_version): Use PKGVERSION.
27528 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27529 (print_version): Use PKGVERSION.
27530 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27531 (print_version): Use PKGVERSION.
27532 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27533 and BUGURL.
27534 ($(objpfx)memusage): Likewise.
27535 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27536 (do_version): Use PKGVERSION.
27537 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27538 (print_version): Use PKGVERSION.
27539 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27540 ($PKGVERSION): New variable.
27541 ($REPORT_BUGS_TO): Likewise.
27542 (usage): Use $REPORT_BUGS_TO.
27543 (top level): Use $PKGVERSION.
27544 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27545 ($(objpfx)pkgvers.texi): New rule.
27546 ($(objpfx)stamp-pkgvers): Likewise.
27547 * manual/install.texi: Include pkgvers.texi.
27548 (--with-pkgversion): Document new configure option.
27549 (--with-bugurl): Likewise.
27550 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27551 than necessarily for this particular distribution. Use
27552 REPORT_BUGS_TO for where to report bugs.
27553 * INSTALL: Regenerated.
27554 * manual/libc.texinfo: Include pkgvers.texi.
27555 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27556 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27557 (print_version): Use PKGVERSION.
27558 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27559 (print_version): Use PKGVERSION.
27560 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27561 (print_version): Use PKGVERSION.
27562 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27563 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27564 macro.
27565 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27566 (print_version): Use PKGVERSION.
27567 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27568 (print_version): Use PKGVERSION.
27569 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27570 and PKGVERSION.
27571
92e4b6a9
JM
27572 * timezone/checktab.awk: Update from tzcode 2012i.
27573 * timezone/ialloc.c: Likewise.
27574 * timezone/private.h: Likewise.
27575 * timezone/scheck.c: Likewise.
27576 * timezone/tzfile.h: Likewise.
27577 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27578 (TZVERSION): Hardcode tzcode version number.
27579 * timezone/zdump.c: Update from tzcode 2012i.
27580 * timezone/zic.c: Likewise.
27581 * timezone/version.h: New file.
27582 * timezone/README: Describe version.h. Update upstream location.
27583
9bde902c
JM
27584 [BZ #14824]
27585 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27586 (mktemp): Enable declaration.
27587 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27589 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27591 Likewise.
27592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27593 Likewise.
27594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27595 Likewise.
27596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27597 Likewise.
27598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27599 Likewise.
27600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27601 Likewise.
27602
fb1ae1ee
JM
27603 [BZ #14821]
27604 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27605 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27606 for copies of such integer values.
27607 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27608 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27609
2c1adbcb
AJ
276102012-11-09 Andreas Jaeger <aj@suse.de>
27611
27612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27613 definitions and declarations that are provided by
27614 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27615
d0f8457e
AK
276162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27617
3a235abb 27618 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27619 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27620 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27621 definition.
27622
57241e26
MS
276232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27624
27625 * elf/elf.h: Update comment before AArch64 relocations.
27626
60e8270d
DM
276272012-11-07 David S. Miller <davem@davemloft.net>
27628
27629 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27630 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27631 (__start_context): Declare.
27632 (__makecontext_ret): Delete.
27633 (__makecontext): Hook up __start_context instead of
27634 __makecontext_ret.
27635 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27636 (sysdep_routines): Add __start_context when in stdlib.
27637
0fbb0fbc
JM
276382012-11-07 Joseph Myers <joseph@codesourcery.com>
27639
27640 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27641 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27642 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27643 hardcoded "nm".
27644 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27645 (READELF): New variable. Use it instead of hardcoded "readelf".
27646
eb48db7e
L
276472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27648
27649 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27650 * sysdeps/x86/Makefile: Here.
27651 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27652 * sysdeps/x86/tst-xmmymm.sh: This.
27653
05bcf62a
JM
276542012-11-07 Joseph Myers <joseph@codesourcery.com>
27655
c4b6cf53
JM
27656 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27657 expectations.
27658 [UNIX98] (pthread_barrier_t): Do not expect.
27659 [UNIX98] (pthread_barrierattr_t): Likewise.
27660 [UNIX98] (pthread_spinlock_t): Likewise.
27661 [UNIX98] (pthread_barrier_destroy): Likewise.
27662 [UNIX98] (pthread_barrier_init): Likewise.
27663 [UNIX98] (pthread_barrier_wait): Likewise.
27664 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27665 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27666 [UNIX98] (pthread_barrierattr_init): Likewise.
27667 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27668 [UNIX98] (pthread_getcpuclockid): Likewise.
27669 [UNIX98] (pthread_mutex_timedlock): Likewise.
27670 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27671 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27672 [UNIX98] (pthread_sigmask): Likewise.
27673 [UNIX98] (pthread_spin_destroy): Likewise.
27674 [UNIX98] (pthread_spin_init): Likewise.
27675 [UNIX98] (pthread_spin_lock): Likewise.
27676 [UNIX98] (pthread_spin_trylock): Likewise.
27677 [UNIX98] (pthread_spin_unlock): Likewise.
27678 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27679 Do not expect.
27680 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27682 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27683 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27684 [XPG3 || XPG4] (pthread_key_t): Likewise.
27685 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27686 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27687 [XPG3 || XPG4] (pthread_once_t): Likewise.
27688 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27689 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27690 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27691 [XPG3 || XPG4] (pthread_t): Likewise.
27692
cbe6e120
JM
27693 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27694 not expect.
27695 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27696
1b126443
JM
27697 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27698 Change function return type to int.
27699
b961a573
JM
27700 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27701 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27702 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27703 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27704 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27705 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27706 [!POSIX] (posix_madvise): Likewise.
27707 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27708 && !UNIX98].
27709 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27710 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27711 (mode_t): Likewise.
27712 (posix_mem_offset): Likewise.
27713 (posix_typed_mem_get_info): Likewise.
27714 (posix_typed_mem_open): Likewise.
27715
9e188909
JM
27716 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27717 Change condition to [XOPEN2K8].
27718
05bcf62a
JM
27719 * conform/conformtest.pl: Preprocess allow-header data with -x c
27720 instead of from stdin.
27721 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27722 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27723 [C99-based standards] (cerfc): Likewise.
27724 [C99-based standards] (cexp2): Likewise.
27725 [C99-based standards] (cexpm1): Likewise.
27726 [C99-based standards] (clog10): Likewise.
27727 [C99-based standards] (clog1p): Likewise.
27728 [C99-based standards] (clog2): Likewise.
27729 [C99-based standards] (clgamma): Likewise.
27730 [C99-based standards] (ctgamma): Likewise.
27731 [C99-based standards] (cerff): Likewise.
27732 [C99-based standards] (cerfcf): Likewise.
27733 [C99-based standards] (cexp2f): Likewise.
27734 [C99-based standards] (cexpm1f): Likewise.
27735 [C99-based standards] (clog10f): Likewise.
27736 [C99-based standards] (clog1pf): Likewise.
27737 [C99-based standards] (clog2f): Likewise.
27738 [C99-based standards] (clgammaf): Likewise.
27739 [C99-based standards] (ctgammaf): Likewise.
27740 [C99-based standards] (cerfl): Likewise.
27741 [C99-based standards] (cerfcl): Likewise.
27742 [C99-based standards] (cexp2l): Likewise.
27743 [C99-based standards] (cexpm1l): Likewise.
27744 [C99-based standards] (clog10l): Likewise.
27745 [C99-based standards] (clog1pl): Likewise.
27746 [C99-based standards] (clog2l): Likewise.
27747 [C99-based standards] (clgammal): Likewise.
27748 [C99-based standards] (ctgammal): Likewise.
27749 * conform/data/inttypes.h-data [C99-based standards]: Include
27750 stdint.h-data. Remove all expectations for stdint.h contents.
27751 [C99-based standards] (PRI*): Do not allow.
27752 [C99-based standards] (SCN*): Likewise.
27753 [C99-based standards] (*_t): Likewise.
27754 [C99-based-standards] (PRId8): Expect macro.
27755 [C99-based-standards] (PRIi8): Likewise.
27756 [C99-based-standards] (PRIo8): Likewise.
27757 [C99-based-standards] (PRIu8): Likewise.
27758 [C99-based-standards] (PRIx8): Likewise.
27759 [C99-based-standards] (PRIX8): Likewise.
27760 [C99-based-standards] (SCNd8): Likewise.
27761 [C99-based-standards] (SCNi8): Likewise.
27762 [C99-based-standards] (SCNo8): Likewise.
27763 [C99-based-standards] (SCNu8): Likewise.
27764 [C99-based-standards] (SCNx8): Likewise.
27765 [C99-based-standards] (PRIdLEAST8): Likewise.
27766 [C99-based-standards] (PRIiLEAST8): Likewise.
27767 [C99-based-standards] (PRIoLEAST8): Likewise.
27768 [C99-based-standards] (PRIuLEAST8): Likewise.
27769 [C99-based-standards] (PRIxLEAST8): Likewise.
27770 [C99-based-standards] (PRIXLEAST8): Likewise.
27771 [C99-based-standards] (SCNdLEAST8): Likewise.
27772 [C99-based-standards] (SCNiLEAST8): Likewise.
27773 [C99-based-standards] (SCNoLEAST8): Likewise.
27774 [C99-based-standards] (SCNuLEAST8): Likewise.
27775 [C99-based-standards] (SCNxLEAST8): Likewise.
27776 [C99-based-standards] (PRIdFAST8): Likewise.
27777 [C99-based-standards] (PRIiFAST8): Likewise.
27778 [C99-based-standards] (PRIoFAST8): Likewise.
27779 [C99-based-standards] (PRIuFAST8): Likewise.
27780 [C99-based-standards] (PRIxFAST8): Likewise.
27781 [C99-based-standards] (PRIXFAST8): Likewise.
27782 [C99-based-standards] (SCNdFAST8): Likewise.
27783 [C99-based-standards] (SCNiFAST8): Likewise.
27784 [C99-based-standards] (SCNoFAST8): Likewise.
27785 [C99-based-standards] (SCNuFAST8): Likewise.
27786 [C99-based-standards] (SCNxFAST8): Likewise.
27787 [C99-based-standards] (PRId16): Likewise.
27788 [C99-based-standards] (PRIi16): Likewise.
27789 [C99-based-standards] (PRIo16): Likewise.
27790 [C99-based-standards] (PRIu16): Likewise.
27791 [C99-based-standards] (PRIx16): Likewise.
27792 [C99-based-standards] (PRIX16): Likewise.
27793 [C99-based-standards] (SCNd16): Likewise.
27794 [C99-based-standards] (SCNi16): Likewise.
27795 [C99-based-standards] (SCNo16): Likewise.
27796 [C99-based-standards] (SCNu16): Likewise.
27797 [C99-based-standards] (SCNx16): Likewise.
27798 [C99-based-standards] (PRIdLEAST16): Likewise.
27799 [C99-based-standards] (PRIiLEAST16): Likewise.
27800 [C99-based-standards] (PRIoLEAST16): Likewise.
27801 [C99-based-standards] (PRIuLEAST16): Likewise.
27802 [C99-based-standards] (PRIxLEAST16): Likewise.
27803 [C99-based-standards] (PRIXLEAST16): Likewise.
27804 [C99-based-standards] (SCNdLEAST16): Likewise.
27805 [C99-based-standards] (SCNiLEAST16): Likewise.
27806 [C99-based-standards] (SCNoLEAST16): Likewise.
27807 [C99-based-standards] (SCNuLEAST16): Likewise.
27808 [C99-based-standards] (SCNxLEAST16): Likewise.
27809 [C99-based-standards] (PRIdFAST16): Likewise.
27810 [C99-based-standards] (PRIiFAST16): Likewise.
27811 [C99-based-standards] (PRIoFAST16): Likewise.
27812 [C99-based-standards] (PRIuFAST16): Likewise.
27813 [C99-based-standards] (PRIxFAST16): Likewise.
27814 [C99-based-standards] (PRIXFAST16): Likewise.
27815 [C99-based-standards] (SCNdFAST16): Likewise.
27816 [C99-based-standards] (SCNiFAST16): Likewise.
27817 [C99-based-standards] (SCNoFAST16): Likewise.
27818 [C99-based-standards] (SCNuFAST16): Likewise.
27819 [C99-based-standards] (SCNxFAST16): Likewise.
27820 [C99-based-standards] (PRId32): Likewise.
27821 [C99-based-standards] (PRIi32): Likewise.
27822 [C99-based-standards] (PRIo32): Likewise.
27823 [C99-based-standards] (PRIu32): Likewise.
27824 [C99-based-standards] (PRIx32): Likewise.
27825 [C99-based-standards] (PRIX32): Likewise.
27826 [C99-based-standards] (SCNd32): Likewise.
27827 [C99-based-standards] (SCNi32): Likewise.
27828 [C99-based-standards] (SCNo32): Likewise.
27829 [C99-based-standards] (SCNu32): Likewise.
27830 [C99-based-standards] (SCNx32): Likewise.
27831 [C99-based-standards] (PRIdLEAST32): Likewise.
27832 [C99-based-standards] (PRIiLEAST32): Likewise.
27833 [C99-based-standards] (PRIoLEAST32): Likewise.
27834 [C99-based-standards] (PRIuLEAST32): Likewise.
27835 [C99-based-standards] (PRIxLEAST32): Likewise.
27836 [C99-based-standards] (PRIXLEAST32): Likewise.
27837 [C99-based-standards] (SCNdLEAST32): Likewise.
27838 [C99-based-standards] (SCNiLEAST32): Likewise.
27839 [C99-based-standards] (SCNoLEAST32): Likewise.
27840 [C99-based-standards] (SCNuLEAST32): Likewise.
27841 [C99-based-standards] (SCNxLEAST32): Likewise.
27842 [C99-based-standards] (PRIdFAST32): Likewise.
27843 [C99-based-standards] (PRIiFAST32): Likewise.
27844 [C99-based-standards] (PRIoFAST32): Likewise.
27845 [C99-based-standards] (PRIuFAST32): Likewise.
27846 [C99-based-standards] (PRIxFAST32): Likewise.
27847 [C99-based-standards] (PRIXFAST32): Likewise.
27848 [C99-based-standards] (SCNdFAST32): Likewise.
27849 [C99-based-standards] (SCNiFAST32): Likewise.
27850 [C99-based-standards] (SCNoFAST32): Likewise.
27851 [C99-based-standards] (SCNuFAST32): Likewise.
27852 [C99-based-standards] (SCNxFAST32): Likewise.
27853 [C99-based-standards] (PRId64): Likewise.
27854 [C99-based-standards] (PRIi64): Likewise.
27855 [C99-based-standards] (PRIo64): Likewise.
27856 [C99-based-standards] (PRIu64): Likewise.
27857 [C99-based-standards] (PRIx64): Likewise.
27858 [C99-based-standards] (PRIX64): Likewise.
27859 [C99-based-standards] (SCNd64): Likewise.
27860 [C99-based-standards] (SCNi64): Likewise.
27861 [C99-based-standards] (SCNo64): Likewise.
27862 [C99-based-standards] (SCNu64): Likewise.
27863 [C99-based-standards] (SCNx64): Likewise.
27864 [C99-based-standards] (PRIdLEAST64): Likewise.
27865 [C99-based-standards] (PRIiLEAST64): Likewise.
27866 [C99-based-standards] (PRIoLEAST64): Likewise.
27867 [C99-based-standards] (PRIuLEAST64): Likewise.
27868 [C99-based-standards] (PRIxLEAST64): Likewise.
27869 [C99-based-standards] (PRIXLEAST64): Likewise.
27870 [C99-based-standards] (SCNdLEAST64): Likewise.
27871 [C99-based-standards] (SCNiLEAST64): Likewise.
27872 [C99-based-standards] (SCNoLEAST64): Likewise.
27873 [C99-based-standards] (SCNuLEAST64): Likewise.
27874 [C99-based-standards] (SCNxLEAST64): Likewise.
27875 [C99-based-standards] (PRIdFAST64): Likewise.
27876 [C99-based-standards] (PRIiFAST64): Likewise.
27877 [C99-based-standards] (PRIoFAST64): Likewise.
27878 [C99-based-standards] (PRIuFAST64): Likewise.
27879 [C99-based-standards] (PRIxFAST64): Likewise.
27880 [C99-based-standards] (PRIXFAST64): Likewise.
27881 [C99-based-standards] (SCNdFAST64): Likewise.
27882 [C99-based-standards] (SCNiFAST64): Likewise.
27883 [C99-based-standards] (SCNoFAST64): Likewise.
27884 [C99-based-standards] (SCNuFAST64): Likewise.
27885 [C99-based-standards] (SCNxFAST64): Likewise.
27886 [C99-based-standards] (PRIdMAX): Likewise.
27887 [C99-based-standards] (PRIiMAX): Likewise.
27888 [C99-based-standards] (PRIoMAX): Likewise.
27889 [C99-based-standards] (PRIuMAX): Likewise.
27890 [C99-based-standards] (PRIxMAX): Likewise.
27891 [C99-based-standards] (PRIXMAX): Likewise.
27892 [C99-based-standards] (SCNdMAX): Likewise.
27893 [C99-based-standards] (SCNiMAX): Likewise.
27894 [C99-based-standards] (SCNoMAX): Likewise.
27895 [C99-based-standards] (SCNuMAX): Likewise.
27896 [C99-based-standards] (SCNxMAX): Likewise.
27897 [C99-based-standards] (PRIdPTR): Likewise.
27898 [C99-based-standards] (PRIiPTR): Likewise.
27899 [C99-based-standards] (PRIoPTR): Likewise.
27900 [C99-based-standards] (PRIuPTR): Likewise.
27901 [C99-based-standards] (PRIxPTR): Likewise.
27902 [C99-based-standards] (PRIXPTR): Likewise.
27903 [C99-based-standards] (SCNdPTR): Likewise.
27904 [C99-based-standards] (SCNiPTR): Likewise.
27905 [C99-based-standards] (SCNoPTR): Likewise.
27906 [C99-based-standards] (SCNuPTR): Likewise.
27907 [C99-based-standards] (SCNxPTR): Likewise.
27908 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27909 allow.
27910 * conform/data/stdint.h-data: Update comments to clarify
27911 requirements.
27912 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27913 type.
27914 [C99-based standards] (INT8_MAX): Likewise.
27915 [C99-based standards] (INT16_MIN): Likewise.
27916 [C99-based standards] (INT16_MAX): Likewise.
27917 [C99-based standards] (INT32_MIN): Likewise.
27918 [C99-based standards] (INT32_MAX): Likewise.
27919 [C99-based standards] (INT64_MIN): Likewise.
27920 [C99-based standards] (INT64_MAX): Likewise.
27921 [C99-based standards] (UINT8_MAX): Likewise.
27922 [C99-based standards] (UINT16_MAX): Likewise.
27923 [C99-based standards] (UINT32_MAX): Likewise.
27924 [C99-based standards] (UINT64_MAX): Likewise.
27925 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27926 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27927 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27928 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27929 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27930 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27931 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27932 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27933 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27934 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27935 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27936 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27937 [C99-based standards] (INT_FAST8_MIN): Likewise.
27938 [C99-based standards] (INT_FAST8_MAX): Likewise.
27939 [C99-based standards] (INT_FAST16_MIN): Likewise.
27940 [C99-based standards] (INT_FAST16_MAX): Likewise.
27941 [C99-based standards] (INT_FAST32_MIN): Likewise.
27942 [C99-based standards] (INT_FAST32_MAX): Likewise.
27943 [C99-based standards] (INT_FAST64_MIN): Likewise.
27944 [C99-based standards] (INT_FAST64_MAX): Likewise.
27945 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27946 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27947 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27948 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27949 [C99-based standards] (INTPTR_MIN): Likewise.
27950 [C99-based standards] (INTPTR_MAX): Likewise.
27951 [C99-based standards] (UINTPTR_MAX): Likewise.
27952 [C99-based standards] (INTMAX_MIN): Likewise.
27953 [C99-based standards] (INTMAX_MAX): Likewise.
27954 [C99-based standards] (UINTMAX_MAX): Likewise.
27955 [C99-based standards] (PTRDIFF_MIN): Likewise.
27956 [C99-based standards] (PTRDIFF_MAX): Likewise.
27957 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27958 [C99-based standards] (SIZE_MAX): Likewise.
27959 [C99-based standards] (WCHAR_MAX): Likewise.
27960 [C99-based standards] (WINT_MAX): Likewise.
27961 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27962 constraint on value.
27963 [C99-based standards] (WCHAR_MIN): Likewise.
27964 [C99-based standards] (WINT_MIN): Likewise.
27965 [C99-based standards] (*_t): Allow.
27966 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27967 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27968 Include math.h-data and complex.h-data. Remove all expectations
27969 of math.h and complex.h contents.
27970 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27971 at end of line.
27972 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27973 (struct tm): Expect tag.
27974 [C99-based-standards] (wcstof): Expect function.
27975 [C99-based-standards] (wcstold): Likewise.
27976 [C99-based-standards] (wcstoll): Likewise.
27977 [C99-based-standards] (wcstoull): Likewise.
27978 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27979 macro-int-constant. Specify type.
27980 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27981 constraint on value.
27982 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27983 Specify type.
27984 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27985 Specify value.
27986 [ISO C standards]: Do not allow headers.
27987 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27988 wcs[abcdefghijklmnopqrstuvwxyz]*.
27989 [ISO C standards] (*_t): Do not allow.
27990 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27991 Expect function.
27992 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27993 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27994 Specify type.
27995 [ISO C standards]: Do not allow headers.
27996 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27997 is[abcdefghijklmnopqrstuvwxyz]*.
27998 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27999 to[abcdefghijklmnopqrstuvwxyz]*.
28000 [ISO C standards] (*_t): Do not allow.
28001 * conform/data/stdalign.h-data: New file.
28002 * conform/data/stdbool.h-data: Likewise.
28003 * conform/data/stdnoreturn.h-data: Likewise.
28004
7514feb8
RM
280052012-11-07 Roland McGrath <roland@hack.frob.com>
28006
28007 [BZ #14815]
28008 * manual/filesys.texi (Directory Entries): Typo fix.
28009 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28010
19b2ecfc
MS
280112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28012
28013 * elf/elf.h (EM_AARCH64): New macro.
28014 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28015 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28016 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28017 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28018 (R_AARCH64_TLSDESC): Likewise.
28019 (NT_ARM_TLS): Likewise.
28020 (NT_ARM_HW_BREAK): Likewise.
28021 (NT_ARM_HW_WATCH): Likewise.
28022
60e235ee
JM
280232012-11-07 Joseph Myers <joseph@codesourcery.com>
28024
28025 [BZ #14811]
28026 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28027 (__ieee754_powl): Saturate nonzero exponents with absolute value
28028 below 0x1p-79 to +/- 0x1p-79.
28029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28030 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28031 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28032 nonzero exponents with absolute value below 0x1p-32 to +/-
28033 0x1p-32.
28034 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28035 (__ieee754_powl): Saturate nonzero exponents with absolute value
28036 below 0x1p-79 to +/- 0x1p-79.
28037 * math/libm-test.inc (pow_test): Add more tests.
28038
0ab234b7
AK
280392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28040
28041 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28042 _dl_s390_cap_flags with kernel. Increase string length.
28043 (_dl_s390_platforms): Add z196 and zEC12.
28044
45832f74
JM
280452012-11-07 Joseph Myers <joseph@codesourcery.com>
28046
28047 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28048 Change XOPEN21K to XOPEN2K.
28049
19218757
MK
280502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28051
28052 * string/memmove.c: Use memcpy when possible.
28053
c5f45721
AJ
280542012-11-06 Andreas Jaeger <aj@suse.de>
28055
28056 * po/eo.po: Update from translation team.
28057
82477c28
JM
280582012-11-06 Joseph Myers <joseph@codesourcery.com>
28059
28060 [BZ #14793]
28061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28062 exponent and small x and y exponents, scale x or y up. Increase
28063 by 2 the exponent used in scaling up.
28064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28066 * math/libm-test.inc (fma_test): Add more tests.
28067 (fma_test_towardzero): Likewise.
28068 (fma_test_downward): Likewise.
28069 (fma_test_upward): Likewise.
28070
99252c8c
JM
280712012-11-05 Joseph Myers <joseph@codesourcery.com>
28072
acfa885f
JM
28073 [BZ #14805]
28074 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28075 fenv_t *.
28076
99252c8c
JM
28077 [BZ #14801]
28078 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28079 namespace for names of struct fields.
28080 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28081 fenv_t fields.
28082 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28083 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28084
d6d98dea
ST
280852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28086
28087 [BZ #3665]
28088 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28089
e10bb107
TS
280902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28091
28092 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28093 PTR_DEMANGLE.
28094
28095 [BZ #5246]
28096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28097 PTR_DEMANGLE.
28098
a0c2940d
JM
280992012-11-04 Joseph Myers <joseph@codesourcery.com>
28100
28101 [BZ #14797]
28102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28103 definitely overflow as x * y not x * y + z.
28104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28106 * math/libm-test.inc (fma_test): Add more tests.
28107 (fma_test_towardzero): Likewise.
28108 (fma_test_downward): Likewise.
28109 (fma_test_upward): Likewise.
28110
b830319d
TS
281112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28112
28113 [BZ #157]
28114
28115 * include/stub-tag.h: Remove file.
28116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28117 '#include' of it.
28118 * manual/maint.texi (Porting): Don't reference it.
28119 * Makerules ($(objpfx)stubs): Likewise.
28120 * dirent/closedir.c: Don't include <stub-tag.h>.
28121 * dirent/dirfd.c: Likewise.
28122 * dirent/fdopendir.c: Likewise.
28123 * dirent/getdents.c: Likewise.
28124 * dirent/getdents64.c: Likewise.
28125 * dirent/opendir.c: Likewise.
28126 * dirent/readdir.c: Likewise.
28127 * dirent/readdir64.c: Likewise.
28128 * dirent/readdir64_r.c: Likewise.
28129 * dirent/readdir_r.c: Likewise.
28130 * dirent/rewinddir.c: Likewise.
28131 * dirent/seekdir.c: Likewise.
28132 * dirent/telldir.c: Likewise.
28133 * gmon/profil.c: Likewise.
28134 * grp/setgroups.c: Likewise.
28135 * inet/if_index.c: Likewise.
28136 * io/access.c: Likewise.
28137 * io/chdir.c: Likewise.
28138 * io/chmod.c: Likewise.
28139 * io/chown.c: Likewise.
28140 * io/close.c: Likewise.
28141 * io/dup.c: Likewise.
28142 * io/dup2.c: Likewise.
28143 * io/dup3.c: Likewise.
28144 * io/euidaccess.c: Likewise.
28145 * io/faccessat.c: Likewise.
28146 * io/fchdir.c: Likewise.
28147 * io/fchmod.c: Likewise.
28148 * io/fchmodat.c: Likewise.
28149 * io/fchown.c: Likewise.
28150 * io/fchownat.c: Likewise.
28151 * io/fcntl.c: Likewise.
28152 * io/flock.c: Likewise.
28153 * io/fstatfs.c: Likewise.
28154 * io/fstatfs64.c: Likewise.
28155 * io/fstatvfs.c: Likewise.
28156 * io/fstatvfs64.c: Likewise.
28157 * io/futimens.c: Likewise.
28158 * io/fxstat.c: Likewise.
28159 * io/fxstat64.c: Likewise.
28160 * io/fxstatat.c: Likewise.
28161 * io/fxstatat64.c: Likewise.
28162 * io/getcwd.c: Likewise.
28163 * io/isatty.c: Likewise.
28164 * io/lchmod.c: Likewise.
28165 * io/lchown.c: Likewise.
28166 * io/link.c: Likewise.
28167 * io/linkat.c: Likewise.
28168 * io/lseek.c: Likewise.
28169 * io/lseek64.c: Likewise.
28170 * io/lxstat64.c: Likewise.
28171 * io/mkdir.c: Likewise.
28172 * io/mkdirat.c: Likewise.
28173 * io/mkfifo.c: Likewise.
28174 * io/mkfifoat.c: Likewise.
28175 * io/open.c: Likewise.
28176 * io/open64.c: Likewise.
28177 * io/openat.c: Likewise.
28178 * io/openat64.c: Likewise.
28179 * io/pipe.c: Likewise.
28180 * io/pipe2.c: Likewise.
28181 * io/poll.c: Likewise.
28182 * io/posix_fadvise.c: Likewise.
28183 * io/posix_fadvise64.c: Likewise.
28184 * io/posix_fallocate.c: Likewise.
28185 * io/posix_fallocate64.c: Likewise.
28186 * io/read.c: Likewise.
28187 * io/readlink.c: Likewise.
28188 * io/readlinkat.c: Likewise.
28189 * io/rmdir.c: Likewise.
28190 * io/sendfile.c: Likewise.
28191 * io/sendfile64.c: Likewise.
28192 * io/statfs.c: Likewise.
28193 * io/statfs64.c: Likewise.
28194 * io/statvfs.c: Likewise.
28195 * io/statvfs64.c: Likewise.
28196 * io/symlink.c: Likewise.
28197 * io/symlinkat.c: Likewise.
28198 * io/ttyname.c: Likewise.
28199 * io/ttyname_r.c: Likewise.
28200 * io/umask.c: Likewise.
28201 * io/unlink.c: Likewise.
28202 * io/unlinkat.c: Likewise.
28203 * io/utime.c: Likewise.
28204 * io/utimensat.c: Likewise.
28205 * io/write.c: Likewise.
28206 * io/xmknod.c: Likewise.
28207 * io/xmknodat.c: Likewise.
28208 * io/xstat.c: Likewise.
28209 * io/xstat64.c: Likewise.
28210 * login/getpt.c: Likewise.
28211 * login/grantpt.c: Likewise.
28212 * login/unlockpt.c: Likewise.
28213 * math/e_acoshl.c: Likewise.
28214 * math/e_acosl.c: Likewise.
28215 * math/e_asinl.c: Likewise.
28216 * math/e_atan2l.c: Likewise.
28217 * math/e_atanhl.c: Likewise.
28218 * math/e_coshl.c: Likewise.
28219 * math/e_expl.c: Likewise.
28220 * math/e_fmodl.c: Likewise.
28221 * math/e_gammal_r.c: Likewise.
28222 * math/e_hypotl.c: Likewise.
28223 * math/e_j0l.c: Likewise.
28224 * math/e_j1l.c: Likewise.
28225 * math/e_jnl.c: Likewise.
28226 * math/e_lgammal_r.c: Likewise.
28227 * math/e_log10l.c: Likewise.
28228 * math/e_log2l.c: Likewise.
28229 * math/e_logl.c: Likewise.
28230 * math/e_powl.c: Likewise.
28231 * math/e_rem_pio2l.c: Likewise.
28232 * math/e_sinhl.c: Likewise.
28233 * math/e_sqrtl.c: Likewise.
28234 * math/fclrexcpt.c: Likewise.
28235 * math/fedisblxcpt.c: Likewise.
28236 * math/feenablxcpt.c: Likewise.
28237 * math/fegetenv.c: Likewise.
28238 * math/fegetexcept.c: Likewise.
28239 * math/fegetround.c: Likewise.
28240 * math/feholdexcpt.c: Likewise.
28241 * math/fesetenv.c: Likewise.
28242 * math/fesetround.c: Likewise.
28243 * math/feupdateenv.c: Likewise.
28244 * math/fgetexcptflg.c: Likewise.
28245 * math/fraiseexcpt.c: Likewise.
28246 * math/fsetexcptflg.c: Likewise.
28247 * math/ftestexcept.c: Likewise.
28248 * math/k_cosl.c: Likewise.
28249 * math/k_rem_pio2l.c: Likewise.
28250 * math/k_sinl.c: Likewise.
28251 * math/k_tanl.c: Likewise.
28252 * math/s_asinhl.c: Likewise.
28253 * math/s_atanl.c: Likewise.
28254 * math/s_cbrtl.c: Likewise.
28255 * math/s_erfl.c: Likewise.
28256 * math/s_expm1l.c: Likewise.
28257 * math/s_log1pl.c: Likewise.
28258 * math/s_tanhl.c: Likewise.
28259 * misc/acct.c: Likewise.
28260 * misc/brk.c: Likewise.
28261 * misc/chflags.c: Likewise.
28262 * misc/chroot.c: Likewise.
28263 * misc/fchflags.c: Likewise.
28264 * misc/fgetxattr.c: Likewise.
28265 * misc/flistxattr.c: Likewise.
28266 * misc/fremovexattr.c: Likewise.
28267 * misc/fsetxattr.c: Likewise.
28268 * misc/fsync.c: Likewise.
28269 * misc/ftruncate.c: Likewise.
28270 * misc/futimes.c: Likewise.
28271 * misc/futimesat.c: Likewise.
28272 * misc/getdomain.c: Likewise.
28273 * misc/getdtsz.c: Likewise.
28274 * misc/gethostid.c: Likewise.
28275 * misc/gethostname.c: Likewise.
28276 * misc/getloadavg.c: Likewise.
28277 * misc/getpagesize.c: Likewise.
28278 * misc/getsysstats.c: Likewise.
28279 * misc/getxattr.c: Likewise.
28280 * misc/gtty.c: Likewise.
28281 * misc/ioctl.c: Likewise.
28282 * misc/lgetxattr.c: Likewise.
28283 * misc/listxattr.c: Likewise.
28284 * misc/llistxattr.c: Likewise.
28285 * misc/lremovexattr.c: Likewise.
28286 * misc/lsetxattr.c: Likewise.
28287 * misc/lutimes.c: Likewise.
28288 * misc/madvise.c: Likewise.
28289 * misc/mincore.c: Likewise.
28290 * misc/mlock.c: Likewise.
28291 * misc/mlockall.c: Likewise.
28292 * misc/mmap.c: Likewise.
28293 * misc/mprotect.c: Likewise.
28294 * misc/msync.c: Likewise.
28295 * misc/munlock.c: Likewise.
28296 * misc/munlockall.c: Likewise.
28297 * misc/munmap.c: Likewise.
28298 * misc/preadv.c: Likewise.
28299 * misc/preadv64.c: Likewise.
28300 * misc/ptrace.c: Likewise.
28301 * misc/pwritev.c: Likewise.
28302 * misc/pwritev64.c: Likewise.
28303 * misc/readv.c: Likewise.
28304 * misc/reboot.c: Likewise.
28305 * misc/remap_file_pages.c: Likewise.
28306 * misc/removexattr.c: Likewise.
28307 * misc/revoke.c: Likewise.
28308 * misc/select.c: Likewise.
28309 * misc/setdomain.c: Likewise.
28310 * misc/setegid.c: Likewise.
28311 * misc/seteuid.c: Likewise.
28312 * misc/sethostid.c: Likewise.
28313 * misc/sethostname.c: Likewise.
28314 * misc/setregid.c: Likewise.
28315 * misc/setreuid.c: Likewise.
28316 * misc/setxattr.c: Likewise.
28317 * misc/sstk.c: Likewise.
28318 * misc/stty.c: Likewise.
28319 * misc/swapoff.c: Likewise.
28320 * misc/swapon.c: Likewise.
28321 * misc/sync.c: Likewise.
28322 * misc/syncfs.c: Likewise.
28323 * misc/syscall.c: Likewise.
28324 * misc/truncate.c: Likewise.
28325 * misc/ualarm.c: Likewise.
28326 * misc/usleep.c: Likewise.
28327 * misc/ustat.c: Likewise.
28328 * misc/utimes.c: Likewise.
28329 * misc/vhangup.c: Likewise.
28330 * misc/writev.c: Likewise.
28331 * posix/_exit.c: Likewise.
28332 * posix/alarm.c: Likewise.
28333 * posix/execve.c: Likewise.
28334 * posix/fexecve.c: Likewise.
28335 * posix/fork.c: Likewise.
28336 * posix/fpathconf.c: Likewise.
28337 * posix/getaddrinfo.c: Likewise.
28338 * posix/getegid.c: Likewise.
28339 * posix/geteuid.c: Likewise.
28340 * posix/getgid.c: Likewise.
28341 * posix/getgroups.c: Likewise.
28342 * posix/getlogin.c: Likewise.
28343 * posix/getlogin_r.c: Likewise.
28344 * posix/getpgid.c: Likewise.
28345 * posix/getpid.c: Likewise.
28346 * posix/getppid.c: Likewise.
28347 * posix/getresgid.c: Likewise.
28348 * posix/getresuid.c: Likewise.
28349 * posix/getsid.c: Likewise.
28350 * posix/getuid.c: Likewise.
28351 * posix/glob64.c: Likewise.
28352 * posix/nanosleep.c: Likewise.
28353 * posix/pathconf.c: Likewise.
28354 * posix/pause.c: Likewise.
28355 * posix/posix_madvise.c: Likewise.
28356 * posix/pread.c: Likewise.
28357 * posix/pread64.c: Likewise.
28358 * posix/pwrite.c: Likewise.
28359 * posix/pwrite64.c: Likewise.
28360 * posix/sched_getaffinity.c: Likewise.
28361 * posix/sched_getp.c: Likewise.
28362 * posix/sched_gets.c: Likewise.
28363 * posix/sched_primax.c: Likewise.
28364 * posix/sched_primin.c: Likewise.
28365 * posix/sched_rr_gi.c: Likewise.
28366 * posix/sched_setaffinity.c: Likewise.
28367 * posix/sched_setp.c: Likewise.
28368 * posix/sched_sets.c: Likewise.
28369 * posix/sched_yield.c: Likewise.
28370 * posix/setgid.c: Likewise.
28371 * posix/setlogin.c: Likewise.
28372 * posix/setpgid.c: Likewise.
28373 * posix/setresgid.c: Likewise.
28374 * posix/setresuid.c: Likewise.
28375 * posix/setsid.c: Likewise.
28376 * posix/setuid.c: Likewise.
28377 * posix/sleep.c: Likewise.
28378 * posix/spawni.c: Likewise.
28379 * posix/sysconf.c: Likewise.
28380 * posix/times.c: Likewise.
28381 * posix/wait.c: Likewise.
28382 * posix/wait3.c: Likewise.
28383 * posix/wait4.c: Likewise.
28384 * posix/waitpid.c: Likewise.
28385 * resolv/gai_sigqueue.c: Likewise.
28386 * resource/getpriority.c: Likewise.
28387 * resource/getrlimit.c: Likewise.
28388 * resource/getrusage.c: Likewise.
28389 * resource/nice.c: Likewise.
28390 * resource/setpriority.c: Likewise.
28391 * resource/setrlimit.c: Likewise.
28392 * resource/ulimit.c: Likewise.
28393 * rt/aio_cancel.c: Likewise.
28394 * rt/aio_fsync.c: Likewise.
28395 * rt/aio_read.c: Likewise.
28396 * rt/aio_sigqueue.c: Likewise.
28397 * rt/aio_suspend.c: Likewise.
28398 * rt/aio_write.c: Likewise.
28399 * rt/clock_getres.c: Likewise.
28400 * rt/clock_gettime.c: Likewise.
28401 * rt/clock_nanosleep.c: Likewise.
28402 * rt/clock_settime.c: Likewise.
28403 * rt/lio_listio.c: Likewise.
28404 * rt/mq_close.c: Likewise.
28405 * rt/mq_getattr.c: Likewise.
28406 * rt/mq_notify.c: Likewise.
28407 * rt/mq_open.c: Likewise.
28408 * rt/mq_receive.c: Likewise.
28409 * rt/mq_send.c: Likewise.
28410 * rt/mq_setattr.c: Likewise.
28411 * rt/mq_timedreceive.c: Likewise.
28412 * rt/mq_timedsend.c: Likewise.
28413 * rt/mq_unlink.c: Likewise.
28414 * rt/shm_open.c: Likewise.
28415 * rt/shm_unlink.c: Likewise.
28416 * rt/timer_create.c: Likewise.
28417 * rt/timer_delete.c: Likewise.
28418 * rt/timer_getoverr.c: Likewise.
28419 * rt/timer_gettime.c: Likewise.
28420 * rt/timer_settime.c: Likewise.
28421 * setjmp/__longjmp.c: Likewise.
28422 * setjmp/setjmp.c: Likewise.
28423 * signal/kill.c: Likewise.
28424 * signal/killpg.c: Likewise.
28425 * signal/raise.c: Likewise.
28426 * signal/sigaction.c: Likewise.
28427 * signal/sigaltstack.c: Likewise.
28428 * signal/sigblock.c: Likewise.
28429 * signal/sigignore.c: Likewise.
28430 * signal/sigintr.c: Likewise.
28431 * signal/signal.c: Likewise.
28432 * signal/sigpause.c: Likewise.
28433 * signal/sigpending.c: Likewise.
28434 * signal/sigqueue.c: Likewise.
28435 * signal/sigreturn.c: Likewise.
28436 * signal/sigset.c: Likewise.
28437 * signal/sigsetmask.c: Likewise.
28438 * signal/sigstack.c: Likewise.
28439 * signal/sigsuspend.c: Likewise.
28440 * signal/sigtimedwait.c: Likewise.
28441 * signal/sigvec.c: Likewise.
28442 * signal/sigwait.c: Likewise.
28443 * signal/sigwaitinfo.c: Likewise.
28444 * signal/sysv_signal.c: Likewise.
28445 * socket/accept.c: Likewise.
28446 * socket/accept4.c: Likewise.
28447 * socket/bind.c: Likewise.
28448 * socket/connect.c: Likewise.
28449 * socket/getpeername.c: Likewise.
28450 * socket/getsockname.c: Likewise.
28451 * socket/getsockopt.c: Likewise.
28452 * socket/isfdtype.c: Likewise.
28453 * socket/listen.c: Likewise.
28454 * socket/recv.c: Likewise.
28455 * socket/recvfrom.c: Likewise.
28456 * socket/recvmsg.c: Likewise.
28457 * socket/send.c: Likewise.
28458 * socket/sendmsg.c: Likewise.
28459 * socket/sendto.c: Likewise.
28460 * socket/setsockopt.c: Likewise.
28461 * socket/shutdown.c: Likewise.
28462 * socket/sockatmark.c: Likewise.
28463 * socket/socket.c: Likewise.
28464 * socket/socketpair.c: Likewise.
28465 * stdio-common/ctermid.c: Likewise.
28466 * stdio-common/cuserid.c: Likewise.
28467 * stdio-common/remove.c: Likewise.
28468 * stdio-common/rename.c: Likewise.
28469 * stdio-common/renameat.c: Likewise.
28470 * stdio-common/tempname.c: Likewise.
28471 * stdlib/getcontext.c: Likewise.
28472 * stdlib/makecontext.c: Likewise.
28473 * stdlib/setcontext.c: Likewise.
28474 * stdlib/swapcontext.c: Likewise.
28475 * stdlib/system.c: Likewise.
28476 * streams/fattach.c: Likewise.
28477 * streams/fdetach.c: Likewise.
28478 * streams/getmsg.c: Likewise.
28479 * streams/getpmsg.c: Likewise.
28480 * streams/putmsg.c: Likewise.
28481 * streams/putpmsg.c: Likewise.
28482 * sysdeps/unix/bsd/getpt.c: Likewise.
28483 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28484 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28485 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28487 Likewise.
28488 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28489 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28490 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28491 * sysvipc/msgctl.c: Likewise.
28492 * sysvipc/msgget.c: Likewise.
28493 * sysvipc/msgrcv.c: Likewise.
28494 * sysvipc/msgsnd.c: Likewise.
28495 * sysvipc/semctl.c: Likewise.
28496 * sysvipc/semget.c: Likewise.
28497 * sysvipc/semop.c: Likewise.
28498 * sysvipc/semtimedop.c: Likewise.
28499 * sysvipc/shmat.c: Likewise.
28500 * sysvipc/shmctl.c: Likewise.
28501 * sysvipc/shmdt.c: Likewise.
28502 * sysvipc/shmget.c: Likewise.
28503 * termios/tcdrain.c: Likewise.
28504 * termios/tcflow.c: Likewise.
28505 * termios/tcflush.c: Likewise.
28506 * termios/tcgetattr.c: Likewise.
28507 * termios/tcgetpgrp.c: Likewise.
28508 * termios/tcsendbrk.c: Likewise.
28509 * termios/tcsetattr.c: Likewise.
28510 * termios/tcsetpgrp.c: Likewise.
28511 * time/adjtime.c: Likewise.
28512 * time/clock.c: Likewise.
28513 * time/getitimer.c: Likewise.
28514 * time/gettimeofday.c: Likewise.
28515 * time/setitimer.c: Likewise.
28516 * time/settimeofday.c: Likewise.
28517 * time/stime.c: Likewise.
28518 * time/time.c: Likewise.
28519
285202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28521
a20492cf
PT
28522 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28523 /usr/old/bin.
28524
72e182e3
PT
28525 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28526 instead of spaces.
28527 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28528
fbeafede
JM
285292012-11-03 Joseph Myers <joseph@codesourcery.com>
28530
5b5b04d6
JM
28531 [BZ #14796]
28532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28533 FE_TONEAREST before applying Dekker multiplication and Knuth
28534 addition. Clear inexact exceptions and check for exact zero
28535 results afterwards.
28536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28539 * math/libm-test.inc (fma_test): Add more tests.
28540 (fma_test_towardzero): Likewise.
28541 (fma_test_downward): Likewise.
28542 (fma_test_upward): Likewise.
28543 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28544 function.
28545 (libc_fesetround): New macro.
28546 (libc_fesetroundf): Likewise.
28547 (libc_fesetroundl): Likewise.
28548 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28549 function.
28550 (libc_fesetround_387): Likewise.
28551 (libc_fesetroundf): New macro.
28552 (libc_fesetround): Likewise.
28553 (libc_fesetroundl): Likewise.
28554 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28555 function.
28556 (libc_fesetroundf): New macro.
28557 (libc_fesetround): Likewise.
28558 (libc_fesetroundl): Likewise.
28559 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28560 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28561 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28562 libm_hidden_ver.
28563 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28564 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28565 libm_hidden_def.
28566 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28567 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28568 libm_hidden_ver.
28569 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28570 libm_hidden_def.
28571
fbeafede
JM
28572 [BZ #3439]
28573 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28574 integer constant usable in #if and use that to give value to enum
28575 constant.
28576 (FE_DIVBYZERO): Likewise.
28577 (FE_UNDERFLOW): Likewise.
28578 (FE_OVERFLOW): Likewise.
28579 (FE_INVALID): Likewise.
28580 (FE_INVALID_SNAN): Likewise.
28581 (FE_INVALID_ISI): Likewise.
28582 (FE_INVALID_IDI): Likewise.
28583 (FE_INVALID_ZDZ): Likewise.
28584 (FE_INVALID_IMZ): Likewise.
28585 (FE_INVALID_COMPARE): Likewise.
28586 (FE_INVALID_SOFTWARE): Likewise.
28587 (FE_INVALID_SQRT): Likewise.
28588 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28589 (FE_TONEAREST): Likewise.
28590 (FE_TOWARDZERO): Likewise.
28591 (FE_UPWARD): Likewise.
28592 (FE_DOWNWARD): Likewise.
28593 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28594 (FE_DIVBYZERO): Likewise.
28595 (FE_OVERFLOW): Likewise.
28596 (FE_UNDERFLOW): Likewise.
28597 (FE_INEXACT): Likewise.
28598 (FE_TONEAREST): Likewise.
28599 (FE_DOWNWARD): Likewise.
28600 (FE_UPWARD): Likewise.
28601 (FE_TOWARDZERO): Likewise.
28602 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28603 (FE_UNDERFLOW): Likewise.
28604 (FE_OVERFLOW): Likewise.
28605 (FE_DIVBYZERO): Likewise.
28606 (FE_INVALID): Likewise.
28607 (FE_TONEAREST): Likewise.
28608 (FE_TOWARDZERO): Likewise.
28609 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28610 (FE_OVERFLOW): Likewise.
28611 (FE_UNDERFLOW): Likewise.
28612 (FE_DIVBYZERO): Likewise.
28613 (FE_INEXACT): Likewise.
28614 (FE_TONEAREST): Likewise.
28615 (FE_TOWARDZERO): Likewise.
28616 (FE_UPWARD): Likewise.
28617 (FE_DOWNWARD): Likewise.
28618 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28619 (FE_DIVBYZERO): Likewise.
28620 (FE_OVERFLOW): Likewise.
28621 (FE_UNDERFLOW): Likewise.
28622 (FE_INEXACT): Likewise.
28623 (FE_TONEAREST): Likewise.
28624 (FE_DOWNWARD): Likewise.
28625 (FE_UPWARD): Likewise.
28626 (FE_TOWARDZERO): Likewise.
28627
105ca950
CM
286282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28629
28630 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28631
a542b389
AS
286322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28633
28634 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28635 commands. Quote $PWD.
28636 (blacklist_exports): Don't use remove_newlines. Replace "declare
28637 -x" by "export".
28638 (remove_newlines): Remove.
28639
f62c8abc
L
286402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28641
28642 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28643 * stdlib/stdlib.h (atof): Moved to ...
28644 * include/bits/stdlib-float.h: Here. New file.
28645 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28646 * stdlib/bits/stdlib-float.h: New file.
28647 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28648 -mno-sse -mno-mmx.
28649 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28650 <xmmintrin.h>.
28651
0155d5b2
JM
286522012-11-02 Joseph Myers <joseph@codesourcery.com>
28653
a68d0680
JM
28654 * conform/conformtest.pl (@headers): Add fenv.h.
28655 * conform/data/fenv.h-data: New file.
28656 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28657 include of <math/fenv.h>.
28658
caf7f573
JM
28659 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28660 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28661 && !UNIX98]. Enables tests for XOPEN2K8.
28662 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28663 POSIX2008]: Likewise.
28664
6c073ad6
JM
28665 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28666 (struct rusage): Do not expect type or its members.
28667
0155d5b2
JM
28668 [BZ #3439]
28669 * math/math.h (FP_NAN): Define macro to integer constant usable in
28670 #if and use that to give value to enum constant.
28671 (FP_INFINITE): Likewise.
28672 (FP_ZERO): Likewise.
28673 (FP_SUBNORMAL): Likewise.
28674 (FP_NORMAL): Likewise.
28675
b5dcacb4
AS
286762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28677
28678 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28679 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28680 arguments.
28681
f7934be8
RM
286822012-11-02 Roland McGrath <roland@hack.frob.com>
28683
28684 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28685 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28686 autoconf-time if not.
28687 * configure.in: Remove AC_PREREQ.
28688
d7d08bde
TMQMF
286892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28690
28691 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28692 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28693 of the internal implementation.
28694
dcdae19a
JM
286952012-11-02 Joseph Myers <joseph@codesourcery.com>
28696
28697 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28698 except include of <misc/sys/syslog.h>.
28699
d6cffd3e
AS
287002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28701
28702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28703 function returns with a NULL context exit with zero.
28704
b3563932
TMQMF
287052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28706
28707 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28708
b288a93d
L
287092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28710
28711 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28712 (run_program_cmd): This.
28713 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28714 (tst_langinfo): New variable. Use it.
28715
a2421a68
SAS
287162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28717
28718 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28719 floating point opcodes.
28720
6f796e1b
TS
287212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28722
7402596b
TS
28723 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28724 variable.
28725
d0d4f868
TS
28726 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28727
6f796e1b
TS
28728 * sysdeps/mach/hurd/powerpc: Remove directory.
28729 * sysdeps/mach/powerpc: Likewise.
28730
4da224a2
AS
287312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28732
28733 * scripts/check-local-headers.sh: Ignore c++ headers.
28734
341dd673
TS
287352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28736
28737 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28738 __libc_cleanup_region_start argument.
28739
473611b2
JM
287402012-11-01 Joseph Myers <joseph@codesourcery.com>
28741
28742 [BZ #14784]
28743 [BZ #14785]
28744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28745 x * y using scaling, not as x * y + z.
28746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28748 * math/libm-test.inc (fma_test): Add more tests.
28749 (fma_test_towardzero): Likewise.
28750 (fma_test_downward): Likewise.
28751 (fma_test_upward): Likewise.
28752
4078da3d
TS
287532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28754
28755 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28756
903252aa
JM
287572012-10-31 Joseph Myers <joseph@codesourcery.com>
28758
28759 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28760 New variable.
28761
cbc818d0
TS
287622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28763
28764 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28765
5a03cb1e
AS
287662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28767
28768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28769 Fix sort order.
28770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28771 Likewise.
28772
90aff2ff
TMQMF
287732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28774
28775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28776 Fix the order of the list for glibc 2.17.
28777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28778 Likewise.
28779
1818fcb7
AS
287802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28781
28782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28783
ef82f4da
JM
287842012-10-31 Joseph Myers <joseph@codesourcery.com>
28785
16a0e2ec
JM
28786 [BZ #14610]
28787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28788 for low part of x being zero before using __atanl (y).
28789 * math/libm-test.inc (atan2_test): Add another test.
28790
0eb69512
JM
28791 * manual/install.texi (Configuring and compiling): Document
28792 general use of test-wrapper and test-wrapper-env.
28793 * INSTALL: Regenerated.
28794
ef82f4da
JM
28795 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28796 (__fma): Do not extract and scale down low bits on after-rounding
28797 systems when result rounded to normal precision would have normal
28798 exponent.
28799 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28800 (__fmal): Do not extract and scale down low bits on after-rounding
28801 systems when result rounded to normal precision would have normal
28802 exponent.
28803 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28804 (__fmal): Do not extract and scale down low bits on after-rounding
28805 systems when result rounded to normal precision would have normal
28806 exponent.
28807 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28808 macro.
28809 (fma_test): Add more tests.
28810 (fma_test_towardzero): Likewise.
28811 (fma_test_downward): Likewise.
28812 (fma_test_upward): Likewise.
28813
954ef0d9
L
288142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 * sysdeps/i386/tininess.h: Renamed to ...
28817 * sysdeps/x86/tininess.h: This.
28818 * sysdeps/x86_64/tininess.h: Removed.
28819
df61ffb2
JM
288202012-10-30 Joseph Myers <joseph@codesourcery.com>
28821
28822 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28823 input. Use $(build-program-cmd).
28824 ($(objpfx)tst-array1-static.out): Likewise.
28825 ($(objpfx)tst-array2.out): Likewise.
28826 ($(objpfx)tst-array3.out): Likewise.
28827 ($(objpfx)tst-array4.out): Likewise.
28828 ($(objpfx)tst-array5.out): Likewise.
28829 ($(objpfx)tst-array5-static.out): Likewise.
28830
01767843
CM
288312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28832
47cc1490
CM
28833 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28834 if defined.
28835
01767843
CM
28836 * nss/nsswitch.h (nss_interface_function): Provide new
28837 macro for use with NSS functions.
28838 * grp/initgroups.c: Use new macro.
28839 * nss/getXXbyYY.c: Likewise.
28840 * nss/getXXbyYY_r.c: Likewise.
28841 * nss/getXXent.c: Likewise.
28842 * nss/getXXent_r.c: Likewise.
28843 * sysdeps/posix/getaddrinfo.c: Likewise.
28844
8321aa97
AJ
288452012-10-30 Andreas Jaeger <aj@suse.de>
28846
28847 * po/ru.po: Update Russion translation from translation project.
28848
2a27fd6d
JM
288492012-10-30 Joseph Myers <joseph@codesourcery.com>
28850
8627a232
JM
28851 [BZ #14152]
28852 [BZ #14783]
28853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28854 result and shift together with sticky bit instead of replicating
28855 round-to-nearest rounding.
28856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28858 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28859 missing underflow exceptions.
28860 (fma_test_towardzero): Add more tests.
28861 (fma_test_downward): Likewise.
28862 (fma_test_upward): Likewise.
28863
2a27fd6d
JM
28864 [BZ #14047]
28865 * sysdeps/generic/tininess.h: New file.
28866 * sysdeps/i386/tininess.h: Likewise.
28867 * sysdeps/sh/tininess.h: Likewise.
28868 * sysdeps/x86_64/tininess.h: Likewise.
28869 * stdlib/tst-strtod-underflow.c: Likewise.
28870 * stdlib/tst-tininess.c: Likewise.
28871 * stdlib/strtod_l.c: Include <tininess.h>.
28872 (round_and_return): Do not set errno for exact underflow cases.
28873 Force an underflow exception when setting errno for underflow.
28874 Determine underflow based on rounding to normal precision if
28875 TININESS_AFTER_ROUNDING.
28876 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28877 ERANGE for exact underflow cases.
28878 * stdlib/Makefile (tests): Add tst-tininess and
28879 tst-strtod-underflow.
28880 ($(objpfx)tst-tininess): Use $(link-libm).
28881 ($(objpfx)tst-strtod-underflow): Likewise.
28882
e7170363
AJ
288832012-10-30 Andreas Jaeger <aj@suse.de>
28884
e5088dc6
AJ
28885 [BZ#14767]
28886 * elf/Makefile (tests): Remove conditional for have-initfini-array
28887 since this is now always required and the variable does not exist
28888 anymore.
28889 (tests-static): Likewise.
28890 (modules-names): Likewise.
28891
e7170363 28892 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28893
28894 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28895 merged with constructor/destructor.
28896 (init_array): Likewise.
28897 * elf/tst-array2dep.c (fini_array): Likewise.
28898 (init_array): Likewise.
28899
60457d8a
MF
289002012-10-29 Mike Frysinger <vapier@gentoo.org>
28901
28902 * manual/message.texi: Delete @cartouche tags.
28903
8bece752
PT
289042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28905
94ce799f
PT
28906 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28907 EOPNOTSUPP.
28908 * sysdeps/mach/hurd/fsync.c: Likewise.
28909
8bece752
PT
28910 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28911 [_POSIX_REALTIME_SIGNALS]: Change condition to
28912 [_POSIX_REALTIME_SIGNALS > 0].
28913
86ebe6b1
AJ
289142012-10-27 Andreas Jaeger <aj@suse.de>
28915
28916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28917 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28919 [__WORDSIZE != 64]: Likewise.
28920
54399c08
L
289212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28922
28923 * iconvdata/tst-table.sh: Remove ${SHELL}.
28924 * iconvdata/tst-tables.sh: Likewise.
28925
e2211bed
DM
289262012-10-25 David S. Miller <davem@davemloft.net>
28927
28928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28929 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28930 of strtoull.
28931
f303f97c
DM
28932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28933 ifunc-impl-list.c
28934 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28935 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28936 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28937 file.
28938
1e9d84cd
RM
289392012-10-25 Roland McGrath <roland@hack.frob.com>
28940
28941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28942 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28943 __getdirentries.
28944
df381762
JM
289452012-10-25 Joseph Myers <joseph@codesourcery.com>
28946 Jim Blandy <jimb@codesourcery.com>
28947
28948 * scripts/cross-test-ssh.sh: New file.
28949 * manual/install.texi (Configuring and compiling): Document use of
28950 cross-test-ssh.sh.
28951 * INSTALL: Regenerated.
28952
bff64913
PT
289532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28954
28955 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28956 EOPNOTSUPP.
28957
25fe8932
JM
289582012-10-25 Joseph Myers <joseph@codesourcery.com>
28959
28960 * Makeconfig (run-program-prefix): Fix comment.
28961
cc1290d0
JM
289622012-10-24 Joseph Myers <joseph@codesourcery.com>
28963 Jim Blandy <jimb@codesourcery.com>
28964
28965 * Makeconfig (test-wrapper): New variable,
28966 (test-wrapper-env): Likewise.
28967 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28968 (run-built-tests): Define to yes.
28969 (run-program-prefix): Use $(test-wrapper).
28970 (built-program-cmd): Likewise.
28971 * Rules (make-test-out): Use $(test-wrapper-env) and
28972 $(host-built-program-cmd).
28973 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28974 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28975 tst-pathopt.sh.
28976 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28977 $(test-wrapper-env) to tst-rtld-load-self.sh.
28978 ($(objpfx)order2.out): Use $(test-wrapper).
28979 ($(objpfx)tst-initorder.out): Likewise.
28980 ($(objpfx)tst-initorder2.out): Likewise.
28981 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28982 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28983 (test_wrapper_env): New variable. Use it to run ld.so.
28984 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28985 Use it to run ld.so.
28986 (test_wrapper_env): Likewise.
28987 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28988 $(test-wrapper) to run-iconv-test.sh.
28989 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28990 (ICONV): Use $test_wrapper.
28991 * posix/Makefile ($(objpfx)globtest.out): Pass
28992 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28993 globtest.sh, not $(run-program-prefix).
28994 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28995 (test_wrapper): Likewise.
28996 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28997 set together with run_via_rtld_prefix.
28998 (run_program_prefix): Define in terms of test_wrapper and
28999 run_via_rtld_prefix.
29000
6e6249d0
RM
290012012-10-24 Roland McGrath <roland@hack.frob.com>
29002
29003 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29004 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29005 Targets removed.
29006
29007 [BZ #14743]
29008 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29009 Declare __clock_getres, __clock_gettime, __clock_settime,
29010 __clock_nanosleep, and __clock_getcpuclockid.
29011 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29012 Remove librt_hidden_def (clock_gettime).
29013 * sysdeps/unix/clock_gettime.c: Likewise.
29014 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29015 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29016 * rt/clock_getres.c: Define __clock_getres as an alias.
29017 * sysdeps/posix/clock_getres.c: Likewise.
29018 * rt/clock_settime.c: Define __clock_settime as an alias.
29019 * sysdeps/unix/clock_settime.c: Likewise.
29020 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29021 * sysdeps/unix/clock_nanosleep.c: Likewise.
29022 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29023 * rt/clock-compat.c: New file.
29024 * rt/Makefile (librt-routines): Add clock-compat and move
29025 $(clock-routines) to ...
29026 (routines): ... here, new variable.
29027 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29028 Don't add get_clockfreq here.
29029 * rt/Versions (libc: GLIBC_2.17): New version set.
29030 Add clock_* symbols here.
29031 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29033 (GLIBC_2.17): Add clock_* symbols.
29034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29038 Likewise.
29039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29040 Likewise.
29041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29045 * NEWS: Mention the move.
29046
29047 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29048 Use __open, __read, __close rather than their public counterparts.
29049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29050 (__get_clockfreq_via_cpuinfo): Likewise.
29051 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29052 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29053
29054 * config.h.in (HAVE_IFUNC): New #undef.
29055 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29056 was successful.
29057 * configure: Regenerated.
29058
0cae3f4b
MF
290592012-10-24 Mike Frysinger <vapier@gentoo.org>
29060
29061 * configure.in: Move READELF check to start of file.
29062 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29063 libc_cv_asm_gnu_indirect_function in the process.
29064 * configure: Regenerated.
29065
8175a253
MF
290662012-10-24 Mike Frysinger <vapier@gentoo.org>
29067
29068 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29069 send the output to /dev/null.
29070 (libc_cv_cc_with_libunwind): Likewise.
29071 (libc_cv_as_noexecstack): Likewise.
29072 * configure: Regenerate.
29073
0708a7d1
JM
290742012-10-24 Joseph Myers <joseph@codesourcery.com>
29075
10b40d85
JM
29076 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29077
0708a7d1
JM
29078 * posix/globtest.sh (TMPDIR): Do not set.
29079 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29080 (testout): Likewise.
29081
9fddec1a
AJ
290822012-10-24 Andreas Jaeger <aj@suse.de>
29083
3a8db22f
AJ
29084 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29085 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29086 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29087 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29088 posix_fadvise64, posix_fallocate64.
29089
9fddec1a
AJ
29090 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29091 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29092 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29093 Likewise.
29094 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29095 Likewise.
29096 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29097
29098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29099 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29100 <bits/fcntl-linux.h>.
29101 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29102
29103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29104 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29105 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29106 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29107 [__WORDSIZE != 64]: Likewise.
29108
ebfd1bbd
JM
291092012-10-23 Joseph Myers <joseph@codesourcery.com>
29110
03ac099f
JM
29111 * Makeconfig (run-built-tests): New variable.
29112 * Rules [$(cross-compiling) = yes]: Change condition to
29113 [$(run-built-tests) = no].
29114 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29115 to [$(run-built-tests) = yes].
29116 * elf/Makefile [$(cross-compiling) = no]: Likewise
29117 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29118 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29119 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29120 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29121 * io/Makefile [$(cross-compiling) = no]: Likewise.
29122 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29123 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29124 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29125 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29126 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29127 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29128 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29129 * string/Makefile [$(cross-compiling) = no]: Likewise.
29130
ebfd1bbd
JM
29131 * posix/Makefile ($(objpfx)globtest.out): Pass
29132 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29133 $(rtld-installed-name).
29134 * posix/globtest.sh (elf_objpfx): Remove variable.
29135 (rtld_installed_name): Likewise.
29136 (library_path): Likewise.
29137 (run_program_prefix): New variable. Use for running globtest
29138 binary.
29139
166bca24
JB
291402012-10-23 Jim Blandy <jimb@codesourcery.com>
29141 Joseph Myers <joseph@codesourcery.com>
29142
29143 * Makeconfig (host-built-program-cmd): New variable.
29144 * elf/Makefile (tst-stackguard1-ARGS): Use
29145 $(host-built-program-cmd).
29146 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29147 (tst-spawn-ARGS): Likewise.
29148 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29149
88866099
JM
291502012-10-23 Joseph Myers <joseph@codesourcery.com>
29151 Jim Blandy <jimb@codesourcery.com>
29152
29153 * Makeconfig (run-via-rtld-prefix): New variable.
29154 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29155 (built-program-cmd): Likewise.
29156
b4b4c296
AJ
291572012-10-22 Andreas Jaeger <aj@suse.de>
29158
29159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29160 __O_RSYNC if it exists, otherwise to O_SYNC.
29161
6fb54a22
JB
291622012-10-22 Jim Blandy <jimb@codesourcery.com>
29163 Joseph Myers <joseph@codesourcery.com>
29164
29165 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29166 /dev/null.
29167 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29168 from /dev/null
29169 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29170 /dev/null.
29171
481b90b9
AJ
291722012-10-22 Andreas Jaeger <aj@suse.de>
29173
2a0e2669
AJ
29174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29175 Define always.
29176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29177
76e38f9a
AJ
29178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29179 bits/fcntl-linux.h.
29180
7cd37b43
AJ
29181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29182 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29183
481b90b9
AJ
29184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29185 to __O_LARGEFILE.
29186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29187 to __O_LARGEFILE.
29188
aba75984
JB
291892012-10-21 Jim Blandy <jimb@codesourcery.com>
29190 Joseph Myers <joseph@codesourcery.com>
29191
29192 * config.make.in (NM): New variable.
29193
88d4247f
AJ
291942012-10-21 Andreas Jaeger <aj@suse.de>
29195
29196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29197 definitions and declarations that are provided by
29198 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29199
f2eed205
L
292002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29201
29202 [BZ #14683]
29203 * elf/Makefile (tests-static): Add tst-leaks1-static.
29204 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29205 ($(objpfx)tst-leaks1-static): New rule.
29206 ($(objpfx)tst-leaks1-static-mem): Likewise.
29207 (tst-leaks1-static-ENV): New macro.
29208 * elf/dl-open.c (dl_open_worker): Check the main application
29209 only if SHARED is defined.
29210 * elf/tst-leaks1-static.c: New file.
29211
335e6931
AJ
292122012-10-20 Andreas Jaeger <aj@suse.de>
29213
29214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29215 generic values for Linux.
29216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29217 and declarations that are provided by <bits/fcntl-linux.h> and
29218 include <bits/fcntl-linux.h>.
29219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29221
ac5c94d3
RM
292222012-10-20 Roland McGrath <roland@hack.frob.com>
29223
29224 * io/fcntl.h: Move include of <bits/types.h> to the top and
29225 include it unconditionally.
29226
de54b33a
L
292272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29228
228cfb01
L
29229 * wcsmbs/Makefile (tests-ifunc): New variable.
29230 (tests): Add $(tests-ifunc).
29231 * wcsmbs/test-wcschr-ifunc.c: New file.
29232 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29233 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29234 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29235 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29236 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29237
69f07e5f
L
29238 * string/Makefile (tests-ifunc): New variable.
29239 (tests): Add $(tests-ifunc).
29240 * string/test-memccpy.c (TEST_NAME): New macro.
29241 * string/test-memchr.c (TEST_NAME): Likewise.
29242 * string/test-memcmp.c (TEST_NAME): Likewise.
29243 * string/test-memcpy.c (TEST_NAME): Likewise.
29244 * string/test-memmem.c (TEST_NAME): Likewise.
29245 * string/test-memmove.c (TEST_NAME): Likewise.
29246 * string/test-memset.c (TEST_NAME): Likewise.
29247 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29248 * string/test-stpcpy.c (TEST_NAME): Likewise.
29249 * string/test-stpncpy.c (TEST_NAME): Likewise.
29250 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29251 * string/test-strcasestr.c (TEST_NAME): Likewise.
29252 * string/test-strcat.c (TEST_NAME): Likewise.
29253 * string/test-strchr.c (TEST_NAME): Likewise.
29254 * string/test-strcmp.c(TEST_NAME): Likewise.
29255 * string/test-strcpy.c (TEST_NAME): Likewise.
29256 * string/test-strcspn.c (TEST_NAME): Likewise.
29257 * string/test-strlen.c (TEST_NAME): Likewise.
29258 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29259 * string/test-strncmp.c (TEST_NAME): Likewise.
29260 * string/test-strncpy.c (TEST_NAME): Likewise.
29261 * string/test-strnlen.c (TEST_NAME): Likewise.
29262 * string/test-strpbrk.c (TEST_NAME): Likewise.
29263 * string/test-strrchr.c (TEST_NAME): Likewise.
29264 * string/test-strspn.c (TEST_NAME): Likewise.
29265 * string/test-strstr.c (TEST_NAME): Likewise.
29266 * string/test-bcopy-ifunc.c: New file.
29267 * string/test-bzero-ifunc.c: Likewise.
29268 * string/test-memccpy-ifunc.c: Likewise.
29269 * string/test-memchr-ifunc.c: Likewise.
29270 * string/test-memcmp-ifunc.c: Likewise.
29271 * string/test-memcpy-ifunc.c: Likewise.
29272 * string/test-memmem-ifunc.c: Likewise.
29273 * string/test-memmove-ifunc.c: Likewise.
29274 * string/test-mempcpy-ifunc.c: Likewise.
29275 * string/test-memset-ifunc.c: Likewise.
29276 * string/test-rawmemchr-ifunc.c: Likewise.
29277 * string/test-stpcpy-ifunc.c: Likewise.
29278 * string/test-stpncpy-ifunc.c: Likewise.
29279 * string/test-strcasecmp-ifunc.c: Likewise.
29280 * string/test-strcasestr-ifunc.c: Likewise.
29281 * string/test-strcat-ifunc.c: Likewise.
29282 * string/test-strchr-ifunc.c: Likewise.
29283 * string/test-strchrnul-ifunc.c: Likewise.
29284 * string/test-strcmp-ifunc.c: Likewise.
29285 * string/test-strcpy-ifunc.c: Likewise.
29286 * string/test-strcspn-ifunc.c: Likewise.
29287 * string/test-strlen-ifunc.c: Likewise.
29288 * string/test-strncasecmp-ifunc.c: Likewise.
29289 * string/test-strncat-ifunc.c: Likewise.
29290 * string/test-strncmp-ifunc.c: Likewise.
29291 * string/test-strncpy-ifunc.c: Likewise.
29292 * string/test-strnlen-ifunc.c: Likewise.
29293 * string/test-strpbrk-ifunc.c: Likewise.
29294 * string/test-strrchr-ifunc.c: Likewise.
29295 * string/test-strspn-ifunc.c: Likewise.
29296 * string/test-strstr-ifunc.c: Likewise.
29297
de54b33a
L
29298 * debug/Makefile (tests-ifunc): New variable.
29299 (tests): Add $(tests-ifunc).
29300 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29301 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29302 * debug/test-stpcpy_chk-ifunc.c: New file.
29303 * debug/test-strcpy_chk-ifunc.c: Likewise.
29304
88481c16
SP
293052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29306
29307 [BZ #13601]
29308 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29309 header is not read in.
29310
135948bd
JM
293112012-10-19 Joseph Myers <joseph@codesourcery.com>
29312
89f1c388
JM
29313 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29314 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29315 directly. Pass built executable to script as
29316 $(built-program-cmd).
29317 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29318 $testprogram without using LD_LIBRARY_PATH and $ldso.
29319
e40a0d21
JM
29320 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29321 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29322 $(rtld-installed-name).
29323 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29324 (rtld_installed_name): Likewise.
29325 (library_path): Likewise.
29326 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29327 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29328 $(run-program-prefix) to tst-tables.sh.
29329 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29330 it to run tst-table-from and tst-table-to.
29331 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29332 Pass it to tst-table.sh.
29333 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29334 $(run-program-prefix) to tst-gettext.sh.
29335 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29336 tst-translit.sh.
29337 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29338 tst-gettext2.sh.
29339 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29340 to run tst-gettext.
29341 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29342 to run tst-gettext2.
29343 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29344 to run tst-translit.
29345 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29346 $(run-program-prefix) to tst-mtrace.sh.
29347 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29348 to run tst-mtrace.
29349 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29350 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29351 $(rtld-installed-name).
29352 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29353 (rtld_installed_name): Likewise.
29354 (run_program_prefix): New variable. Use it to run wordexp-test.
29355
728e272a
JM
29356 * Makeconfig (ARCH): Remove all definitions.
29357 (machine): Likewise.
29358 [ARCH]: Remove conditional code.
29359 [!objdir]: Give error.
29360 [!objdir] (objpfx): Remove.
29361 [!objdir] (common-objpfx): Likewise.
29362 [!objdir] (common-objdir): Likewise.
29363 * configure.in (config_makefile): Remove. Hardcode Makefile in
29364 AC_CONFIG_FILES call.
29365 * configure: Regenerated.
29366
d528cdcf
JM
29367 [BZ #13888]
29368 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29369 or TMPDIR.
29370 (testout): Likewise.
29371
135948bd
JM
29372 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29373 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29374 $(rtld-installed-name).
29375 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29376 (rtld_installed_name): Likwise.
29377 (runit): Remove function.
29378 (run_getconf): New variable, Use it for running getconf binary.
29379
38c78296
L
293802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29381
29382 [BZ #14716]
29383 * string/test-memmem.c (check_result): New function.
29384 (do_one_test): Use it.
29385 (check1): New function.
29386 (test_main): Use it.
29387
d077f65f
MT
293882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29389
29390 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29391
ced52c71
JM
293922012-10-18 Joseph Myers <joseph@codesourcery.com>
29393
29394 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29395 (_G_LSEEK64): Likewise.
29396 (_G_MMAP64): Likewise.
29397 (_G_FSTAT64): Likewise.
29398 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29399 (_G_LSEEK64): Likewise.
29400 (_G_MMAP64): Likewise.
29401 (_G_FSTAT64): Likewise.
29402 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29403 unconditional. Call __mmap64 directly.
29404 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29405 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29406 __lseek64 directly.
29407 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29408 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29409 __mmap64 directly.
29410 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29411 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29412 __lseek64 directly.
29413 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29414 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29415 __lseek64 directly.
29416 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29417 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29418 __lseek64 directly.
29419 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29420 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29421 __fxstat64 directly.
29422 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29423 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29424 unconditional.
29425 (freopen64) [!_G_OPEN64]: Remove conditional code.
29426 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29427 unconditional.
29428 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29429 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29430 unconditional.
29431 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29432 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29433 unconditional.
29434 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29435 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29436 unconditional.
29437 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29438 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29439 unconditional.
29440 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29441 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29442 unconditional.
29443 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29444 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29445 unconditional.
29446 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29447
b741de23
SP
294482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29449
29450 [BZ #12140]
29451 * manual/memory.texi (Malloc Tunable Parameters): Add note
29452 about free list pointers overwriting some perturb bytes.
29453 Wording suggested by Roland McGrath.
29454
f9b9d9c9
JM
294552012-10-17 Joseph Myers <joseph@codesourcery.com>
29456
29457 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29458 (lgamma_test): Likewise.
29459 (tgamma_test): Likewise.
29460
172a631a
FW
294612012-10-16 Florian Weimer <fweimer@redhat.com>
29462
29463 [BZ #14700]
29464 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29465 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29466
e9f37252
MK
294672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29468
29469 * NEWS: Mention BZ #14716.
29470 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29471 when removing AVAILABLE1_USES_J macro.
29472
d394eb74
L
294732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29474
29475 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29476 (__bswap_64): __uint64_t for unsigned 64-bit int.
29477
ca38dc17
AS
294782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29479
29480 * include/string.h (memmem): Declare libc hidden alias.
29481 * string/memmem.c (memmem): Define libc hidden alias.
29482 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29483 __read, __close instead of open, read, close.
29484
9a387d1f
L
294852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29486
ac49ecaf
L
29487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29488 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29489 global and hidden.
29490 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29491 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29492 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29493 Likewise.
29494 (__rawmemchr_sse2): Likewise.
29495 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29496 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29497 (__strchr_sse2): Likewise.
29498 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29499 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29500 (__strcasecmp_sse2): Likewise.
29501 (__strncasecmp_sse2): Likewise.
29502 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29503 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29504 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29505 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29506 (__strrchr_sse2): Likewise.
29507 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29508 ifunc-impl-list.c.
29509 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29510 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29511 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29512 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29513 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29514 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29515 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29516 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29517 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29518 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29519 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29520 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29521 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29522 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29523 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29524 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29525 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29526 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29527 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29528 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29529 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29530 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29531 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29532 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29533 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29534 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29535 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29536 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29537 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29538 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29539
b090e8ea
L
29540 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29541 global and hidden.
29542 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29543 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29544 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29545 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29546 Likewise.
29547 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29548 Likewise.
29549 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29550 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29551 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29552 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29553 ifunc-impl-list.c.
29554 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29555 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29556 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29557 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29558 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29559 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29560 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29561 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29562 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29563 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29564 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29565 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29566 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29567 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29568 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29570 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29571 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29572 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29573 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29574 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29575 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29576 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29577 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29578 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29579 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29580 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29581 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29582 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29583 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29584 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29585 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29586 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29587 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29588 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29589 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29590 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29591 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29592 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29593 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29594 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29595
11dd4af6
L
29596 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29597 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29598 * include/ifunc-impl-list.h: New file.
29599 * misc/ifunc-impl-list.c: Likewise.
29600 * misc/Makefile (routines): Add ifunc-impl-list.
29601 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29602 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29603 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29604 TEST_NAME]: New variables.
11dd4af6
L
29605 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29606 are defined.
29607 (test_init): Call __libc_ifunc_impl_list to initialize
29608 func_list if TEST_IFUNC and TEST_NAME are defined.
29609
9a387d1f
L
29610 * string/Makefile (strop-tests): Add bcopy and bzero.
29611 * string/test-bcopy.c: New file.
29612 * string/test-bzero.c: Likewise.
29613 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29614 defined.
29615 * string/test-memset.c: Support bzero test if TEST_BZERO is
29616 defined.
29617 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29618 __libc_memmove.
29619 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29620 __libc_memset.
29621 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29622 of memset.
29623
472371b9
JM
296242012-10-10 Joseph Myers <joseph@codesourcery.com>
29625
1e4a9536
JM
29626 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29627 * configure: Regenerated.
29628
d173d12e
JM
29629 * Makeconfig (+link-static-before-libc): Don't include
29630 $(link-static-libc).
29631
472371b9
JM
29632 * libio/libio.h (_IO_pos_t): Remove.
29633
89a3ad0b
AO
296342012-10-10 Alexandre Oliva <aoliva@redhat.com>
29635
29636 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29637 McGrath.
29638
e7451425
AO
296392012-10-10 Alexandre Oliva <aoliva@redhat.com>
29640
29641 * crypt/crypt-entry.c: Include fips-private.h.
29642 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29643 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29644 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29645 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29646
4ba74a35
AO
296472012-10-10 Alexandre Oliva <aoliva@redhat.com>
29648
29649 * crypt/crypt-private.h: Include stdbool.h.
29650 (_ufc_setup_salt_r): Return bool.
29651 * crypt/crypt-entry.c: Include errno.h.
29652 (__crypt_r): Return NULL with EINVAL for bad salt.
29653 * crypt/crypt_util.c (bad_for_salt): New.
29654 (_ufc_setup_salt_r): Check that salt is long enough and within
29655 the specified alphabet.
29656 * crypt/badsalttest.c: New file.
29657 * crypt/Makefile (tests): Add it.
29658 ($(objpfx)badsalttest): New.
29659
f96f1242
MK
296602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29661
29662 * NEWS: Add entry for BZ #14602.
29663
0e8e0c1c
JM
296642012-10-09 Joseph Myers <joseph@codesourcery.com>
29665
29666 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29667 type-generic.
29668 * math/libm-test.inc: Update comment listing what functions and
29669 macros are tested.
29670 (isgreater_test): New function.
29671 (isgreaterequal_test): Likewise.
29672 (isless_test): Likewise.
29673 (islessequal_test): Likewise.
29674 (islessgreater_test): Likewise.
29675 (isunordered_test): Likewise.
29676 (main): Call the new functions.
29677
273edc5e
RM
296782012-10-09 Roland McGrath <roland@hack.frob.com>
29679
b8493de0
RM
29680 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29681 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29682 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29683 * sysdeps/i386/configure: Regenerated.
29684 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29685 * sysdeps/mach/configure: Regenerated.
29686 * sysdeps/mach/hurd/configure: Regenerated.
29687 * sysdeps/powerpc/configure: Regenerated.
29688 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29689 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29690 * sysdeps/s390/s390-32/configure: Regenerated.
29691 * sysdeps/s390/s390-64/configure: Regenerated.
29692 * sysdeps/sh/configure: Regenerated.
29693 * sysdeps/sparc/configure: Regenerated.
29694 * sysdeps/unix/sysv/linux/configure: Regenerated.
29695 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29696 * sysdeps/x86_64/configure: Regenerated.
29697
273edc5e
RM
29698 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29699 defined. Don't check if MAP is NULL.
29700
c8450f70
JM
297012012-10-09 Joseph Myers <joseph@codesourcery.com>
29702
29703 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29704 (_G_stat64): Likewise.
29705 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29706 (_G_stat64): Likewise.
29707 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29708 instead of struct _G_stat64.
29709 * libio/fileops.c (mmap_remap_check): Likewise.
29710 (decide_maybe_mmap): Likewise.
29711 (_IO_new_file_seekoff): Likewise.
29712 (_IO_file_stat): Likewise.
29713 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29714 _G_off64_t.
29715 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29716 instead of struct _G_stat64.
29717 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29718
57e605ba
MK
297192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29720
29721 [BZ #14602]
29722 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29723 Replace with ...
29724 (CHECK_EOL): New macro.
29725 (two_way_short_needle): Check beginning of haystack for EOL. Use
29726 CHECK_EOL.
29727 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29728 Replace with CHECK_EOL.
29729 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29730 Replace with CHECK_EOL.
29731
ef1bb361
JM
297322012-10-08 Joseph Myers <joseph@codesourcery.com>
29733
29734 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29735 type-generic.
29736 * math/libm-test.inc: Update comment listing what functions and
29737 macros are tested.
29738 (finite_test): New function.
29739 (isinf_test): Likewise.
29740 (isnan_test): Likewise.
29741 (fpclassify_test): Test subnormal input.
29742 (isfinite_test): Likewise.
29743 (isnormal_test): Likewise.
29744 (main): Call the new functions.
29745
55f11534
JN
297462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29747
29748 [BZ #14660]
29749 * Makerules (%.dynsym): Force C locale when running
29750 $(OBJDUMP) --dynamic-syms.
29751
1ab29350
AS
297522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29753
29754 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29755 <stdint.h>.
29756
f1ecb7ef
DM
297572012-10-06 David S. Miller <davem@davemloft.net>
29758
29759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29760 upper 32-bits of the length value in %o2 since we use branch-on-register
29761 tests which consider the entire 64-bit register.
29762
5d41d91a
L
297632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * string/test-strstr.c (check2): Add a test for page boundary.
29766
3baddb72
DM
297672012-10-05 David S. Miller <davem@davemloft.net>
29768
29769 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29770 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29771 file.
29772 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29773 sysdep_routines.
29774 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29775 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29776 and bzero when HWCAP_SPARC_CRYPTO is present.
29777
9cee5585
L
297782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29779
d7e0dab9
L
29780 [BZ #14602]
29781 * string/test-strstr.c (check2): New function.
29782 (test_main): Call check2.
29783
03759f47
L
29784 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29785 and bug-strchr1.
29786 * string/bug-strcasestr1.c (do_test): Moved to ...
29787 * string/test-strcasestr.c (check1): Here. New function.
29788 (do_one_test): Break out result checking code into ...
29789 (check_result): This. New function.
29790 (do_one_test): Call check_result.
29791 (test_main): Call check1.
29792 * string/bug-strchr1.c (do_test): Moved to ...
29793 * string/test-strchr.c (check1): Here. New function.
29794 (do_one_test): Break out result checking code into ...
29795 (check_result): This. New function.
29796 (do_one_test): Call check_result.
29797 (test_main): Call check1.
29798 * string/bug-strstr1.c (main): Moved to ...
046f153e 29799 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29800 (do_one_test): Break out result checking code into ...
29801 (check_result): This. New function.
29802 (do_one_test): Call check_result.
29803 (test_main): Call check1.
29804 * string/bug-strcasestr1.c: Removed.
29805 * string/bug-strchr1.c: Likewise.
29806 * string/bug-strstr1.c: Likewise.
29807
53cea63e
L
29808 * elf/Makefile (dl-routines): Add hwcaps.
29809 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29810 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29811 (_dl_important_hwcaps): Moved to ...
29812 * elf/dl-hwcaps.c: Here. New file.
29813 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29814
9cee5585 29815 [BZ #14557]
bb859b06
L
29816 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29817 if IS_IN_rtld isn't defined.
29818
9cee5585
L
29819 * elf/dl-support.c (_dl_sysinfo_map): New.
29820 Include "get-dynamic-info.h" and "setup-vdso.h".
29821 (_dl_non_dynamic_init): Call setup_vdso.
29822 * elf/dynamic-link.h: Don't include <assert.h>.
29823 (elf_get_dynamic_info): Moved to ...
29824 * elf/get-dynamic-info.h: Here. New file.
29825 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29826 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29827 * elf/setup-vdso.h: Here. New file.
29828 * elf/rtld.c: Include "setup-vdso.h".
29829 (dl_main): Call setup_vdso.
29830
23c31b76
JM
298312012-10-05 Joseph Myers <joseph@codesourcery.com>
29832
28234b07
JM
29833 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29834 creal in comment listing functions tested. List finite, isinf,
29835 isnan, isless, islessequal, isgreater, isgreaterequal,
29836 islessgreater, isunordered, lgamma_r and pow10 as functions and
29837 macros not tested. Mention which functions not tested are aliases
29838 for other functions. Fix typo. Note that signs of NaNs are not
29839 tested.
29840
23c31b76
JM
29841 * scripts/config.guess: Update from config.git.
29842 * scripts/config.sub: Likewise.
29843
9043e228
RM
298442012-10-04 Roland McGrath <roland@hack.frob.com>
29845
29846 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29847 * misc/madvise.c (madvise): Renamed to __madvise.
29848 Make madvise a weak alias.
29849 * include/sys/mman.h: Declare __madvise.
29850 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29851 * sysdeps/unix/syscalls.list
29852 (madvise): Make __madvise the strong name, and madvise a weak alias.
29853 * sysdeps/unix/sysv/linux/syscalls.list
29854 (madvise, mmap): Remove redundant entries.
29855 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29856 * malloc/malloc.c (mtrim): Likewise.
29857 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29858
f57f8055
RM
298592012-10-03 Roland McGrath <roland@hack.frob.com>
29860
29861 * sysdeps/mach/hurd/dl-cache.c: File removed.
29862 * config.h.in (USE_LDCONFIG): New #undef.
29863 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29864 * configure: Regenerated.
29865 * elf/Makefile (dl-routines): Add dl-cache only under
29866 [$(use-ldconfig) = yes].
29867 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29868 cache on [USE_LDCONFIG].
29869 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29870 [USE_LDCONFIG].
29871 * elf/rtld.c (dl_main): Likewise.
29872
5bb0c10a
PT
298732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29874
29875 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29876 _SC_LEVEL4_CACHE_LINESIZE.
29877
010188c6
RM
298782012-10-03 Roland McGrath <roland@hack.frob.com>
29879
29880 * sysdeps/unix/bsd/confstr.h: File removed.
29881
b6c5ec07
AO
298822012-10-02 Alexandre Oliva <aoliva@redhat.com>
29883
29884 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29885 sys/sdt-config.h.
29886
408223d4
RM
298872012-10-02 Roland McGrath <roland@hack.frob.com>
29888
29889 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29890 Make 'mapoff' field ElfW(Off) rather than off_t.
29891
bb9510dc
DL
298922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29893
fc997c6e
DL
29894 * nscd/Makefile: Remove nscd-cflags and all its users.
29895 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29896 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29897
bb9510dc
DL
29898 [BZ #10631]
29899 * malloc.c (malloc_printerr): Clarify error message.
29900
05699367
L
299012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29902
29903 [BZ #14648]
29904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29905 Set bit_FMA_Usable if FMA is supported.
29906 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29907 macro.
29908 (bit_FMA4_Usable): Updated.
29909 (index_FMA_Usable): New macro.
29910 (CPUID_FMA): Likewise
29911 (HAS_FMA): Defined with bit_FMA_Usable.
29912
51367701
RM
299132012-10-01 Roland McGrath <roland@hack.frob.com>
29914
29915 * bits/types.h (__swblk_t): Type removed.
29916 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29917 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29919 (__SWBLK_T_TYPE): Likewise.
29920 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29921 (__SWBLK_T_TYPE): Likewise.
29922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29923 (__SWBLK_T_TYPE): Likewise.
29924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29925 (__SWBLK_T_TYPE): Likewise.
29926
4d57bf63 299272012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29928 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29929
29930 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29931 (xdr_mapname): Use YPMAXMAP as maxsize.
29932 (xdr_peername): Use YPMAXPEER as maxsize.
29933 (xdr_keydat): Use YPAXRECORD as maxsize.
29934 (xdr_valdat): Use YPMAXRECORD as maxsize.
29935
93c65d43
RM
299362012-10-01 Roland McGrath <roland@hack.frob.com>
29937
497a03d6
RM
29938 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29939
93c65d43
RM
29940 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29941 * csu/init-first.c: ... here.
29942 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29943 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29945 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29946 * sysdeps/i386/init-first.c: File removed.
29947 * sysdeps/sh/init-first.c: File removed.
29948
bec749fd
JM
299492012-10-01 Joseph Myers <joseph@codesourcery.com>
29950
29951 [BZ #14645]
29952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29953 if x * y might underflow to zero and z is zero.
29954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29956 * math/libm-test.inc (min_subnorm_value): New variable.
29957 (fma_test): Add more tests.
29958 (fma_test_towardzero): Likewise.
29959 (fma_test_downward): Likewise
29960 (fma_test_upward): Likewise.
29961 (initialize): Set min_subnorm_value.
29962
8ec5b013
JM
299632012-09-29 Joseph Myers <joseph@codesourcery.com>
29964
29965 [BZ #14638]
29966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29967 0 + 0.
29968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29969 mode for addition resulting in exact zero.
29970 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29972 exact 0 + 0.
29973 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29975 * math/libm-test.inc (fma_test): Add more tests.
29976 (fma_test_towardzero): New function.
29977 (fma_test_downward): Likewise.
29978 (fma_test_upward): Likewise.
29979 (main): Call the new functions.
29980
b1fa802e
DM
299812012-09-28 David S. Miller <davem@davemloft.net>
29982
29983 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29984
d3b9fd9e
RM
299852012-09-28 Roland McGrath <roland@hack.frob.com>
29986
ea4d37b3
RM
29987 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29988 instead of SIGALRM.
29989
ac51c949
RM
29990 * sysdeps/gnu/_G_config.h: Moved to ...
29991 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29992 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29993 * sysdeps/generic/_G_config.h: ... here.
29994
28c195f7
RM
29995 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29996
848917f9
RM
29997 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29998
6bacf05b
RM
29999 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30000 Conditionalize target on [libnss_test1.so-version].
30001
91363dbb
RM
30002 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30003
cc87f7d8
RM
30004 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30005 (elfobjdir): Move out of conditionals.
30006
b1c608fe
RM
30007 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30008 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30009 (__nss_lookup_function): Conditionalize label remove_from_tree on
30010 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30011
1d9a6d96
DM
300122012-09-28 David S. Miller <davem@davemloft.net>
30013
30014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30015 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30016 file.
30017 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30018 sysdep_routines.
30019 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30021 when HWCAP_SPARC_CRYPTO is present.
30022
72581615
PT
300232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30024
30025 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30026
715a900c
JL
300272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30028
30029 [BZ #6530]
30030 * stdio-common/vfprintf.c (process_string_arg): Revert
30031 2000-07-22 change.
30032
300332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30034
30035 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30036 for testcase.
30037 * stdio-common/tst-sprintf.c: Include <locale.h>
30038 (main): Test sprintf's handling of incomplete multibyte
30039 characters.
30040
9bac1d86
L
300412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30042
30043 * elf/dl-runtime.c (VERSYMIDX): Removed.
30044 * elf/dl-version.c (VERSYMIDX): Likewise.
30045 * elf/do-rel.h (VERSYMIDX): Likewise.
30046 (VALIDX): Likewise.
30047 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30048 * elf/rtld.c (VALIDX): Likewise.
30049 (ADDRIDX): Likewise.
9bac1d86
L
30050 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30051 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30052 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30053 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30054 (VALIDX): Likewise.
30055 (ADDRIDX): Likewise.
9bac1d86 30056
b31606c0
PT
300572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30058
30059 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30060
11541177
JL
300612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30062
30063 [BZ #11438]
30064 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30065 to global scope.
30066 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30067 addresses are in the same scope as 192.0.2/24.
30068 * posix/gai.conf: Document new scope table defaults.
30069
adb26fae
SP
300702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30071
30072 [BZ #5298]
30073 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30074 for ftell. Compute offsets from write pointers instead.
30075 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30076
4573c6b0
SP
300772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30078
30079 [BZ #14543]
30080 * libio/Makefile (tests): New test case tst-fseek.
30081 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30082 combination works in wide mode.
30083 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30084 state when the external buffer state changes.
30085
aa9bbfe6
DM
300862012-09-27 David S. Miller <davem@davemloft.net>
30087
30088 [BZ #14376]
30089 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30090 pass reloc->r_addend in as the 'high' argument to
30091 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30092
784421e7
DM
30093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30094
c39bc8b8
PT
300952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30096
30097 * rt/tst-aio2.c: Include <pthread.h>.
30098 * rt/tst-aio3.c: Likewise.
30099
1ccc2399
SE
301002012-09-27 Steve Ellcey <sellcey@mips.com>
30101
30102 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30103
31ed4153
L
301042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30105
25f5f885
L
30106 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30107 contents on [SHARED].
31ed4153 30108
b7bfe116
MP
301092012-09-26 Marek Polacek <polacek@redhat.com>
30110
30111 [BZ #14530]
30112 [BZ #13741]
30113 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30114 for C++ and GCC <4.3 as well as for non GCC compilers.
30115
43c4edba
MT
301162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30117
30118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30119
6a1bf82f
RM
301202012-09-25 Roland McGrath <roland@hack.frob.com>
30121
30122 * Makefile.in (all, install): Declare with .PHONY.
30123 Reported by Michael Hope <michael.hope@linaro.org>.
30124
8ad11b9a
TMQMF
301252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30126
30127 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30128 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30129 system header.
30130 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30131 Likewise.
30132 (sydep_routines): Add the new and the internal functions.
30133 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30134 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30136 (GLIBC_2.17): Add the new function.
30137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30138 (GLIBC_2.17): Likewise.
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30140 (GLIBC_2.17): Likewise.
30141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30142 (GLIBC_2.17): Likewise.
30143 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30144
7e2fca8d
AM
301452012-09-25 Alan Modra <amodra@gmail.com>
30146
30147 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30148 Add release barrier before setting once_control to say
30149 initialisation is done. Add hints on lwarx. Use macro in
30150 place of isync.
30151 (clear_once_control): Add release barrier.
30152
b87c4b24
JM
301532012-09-25 Joseph Myers <joseph@codesourcery.com>
30154
d032e0d2
JM
30155 [BZ #13629]
30156 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30157 specially.
30158 * math/s_clog10.c (__clog10): Likewise.
30159 * math/s_clog10f.c (__clog10f): Likewise.
30160 * math/s_clog10l.c (__clog10l): Likewise.
30161 * math/s_clogf.c (__clogf): Likewise.
30162 * math/s_clogl.c (__clogl): Likewise.
30163 * math/Makefile (libm-calls): Add x2y2m1.
30164 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30165 (__x2y2m1): Likewise.
30166 (__x2y2m1l): Likewise.
30167 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30168 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30169 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30170 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30171 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30172 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30173 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30174 * sysdeps/i386/fpu/libm-test-ulps: Update.
30175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30176
b87c4b24
JM
30177 [BZ #14621]
30178 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30179 int as type of variable DEPTH.
30180 (glob): Use size_t instead of int as type of variables NEWCOUNT
30181 and OLD_PATHC.
30182
6d3bf199
LD
301832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30184
22bf5c17
LD
30185 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30186 Add s_sincosf-sse2.
30187 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30188 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30189 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30190 macros for using routine as __sincosf_ia32.
30191 Use macro for function declaration and weak_alias.
30192 * sysdeps/i386/fpu/libm-test-ulps: Update.
30193
30194 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30196
30197 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30198 subnormal argument.
30199 * math/s_cexpf.c (__cexpf): Likewise.
30200 * math/s_csinf.c (__csinf): Likewise.
30201 * math/s_csinhf.c (__csinhf): Likewise.
30202 * math/s_ctanf.c (__ctanf): Likewise.
30203 * math/s_ctanhf.c (__ctanhf): Likewise.
30204 * math/s_ccosh.c (__ccoshf): Likewise.
30205 * math/s_cexp.c (__cexpl): Likewise.
30206 * math/s_csin.c (__csin): Likewise.
30207 * math/s_csinh.c (__csinh): Likewise.
30208 * math/s_ctan.c (__ctan): Likewise.
30209 * math/s_ctanh.c (ctanh): Likewise.
30210 * math/s_ccoshl.c (__ccoshl): Likewise.
30211 * math/s_cexpl.c (__cexpl): Likewise.
30212 * math/s_csinl.c (__csinl): Likewise.
30213 * math/s_csinhl.c (__csinhl): Likewise.
30214 * math/s_ctanl.c (__ctanl): Likewise.
30215 * math/s_ctanhl.c (__ctanhl): Likewise.
30216
203e5603
JM
302172012-09-25 Joseph Myers <joseph@codesourcery.com>
30218
30219 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30220 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30221 (_IO_off_t): Define to __off_t, not _G_off_t.
30222 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30223 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30224 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30225 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30226 type of __dummy and __dummy2 fields.
30227 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30228 (_G_ssize_t): Likewise.
30229 (_G_off_t): Likewise.
30230 (_G_pid_t): Likewise.
30231 (_G_uid_t): Likewise.
30232 (_G_wchar_t): Likewise.
30233 (_G_wint_t): Likewise.
30234 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30235 (_G_ssize_t): Likewise.
30236 (_G_off_t): Likewise.
30237 (_G_pid_t): Likewise.
30238 (_G_uid_t): Likewise.
30239 (_G_wchar_t): Likewise.
30240 (_G_wint_t): Likewise.
30241 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30242 (_G_ssize_t): Likewise.
30243 (_G_off_t): Likewise.
30244 (_G_pid_t): Likewise.
30245 (_G_uid_t): Likewise.
30246 (_G_wchar_t): Likewise.
30247 (_G_wint_t): Likewise.
30248
9fab36eb
SP
302492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30250
30251 * malloc/arena.c: Include malloc-sysdep.h.
30252 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30253 is sufficient to shrink the heap or an unmap is needed.
30254 * sysdeps/generic/malloc-sysdep.h: New file. Define
30255 new function check_may_shrink_heap.
30256 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30257 new function check_may_shrink_heap.
30258
2b4f00d1
SP
302592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30260
30261 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30262 comments.
30263
9a9028b1
DL
302642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30265
57c69bef
DL
30266 * catgets/test-gencat.sh: Add "set -e".
30267 * elf/tst-pathopt.sh: Likewise.
30268 * grp/tst_fgetgrent.sh: Likewise.
30269 * iconvdata/run-iconv-test.sh: Likewise.
30270 * intl/tst-gettext.sh: Likewise.
30271 * intl/tst-gettext2.sh: Likewise.
30272 * intl/tst-gettext4.sh: Likewise.
30273 * intl/tst-gettext6.sh: Likewise.
30274 * intl/tst-translit.sh: Likewise.
30275 * io/ftwtest-sh: Likewise.
30276 * libio/test-freopen.sh: Likewise.
30277 * malloc/tst-mtrace.sh: Likewise.
30278 * posix/globtest.sh: Likewise.
30279 * posix/tst-getconf.sh: Likewise.
30280 * posix/wordexp-tst.sh: Likewise.
30281 * stdio-common/tst-printf.sh: Likewise.
30282 * stdio-common/tst-unbputc.sh: Likewise.
30283 * stdlib/tst-fmtmsg.sh: Likewise.
30284 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30285 * catgets/Makefile: Do not specify -e option when running
30286 testsuite shell scripts.
30287 * elf/Makefile: Likewise.
30288 * grp/Makefile: Likewise.
30289 * iconvdata/Makefile: Likewise.
30290 * intl/Makefile: Likewise.
30291 * io/Makefile: Likewise.
30292 * libio/Makefile: Likewise.
30293 * malloc/Makefile: Likewise.
30294 * posix/Makefile: Likewise.
30295 * stdio-common/Makefile: Likewise.
30296 * stdlib/Makefile: Likewise.
30297 * sysdeps/x86_64/Makefile: Likewise.
30298
9a9028b1
DL
30299 * io/ftwtest-sh: Add copyright header.
30300 * posix/globtest.sh: Likewise.
30301 * posix/tst-getconf.sh: Likewise.
30302 * posix/wordexp-tst.sh: Likewise.
30303 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30304
ced6f16e
L
303052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30306
94b32c39
L
30307 [BZ #13679]
30308 * Makeconfig (+link): Defined as $(+link-static) if
30309 $(build-shared) isn't yes.
30310 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30311 isn't yes.
30312 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30313
189e935b
L
30314 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30315
ced6f16e
L
30316 [BZ #14562]
30317 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30318 new chunk size with MALLOC_ALIGN_MASK.
30319
a9f8e53a
JM
303202012-09-24 Joseph Myers <joseph@codesourcery.com>
30321
30322 [BZ #5044]
30323 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30324 <rounding-mode.h>.
30325 (__printf_fphex): Determine rounding using get_rounding_mode and
30326 round_away.
30327 * stdio-common/tst-printf-round.c (struct hex_test): New
30328 structure.
30329 (hex_tests): New variable.
30330 (test_hex_in_one_mode): New function.
30331 (do_test): Also run tests for hex float output.
30332
43153109
JM
303332012-09-21 Joseph Myers <joseph@codesourcery.com>
30334
30335 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30336 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30337 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30338 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30339 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30340 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30341 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30343
8a26625d
JM
303442012-09-20 Joseph Myers <joseph@codesourcery.com>
30345
30346 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30347 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30348 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30349 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30350
f3fd569c
DL
303512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30352
30353 [BZ #14579]
30354 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30355 mode only.
30356 * elf/tst-rtld-load-self.sh: New test.
30357 * elf/Makefile: Run it.
30358
63bbedd4
JM
303592012-09-18 Joseph Myers <joseph@codesourcery.com>
30360
30361 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30362 (tst-writev-ENV): Remove.
30363 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30364
626f8b6a
CM
303652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30366
30367 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30368
b7aaa4d6
JM
303692012-09-17 Joseph Myers <joseph@codesourcery.com>
30370
30371 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30372 unconditional.
30373 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30374 Likewise.
30375 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30376 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30377 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30378 Likewise.
30379
65513990
L
303802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30381
30382 [BZ #14587]
30383 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30384 * config.make.in (have-cpp-asm-debuginfo): Removed.
30385 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30386 * configure: Regenerated.
30387
784761be
JM
303882012-09-14 Joseph Myers <joseph@codesourcery.com>
30389
30390 [BZ #5044]
30391 * stdio-common/printf_fp.c: Include <stdbool.h> and
30392 <rounding-mode.h>.
30393 (___printf_fp): Determine rounding using get_rounding_mode and
30394 round_away.
30395 * stdio-common/tst-printf-round.c: New file.
30396 * stdio-common/Makefile (tests): Add tst-printf-round.
30397 (link-libm): New variable.
30398 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30399
9503345f
L
304002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30401
30402 [BZ #14576]
30403 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30404 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30405 Likewise.
30406 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30407 Likewise.
30408
ad35fc00
JM
304092012-09-13 Joseph Myers <joseph@codesourcery.com>
30410
30411 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30412 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30413 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30415
6c9b0f68
JM
304162012-09-12 Joseph Myers <joseph@codesourcery.com>
30417
30418 [BZ #14518]
30419 * include/rounding-mode.h: New file.
30420 * sysdeps/generic/get-rounding-mode.h: Likewise.
30421 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30422 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30423 (MAX_VALUE): New macro.
30424 (MIN_VALUE): Likewise.
30425 (overflow_value): New function.
30426 (underflow_value): Likewise.
30427 (round_and_return): Use overflow_value and underflow_value to
30428 determine return values in overflow and underflow cases. Use
30429 round_away to determine rounding depending on rounding mode.
30430 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30431 determine return values in overflow and underflow cases.
30432 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30433 (struct test_results): New structure.
30434 (struct test): Use struct test_results to store expected results
30435 for all rounding modes.
30436 (TEST): Include expected results for all rounding modes.
30437 (test_in_one_mode): New function.
30438 (do_test): Use test_in_one_mode to compute and check results.
30439 Check results for all rounding modes.
30440 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30441 $(link-libm).
30442
19fcedd5
AM
304432012-12-09 Allan McRae <allan@archlinux.org>
30444
1e9d84cd 30445 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30446
8bbfd2f1
JM
304472012-09-11 Joseph Myers <joseph@codesourcery.com>
30448
30449 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30450 (_G_int32_t): Likewise.
30451 (_G_uint16_t): Likewise.
30452 (_G_uint32_t): Likewise.
30453 (_G_HAVE_BOOL): Likewise.
30454 (_G_HAVE_ATEXIT): Likewise.
30455 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30456 (_G_HAVE_IO_FILE_OPEN): Likewise.
30457 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30458 (_G_int32_t): Likewise.
30459 (_G_uint16_t): Likewise.
30460 (_G_uint32_t): Likewise.
30461 (_G_HAVE_BOOL): Likewise.
30462 (_G_HAVE_ATEXIT): Likewise.
30463 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30464 (_G_HAVE_IO_FILE_OPEN): Likewise.
30465 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30466 (_G_int32_t): Likewise.
30467 (_G_uint16_t): Likewise.
30468 (_G_uint32_t): Likewise.
30469 (_G_HAVE_BOOL): Likewise.
30470 (_G_HAVE_ATEXIT): Likewise.
30471 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30472 (_G_HAVE_IO_FILE_OPEN): Likewise.
30473
b1dc5912
L
304742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30475
30476 * csu/libc-tls.c: Update copyright years.
30477
0e886ef9
JM
304782012-09-10 Joseph Myers <joseph@codesourcery.com>
30479
28361c5e
JM
30480 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30481 [!_G_USING_THUNKS]: Remove conditional code.
30482 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30483 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30484
0e886ef9
JM
30485 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30486 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30487 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30488 (_G_VTABLE_LABEL_PREFIX): Likewise.
30489 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30490 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30491 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30492 (_G_VTABLE_LABEL_PREFIX): Likewise.
30493 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30494 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30495 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30496 (_G_VTABLE_LABEL_PREFIX): Likewise.
30497 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30498
bcba7aa2
L
304992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30500
30501 * libio/Makefile: Include ../Makeconfig before tests.
30502 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30503 only if $(build-shared) is yes.
30504
06585ee8
L
30505 * iconv/gconv_db.c: Update copyright years.
30506
80ccd52c
LD
305072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30508
30509 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30510 unwind info if defined PIC. Fix special cases description.
30511 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30512
30513 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30514 DP_HI_MASK entry.
30515 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30516
691bc9c1
L
305172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30518
3d9b46b3
L
30519 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30520
de2139a9
L
30521 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30522 is NULL.
30523
5ca78dd0
L
30524 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30525 (LDLIBS-tst-chk4): This.
30526 (LDFLAGS-tst-chk5): Renamed to ...
30527 (LDLIBS-tst-chk5): This.
30528 (LDFLAGS-tst-chk6): Renamed to ...
30529 (LDLIBS-tst-chk6): This.
30530 (LDFLAGS-tst-lfschk4): Renamed to ...
30531 (LDLIBS-tst-lfschk4): This.
30532 (LDFLAGS-tst-lfschk5): Renamed to ...
30533 (LDLIBS-tst-lfschk5): This.
30534 (LDFLAGS-tst-lfschk6): Renamed to ...
30535 (LDLIBS-tst-lfschk6): This.
30536
691bc9c1
L
30537 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30538 on $(common-objpfx)soversions.mk.
30539
65cafb1c
JM
305402012-09-07 Joseph Myers <joseph@codesourcery.com>
30541
30542 [BZ #10014]
30543 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30544 example host name.
30545
c78ab094
SP
305462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30547
30548 * malloc/arena.c (arena_get_retry): New function that gets
30549 another arena for the caller to try its request on.
30550 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30551 current arena cannot fulfill the request.
30552 (__libc_memalign): Likewise.
30553 (__libc_memalign): Likewise.
30554 (__libc_pvalloc): Likewise.
30555 (__libc_calloc): Likewise.
30556
01f49f59
JT
305572012-09-05 John Tobey <john.tobey@gmail.com>
30558
30559 [BZ #13542]
30560 * manual/arith.texi (Operations on Complex): Fix description
30561 of carg branch cut.
30562
4c23fed5
JM
305632012-09-06 Joseph Myers <joseph@codesourcery.com>
30564
1d3c8572
JM
30565 [BZ #10014]
30566 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30567 host name.
30568
4c23fed5
JM
30569 [BZ #10038]
30570 * manual/memory.texi (Memory): Make order of menu items match
30571 order of sections.
30572
04570aaa
L
305732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30574
30575 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30576 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30577 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30578
b80af2f4
L
305792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30580
30581 * csu/libc-tls.c (static_dtv): Renamed to ...
30582 (_dl_static_dtv): This. Make it global.
30583 (_dl_initial_dtv): Removed.
30584 (__libc_setup_tls): Updated.
30585 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30586 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30587 DL_INITIAL_DTV.
30588
2abe9f15
PM
305892012-09-06 Petr Machata <pmachata@redhat.com>
30590
30591 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30592 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30593 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30594 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30595
0948c3af
L
305962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30597
30598 [BZ #14545]
30599 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30600 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30601 freeing dtv[-1].
30602
a5055ad1
L
306032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30604
30605 [BZ #14544]
30606 * Makeconfig (link-static-before-libc): Replace $(+prector)
30607 with $(+prectorT).
30608 (link-static-after-libc): Replace $(+postctor) with
30609 $(+postctorT).
30610 (link-bounded): Replace $(+prector)/$(+postctor) with
30611 $(+prectorT)/$(+postctorT).
30612 (+prectorT): New macro.
30613 (+postctorT): Likewise.
30614
ed8c2ecd
JM
306152012-09-06 Joseph Myers <joseph@codesourcery.com>
30616
30617 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30618 (round_str): Handle values above the maximum for IBM long double
30619 as inexact.
30620 * stdlib/tst-strtod-round.c (tests): Regenerated.
30621
14c996c8
AK
306222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30623
30624 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30625 assembler flag.
30626 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30627 zarch_nohighgprs around the zarch optimized routines.
30628 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30629 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30631 for zarch.
30632
430d6ce6
DM
306332012-09-05 David S. Miller <davem@davemloft.net>
30634
30635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30636
57f41c40
AS
30637 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30638 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30639 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30640 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30641 entries.
30642
24d4e01b
AO
306432012-09-05 Alexandre Oliva <aoliva@redhat.com>
30644
30645 * malloc/arena.c: Fold copyright years.
30646 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30647
61d58174
AO
306482012-09-05 Alexandre Oliva <aoliva@redhat.com>
30649
30650 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30651
20196a5e
AO
306522012-09-05 Alexandre Oliva <aoliva@redhat.com>
30653
30654 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30655
5c447383
AO
306562012-09-05 Alexandre Oliva <aoliva@redhat.com>
30657
30658 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30659 change internal state upon failure.
30660
fad64255
AO
306612012-09-05 Alexandre Oliva <aoliva@redhat.com>
30662
30663 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30664 * malloc/memusage.c (mmap): Likewise.
30665 (mmap64, mremap): Likewise. Adjust name in comment.
30666
1ffb8c90
SP
306672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30668
30669 * libio/fileops.c: Fix typos in comments.
30670 * libio/oldfileops.c: Likewise.
30671 * libio/wfileops.c: Likewise.
30672
6ef9cc37
SP
306732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30674
30675 [BZ #1349]
30676 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30677 (tst-malloc-usable-ENV): Set environment for test case.
30678 * malloc/hooks.c (malloc_check_get_size): New function to get
30679 requested size.
30680 * malloc/malloc.c (musable): Use malloc_check_get_size.
30681 * malloc/tst-malloc-usable.c: New test case.
30682
4d038ae3
AS
306832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30684
30685 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30686
c4e85184
AM
306872012-09-05 Allan McRae <allan@archlinux.org>
30688
b9dafc56 30689 [BZ #13966]
c4e85184
AM
30690 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30691 determine header location.
30692 * configure: Regenerated.
30693
e1343020
AS
306942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30695
30696 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30697 float format.
30698 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30699 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30700 format.
e1343020
AS
30701 (test): Regenerate.
30702
0a9f1987
DM
307032012-09-04 David S. Miller <davem@davemloft.net>
30704
30705 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30706 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30707 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30708
29237804
FW
307092012-09-04 Florian Weimer <fweimer@redhat.com>
30710
30711 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30712 failures.
30713
edb3cb88
FW
30714 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30715
60160d83
JM
307162012-09-04 Joseph Myers <joseph@codesourcery.com>
30717
30718 [BZ #9914]
30719 * libio/iogetdelim.c: Include <limits.h>.
30720 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30721 + len + 1 would overflow.
30722
bcd6c8dc
AJ
307232012-09-03 Andreas Jaeger <aj@suse.de>
30724
30725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30726 * sysdeps/i386/fpu/libm-test-ulps: Update.
30727
4ffffbd2
LD
307282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30729
30730 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30731 Add s_sinf-sse2, s_conf-sse2.
30732
30733 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30734 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30735 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30736 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30737
30738 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30739 for using routine as __sinf_ia32.
30740 Use macro for function declaration and weak_alias.
30741 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30742 for using routine as __cosf_ia32.
30743 Use macro for function declaration and weak_alias.
30744
30745 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30746 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30747
30748 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30749 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30751
30752 * math/libm-test.inc (cos_test): Add more test cases.
30753 (sin_test): Likewise.
30754 (sincos_test): Likewise.
30755
511fa286
AK
307562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30757
30758 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30759 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30760 hidden.
30761 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30762
5f30cfec
L
307632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30764
30765 [BZ #14538]
30766 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30767 first element of the GOT.
30768 (elf_machine_load_address): Return the difference between
30769 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30770
0786794f
AM
307712012-09-01 Allan McRae <allan@archlinux.org>
30772
5f30cfec
L
30773 [BZ #13412]
30774 * configure.in (AWK): Require gawk version 3.0 or later.
30775 * configure: Regenerated.
0786794f 30776
26889eac
JM
307772012-09-01 Joseph Myers <joseph@codesourcery.com>
30778
30779 * sysdeps/unix/sysv/linux/kernel-features.h
30780 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30782 [__NR_clock_getres]: Make code unconditional.
30783 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30784 (clock_getcpuclockid): Remove code left unreachable by removal of
30785 conditionals.
30786 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30787 code unconditional.
30788 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30789 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30790 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30791 Make code unconditional.
30792 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30793 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30794 * sysdeps/unix/sysv/linux/clock_settime.c
30795 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30796 conditional code.
30797 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30798 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30799
d22e28b0
L
308002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30801
30802 [BZ #14476]
30803 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30804 scripts/test-installation.pl.
30805
30806 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30807 and $ld_so_version if it is set.
30808
050af9c4
SP
308092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30810
30811 [BZ #14516]
30812 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30813 failure if reading from procfs failed.
30814 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30815
ad845c0b
JM
308162012-08-27 Joseph Myers <joseph@codesourcery.com>
30817
30818 * sysdeps/unix/sysv/linux/kernel-features.h
30819 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30820 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30821 Remove conditional code.
30822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30823 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30824 Remove conditional code.
30825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30826 * sysdeps/unix/sysv/linux/i386/fxstat.c
30827 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30829 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30830 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30832 * sysdeps/unix/sysv/linux/i386/lxstat.c
30833 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30835 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30836 Remove conditional code.
30837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30838 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30839 Remove conditional code.
30840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30841 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30842 <kernel-features.h>.
30843 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30844 Remove.
30845 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30846 Remove conditional code.
30847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30848 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30849 Remove conditional.
30850
5dbf56af
MF
308512012-08-27 Mike Frysinger <vapier@gentoo.org>
30852
30853 [BZ #5400]
30854 * NEWS: Add fixed bug number.
30855
d6e70f43
JM
308562012-08-27 Joseph Myers <joseph@codesourcery.com>
30857
7efb4737
JM
30858 [BZ #14519]
30859 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30860 underflowing exponent in case of negative sign.
30861 * stdlib/tst-strtod-round-data: Add more tests.
30862 * stdlib/tst-strtod-round.c (tests): Regenerated.
30863
af92131a
JM
30864 [BZ #3479]
30865 * stdlib/strtod_l.c (NDIG): Remove.
30866 (HEXNDIG): Likewise.
30867 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30868 smallest representable value.
30869 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30870 lie within an exact representation of 1/2 ulp of the result.
30871 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30872 unconditionally.
30873 (TENS_P9_IDX): Define unconditionally.
30874 (TENS_P9_SIZE): Likewise.
30875 (TENS_P10_IDX): Likewise.
30876 (TENS_P10_SIZE): Likewise.
30877 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30878 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30879 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30880 entries for 10^2^13 and 10^2^14.
30881 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30882 (TENS_P13_IDX): Define.
30883 (TENS_P13_SIZE): Likewise.
30884 (TENS_P14_IDX): Likewise.
30885 (TENS_P14_SIZE): Likewise.
30886 (_fpioconst_pow10): Change array size to
30887 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30888 unconditional.
30889 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30890 1024]: Add entries for 10^2^13 and 10^2^14.
30891 [LAST_POW10 > _LAST_POW10]: Remove #error.
30892 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30893 (_fpioconst_pow10): Change array size to
30894 FPIOCONST_POW10_ARRAY_SIZE.
30895 * stdlib/gen-fpioconst.c: New file.
30896 * stdlib/gen-tst-strtod-round.c: Likewise.
30897 * stdlib/tst-strtod-round-data: Likewise.
30898 * stdlib/tst-strtod-round.c: Likewise.
30899 * stdlib/Makefile (tests): Add tst-strtod-round.
30900
d6e70f43
JM
30901 [BZ #14459]
30902 * stdlib/strtod_l.c: Include <stdint.h>.
30903 (NDEBUG): Do not define.
30904 (round_and_return): Change EXPONENT parameter to type intmax_t.
30905 Rearrange calculations to avoid internal overflow possibilities.
30906 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30907 Rearrange calculations to avoid internal overflow possibilities.
30908 Assert that number fits inside MPNSIZE limbs.
30909 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30910 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30911 calculations and add assertions to avoid internal overflow
30912 possibilities. Add casts to avoid signed/unsigned operations.
30913 * stdlib/tst-strtod-overflow.c: New file.
30914 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30915
1f529f7d
MP
309162012-08-25 Marek Polacek <polacek@redhat.com>
30917
30918 * time/time.h: Fix some typos in comments.
30919
59a629f1
RM
309202012-08-23 Roland McGrath <roland@hack.frob.com>
30921
30922 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30923 * posix/tst-rfc3484-2.c: Likewise.
30924 * posix/tst-rfc3484-3.c: Likewise.
30925
d3bafbc9
SM
309262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30927
30928 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30929 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30930
4efcc022
JM
309312012-08-23 Joseph Myers <joseph@codesourcery.com>
30932
30933 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30934 #include of fxstatat64.c.
30935
3cc3ef96
RM
309362012-08-22 Roland McGrath <roland@hack.frob.com>
30937
f04e2132
RM
30938 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30939 * shadow/getspent_r.c: Likewise.
30940 * shadow/getspnam.c: Likewise.
30941 * shadow/getspnam_r.c: Likewise.
30942 * gshadow/getsgent.c: Likewise.
30943 * gshadow/getsgent_r.c: Likewise.
30944 * gshadow/getsgnam.c: Likewise.
30945 * gshadow/getsgnam_r.c: Likewise.
30946 * inet/getnetbyad.c: Likewise.
30947 * inet/getnetbyad_r.c: Likewise.
30948 * inet/getnetbynm.c: Likewise.
30949 * inet/getnetbynm_r.c: Likewise.
30950 * inet/getnetent.c: Likewise.
30951 * inet/getnetent_r.c: Likewise.
30952 * inet/getproto.c: Likewise.
30953 * inet/getproto_r.c: Likewise.
30954 * inet/getprtent.c: Likewise.
30955 * inet/getprtent_r.c: Likewise.
30956 * inet/getprtname.c: Likewise.
30957 * inet/getprtname_r.c: Likewise.
30958 * inet/getrpcbyname.c: Likewise.
30959 * inet/getrpcbyname_r.c: Likewise.
30960 * inet/getrpcbynumber.c: Likewise.
30961 * inet/getrpcbynumber_r.c: Likewise.
30962 * inet/getrpcent.c: Likewise.
30963 * inet/getrpcent_r.c: Likewise.
30964 * inet/getaliasent.c: Likewise.
30965 * inet/getaliasent_r.c: Likewise.
30966 * inet/getaliasname.c: Likewise.
30967 * inet/getaliasname_r.c: Likewise.
30968 * nscd/getgrgid_r.c: Likewise.
30969 * nscd/getgrnam_r.c: Likewise.
30970 * nscd/gethstbyad_r.c: Likewise.
30971 * nscd/gethstbynm3_r.c: Likewise.
30972 * nscd/getpwnam_r.c: Likewise.
30973 * nscd/getpwuid_r.c: Likewise.
30974 * nscd/getsrvbynm_r.c: Likewise.
30975 * nscd/getsrvbypt_r.c: Likewise.
30976 * nscd/gai.c: Likewise.
30977
c53d909c
RM
30978 * configure.in (build_nscd): New substituted variable, set
30979 by --disable-build-nscd and defaults to $use_nscd.
30980 * configure: Regenerated.
30981 * config.make.in (build-nscd): New substituted variable.
30982 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30983 Change conditional to require [$(build-nscd) = yes] as well.
30984 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30985
3cc3ef96
RM
30986 [BZ# 13696]
30987 * configure.in (use_nscd): New substituted variable, set by
30988 --disable-nscd. If enabled, define USE_NSCD.
30989 * configure: Regenerated.
30990 * config.h.in: Add USE_NSCD.
30991 * config.make.in (use-nscd): New substituted variable.
30992 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30993 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30994 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30995 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30996 (CFLAGS-getgrnam_r.c): Likewise.
30997 (CFLAGS-initgroups.c): Likewise.
30998 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30999 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31000 Variables removed.
31001 * inet/getnetgrent_r.c
31002 (nscd_setnetgrent): New function, broken out of ...
31003 (setnetgrent): ... here. Call it.
31004 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31005 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31006 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31007 * nscd/Makefile (routines, aux): Move definitions after include of
31008 Makeconfig. Conditionalize on [$(use-nscd) != no].
31009 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31010 Conditionalize on [USE_NSCD].
31011 (is_nscd, nscd_init_cb): Likewise.
31012 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31013 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31014 * nss/nss_db/db-init.c: Likewise.
31015 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31016 [USE_NSCD].
31017 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31018 (make_request): Use it.
31019 (cache_valid_p): New function.
31020 (__check_pf): Use it.
31021 * NEWS: Add item for --disable-nscd.
31022
07e51550
DL
310232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31024
31025 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31026 to support sed >= 4.2.1-20-ga9bf076.
31027 * configure: Regenerated.
31028
35a5b08b
RM
310292012-08-22 Roland McGrath <roland@hack.frob.com>
31030
31031 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31032 Conditionalize whole body on [IREL].
31033
8479f23a
JL
310342012-08-22 Jeff Law <law@redhat.com>
31035
31036 [BZ #14505]
31037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31038 if the family is PF_UNSPEC.
31039
48da0b21
MF
310402012-08-22 Mike Frysinger <vapier@gentoo.org>
31041
31042 * Makerules (lib-version): Rename from V.
31043 (install-lib-nosubdir): Change V to lib-version.
31044
15d0da8c
WS
310452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31046
31047 [BZ #14252]
31048 * powerpc32/power6/wcschr.c: New file.
31049 * powerpc32/power6/wcscpy.c: New file.
31050 * powerpc32/power6/wcsrchr.c: New file.
31051 * powerpc64/power6/wcschr.c: New file.
31052 * powerpc64/power6/wcscpy.c: New file.
31053 * powerpc64/power6/wcsrchr.c: New file.
31054
bcca0895
MK
310552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31056
31057 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31058 (two_way_short_needle): Use it.
5a4aaa33
RM
31059 * string/strstr.c (AVAILABLE1_USES_J): Define.
31060 * string/strcasestr.c: Likewise.
99677e57
MK
31061
31062 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31063 array references.
31064 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31065
400726de
MK
31066 [BZ #11607]
31067 * NEWS: Add an entry.
31068 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31069 define their defaults.
31070 (two_way_short_needle): Detect end-of-string on-the-fly.
31071 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31072 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31073 * string/bug-strcasestr1.c: New test.
31074 * string/Makefile: Run it.
31075
20a71f2c
MK
310762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31077
31078 [BZ #11607]
31079 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31080 the first character.
31081
21ad0558
RM
310822012-08-21 Roland McGrath <roland@hack.frob.com>
31083
31084 * csu/elf-init.c (__libc_csu_irel): Function removed.
31085 * csu/libc-start.c (apply_irel): New function.
31086 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31087
0e1d9911
JM
310882012-08-21 Joseph Myers <joseph@codesourcery.com>
31089
31090 * sysdeps/unix/sysv/linux/kernel-features.h
31091 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31092 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31093 <kernel-features.h>.
31094 [__NR_fadvise64_64]: Make code unconditional.
31095 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31096 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31097 !__NR_fadvise64_64)]: Likewise.
31098 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31099 !__NR_fadvise64_64))]: Likewise.
31100 [__NR_fadvise64]: Make code unconditional.
31101 [!__NR_fadvise64]: Remove conditional code.
31102 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31103 <kernel-features.h>.
31104 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31105 unconditional.
31106 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31107 conditional code.
31108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31109 not include <kernel-features.h>.
31110 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31111 unconditional.
31112 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31113 conditional code.
31114 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31115 include <kernel-features.h>.
31116 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31117 unconditional.
31118 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31119 conditional code.
31120
14a50c9d
WS
311212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31122
31123 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31124 slight instruction rearrangements per scrollpipe analysis.
31125 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31126
c0f4faf0
RM
311272012-08-20 Roland McGrath <roland@hack.frob.com>
31128
696da859
RM
31129 * manual/syslog.texi (syslog; vsyslog, closelog):
31130 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31131 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31132
c0f4faf0
RM
31133 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31134 DSOCAPS to match condition on defining it.
31135
348363b2
JM
311362012-08-20 Joseph Myers <joseph@codesourcery.com>
31137
a35cbf28
JM
31138 * sysdeps/unix/sysv/linux/kernel-features.h
31139 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31141 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31142 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31144 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31145 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31147 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31148 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31149
445f7ecd
JM
31150 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31151 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31152
348363b2
JM
31153 * sysdeps/unix/sysv/linux/kernel-features.h
31154 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31155 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31156 unconditional.
31157 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31158 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31159 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31160 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31161 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31162 Make code unconditional.
31163 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31164 (__mmap64) [!__NR_mmap2]: Likewise.
31165 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31166 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31167 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31169 [__NR_mmap2]: Make code unconditional.
31170 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31171 (__mmap64) [!__NR_mmap2]: Likewise.
31172
bc5bc0e5
AK
311732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31174
31175 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31176
88d506de
AJ
311772012-08-18 Andreas Jaeger <aj@suse.de>
31178
31179 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31180
493387d2
MF
311812012-08-18 Mike Frysinger <vapier@gentoo.org>
31182
31183 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31184 * include/unistd.h (__have_sock_cloexec): Likewise.
31185 (__have_pipe2): Likewise.
31186 (__have_dup3): Likewise.
31187
a277af22
MF
311882012-08-18 Mike Frysinger <vapier@gentoo.org>
31189
31190 [BZ #9685]
31191 * include/unistd.h (__have_pipe2): Change define into an extern int.
31192 (__have_dup3): Likewise.
31193 * socket/have_sock_cloexec.c: Include fcntl.h.
31194 (__have_pipe2): New variable.
31195 (__have_dup3): Likewise.
31196
fdab8fd3
MF
311972012-08-17 Mike Frysinger <vapier@gentoo.org>
31198
31199 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31200
31035e80
MP
312012012-08-17 Marek Polacek <polacek@redhat.com>
31202
31203 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31204 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31205
3bd9e993
RM
312062012-08-17 Roland McGrath <roland@hack.frob.com>
31207
c91c505f
RM
31208 * configure.in: Add AC_SUBST for sysheaders.
31209 * configure: Regenerated.
31210 * config.make.in (sysheaders): New substituted variable.
31211
7c6f9d53
RM
31212 * sysdeps/unix/mkfifo.c: Moved ...
31213 * sysdeps/posix/mkfifo.c: ... here.
31214 * sysdeps/unix/mkfifoat.c: Moved ...
31215 * sysdeps/posix/mkfifoat.c: ... here.
31216
31217 * sysdeps/unix/utime.c: Moved ...
31218 * sysdeps/posix/utime.c: ... here.
31219
31220 * sysdeps/unix/time.c: Moved ...
31221 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31222 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31223 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31224
31225 * sysdeps/unix/nice.c: Moved ...
31226 * sysdeps/posix/nice.c: ... here.
31227
31228 * sysdeps/unix/alarm.c: Moved ...
31229 * sysdeps/posix/alarm.c: ... here.
31230
3bd9e993
RM
31231 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31232
d1f09384
JL
312332012-08-17 Jeff Law <law@redhat.com>
31234
31235 * intl/Makefile (codeset_mo): New variable.
31236 ($(codeset_mo)): New target.
31237 (tst-codeset.out): Depend on that. Remove explicit rule.
31238 (tst-gettext3.out, tst-gettext5.out): Likewise.
31239 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31240 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31241 * intl/tst-codeset.sh: Remove.
31242 * intl/tst-gettext3.sh: Likewise.
31243 * intl/tst-gettext5.sh: Likewise.
31244
2ae1ae5c
RM
312452012-08-17 Roland McGrath <roland@hack.frob.com>
31246
c31fdb83
RM
31247 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31248 * sysdeps/unix/syscalls.list: ... here.
31249
a0844057
RM
31250 * sysdeps/posix/getaddrinfo.c
31251 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31252 (gaiconf_init, gaiconf_reload): Use them.
31253 [!_STATBUF_ST_NSEC]
31254 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31255 Define using time_t rather than struct timespec.
31256
750c1f2a
RM
31257 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31258 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31259 Macros removed.
31260 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31261 [!NO_THREADS].
31262 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31263 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31264 Likewise.
31265
2ae1ae5c
RM
31266 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31267 __libc_cleanup_push argument.
31268
e66a42f5
RM
31269 * bits/param.h: New file.
31270 * misc/sys/param.h: New file.
31271 * include/sys/param.h: New file.
31272 * misc/Makefile (headers): Add bits/param.h.
31273 * sysdeps/generic/sys/param.h: File removed.
31274 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31275 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31276 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31277 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31278
b7c08a66
RM
31279 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31280 last change.
31281
b2e1c562
RM
31282 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31283 [_IO_MTSAFE_IO].
31284 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31285 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31286 New macros.
31287
c75ccd4c
RM
31288 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31289 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31290 rather than -D_IO_MTSAFE_IO conditionally.
31291 * stdio-common/Makefile (CPPFLAGS): Likewise.
31292 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31293 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31294 Use $(libio-mtsafe).
31295 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31296 of -D_IO_MTSAFE_IO.
31297 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31298 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31299 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31300 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31301 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31302 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31303 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31304 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31305 (CFLAGS-fread_u_chk.c): Likewise.
31306 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31307 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31308 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31309 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31310 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31311 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31312 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31313 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31314 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31315
31316 * libio/Makefile: Test [$(libc-reentrant) = yes]
31317 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31318
31319 * Makeconfig
31320 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31321 * sysdeps/pthread/configure: File removed.
31322 * sysdeps/pthread/Makeconfig: New file.
31323 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31324 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31325
d9195db8
GB
313262012-08-16 Gary Benson <gbenson@redhat.com>
31327
31328 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31329 unmapping the first object in a namespace.
31330
86466cd9
RM
313312012-08-16 Roland McGrath <roland@hack.frob.com>
31332
31333 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31334 (__internal_setnetgrent): ... this. Add internal_function to
31335 definition. Add libc_hidden_def.
31336 (setnetgrent): Update caller.
31337 (internal_endnetgrent): Renamed to ...
31338 (__internal_endnetgrent): ... this. Add internal_function to
31339 definition. Add libc_hidden_def.
31340 (endnetgrent): Update caller.
31341 (internal_getnetgrent_r): Renamed to ...
31342 (__internal_getnetgrent_r): ... this. Add internal_function to
31343 definition. Add libc_hidden_def.
31344 (__getnetgrent_r): Update caller.
31345 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31346
c3c8283c
JM
313472012-08-16 Joseph Myers <joseph@codesourcery.com>
31348
31349 * stdlib/longlong.h: Update from GCC.
31350
db1ee0a8
RM
313512012-08-16 Roland McGrath <roland@hack.frob.com>
31352
31353 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31354 on _QL, which is set by umul_ppmm but never used.
31355 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31356 variables, which are set by GMP macros but never used.
31357 * stdio-common/_itowa.c (_itowa): Likewise.
31358 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31359 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31360
30f69637
CD
313612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31362
31363 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31364 struct La_sh_regs is not constant.
31365 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31366 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31367 and struct La_sparc64_regs are not constant.
31368
93a78ac4
JM
313692012-08-16 Joseph Myers <joseph@codesourcery.com>
31370
31371 * sysdeps/unix/sysv/linux/kernel-features.h
31372 (__ASSUME_POSIX_TIMERS): Remove.
31373 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31374 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31375 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31376 Make code unconditional.
31377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31378 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31379 Make code unconditional.
31380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31381 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31382 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31384 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31385 Make code unconditional.
31386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31387 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31388 (__libc_missing_posix_timers): Remove.
31389
dd924cd7
RM
313902012-08-15 Roland McGrath <roland@hack.frob.com>
31391
4b4f2771
RM
31392 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31393 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31394
601c888b
RM
31395 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31396
176790a7
RM
31397 * elf/dl-sym.c: Include <stdlib.h>.
31398
329bc018
RM
31399 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31400 constants, which avoids warnings in 32-bit builds.
31401
e04e272d
RM
31402 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31403 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31404
952bf94a
RM
31405 * misc/lseek.c: File moved to ...
31406 * io/lseek.c: ... here.
31407
7c99b50a
RM
31408 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31409
dd924cd7
RM
31410 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31411 shifting LEN more than 31 bits at once.
31412
b3f479a8
LD
314132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31414
31415 [BZ #14195]
8c4ae0d4
RM
31416 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31417 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31418 * string/test-strncasecmp.c (check1): Renamed to...
31419 (bz12205): ...this.
31420 (bz14195): Add new testcase for two empty input strings and N > 0.
31421 (test_main): Call new testcase, adapt for renamed function.
31422
9c55864e
AJ
314232012-08-15 Andreas Jaeger <aj@suse.de>
31424
31425 [BZ #14090]
31426 * crypt/md5test2.c: New test, based on test supplied by Serge
31427 Belyshev <belyshev@depni.sinp.msu.ru>.
31428 * crypt/Makefile (xtests): Add md5test-giant..
31429 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31430
02dcb6c5
PE
314312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31432
31433 [BZ #14090]
31434 * crypt/md5.c (md5_process_block): Don't assume the buffer
31435 length is less than 2**32.
31436 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31437 length is less than 2**64.
31438
a3f95dcc
RM
314392012-08-15 Roland McGrath <roland@hack.frob.com>
31440
be75d758
RM
31441 * string/str-two-way.h: Include <sys/param.h>.
31442 (MAX): Macro removed.
31443
7312ca90
RM
31444 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31445 Move #define and #undef of memmove to just before and after
31446 including <string.h>.
31447
9a0a5486
RM
31448 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31449 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31450 and after including <string.h>. Move declarations of
31451 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31452 to before #include "string/memmove.c".
31453
67cc348d
RM
31454 * include/dirent.h: Declare __getdirentries.
31455
a3f95dcc
RM
31456 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31457 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31458
ca98e171
MF
314592012-08-14 Mike Frysinger <vapier@gentoo.org>
31460
31461 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31462 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31463 * sysdeps/i386/configure: Regenerated.
31464 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31465 STABS_CURRENT_FILE, and STABS_FUN.
31466 (END): Remove call to STABS_FUN_END.
31467 (STABS_CURRENT_FILE1): Delete.
31468 (STABS_CURRENT_FILE): Likewise.
31469 (STABS_FUN): Likewise.
31470 (STABS_FUN_END): Likewise.
31471 (STABS_FUN2): Likewise.
31472 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31473 * sysdeps/x86_64/configure: Regenerated.
31474
5908bf46
RM
314752012-08-14 Roland McGrath <roland@hack.frob.com>
31476
31477 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31478 * elf/dl-lookup.c: Likewise.
5908bf46 31479
f2c05b9e
JM
314802012-08-14 Joseph Myers <joseph@codesourcery.com>
31481
31482 * sysdeps/unix/sysv/linux/kernel-features.h
31483 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31484 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31485 unconditionally.
31486 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31487 unconditionally.
31488 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31489 condition on __ASSUME_CLONE_THREAD_FLAGS.
31490
e11f5155
AJ
314912012-08-14 Andreas Jaeger <aj@suse.de>
31492
31493 * sysdeps/i386/fpu/libm-test-ulps: Update.
31494
51a9ba86
MK
314952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31496
2fdd4f78
AJ
31497 * include/atomic.h (atomic_exchange_and_add): Split into ...
31498 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31499 New atomic macros.
51a9ba86 31500
ba6cba9e
MT
315012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31502
31503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31504
42443a47
JL
315052012-08-13 Jeff Law <law@redhat.com>
31506
31507 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31508 null byte in the output string.
31509
121dce05
JM
315102012-08-10 Joseph Myers <joseph@codesourcery.com>
31511
31512 * sysdeps/unix/sysv/linux/kernel-features.h
31513 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31514 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31515 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31517 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31518 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31519 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31520
bf51f568
JL
315212012-08-09 Jeff Law <law@redhat.com>
31522
31523 [BZ #13939]
31524 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31525 When avoid_arena is set, don't retry in the that arena. Pick the
31526 next one, whatever it might be.
31527 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31528 (arena_lock): Pass in new parameter to arena_get2.
31529 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31530 arena_get2.
31531 (__libc_malloc): Unify retrying after main arena failure with
31532 __libc_memalign version.
31533 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31534
f85fa270
L
315352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 [BZ #14166]
31538 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31539 to __redirect_strstr.
31540 (__strstr_sse42): Use typeof __redirect_strstr.
31541 (__strstr_ia32): Likewise.
31542 (__libc_strstr): New prototype.
31543 (strstr): Renamed to ...
31544 (__libc_strstr): This.
31545 (strstr): New strong alias of __libc_strstr.
31546 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31547 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31548 __redirect_time.
31549 Include <time.h>.
31550 (__libc_time): New prototype.
31551 (time_ifunc): Replace time with __libc_time.
31552 (time): New strong alias and hidden definition of __libc_time.
31553 (__GI_time): Remove strong alias.
31554 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31555 Include <stddef.h>.
31556 (memmove): Redefined to __redirect_memmove.
31557 (__memmove_sse2): Use typeof __redirect_memmove.
31558 (__memmove_ssse3): Likewise.
31559 (__memmove_ssse3_back): Likewise.
31560 (__libc_memmove): New prototype.
31561 (memmove): Renamed to ...
31562 (__libc_memmove): This.
31563 (memmove): New strong alias of __libc_memmove.
31564
33b4a91e
MS
315652012-08-08 Mark Salter <msalter@redhat.com>
31566
31567 * elf/elf.h
31568 (R_MN10300_TLS_GD): Define.
31569 (R_MN10300_TLS_LD): Likewise.
31570 (R_MN10300_TLS_LDO): Likewise.
31571 (R_MN10300_TLS_GOTIE): Likewise.
31572 (R_MN10300_TLS_IE): Likewise.
31573 (R_MN10300_TLS_LE): Likewise.
31574 (R_MN10300_TLS_DTPMOD): Likewise.
31575 (R_MN10300_TLS_DTPOFF): Likewise.
31576 (R_MN10300_TLS_TPOFF): Likewise.
31577 (R_MN10300_SYM_DIFF): Likewise.
31578 (R_MN10300_ALIGN): Likewise.
31579 (R_MN10300_NUM): Update.
31580
b36137f1
JM
315812012-08-08 Joseph Myers <joseph@codesourcery.com>
31582
31583 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31584 Remove.
31585
cdd915fd
RM
315862012-08-08 Roland McGrath <roland@hack.frob.com>
31587
a2433aac
RM
31588 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31589
cdd915fd
RM
31590 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31591 sysdeps/unix -> sysdeps/posix move.
31592 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31593
bf9b740a
AM
315942012-08-07 Allan McRae <allan@archlinux.org>
31595
31596 [BZ #14303]
31597 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31598 (SUNOS_CPP): Likewise.
31599 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31600 not found.
31601 (open_input): Call CPP using execvp.
31602
93df14ee
JM
316032012-08-07 Joseph Myers <joseph@codesourcery.com>
31604
31605 * sysdeps/unix/sysv/linux/kernel-features.h
31606 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31607 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31608 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31609 (__ASSUME_WAITID_SYSCALL): Likewise.
31610 * sysdeps/unix/sysv/linux/dl-execstack.c
31611 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31612 code unconditional.
31613 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31614 conditional code.
31615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31616 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31617 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31618 code.
31619 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31620 unconditional.
31621 [__ASSUME_WAITID_SYSCALL]: Likewise.
31622 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31623
d34689de
RM
316242012-08-07 Roland McGrath <roland@hack.frob.com>
31625
a281decc
RM
31626 * sysdeps/unix/closedir.c: Renamed to ...
31627 * sysdeps/posix/closedir.c: ... here.
31628 * sysdeps/unix/dirfd.c: Renamed to ...
31629 * sysdeps/posix/dirfd.c: ... here.
31630 * sysdeps/unix/dirstream.h: Renamed to ...
31631 * sysdeps/posix/dirstream.h: ... here.
31632 * sysdeps/unix/fdopendir.c: Renamed to ...
31633 * sysdeps/posix/fdopendir.c: ... here.
31634 * sysdeps/unix/opendir.c: Renamed to ...
31635 * sysdeps/posix/opendir.c: ... here.
31636 * sysdeps/unix/readdir.c: Renamed to ...
31637 * sysdeps/posix/readdir.c: ... here.
31638 * sysdeps/unix/readdir_r.c: Renamed to ...
31639 * sysdeps/posix/readdir_r.c: ... here.
31640 * sysdeps/unix/rewinddir.c: Renamed to ...
31641 * sysdeps/posix/rewinddir.c: ... here.
31642 * sysdeps/unix/seekdir.c: Renamed to ...
31643 * sysdeps/posix/seekdir.c: ... here.
31644 * sysdeps/unix/telldir.c: Renamed to ...
31645 * sysdeps/posix/telldir.c: ... here.
31646 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31647 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31648 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31649 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31650
22895b47
RM
31651 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31652 * bits/fcntl.h: ... here.
31653
707a53b6
RM
31654 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31655 not 0.
31656 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31657 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31658 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31659 (struct flock): Move l_start, l_len to the beginning.
31660 Use __pid_t for l_pid.
31661 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31662 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31663 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31664 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31665 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31666 [__USE_LARGEFILE64] (struct flock64): New type.
31667 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31668
f0bd3e25
RM
31669 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31670 * bits/dirent.h: ... here.
31671
d34689de
RM
31672 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31673 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31674
6dad2c06
JM
316752012-08-07 Joseph Myers <joseph@codesourcery.com>
31676
31677 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31678 Change from 2.6.0 to 2.6.16.
31679 * sysdeps/unix/sysv/linux/configure: Regenerated.
31680 * sysdeps/unix/sysv/linux/kernel-features.h
31681 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31682 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31683 version.
31684 (__ASSUME_UTIMES): Likewise.
31685 (__ASSUME_CLONE_STOPPED): Remove.
31686 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31687 architectures, not kernel version.
31688 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31689 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31690 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31691 (__ASSUME_WAITID_SYSCALL): Likewise.
31692 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31693 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31694 * README: State 2.6.16 as minimum Linux kernel version. Do not
31695 refer to older versions.
31696
03af9520
RM
316972012-08-06 Roland McGrath <roland@hack.frob.com>
31698
8e49df1d
RM
31699 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31700 Define alphasort64 as an alias.
31701 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31702 Define versionsort64 as an alias.
31703 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31704 Define scandir64 as an alias.
31705 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31706 Define scandirat64 as an alias.
31707 * dirent/alphasort64.c (alphasort64):
31708 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31709 * dirent/versionsort64.c: Likewise.
31710 * dirent/scandir64.c: Likewise.
31711 * dirent/scandirat64.c: Likewise.
31712 * sysdeps/wordsize-64/alphasort.c: File removed.
31713 * sysdeps/wordsize-64/alphasort64.c: File removed.
31714 * sysdeps/wordsize-64/scandir.c: File removed.
31715 * sysdeps/wordsize-64/scandir64.c: File removed.
31716 * sysdeps/wordsize-64/scandirat.c: File removed.
31717 * sysdeps/wordsize-64/scandirat64.c: File removed.
31718 * sysdeps/wordsize-64/versionsort.c: File removed.
31719 * sysdeps/wordsize-64/versionsort64.c: File removed.
31720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31721 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31723 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31725 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31726 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31727 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31728
31729 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31731 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31733 [defined __arch64__ || defined __sparcv9]
31734 (__INO_T_MATCHES_INO64_T): New macro.
31735 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31736 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31737 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31738 * sysdeps/unix/sysv/linux/bits/dirent.h
31739 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31740 (_DIRENT_MATCHES_DIRENT64): New macro.
31741
03af9520
RM
31742 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31743 Define lockf64 as an alias.
31744 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31745 Define fseeko64 as an alias.
31746 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31747 Define ftello64 as an alias.
31748 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31749 Define _IO_fgetpos64 and fgetpos64 as aliases.
31750 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31751 Define _IO_fsetpos64 and fsetpos64 as aliases.
31752 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31753 Conditionalize body on this.
31754 * libio/fseeko64.c: Likewise.
31755 * libio/ftello64.c: Likewise.
31756 * libio/iofgetpos64.c: Likewise.
31757 * libio/iofsetpos64.c: Likewise.
31758 * sysdeps/wordsize-64/lockf.c: File removed.
31759 * sysdeps/wordsize-64/lockf64.c: File removed.
31760 * sysdeps/wordsize-64/fseeko.c: File removed.
31761 * sysdeps/wordsize-64/fseeko64.c: File removed.
31762 * sysdeps/wordsize-64/ftello.c: File removed.
31763 * sysdeps/wordsize-64/ftello64.c: File removed.
31764 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31765 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31766 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31767 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31774 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31775 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31777 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31778
31779 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31781 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31783 [defined __arch64__ || defined __sparcv9]
31784 (__OFF_T_MATCHES_OFF64_T): New macro.
31785 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31786 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31788 (__OFF_T_MATCHES_OFF64_T): New macro.
31789
c5757acd
L
317902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31791
31792 * stdlib/secure-getenv.c (__secure_getenv): Replace
31793 GLIBC_2_16 with GLIBC_2_17.
31794
3a31811e
L
317952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31798 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31799
faa2bccb
DM
318002012-08-03 David S. Miller <davem@davemloft.net>
31801
31802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31803
85fe1997
JM
318042012-08-03 Joseph Myers <joseph@codesourcery.com>
31805
31806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31807 Remove.
31808 (__ASSUME_CORRECT_SI_PID): Likewise.
31809 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31810 (__ASSUME_TMPFS_NAME): Likewise.
31811 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31812 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31813 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31814 (HAVE_AUX_SECURE): Make definition unconditional.
31815 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31816 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31817
4f75b7a0
RM
318182012-08-03 Roland McGrath <roland@hack.frob.com>
31819
31820 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31821 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31822 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31823 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31824 __eloop_threshold instead of SYMLOOP_MAX.
31825
31826 * sysdeps/generic/eloop-threshold.h: New file.
31827 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31828 of MAXSYMLINKS.
31829 * elf/chroot_canon.c (chroot_canon): Likewise.
31830
7aab07e4
JM
318312012-08-03 Joseph Myers <joseph@codesourcery.com>
31832
31833 [BZ #13717]
31834 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31835 Change to 2.6.0 everywhere.
31836 * sysdeps/unix/sysv/linux/configure: Regenerated.
31837 * sysdeps/unix/sysv/linux/kernel-features.h
31838 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31839 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31840 kernel versions.
31841 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31842 (__ASSUME_FUTEX_REQUEUE): Remove.
31843 (__ASSUME_STATFS64): Define unconditionally.
31844 (__ASSUME_AT_SECURE): Likewise.
31845 (__ASSUME_CORRECT_SI_PID): Likewise.
31846 (__ASSUME_TGKILL): Define without depending on kernel version for
31847 i386.
31848 (__ASSUME_UTIMES): Likewise.
31849 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31850 kernel version.
31851 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31852 (__ASSUME_TMPFS_NAME): Likewise.
31853 * README: Update reference to Linux kernel versions.
31854
b67e9372
MP
318552012-08-02 Marek Polacek <polacek@redhat.com>
31856
1f529f7d 31857 [BZ# 14150]
b67e9372
MP
31858 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31859 libc_cv_asm_type_prefix with %.
31860 * configure: Regenerated.
d2441631
RM
31861 * include/libc-symbols.h: Remove comment about
31862 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31863 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31864 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31865 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31866 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31867 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31868 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31869 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31870 * elf/tst-unique2mod1.c: Likewise.
31871 * elf/tst-unique1mod2.c: Likewise.
31872 * elf/tst-unique1mod1.c: Likewise.
31873 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31874 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31875 Replace ASM_TYPE_DIRECTIVE with .type.
31876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31877 * sysdeps/i386/sysdep.h: Likewise.
31878 * sysdeps/x86_64/sysdep.h: Likewise.
31879 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31881 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31882 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31883 * sysdeps/powerpc/powerpc32/sysdep.h:
31884 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31885 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31886 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31887 * sysdeps/i386/fpu/e_powf.S: Likewise.
31888 * sysdeps/i386/fpu/e_expl.S: Likewise.
31889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31890 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31891 * sysdeps/i386/fpu/e_pow.S: Likewise.
31892 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31893 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31894 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31895 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31896 * sysdeps/i386/fpu/e_log2.S: Likewise.
31897 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31899 * sysdeps/i386/fpu/e_powl.S: Likewise.
31900 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31901 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31902 * sysdeps/i386/fpu/e_logl.S: Likewise.
31903 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31908 * sysdeps/i386/fpu/e_log.S: Likewise.
31909 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31910 * sysdeps/i386/fpu/e_logf.S: Likewise.
31911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31912 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31913 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31914 * sysdeps/i386/fpu/e_log10.S: Likewise.
31915 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31916 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31917 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31918 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31920 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31921 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31922 * sysdeps/i386/i686/strtok.S: Likewise.
31923 * sysdeps/i386/i386-mcount.S: Likewise.
31924 * sysdeps/i386/strtok.S: Likewise.
31925 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31929 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31930 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31931 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31932 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31933 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31934 * sysdeps/x86_64/_mcount.S: Likewise.
31935 * sysdeps/x86_64/strtok.S: Likewise.
31936 * sysdeps/sh/_mcount.S: Likewise.
31937
2747bf9a
RM
319382012-08-01 Roland McGrath <roland@hack.frob.com>
31939
31940 * libio/iofopen.c: Include <fcntl.h>.
31941 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31942 (_IO_fopen64, fopen64): Define as aliases.
31943 * libio/iofopen64.c: Include <fcntl.h>.
31944 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31945 Conditionalize body on this.
31946 * sysdeps/wordsize-64/iofopen.c: File removed.
31947 * sysdeps/wordsize-64/iofopen64.c: File removed.
31948
3fb791b8
MP
319492012-08-01 Marek Polacek <polacek@redhat.com>
31950
31951 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31952 Use dlfcn directly instead of a variable.
31953 (binfmt-subdir): Do not define.
31954 (dlfcn): Likewise.
31955
a9f1039f
JM
319562012-08-01 Joseph Myers <joseph@codesourcery.com>
31957
23bddc06
JM
31958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31959 Remove all definitions.
31960 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31961 <kernel-features.h>.
31962 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31963 (miss_F_GETOWN_EX): Remove all definitions.
31964 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31965 macro definition.
31966 [!__ASSUME_FCNTL64]: Remove conditional code.
31967 [__ASSUME_FCNTL64]: Make code unconditional.
31968 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31969 <kernel-features.h>.
31970 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31971 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31972 (lockf64) [__NR_fcntl64]: Make code unconditional.
31973 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31974
a9f1039f
JM
31975 * sysdeps/unix/sysv/linux/kernel-features.h
31976 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31977 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31978 Make code unconditional.
31979 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31980 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31982 [__NR_vfork]: Make code unconditional.
31983 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31984 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31986 [__NR_vfork]: Make code unconditional.
31987 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31988 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31989
09c0ee5f
RM
319902012-08-01 Roland McGrath <roland@hack.frob.com>
31991
48aec5b9
RM
31992 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31993 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31994
cd97c966
RM
31995 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31996 Define mkstemp64 as an alias.
3f55550c
RM
31997 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31998 Define mkstemps64 as an alias.
cd97c966
RM
31999 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32000 Define mkostemp64 as an alias.
b8625cfc
RM
32001 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32002 Define mkostemps64 as an alias.
cd97c966
RM
32003 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32004 Conditionalize body on this.
32005 * misc/mkostemp64.c: Likewise.
b8625cfc 32006 * misc/mkostemps64.c: Likewise.
3f55550c 32007 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32008 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32009 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32010 * sysdeps/wordsize-64/mkostemp.c: File removed.
32011 * sysdeps/wordsize-64/mkstemp.c: File removed.
32012 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32014 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32015 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32016
09c0ee5f
RM
32017 [BZ #14138]
32018 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32019 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32020 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32021 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32022
32023 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32024 compat_symbol macros from <shlib-compat.h> rather than the underlying
32025 default_symbol_version and symbol_version macros, so that DEFAULT
32026 lines in shlib-versions are respected.
32027 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32028
7e66ee51
FW
320292012-08-01 Florian Weimer <fweimer@redhat.com>
32030
32031 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32032 Declare with warn_unused_result.
32033 (setgid, setregid, setegid, setresgid): Likewise.
32034 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32035 Likewise.
32036 * WUR-REPORT: Remove set*id functions.
32037
d2a54255
PT
320382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32039
32040 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32041
7ecdb005
RM
320422012-07-31 Roland McGrath <roland@hack.frob.com>
32043
b4180a5e 32044 [BZ #10191]
789bd351
RM
32045 * include/sys/socket.h (__libc_accept, __libc_accept4):
32046 Add attribute_hidden.
32047 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32048
40ce302d
RM
32049 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32050 use of PTR_MANGLE.
32051 * inet/getnetgrent_r.c (setup): Likewise.
32052
7ecdb005
RM
32053 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32054
e2eabb2c
DM
320552012-07-31 David S. Miller <davem@davemloft.net>
32056
32057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32058
d0419dbf
JM
320592012-07-31 Joseph Myers <joseph@codesourcery.com>
32060
32061 [BZ #13629]
32062 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32063 value between 1.0 and 2.0 and smaller part has absolute value less
32064 than 1.0.
32065 * math/s_clog10.c (__clog10): Likewise.
32066 * math/s_clog10f.c (__clog10f): Likewise.
32067 * math/s_clog10l.c (__clog10l): Likewise.
32068 * math/s_clogf.c (__clogf): Likewise.
32069 * math/s_clogl.c (__clogl): Likewise.
32070 * math/libm-test.inc (clog_test): Add more tests.
32071 (clog10_test): Likewise.
32072 * sysdeps/i386/fpu/libm-test-ulps: Update.
32073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32074
2bc13872
FW
320752012-07-31 Florian Weimer <fweimer@redhat.com>
32076
32077 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32078 Exit with zero in case no suitable GID is found, and write a
32079 message to standard error.
32080
bea9b193
RM
320812012-07-30 Roland McGrath <roland@hack.frob.com>
32082
32083 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32084 rather than to 1.
32085 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32086 (MAXPATHLEN): Removed.
32087 (NOGROUP, NODEV): New macros.
32088 (setbit, clrbit, isset, isclr): New macros.
32089 (howmany, roundup, powerof2): New macros.
32090 (DEV_BSIZE): New macro.
32091
32092 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32093 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32094
32095 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32096 definition on [!__NO_LONG_DOUBLE_MATH].
32097
32098 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32099 PTR_MANGLE and PTR_DEMANGLE.
32100
32101 * socket/accept4.c (accept4): Rename to __libc_accept4.
32102 Define accept4 as a weak alias.
32103
32104 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32105 on [_DIRENT_HAVE_D_TYPE].
32106 * io/ftw.c (ftw_dir): Likewise.
32107
32108 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32109
32110 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32111
32112 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32113 Use the BSD numbers rather than the arbitrary ones we had.
32114 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32115 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32116 (SIGXCPU, SIGXFSZ): New macros.
32117 (_NSIG): Now 32.
32118
32119 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32120 initializer on [_LIBC_REENTRANT].
32121
32122 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32123 definitions inside [_POSIX_MAPPED_FILES].
32124
32125 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32126
32127 * dirent/opendir.c: Include <fcntl.h>.
32128
32129 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32130 (__libc_getspecific): Likewise.
32131 (__libc_key_create): Likewise.
32132
32133 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32134 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32135 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32136 (tmpfile64): Define as alias.
32137 * sysdeps/wordsize-64/tmpfile.c: File removed.
32138 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32141
32142 * stdio-common/vfscanf.c: Include <stdbool.h>.
32143 * nss/makedb.c: Likewise.
32144 * stdio-common/_i18n_number.h: Likewise.
32145 * argp/argp-help.c: Likewise.
32146 * posix/wordexp.c: Likewise.
32147 * sysdeps/posix/spawni.c: Likewise.
32148 * nss/nss_files/files-initgroups.c: Likewise.
32149 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32150 * nss/nss_files/files-initgroups.c: Likewise.
32151 * nss/nss_db/db-netgrp.c: Likewise.
32152 * nss/nss_db/db-initgroups.c: Likewise.
32153 * io/fchmodat.c: Include <sys/stat.h>.
32154
32155 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32156 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32157
32158 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32159 [HAVE_MMAP].
32160
32161 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32162 Add multiple inclusion protection.
32163
e5abc686
DM
321642012-07-27 David S. Miller <davem@davemloft.net>
32165
32166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32167
815e6fa3
GB
321682012-07-27 Gary Benson <gbenson@redhat.com>
32169
32170 [BZ #14298]
32171 * elf/rtld.c: Include <stap-probe.h>.
32172 (dl_main): Added static probes "init_start" and "init_complete".
32173 * elf/dl-load.c: Include <stap-probe.h>.
32174 (lose): Take new parameter "nsid".
32175 Added static probe "map_failed".
32176 (_dl_map_object_from_fd): Pass namespace id to lose.
32177 Added static probe "map_start".
32178 (open_verify): Pass namespace id to lose.
32179 * elf/dl-open.c: Include <stap-probe.h>.
32180 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32181 and "reloc_complete".
32182 * elf/dl-close.c: Include <stap-probe.h>.
32183 (_dl_close_worker): Added static probes "unmap_start" and
32184 "unmap_complete".
32185 * elf/rtld-debugger-interface.txt: New file documenting the above.
32186
9f98c16c
RM
321872012-07-26 Roland McGrath <roland@hack.frob.com>
32188
32189 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32190 rather than a string variable.
32191 * sunrpc/rpc_main.c (h_output): Likewise.
32192 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32193
f3c22df3
PT
321942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32195
32196 * inet/check_native.c: New file.
32197
3129cfc6
JM
321982012-07-26 Joseph Myers <joseph@codesourcery.com>
32199
da865e95
JM
32200 [BZ #13629]
32201 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32202 if larger part has absolute value 1.0.
32203 * math/s_clog10.c (__clog10): Likewise.
32204 * math/s_clog10f.c (__clog10f): Likewise.
32205 * math/s_clog10l.c (__clog10l): Likewise.
32206 * math/s_clogf.c (__clogf): Likewise.
32207 * math/s_clogl.c (__clogl): Likewise.
32208 * math/libm-test.inc (clog_test): Add more tests.
32209 (clog10_test): Likewise.
32210 * sysdeps/i386/fpu/libm-test-ulps: Update.
32211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32212
3129cfc6
JM
32213 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32214 (pltexit): Likewise.
32215 (La_regs): Likewise.
32216 (La_retval): Likewise.
32217 (int_retval): Likewise.
32218 Update #error for removed macros to refer only to definitions in
32219 tst-audit.h.
32220 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32221 macro.
32222 (pltexit): Likewise.
32223 (La_regs): Likewise.
32224 (La_retval): Likewise.
32225 (int_retval): Likewise.
32226 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32227 macro.
32228 (pltexit): Likewise.
32229 (La_regs): Likewise.
32230 (La_retval): Likewise.
32231 (int_retval): Likewise.
32232 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32233 macro.
32234 (pltexit): Likewise.
32235 (La_regs): Likewise.
32236 (La_retval): Likewise.
32237 (int_retval): Likewise.
32238 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32239 macro.
32240 (pltexit): Likewise.
32241 (La_regs): Likewise.
32242 (La_retval): Likewise.
32243 (int_retval): Likewise.
32244 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32245 macro.
32246 (pltexit): Likewise.
32247 (La_regs): Likewise.
32248 (La_retval): Likewise.
32249 (int_retval): Likewise.
32250 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32251 macro.
32252 (pltexit): Likewise.
32253 (La_regs): Likewise.
32254 (La_retval): Likewise.
32255 (int_retval): Likewise.
32256 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32257 macro definitions in tst-audit.h.
32258 * sysdeps/i386/tst-audit.h: New file.
32259 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32260 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32261 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32262 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32263 * sysdeps/sh/tst-audit.h: Likewise.
32264 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32265 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32266 * sysdeps/x86_64/tst-audit.h: Likewise.
32267
bfc07087
AJ
322682012-07-26 Andreas Jaeger <aj@suse.de>
32269
b1b2aaf8
AJ
32270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32271 ptrace.
32272
32273 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32274 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32275 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32276 PTRACE_O_MASK.
32277 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32278 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32279 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32280
bfc07087
AJ
32281 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32282 value.
32283
32284 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32285 _sigsys.
32286 (si_call_addr, si_syscall, si_arch): Define new macro.
32287 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32288 _sigsys.
32289 (si_call_addr, si_syscall, si_arch): Define new marcro.
32290 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32291 _sigsys.
32292 (si_call_addr, si_syscall, si_arch): Define new macro.
32293 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32294 _sigsys.
32295 (si_call_addr, si_syscall, si_arch): Define new macro.
32296
89b4b02f
JM
322972012-07-25 Joseph Myers <joseph@codesourcery.com>
32298
32299 [BZ #13717]
32300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32301 Change to 2.4.21 where previously 2.4.1.
32302 * sysdeps/unix/sysv/linux/configure: Regenerated.
32303 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32304 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32305 Linux kernel version.
32306 (__ASSUME_STD_AUXV): Remove.
32307 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32308 kernel version.
32309 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32310 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32311 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32312 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32313 (__ASSUME_NETLINK_SUPPORT): Likewise.
32314 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32315 (__no_netlink_support): Remove conditional definition.
32316 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32317 Remove.
32318 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32319 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32320 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32321 (if_nameindex_ioctl): Remove.
32322 (if_nameindex_netlink): Do not handle __no_netlink_support.
32323 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32324 code.
32325 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32326 Remove conditional code.
32327 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32328 code.
32329 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32330 unconditional.
32331 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32332 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32333 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32334 Remove.
32335 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32336 [!__ASSUME_STD_AUXV]: Remove conditional code.
32337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32338 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32339 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32341 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32342 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32343 code.
32344 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32346 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32347 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32348 conditional code.
32349 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32351 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32352 code.
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32354 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32355 conditional code.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32357 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32358 code unconditional.
32359 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32360 conditional code.
32361 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32362 unconditional.
32363 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32364 conditional code.
32365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32366 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32367 unconditional.
32368 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32369 conditional code.
32370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32371 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32372 code unconditional.
32373 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32374 conditional code.
32375 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32376 unconditional.
32377 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32378 conditional code.
32379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32380 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32381 code unconditional.
32382 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32383 conditional code.
32384 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32385 unconditional.
32386 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32387 conditional code.
32388
842a39cd
AS
323892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32390
32391 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32392 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32393 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32394 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32395 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32396 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32397 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32398 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32399 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32400 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32401 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32402 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32403 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32404 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32405 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32406 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32407 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32409 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32411 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32412 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32413 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32414
84b3fd84
FW
324152012-07-25 Florian Weimer <fweimer@redhat.com>
32416
32417 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32418 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32419 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32420 Introduce __libc_secure_getenv.
0c7936d5
FW
32421 * stdlib/Versions (2.17): Add secure_getenv
32422 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32423 * stdlib/secure-getenv.c: Rename __secure_getenv to
32424 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32425 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32426 * stdlib/tst-secure-getenv.c: New.
32427 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32428 * manual/startup.texi (Environment Access): Document
32429 secure_getenv.
84b3fd84
FW
32430 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32431 __libc_secure_getenv.
32432 * inet/ruserpass.c (ruserpass): Likewise.
32433 * malloc/mtrace.c (mtrace): Likewise.
32434 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32435 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32436 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32437 * sysdeps/posix/tempname.c: Likewise. Evaluate
32438 HAVE_SECURE_GETENV.
32439 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32440 __secure_getenv to __libc_secure_getenv.
84b3fd84 32441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32443 Likewise.
32444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32445 Likewise.
32446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32453
56e49b71
JM
324542012-07-25 Joseph Myers <joseph@codesourcery.com>
32455
32456 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32457 (struct La_i86_retval): Likewise.
32458 (struct La_x86_64_regs): Likewise.
32459 (struct La_x86_64_retval): Likewise.
32460 (struct La_x32_regs): Likewise.
32461 (struct La_x32_retval): Likewise.
32462 (struct La_ppc32_regs): Likewise.
32463 (struct La_ppc32_retval): Likewise.
32464 (struct La_ppc64_regs): Likewise.
32465 (struct La_ppc64_retval): Likewise.
32466 (struct La_sh_regs): Likewise.
32467 (struct La_sh_retval): Likewise.
32468 (struct La_s390_32_regs): Likewise.
32469 (struct La_s390_32_retval): Likewise.
32470 (struct La_s390_64_regs): Likewise.
32471 (struct La_s390_64_retval): Likewise.
32472 (struct La_sparc32_regs): Likewise.
32473 (struct La_sparc32_retval): Likewise.
32474 (struct La_sparc64_regs): Likewise.
32475 (struct La_sparc64_retval): Likewise.
32476 (struct audit_ifaces): Remove architecture-specific pltenter and
32477 pltexit members.
32478 * sysdeps/i386/ldsodefs.h: New file.
32479 * sysdeps/powerpc/ldsodefs.h: Likewise.
32480 * sysdeps/s390/ldsodefs.h: Likewise.
32481 * sysdeps/sh/ldsodefs.h: Likewise.
32482 * sysdeps/sparc/ldsodefs.h: Likewise.
32483 * sysdeps/x86_64/ldsodefs.h: Likewise.
32484
354691b7
MP
324852012-07-25 Marek Polacek <polacek@redhat.com>
32486
32487 [BZ #6808]
32488 * math/libm-test.inc (yn_test): Add another test.
32489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32490 to ERANGE when the result is +-Inf.
32491 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32492 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32493 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32494 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32495
bf9e2071
JM
324962012-07-24 Joseph Myers <joseph@codesourcery.com>
32497
32498 * conform/data/time.h-data (NULL): Use macro-constant. Require
32499 equal to 0.
32500 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32501 clock_t.
32502 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32503
57633811
TS
325042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32505
32506 * configure.in <sysdeps resolving>: Correct printing
32507 Implies_before.
32508 * configure: Regenerate.
32509
c23c33b0
TS
325102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32511
32512 * math/w_ilogb.c: Include <limits.h>.
32513 * math/w_ilogbl.c: Likewise.
32514
b5982523
JM
325152012-07-20 Joseph Myers <joseph@codesourcery.com>
32516
32517 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32518 va_copy. Document allowing for unavailable va_copy only as
32519 pre-C99 compatibility.
32520 * manual/string.texi (Copying and Concatenation): Use va_copy
32521 instead of __va_copy in concat example.
32522
ac4ea442
PT
325232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32524
32525 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32526 (__sendto): Use create_address_port. Initialize APORT and deallocate
32527 it if not null.
32528
f98eafbd
PT
32529 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32530 with O_NOLINK passed to __file_name_lookup.
32531
898c7aab
PT
32532 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32533 with O_NOLINK passed to __file_name_lookup.
32534
0ced335a
PT
32535 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32536 negative N or less than NGIDS.
32537
b3404dbd
PT
32538 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32539 type to string_t. Set ERANGE as errno and return it if NAME is not big
32540 enough. Use memcpy instead of strncpy.
32541
0f48659e
JM
325422012-07-20 Joseph Myers <joseph@codesourcery.com>
32543
32544 * elf/Makefile (check-data): Remove.
32545 (localplt.data): New vpath directive.
32546 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32547 instead of $(check-data).
32548 * scripts/data/localplt-generic.data: Move to ...
32549 * sysdeps/generic/localplt.data: ... here.
32550 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32551 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32552 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32554 ... here.
32555 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32557 ... here.
32558 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32560 ... here.
32561 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32563 ... here.
32564 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32566 ... here.
32567 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32569 ... here.
32570
d37cbdaa
AZ
325712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32572
32573 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32574 PPC32 and PPC64 files.
32575 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32576 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32577
46f85fc2
AK
325782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32579
32580 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32581 __makecontext_ret to ...
32582 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32583 ... here and call exit if uc_link is NULL. New file.
32584 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32585 __makecontext_ret.S.
32586 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32587 __makecontext_ret to ...
32588 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32589 ... here and call exit if uc_link is NULL. New file.
32590 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32591 __makecontext_ret.S.
32592
08f43f9b
AK
325932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32594
32595 * elf/elf.h (R_390_IRELATIVE): New definition.
32596 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32597 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32598 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32599 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32600 (elf_machine_lazy_rel): Likewise.
32601 * sysdeps/s390/dl-irel.h: New file.
32602 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32603 * sysdeps/s390/s390-64/memset.S: New asm code.
32604 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32605 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32606 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32607 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32608 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32609 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32610 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32611 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32612 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32613 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32614 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32615 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32616 * sysdeps/s390/s390-32/memset.S: New asm code.
32617 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32618
3b05db33
MP
326192012-07-17 Marek Polacek <polacek@redhat.com>
32620
32621 [BZ #14349]
32622 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32623 * sysdeps/s390/s390-64/configure.in: Likewise.
32624 * sysdeps/sparc/configure.in: Likewise.
32625 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32626 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32627 * sysdeps/i386/configure.in: Likewise.
32628 * sysdeps/x86_64/configure.in: Likewise.
32629 * sysdeps/sh/configure.in: Likewise.
32630 * sysdeps/s390/s390-32/configure: Regenerated.
32631 * sysdeps/s390/s390-64/configure: Likewise.
32632 * sysdeps/x86_64/configure: Likewise.
32633 * sysdeps/sh/configure: Likewise.
32634 * sysdeps/powerpc/powerpc64/configure: Likewise.
32635 * sysdeps/powerpc/powerpc32/configure: Likewise.
32636 * sysdeps/sparc/configure: Likwise.
32637 * sysdeps/i386/configure: Likewise.
32638
a66877c6
MP
32639 * elf/dl-open.c: Comment fixes.
32640
cfc82fd8
JM
326412012-07-17 Joseph Myers <joseph@codesourcery.com>
32642
bd29910a
JM
32643 * Makefile [CXX] (check-data): Remove.
32644 [CXX] (c++-types.data): New vpath directive.
32645 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32646 vpath. Do not allow for C++ type data being missing.
32647 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32648 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32649 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32650 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32651 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32652 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32653 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32655 ... here.
32656 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32658 ... here.
32659 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32661 ... here.
32662 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32664 ... here.
32665 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32667 ... here.
32668 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32670 ... here.
32671 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32673 ... here.
32674 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32676
cfc82fd8
JM
32677 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32678 definitions to architecture-specific files.
32679 (TLS_IE): Likewise.
32680 (TLS_LD): Likewise.
32681 (TLS_GD): Likewise.
32682 * sysdeps/i386/tls-macros.h: New file.
32683 * sysdeps/powerpc/tls-macros.h: Likewise.
32684 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32685 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32686 * sysdeps/sh/tls-macros.h: Likewise.
32687 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32688 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32689 * sysdeps/x86_64/tls-macros.h: Likewise.
32690
f7db3170
TS
326912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32692
07cbfc23
TS
32693 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32694 zero value for regular exit case.
32695
f7db3170
TS
32696 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32697 (__start_context): Preserve zero value for regular exit case.
32698
dc97c227
TS
326992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32700 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32701
32702 * manual/setjmp.texi (setcontext): Clarify normal process
32703 termination when uc_link is the null pointer.
32704 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32705 exit call.
32706
d0cd7d02
AS
327072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32708
32709 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32710 preprocessor. Test for each exception mask separately.
32711
dd318934
AJ
327122012-07-16 Andreas Jaeger <aj@suse.de>
32713
32714 * po/ru.po: Update from translation team.
32715
8048311a
JM
327162012-07-15 Joseph Myers <joseph@codesourcery.com>
32717
32718 * conform/data/string.h-data (NULL): Use macro-constant. Require
32719 equal to 0.
32720 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32721 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32722 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32723 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32725
b637d46e
AJ
327262012-07-13 Andreas Jaeger <aj@suse.de>
32727
32728 * po/fr.po: Update from translation team.
32729
541428fe
MP
327302012-07-12 Marek Polacek <polacek@redhat.com>
32731
32732 [BZ #14173]
32733 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32734 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32735 loop condition.
32736
ec332e94
JM
327372012-07-12 Joseph Myers <joseph@codesourcery.com>
32738
32739 [BZ #13717]
32740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32741 Change to 2.4.1 where previously 2.4.0.
32742 * sysdeps/unix/sysv/linux/configure: Regenerated.
32743 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32744 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32745 version.
32746 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32747 (__ASSUME_AT_CLKTCK): Remove.
32748 (__ASSUME_AT_PAGESIZE): Likewise.
32749 (__ASSUME_AT_XID): Likewise.
32750 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32751 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32752 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32753 unconditionally.
32754 (HAVE_AUX_PAGESIZE): Likewise.
32755 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32756 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32757 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32758
7b6e99be
JB
327592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32760
32761 [BZ #14307]
32762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32763 the temporary buffer used to invoke __gethostbyname2_r,
32764 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32765 host_data / struct gaih_addrtuple.
32766 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32767 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32768 header file nss/nsswitch.h.
32769 * nss/nsswitch.h (global scope): Add definition of implementation
32770 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32771 resolv/nss_dns/dns-host.c).
32772
608404eb
AJ
327732012-07-11 Andreas Jaeger <aj@suse.de>
32774
32775 * po/fr.po: Update from translation team.
32776
71220aca
AJ
32777 * po/sv.po: Update from translation team
32778 * po/fr.po: Another update from translation team.
32779
28cfe843
AZ
327802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32781
32782 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32783 for subnormals or multiply small sinh result by itself.
32784 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32786
6b90f981
DM
327872012-07-11 David S. Miller <davem@davemloft.net>
32788
32789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32790
c6825772
AS
327912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32792
32793 [BZ #14347]
32794 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32795 (INTERNAL_MARK): Shift it here.
32796
7b8e0d49
MP
327972012-07-10 Marek Polacek <polacek@redhat.com>
32798
32799 [BZ #14151]
32800 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32801 libc_cv_asm_global_directive with .globl.
32802 * configure: Regenerated.
32803 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32804 with .globl.
32805 * sysdeps/i386/configure: Regenerated.
32806 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32807 with .globl.
32808 * sysdeps/x86_64/configure: Regenerated.
32809 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32810 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32811 * elf/tst-unique2mod2.c: Likewise.
32812 * elf/tst-unique2mod1.c: Likewise.
32813 * elf/tst-unique1mod2.c: Likewise.
32814 * elf/tst-unique1mod1.c: Likewise.
32815 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32816 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32818 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32819 * sysdeps/mach/sysdep.h: Likewise.
32820 * sysdeps/i386/sysdep.h: Likewise.
32821 * sysdeps/i386/i386-mcount.S: Likewise.
32822 * sysdeps/x86_64/_mcount.S: Likewise.
32823 * sysdeps/x86_64/sysdep.h: Likewise.
32824 * sysdeps/sh/_mcount.S: Likewise.
32825 * sysdeps/sh/sysdep.h: Likewise.
32826 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32827 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32828 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32829 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32830 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32831 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32832 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32833 * locale/localeinfo.h: Likewise.
32834 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32835 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32836
6c55cda3
RM
328372012-07-09 Roland McGrath <roland@hack.frob.com>
32838
32839 [BZ #14336]
32840 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32841 system".
32842 * manual/message.texi (The Uniforum approach): Likewise.
32843 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32844 (glibc iconv Implementation): Likewise.
32845
638a572e
JM
328462012-07-09 Joseph Myers <joseph@codesourcery.com>
32847
32848 [BZ #14337]
32849 * math/s_clog.c (__clog): Avoid scaling a value down where that
32850 could result in underflow.
32851 * math/s_clog10.c (__clog10): Likewise.
32852 * math/s_clog10f.c (__clog10f): Likewise.
32853 * math/s_clog10l.c (__clog10l): Likewise.
32854 * math/s_clogf.c (__clogf): Likewise.
32855 * math/s_clogl.c (__clogl): Likewise.
32856 * math/libm-test.inc (clog_test): Add more tests.
32857 (clog10_test): Likewise.
32858 * sysdeps/i386/fpu/libm-test-ulps: Update.
32859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32860
261f4859
AS
328612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32862
0abaf3e4
AS
32863 [BZ #14283]
32864 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32865 by 7 not 8 to examine high bit of fractional part.
32866
261f4859
AS
32867 [BZ #14042]
32868 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32869 for call to __mcount_internal.
32870 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32871 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32872 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32873
f17ac40d
JM
328742012-07-06 Joseph Myers <joseph@codesourcery.com>
32875
9ad63c23
JM
32876 [BZ #14154]
32877 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32878 approximation for values within 0x1p-13f of an odd multiple of
32879 pi/4.
32880 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32881 exception. Add more tests.
32882 * sysdeps/i386/fpu/libm-test-ulps: Update.
32883
f17ac40d
JM
32884 [BZ #6778]
32885 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32886 inputs and return -1 for them. Do not check for +Inf in case not
32887 reachable for +Inf.
32888 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32889 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32890 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32891 and return -1 for them. Do not check for +Inf in case not
32892 reachable for +Inf.
32893 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32894 define.
32895 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32896 and return -1 for them. Do not check for +Inf in case not
32897 reachable for +Inf.
32898 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32899 spurious underflow.
32900 * sysdeps/i386/fpu/libm-test-ulps: Update.
32901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32902
fb21f89b
MF
329032012-07-06 Mike Frysinger <vapier@gentoo.org>
32904
32905 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32906
cdfe2c5e
JM
329072012-07-05 Joseph Myers <joseph@codesourcery.com>
32908
32909 [BZ #14157]
32910 [BZ #14331]
32911 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32912 could result in spurious underflow. Scale down values above
32913 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32914 * math/s_csqrtf.c (__csqrtf): Likewise.
32915 * math/s_csqrtl.c (__csqrtl): Likewise.
32916 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32917 spurious underflow.
32918 * sysdeps/i386/fpu/libm-test-ulps: Update.
32919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32920
70d35b67
AS
329212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32922
704bc459
AS
32923 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32924 xopen-msg.sed.
32925 * catgets/xopen-msg.awk: New file.
32926 * catgets/xopen-msg.sed: Removed.
32927
70d35b67
AS
32928 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32929 po2text.sed.
32930 * intl/po2test.awk: New file.
32931 * intl/po2test.sed: Removed.
32932
ca61cf32
JM
329332012-07-04 Joseph Myers <joseph@codesourcery.com>
32934
32935 [BZ #14328]
32936 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32937 or multiply small sinh result by itself.
32938 * math/s_ctanf.c (__ctanf): Likewise.
32939 * math/s_ctanh.c (__ctanh): Likewise.
32940 * math/s_ctanhf.c (__ctanhf): Likewise.
32941 * math/s_ctanhl.c (__ctanhl): Likewise.
32942 * math/s_ctanl.c (__ctanl): Likewise.
32943 * math/libm-test.inc (ctan_test_tonearest): New function.
32944 (ctan_test_towardzero): Likewise.
32945 (ctan_test_downward): Likewise.
32946 (ctan_test_upward): Likewise.
32947 (ctanh_test_tonearest): Likewise.
32948 (ctanh_test_towardzero): Likewise.
32949 (ctanh_test_downward): Likewise.
32950 (ctanh_test_upward): Likewise.
32951 (main): Call these new functions.
32952 * sysdeps/i386/fpu/libm-test-ulps: Update.
32953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32954
ca48a46a
MF
329552012-07-03 Mike Frysinger <vapier@gentoo.org>
32956
32957 * .gitignore: Delete /ports entry.
32958
9d63d37d
AJ
329592012-07-03 Andreas Jaeger <aj@suse.de>
32960
32961 * po/bg.po: Update from translation team.
32962 * po/cs.po: Likewise.
32963 * po/de.po: Likewise.
32964 * po/hr.po: Likewise.
32965 * po/nl.pl: Likewise.
32966 * po/pl.po: Likewise.
32967 * po/vi.po: Likewise.
32968
370ca3d2
JM
329692012-07-03 Joseph Myers <joseph@codesourcery.com>
32970
95f5a9a8
JM
32971 * Makeconfig [!+link] (+link-before-libc): New variable.
32972 [!+link] (+link-after-libc): Likewise.
32973 [!+link] (+link-tests): Likewise.
32974 [!+link] (+link): Define in terms of $(+link-before-libc) and
32975 $(+link-after-libc).
32976 [!+link-static] (+link-static-before-libc): New variable.
32977 [!+link-static] (+link-static-after-libc): Likewise.
32978 [!+link-static] (+link-static-tests): Likewise.
32979 [!+link-static] (+link-static): Define in terms of
32980 $(+link-static-before-libc) and $(+link-static-after-libc).
32981 [build-shared] (link-libc-before-gnulib): New variable.
32982 [build-shared] (link-libc-tests): Likewise.
32983 [build-shared] (link-libc): Define in terms of
32984 $(link-libc-before-gnulib).
32985 [!build-shared] (link-libc-tests): New variable.
32986 (link-libc-static-tests): New variable.
32987 [!gnulib] (gnulib-arch): New variable.
32988 [!gnulib] (gnulib-tests): Likewise.
32989 [!gnulib] (static-gnulib-arch): Likewise.
32990 [!gnulib] (static-gnulib-tests): Likewise.
32991 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32992 Define with "=" instead of ":=".
32993 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32994 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32995 * Rules (binaries-all-notests): New variable.
32996 (binaries-all-tests): Likewise.
32997 (binaries-static-notests): Likewise.
32998 (binaries-static-tests): Likewise.
32999 (binaries-all): Define using $(binaries-all-notests) and
33000 $(binaries-all-tests).
33001 (binaries-static): Define using $(binaries-static-notests) and
33002 $(binaries-static-tests).
33003 (binaries-shared-tests): New variable.
33004 (binaries-shared-notests): Likewise.
33005 (binaries-shared): Remove variable.
33006 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33007 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33008 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33009 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33010 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33011 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33012 * elf/Makefile (sln-modules): New variable.
33013 (extra-objs): Add $(sln-modules:=.o).
33014 (ldconfig-modules): Add static-stubs.
33015 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33016 * elf/static-stubs.c: New file.
33017
7a845b2c
JM
33018 [BZ #14283]
33019 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33020 by 7 not 8 to examine high bit of fractional part. Use volatile
33021 variables when splitting into final array of floats if
33022 __FLT_EVAL_METHOD__ != 0.
33023 * math/libm-test.inc (cos_test): Add another test.
33024 (sin_test): Likewise.
33025 * sysdeps/i386/fpu/libm-test-ulps: Update.
33026
e2283f38
JM
33027 [BZ #14273]
33028 * math/libm-test.inc (cosh_test): Add more tests.
33029
370ca3d2
JM
33030 * version.h (RELEASE): Set to "development".
33031 (VERSION): Set to "2.16.90".
33032
ee9247c3
CD
330332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33034
33035 * NEWS: Update copyright. Remove last-updated date.
33036 Mention math library bug fixes and timezone data changes.
33037 * README: Mention GNU/Hurd, x32, and HPPA support status.
33038
4648c381
TS
330392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33040
33041 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33042
aac78a43
AJ
330432012-06-27 Andreas Jaeger <aj@suse.de>
33044
33045 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33046
ed3dbfad
AJ
330472012-06-25 Andreas Jaeger <aj@suse.de>
33048
33049 * sysdeps/s390/fpu/libm-test-ulps: Update.
33050
4d0ee855
AS
330512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33052 Thomas Schwinge <thomas@codesourcery.com>
33053
33054 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33055 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33057 fanotify_mark.
33058
af1bce34
TS
330592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33060
a9fa33ba
TS
33061 * sysdeps/mach/start.c: Remove file.
33062 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33063 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33064 * sysdeps/sh/init-first.c: Likewise.
33065
58f902b8
TS
33066 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33067 registers for frame unwinding purposes, add CFI directives.
33068 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33069 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33070 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33071 Likewise.
33072
1518f58b
TS
33073 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33074 __fortify_fail returning.
33075 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33076
db9b5059
TS
33077 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33078 sysdeps/sh/____longjmp_chk.S.
33079 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33080 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33081 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33082 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33083
967705fe
TS
33084 * sysdeps/sh/abort-instr.h: New file.
33085 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33086 process in case exit returns.
33087
a9def8c4
TS
33088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33089 initialize the GOT register before use.
33090
2a649725
TS
33091 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33092 calculation of ARGC > 4.
33093
af1bce34
TS
33094 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33095 meaningful names to some local labels.
33096
d230f50a
KK
330972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33098 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33099
33100 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33101 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33102 (__arch_compare_and_exchange_val_16_acq): Likewise.
33103 (__arch_compare_and_exchange_val_32_acq): Likewise.
33104 (atomic_exchange_and_add): Fix gUSA sequence.
33105 (atomic_add): Likewise.
33106 (atomic_add_negative): Likewise.
33107 (atomic_add_zero): Likewise.
33108 (atomic_bit_test_set): Likewise.
33109
0479b305
AS
331102012-06-22 Andreas Schwab <schwab@redhat.com>
33111
33112 [BZ #13579]
33113 * include/link.h (struct link_map): Add l_free_initfini.
33114 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33115 l_initfini.
33116 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33117 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33118 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33119 set.
33120
0e3933b9
CD
331212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33122
33123 * configure.in: Use AC_LANG_SOURCE.
33124 * configure: Regenerate.
33125
4248b1b1
RM
331262012-06-22 Roland McGrath <roland@hack.frob.com>
33127
33128 * configure.in (libc_cv_localstatedir): New substituted variable.
33129 * configure: Regenerated.
33130 * config.make.in (localstatedir): New variable, substituted from
33131 libc_cv_localstatedir.
33132 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33133 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33134 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33135 * sysdeps/gnu/configure: Regenerated.
33136
006dd861
JL
331372012-06-21 Jeff Law <law@redhat.com>
33138
33139 [BZ #14277]
33140 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33141 free. Simplify list management for _LIBC case.
33142
79662d42
JM
331432012-06-21 Joseph Myers <joseph@codesourcery.com>
33144
b7abb4bf
JM
33145 [BZ #14273]
33146 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33147 Clear sign bit of 64-bit integer value before comparing against
33148 overflow value.
33149
79662d42
JM
33150 * sysdeps/mach/configure: Regenerated.
33151
1f150908
L
331522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33153
33154 [BZ #14278]
33155 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33156
28363bbf
JL
331572012-06-21 Jeff Law <law@redhat.com>
33158
33159 [BZ #13882]
33160 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33161 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33162 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33163 * elf/dl-open.c (dl_open_worker): Likewise.
33164
09615db4
CD
331652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33166
33167 * scripts/list-sources.sh: Scan PORTS for translations.
33168 * po/libc.pot: Regenerated.
33169
2174c6dd
AJ
331702012-06-21 Andreas Jaeger <aj@suse.de>
33171
33172 [BZ #12194]
33173 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33174 warning.
33175 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33176 * bits/byteswap-16.h (__bswap_16): Likewise.
33177 * bits/byteswap.h (__bswap_constant_16): Likewise.
33178
3ee947b1
L
331792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33180
33181 [BZ #14117]
a2f34833
L
33182 * sysdeps/i386/fpu_control.h: Removed.
33183 * sysdeps/x86_64/fpu_control.h: Moved to ...
33184 * sysdeps/x86/fpu_control.h: Here.
33185
3ee947b1
L
33186 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33187 (_FPU_SETCW): Likewise.
33188
ed1825f8
L
331892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33190
25f1282a
L
33191 [BZ #14117]
33192 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33193 * sysdeps/x86/fpu/bits/mathinline.h: This.
33194 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33195
ed1825f8
L
33196 [BZ #14050]
33197 [BZ #14117]
33198 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33199 functions if __x86_64__ is defined.
33200
36d54b74
CLT
332012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33202
33203 * string/endian.h: Add !__ASSEMBLER__ condition for including
33204 conversion interfaces.
33205
10285c21
JM
332062012-06-15 Joseph Myers <joseph@codesourcery.com>
33207
33208 [BZ #14241]
33209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33210 of ABS(x) in calculating zero to negative powers other than odd
33211 integers.
33212 * math/libm-test.inc (pow_test): Add more tests.
33213
06c5abbd
AJ
332142012-06-15 Andreas Jaeger <aj@suse.de>
33215
33216 * manual/contrib.texi (Contributors): Update entry of Liubov
33217 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33218 Machado Filho.
33219
a3aeac40
CH
332202012-06-15 Cyril Hrubis <metan@ucw.cz>
33221
33222 * string/string.h: Add __wur to GNU version of strerror_r.
33223
49bdf4c1
L
332242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33225
33226 [BZ #14229]
33227 * string/Makefile (tests): Add tst-strtok_r.
33228 * string/tst-strtok_r.c: New file.
33229 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33230 RAX_LP/RDX_LP on SAVE_PTR.
33231
834f9b8d
RM
332322012-06-14 Roland McGrath <roland@hack.frob.com>
33233
33234 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33235
75fa1921
JM
332362012-06-14 Joseph Myers <joseph@codesourcery.com>
33237
33238 * libm_test.inc (csqrt_test): Allow more spurious underflow
33239 exceptions.
33240 (j0_test): Likewise.
33241 (j1_test): Likewise.
33242 (y0_test): Likewise.
33243 (y1_test): Likewise.
33244
771766df
CD
332452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33246
33247 * po/Makefile (libc.pot): Use UTF-8 charset.
33248
ceb9e56b
PP
332492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33250
33251 [BZ #14210]
33252 Suppress sign-conversion warning from FD_SET.
33253 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33254 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33255 not unsigned long int.
33256 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33257
ddb28975
L
332582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33259
33260 [BZ #14050]
33261 [BZ #14117]
33262 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33263 __extern_always_inline instead of __extern_inline.
33264 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33265 (__signbit): Likewise.
33266 (__signbitl): Support C++ namespace.
33267 (lrintf): New inline function.
33268 (lrint): Likewise.
33269 (llrintf): Likewise.
33270 (llrint): Likewise.
33271 (fmaxf): Likewise.
33272 (fmax): Likewise.
33273 (fminf): Likewise.
33274 (fmin): Likewise.
33275 (rint): Likewise.
33276 (rintf): Likewise.
33277 (ceil): Likewise.
33278 (ceilf): Likewise.
33279 (floor): Likewise.
33280 (floorf): Likewise.
33281 (nearbyint): Likewise.
33282 (nearbyintf): Likewise.
33283
d7b4fb26
TS
332842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33285
33286 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33287 non-default versions.
33288
eb55f5c2
RM
332892012-06-11 Roland McGrath <roland@hack.frob.com>
33290
33291 [BZ #14218]
33292 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33293
366af02c
TS
332942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33295
99ff6e5c
TS
33296 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33297 (FE_UPWARD, FE_DOWNWARD): Don't define.
33298 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33299 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33300
366af02c
TS
33301 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33302 reading it.
33303 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33304 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33305
793ea851
KK
333062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33307
33308 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33309 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33310 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33311 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33312
a728a38f
L
333132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33314
33315 [BZ #14117]
c08010c7
L
33316 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33317 * sysdeps/i386/fpu/Implies: New file.
33318 * sysdeps/x86_64/fpu/Implies: Likewise.
33319 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33320 * sysdeps/x86/fpu/bits/fenv.h: This.
33321
a728a38f
L
33322 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33323 __SSE_MATH__.
33324
6e230d11
SP
333252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33326
33327 [BZ #14134]
33328 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33329 character 0xffff that matches the last element of the
33330 conversion table.
33331
1b671feb
AZ
333322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33333
33334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33335 fmodl commit.
33336
6043738b
AZ
333372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33338
33339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33340 values higher than 25.6283.
33341
34ae0b32
AZ
333422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33343
33344 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33345 subnormal exponent extraction and add some __builtin_expect.
33346 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33347 Fix for subnormal mantissa calculation.
33348
1214ec8f
MF
333492012-06-04 Mike Frysinger <vapier@gentoo.org>
33350
33351 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33352 cpu2 is -1 and errno is not ENOSYS.
33353
f3d1f93c
L
333542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33355
33356 [BZ #14117]
0e4a3cd7
L
33357 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33358 * sysdeps/x86/bits/string.h: This.
33359 * sysdeps/x86_64/bits/string.h: Removed.
33360
6704c645
L
33361 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33362 if not compiling for x86-64, but compiling for >= i486.
33363
48495318
L
33364 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33365 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33366
14adcbfc
L
33367 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33368 New macro from Linux kernel 3.4.0.
33369 (FP_XSTATE_MAGIC2): Likewise.
33370 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33371 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33372 (struct _fpx_sw_bytes): New struct.
33373 (struct _xsave_hdr): Likewise.
33374 (struct _ymmh_state): Likewise.
33375 (struct _xstate): Likewise.
33376
68e408ab
L
33377 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33378 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33379 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33380 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33381 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33382 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33383
f3d1f93c
L
33384 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33385 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33386 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33387 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33388 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33389 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33390
d9dc34cd
TMQMF
333912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33392
33393 [BZ #13743]
33394 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33395 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33396 (sysdep_headers): Include sys/platform/ppc.h.
33397 * sysdeps/powerpc/test-gettimebase.c: Test for
33398 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33399 * manual/Makefile (appendices): Include platform.texi.
33400 * manual/contrib.texi (Contributors): Update @node pointers.
33401 * manual/maint.texi (Maintenance): Likewise.
33402 (Platform): New node.
33403 * manual/platform.texi: New file. Document the new features.
33404
4af3879c
SP
334052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33406 Jakub Jelinek <jakub@redhat.com>
33407
33408 [BZ #14188]
33409 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33410 where __builtin_expect is unavailable.
33411
2fd6ff13
DM
334122012-06-03 David S. Miller <davem@davemloft.net>
33413
33414 * stdlib/longlong.h: Updated from GCC.
33415
173f7220
AS
334162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33417
33418 [BZ #14042]
33419 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33420 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33421 __mcount_internal.
33422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33423 (GLIBC_2.16): Likewise.
33424
f34a1c6f
L
334252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33426
33427 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33428
88a4576f
JM
334292012-06-01 Joseph Myers <joseph@codesourcery.com>
33430
ea32bcdd
JM
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33432 (default-abi): New variable.
33433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33434 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33435 variable.
33436 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33437 Likewise.
33438 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33439 Likewise.
33440 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33441 Likewise.
33442
88a4576f
JM
33443 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33444 definition. Document in comment.
33445
402fe938
DM
334462012-06-01 David S. Miller <davem@davemloft.net>
33447
33448 * stdlib/longlong.h: Updated from GCC.
33449
3553723f
L
334502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33451
33452 [BZ #14117]
3bd872c4
L
33453 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33454 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33455 sys/debugreg.h sys/io.h here.
33456 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33457 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33458 sys/io.h.
33459 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33460 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33461 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33462 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33463 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33464 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33465
3553723f
L
33466 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33467 Define only if __x86_64__ is defined.
33468
4842e4fe
JM
334692012-06-01 Joseph Myers <joseph@codesourcery.com>
33470
c5bfe3d5
JM
33471 [BZ #14048]
33472 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33473 Use int64_t for variable i.
33474 * math/libm-test.inc (fmod_test): Add more tests.
33475
4842e4fe
JM
33476 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33477 z computation is not scheduled after fetestexcept.
33478 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33479 Use math_force_eval instead of asm to ensure calculation scheduled
33480 before exception test.
33481 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33482 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33483
efb73488
AJ
334842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33485
33486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33487 computation is not scheduled after fetestexcept.
33488
29bcce7c
L
334892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33490
33491 [BZ #14117]
33492 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33493 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33494
73a68f94
AZ
334952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33496
33497 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33498 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33499
67b6df78
L
335002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33501
edf2933a 33502 [BZ #14117]
ebc64a18
L
33503 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33504 <bits/wordsize.h>.
33505 (__WCHAR_MIN): Support __WORDSIZE == 64.
33506 (__WCHAR_MAX): Likewise.
33507
edf2933a
L
33508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33510
57c6cf40
L
33511 [BZ #14183]
33512 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33513 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33514
67b6df78 33515 [BZ #14117]
8eb6281e
L
33516 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33517 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33518
aac639f4
L
33519 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33520 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33521
67b6df78
L
33522 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33523 Defined to 1 if __x86_64__ isn't defined.
33524 (_STAT_VER_LINUX_OLD): New.
33525 (st_atime): Remove duplicate.
33526 (st_mtime): Likewise.
33527 (st_ctime): Likewise.
33528
1c2cfe81
DM
335292012-05-31 David S. Miller <davem@davemloft.net>
33530
33531 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33532 entries.
33533
5be8418c
AS
335342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33535
e7725326
AS
33536 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33537 gen-libm-test.pl.
33538
5be8418c
AS
33539 [BZ #14132]
33540 * elf/dl-reloc.c: Include <_itoa.h>.
33541 (_dl_reloc_bad_type): Remove use of INTUSE.
33542 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33543 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33544 * stdio-common/psiginfo.c (psiginfo): Likewise.
33545 * stdio-common/psignal.c (psignal): Likewise.
33546 * string/strsignal.c (strsignal): Likewise.
33547 * include/signal.h (_sys_siglist): Declare hidden proto.
33548 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33549 INTVARDEF with libc_hidden_data_def.
33550 * stdio-common/itoa-udigits.c: Likewise.
33551 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33552 (_itoa_lower_digits_internal): Remove declaration.
33553 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33554 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33555 (_sys_sigabbrev_internal): Remove aliases.
33556 (_sys_siglist): Define hidden alias.
33557
507352f1
MT
335582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33559
33560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33561 bits/sysctl.h.
33562
42bbb1c3
L
335632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33564
33565 [BZ #14117]
6bd784b6
L
33566 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33567 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33568
8bca20f0
L
33569 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33570 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33571 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33572 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33573 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33574 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33575
f9e890a9
L
33576 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33577 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33578 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33579
471101a1
L
33580 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33581 with __addr.
33582 (insw): Likewise.
33583 (insl): Likewise.
33584 (outsb): Likewise.
33585 (outsw): Likewise.
33586 (outsl): Likewise.
33587
6451c862
L
33588 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33589 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33590 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33591
a254b8c9
L
33592 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33593 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33595 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33596 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33597 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33598
b8dfdd92
L
33599 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33600 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33601
578cd270
L
33602 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33603 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33604
de662f5f
L
33605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33607 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33608
25653439
L
33609 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33610 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33611 to ...
33612 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33613
6bad24a0
L
33614 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33615 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33616 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33617
42bbb1c3
L
33618 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33619 for x86-64.
33620 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33621
2d10d547
JM
336222012-05-31 Joseph Myers <joseph@codesourcery.com>
33623
33624 * math/math.h (M_El): Use two more decimal places.
33625 (M_LOG2El): Likewise.
33626 (M_LOG10El): Likewise.
33627 (M_LN2l): Likewise.
33628 (M_LN10l): Likewise.
33629 (M_PIl): Likewise.
33630 (M_PI_2l): Likewise.
33631 (M_PI_4l): Likewise.
33632 (M_1_PIl): Likewise.
33633 (M_2_PIl): Likewise.
33634 (M_2_SQRTPIl): Likewise.
33635 (M_SQRT2l): Likewise.
33636 (M_SQRT1_2l): Likewise.
33637
f230c29b
DM
336382012-05-31 David S. Miller <davem@davemloft.net>
33639
33640 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33641 values between float registers.
33642 * sysdeps/sparc/sparc64/memset.S: Likewise.
33643 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33644
fed806c3
MF
336452012-05-31 Mike Frysinger <vapier@gentoo.org>
33646
33647 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33648 -D_FORTIFY_SOURCE=1.
33649 (CPPFLAGS-tst-longjmp_chk.c): Define.
33650 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33651 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33652 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33653 CFLAGS-tst-wchar-h.c.
33654
30917259
MP
336552012-05-31 Marek Polacek <polacek@redhat.com>
33656
33657 [BZ #14132]
33658 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33659 __endmntent_internal): Remove declaration.
33660 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33661 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33662 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33663
1c58d5dc
DM
336642012-05-30 David S. Miller <davem@davemloft.net>
33665
33666 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33667 (___Q_simulate_exceptions): Use real FP ops rather than writing
33668 into the %fsr.
33669 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33670 Likewise.
33671
7dc00e0d
L
336722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33673
33674 [BZ #14117]
0bd53985
L
33675 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33676 * sysdeps/x86/bits/xtitypes.h: This.
33677
3a257e66
L
33678 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33679 * sysdeps/x86/bits/wordsize.h: This.
33680
62f62904
L
33681 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33682 * sysdeps/x86/bits/huge_vall.h: This.
33683
404fe9d9
L
33684 * sysdeps/i386/bits/select.h: Removed.
33685 * sysdeps/x86_64/bits/select.h: Renamed to ...
33686 * sysdeps/x86/bits/select.h: This.
33687
d48d0446
L
33688 * sysdeps/i386/bits/setjmp.h: Removed.
33689 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33690 * sysdeps/x86/bits/setjmp.h: This.
33691
7dc00e0d
L
33692 * sysdeps/i386/bits/mathdef.h: Removed.
33693 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33694 * sysdeps/x86/bits/mathdef.h: This.
33695
03277f8f
AS
336962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33697
33698 [BZ #14132]
33699 * include/sys/socket.h (__connect_internal)
33700 (__libc_sa_len_internal): Remove declaration.
33701 (__connect, __libc_sa_len): Declare hidden_proto.
33702 (SA_LEN): Remove use of INTUSE.
33703 * socket/connect.c: Add libc_hidden_def.
33704 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33705 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33706 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33707 alias.
33708 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33709 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33710 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33711 of adding _internal alias.
33712
13764867
L
337132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33714
33715 [BZ #14117]
6bd97696
L
33716 * sysdeps/i386/bits/link.h: Removed.
33717 * sysdeps/i386/bits/linkmap.h: Likewise.
33718 * sysdeps/x86_64/bits/link.h: Renamed to ...
33719 * sysdeps/x86/bits/link.h: This.
33720 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33721 * sysdeps/x86/bits/linkmap.h: This.
33722
f726f0bb
L
33723 * sysdeps/i386/bits/endian.h: Removed.
33724 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33725 * sysdeps/x86/bits/endian.h: This.
33726
13764867
L
33727 * sysdeps/i386/bits/byteswap.h: Removed.
33728 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33729 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33730 * sysdeps/x86/bits/byteswap.h: This.
33731 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33732 * sysdeps/x86/bits/byteswap-16.h: This.
33733 * sysdeps/i386/Implies: Add x86.
33734 * sysdeps/x86_64/Implies: Likewise.
33735
ae251b0b
DM
337362012-05-30 David S. Miller <davem@davemloft.net>
33737
33738 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33739 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33740 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33741 (FP_TRAPPING_EXCEPTIONS): Define.
33742 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33743 (FP_TRAPPING_EXCEPTIONS): Define.
33744 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33745 subnormals only when inexact has been signalled or underflow
33746 exceptions are enabled.
33747 (_FP_PACK_CANONICAL): Likewise.
33748
d5c90867
L
337492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33750
33751 [BZ #14183]
33752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33753 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33754
63f1549e
RH
337552012-05-30 Richard Henderson <rth@twiddle.net>
33756
8d8f2279
RH
33757 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33758 with #ifndef NOT_IN_libc.
33759
63f1549e
RH
33760 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33761 marked to avoid plt entry.
33762
0ab0291b
L
337632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33764
33765 [BZ #14112]
33766 * Makeconfig (default-abi): New macro.
33767 (abi-includes): Likewise.
33768 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33769 $(abi-$(default-abi)-lib-soname) for soname if defined.
33770 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33771 abi-variants.
33772 * Makefile (installed-stubs): Likewise.
33773 * include/stubs-biarch.h: Removed.
33774 * scripts/lib-names.awk: Only handle one library at a time.
33775 * scripts/soversions.awk: Remove WORDSIZE support.
33776 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33777 entries.
33778 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33779 Removed.
33780 (syscall-list-default-condition): Likewise.
33781 (syscall-list-default-condition): Likewise.
33782 (syscall-list-includes): Likewise.
33783 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33784 syscall-list-* with abi-*. Handle undefined abi-variants.
33785 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33786 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33787 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33788 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33789 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33790 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33791 Removed.
33792 (syscall-list-32-options): Likewise.
33793 (syscall-list-32-condition): Likewise.
33794 (syscall-list-64-options): Likewise.
33795 (syscall-list-64-condition): Likewise.
33796 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33797 macro.
33798 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33799 Renamed to ...
33800 (abi-*): This.
33801 (abi-64-ld-soname): New macro.
33802 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33803 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33804 Renamed to ...
33805 (abi-*): This.
33806 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33807 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33808
4da0431d
JM
338092012-05-30 Joseph Myers <joseph@codesourcery.com>
33810
3a85279c
JM
33811 * sysdeps/unix/sysv/linux/kernel-features.h
33812 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33813 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33814 include <kernel-features.h>.
33815 [!__NR_ftruncate64]: Remove conditional code.
33816 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33817 [__NR_ftruncate64]: Make code unconditional.
33818 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33819 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33820 include <kernel-features.h>.
33821 [!__NR_ftruncate64]: Remove conditional code.
33822 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33823 [__NR_ftruncate64]: Make code unconditional.
33824 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33826 include <kernel-features.h>.
33827 [!__NR_ftruncate64]: Remove conditional code.
33828 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33829 [__NR_ftruncate64]: Make code unconditional.
33830 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33832 include <kernel-features.h>.
33833 [!__NR_ftruncate64]: Remove conditional code.
33834 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33835 [__NR_ftruncate64]: Make code unconditional.
33836 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33837
4da0431d
JM
33838 * configure.in (libc_cv_fpie): Weaken to a compile test using
33839 LIBC_TRY_CC_OPTION.
33840 * configure: Regenerated.
33841
11ef492c
AK
338422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33843
33844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33848 Refreshed.
33849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33855 Refreshed.
33856
d66ef399
DM
338572012-05-27 David S. Miller <davem@davemloft.net>
33858
33859 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33860 (___Q_zero): New.
33861 (__Q_simulate_exceptions): Return void. Change to simulate
33862 exceptions by writing into the %fsr.
33863 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33864 (__Qp_handle_exceptions): Likewise.
33865 (numbers): Delete.
33866 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33867 __Qp_handle_exceptions.
33868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33869 __Qp_handle_exceptions.
33870 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33871 as unused and give dummy FP_RND_NEAREST initializer.
33872 (FP_INHIBIT_RESULTS): Define.
33873 (___Q_simulate_exceptions): Update declaration.
33874 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33875 formatting.
33876 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33877 as unused and give dummy FP_RND_NEAREST initializer.
33878 (__Qp_handle_exceptions): Update declaration.
33879 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33880 formatting.
33881
04fb54b5
TS
338822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33883
33884 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33885 the temporary FPU control word.
33886 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33887 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33888 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33889 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33890 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33891 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33892 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33893 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33894 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33895 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33896 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33897
3f99608f
KK
338982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33899
33900 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33901 fields.
33902
65a4de4e
CLT
339032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33904
33905 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33906 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33907 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33908 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33909 Likewise.
33910 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33911 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33912 Likewise.
33913
15749d40
UD
339142012-05-27 Ulrich Drepper <drepper@gmail.com>
33915
33916 * po/h.po: Update from translation team.
33917
25dbcb27
AS
339182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33919
3d3f8e55
AS
33920 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33921
25dbcb27
AS
33922 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33923 handling of denormals.
33924 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33925 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33926 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33927 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33931 Likewise.
33932
7ad47a80 339332012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33934
33935 [BZ #14152]
33936 * math/libm-test.inc (fma_test): Don't always expect underflow
33937 exception.
33938
9c6ea9fa
SP
339392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33940
33941 [BZ #12416]
33942 * elf/tst-execstack.c: Include stackinfo.h.
33943 (do_test): Adjust test case to ensure that pthread_getattr_np
33944 behaviour remains the same after marking stack executable.
33945
a8239222
JM
339462012-05-25 Joseph Myers <joseph@codesourcery.com>
33947
33948 * sysdeps/unix/sysv/linux/kernel-features.h
33949 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33950 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33951 kernel-features.h.
33952 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33953 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33954 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33955 kernel-features.h.
33956 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33957 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33958
918b5606
L
339592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33960
33961 * configure.in: Define the default includes to being none.
33962 * configure: Regenerated.
33963
3a097cc7
RM
339642012-05-25 Roland McGrath <roland@hack.frob.com>
33965
8422c9a5
RM
33966 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33967 * sysdeps/x86_64/setjmp.S: Likewise.
33968 * sysdeps/i386/bsd-setjmp.S: Likewise.
33969 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33970 * sysdeps/i386/setjmp.S: Likewise.
33971 * sysdeps/i386/__longjmp.S: Likewise.
33972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33973 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33974
3a097cc7
RM
33975 * include/stap-probe.h: New file.
33976 * configure.in: Handle --enable-systemtap.
33977 * configure: Regenerated.
33978 * config.h.in (USE_STAP_PROBE): New #undef.
33979 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33980 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33981 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33982
21708942
JM
339832012-05-25 Joseph Myers <joseph@codesourcery.com>
33984
33985 [BZ #13717]
33986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33987 to 2.4.0 where earlier.
33988 * sysdeps/unix/sysv/linux/configure: Regenerated.
33989 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33990 <kernel-features.h>.
33991 [__ASSUME_32BITUIDS]: Make code unconditional.
33992 [!__ASSUME_32BITUIDS]: Remove conditional code.
33993 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33994 <kernel-features.h>.
33995 [__ASSUME_32BITUIDS]: Make code unconditional.
33996 [!__ASSUME_32BITUIDS]: Remove conditional code.
33997 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33998 [__ASSUME_32BITUIDS]: Make code unconditional.
33999 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34000 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34001 <kernel-features.h>.
34002 [__ASSUME_32BITUIDS]: Make code unconditional.
34003 [!__ASSUME_32BITUIDS]: Remove conditional code.
34004 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34005 <kernel-features.h>.
34006 [__ASSUME_32BITUIDS]: Make code unconditional.
34007 [!__ASSUME_32BITUIDS]: Remove conditional code.
34008 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34009 <kernel-features.h>.
34010 [__ASSUME_32BITUIDS]: Make code unconditional.
34011 [!__ASSUME_32BITUIDS]: Remove conditional code.
34012 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34013 <kernel-features.h>.
34014 [__ASSUME_32BITUIDS]: Make code unconditional.
34015 [!__ASSUME_32BITUIDS]: Remove conditional code.
34016 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34017 <kernel-features.h>.
34018 [__ASSUME_32BITUIDS]: Make code unconditional.
34019 [!__ASSUME_32BITUIDS]: Remove conditional code.
34020 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34021 <kernel-features.h>.
34022 [__ASSUME_32BITUIDS]: Make code unconditional.
34023 [!__ASSUME_32BITUIDS]: Remove conditional code.
34024 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34025 <kernel-features.h>.
34026 [__ASSUME_32BITUIDS]: Make code unconditional.
34027 [!__ASSUME_32BITUIDS]: Remove conditional code.
34028 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34029 <kernel-features.h>.
34030 [__ASSUME_32BITUIDS]: Make code unconditional.
34031 [!__ASSUME_32BITUIDS]: Remove conditional code.
34032 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34033 <kernel-features.h>.
34034 [__ASSUME_32BITUIDS]: Make code unconditional.
34035 [!__ASSUME_32BITUIDS]: Remove conditional code.
34036 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34037 <kernel-features.h>.
34038 [__ASSUME_32BITUIDS]: Make code unconditional.
34039 [!__ASSUME_32BITUIDS]: Remove conditional code.
34040 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34041 <kernel-features.h>.
34042 [__NR_setresgid] (__setresgid): Do not declare.
34043 [__ASSUME_32BITUIDS]: Make code unconditional.
34044 [!__ASSUME_32BITUIDS]: Remove conditional code.
34045 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34046 <kernel-features.h>.
34047 [__NR_setresuid] (__setresuid): Do not declare.
34048 [__ASSUME_32BITUIDS]: Make code unconditional.
34049 [!__ASSUME_32BITUIDS]: Remove conditional code.
34050 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34051 <kernel-features.h>.
34052 [__ASSUME_32BITUIDS]: Make code unconditional.
34053 [!__ASSUME_32BITUIDS]: Remove conditional code.
34054 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34055 <kernel-features.h>.
34056 [__ASSUME_32BITUIDS]: Make code unconditional.
34057 [!__ASSUME_32BITUIDS]: Remove conditional code.
34058 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34059 <kernel-features.h>.
34060 [__ASSUME_32BITUIDS]: Make code unconditional.
34061 [!__ASSUME_32BITUIDS]: Remove conditional code.
34062 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34063 <kernel-features.h>.
34064 [__ASSUME_32BITUIDS]: Make code unconditional.
34065 [!__ASSUME_32BITUIDS]: Remove conditional code.
34066 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34067 <kernel-features.h>.
34068 [__ASSUME_32BITUIDS]: Make code unconditional.
34069 [!__ASSUME_32BITUIDS]: Remove conditional code.
34070 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34071 <kernel-features.h>.
34072 [__ASSUME_32BITUIDS]: Make code unconditional.
34073 [!__ASSUME_32BITUIDS]: Remove conditional code.
34074 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34075 <kernel-features.h>.
34076 [__ASSUME_32BITUIDS]: Make code unconditional.
34077 [!__ASSUME_32BITUIDS]: Remove conditional code.
34078 * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.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/kernel-features.h
34091 (__ASSUME_SETRESUID_SYSCALL): Remove.
34092 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34093 (__ASSUME_32BITUIDS): Likewise.
34094 (__ASSUME_LDT_WORKS): Likewise.
34095 (__ASSUME_O_DIRECTORY): Likewise.
34096 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34097 architecture but not kernel version.
34098 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34099 (__ASSUME_MMAP2_SYSCALL): Likewise.
34100 (__ASSUME_STAT64_SYSCALL): Likewise.
34101 (__ASSUME_IPC64): Likewise.
34102 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34103 <kernel-features.h>.
34104 [__ASSUME_32BITUIDS]: Make code unconditional.
34105 [!__ASSUME_32BITUIDS]: Remove conditional code.
34106 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34107 <kernel-features.h>.
34108 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34109 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34110 132096]: Remove conditional code.
34111 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34112 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34113 <kernel-features.h>.
34114 [__ASSUME_32BITUIDS]: Make code unconditional.
34115 [!__ASSUME_32BITUIDS]: Remove conditional code.
34116 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34117 <kernel-features.h>.
34118 [__ASSUME_32BITUIDS]: Make code unconditional.
34119 [!__ASSUME_32BITUIDS]: Remove conditional code.
34120 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34121 <kernel-features.h>.
34122 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34123 unconditional.
34124 (__setresgid): Do not declare.
34125 [__ASSUME_32BITUIDS]: Make code unconditional.
34126 [!__ASSUME_32BITUIDS]: Remove conditional code.
34127 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34128 <kernel-features.h>.
34129 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34130 unconditional.
34131 (__setresuid): Do not declare.
34132 [__ASSUME_32BITUIDS]: Make code unconditional.
34133 [!__ASSUME_32BITUIDS]: Remove conditional code.
34134 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34135 <kernel-features.h>.
34136 [__ASSUME_32BITUIDS]: Make code unconditional.
34137 [!__ASSUME_32BITUIDS]: Remove conditional code.
34138 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34139 <kernel-features.h>.
34140 [__ASSUME_32BITUIDS]: Make code unconditional.
34141 [!__ASSUME_32BITUIDS]: Remove conditional code.
34142
a386f1cc
RH
341432012-05-25 Richard Henderson <rth@twiddle.net>
34144
34145 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34146 dl_hwcap to ifunc resolver.
34147 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34148 elf_ifunc_invoke.
34149 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34150 dl_hwcap to ifunc resolver.
34151 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34152
b6550497
JM
341532012-05-24 Joseph Myers <joseph@codesourcery.com>
34154
34155 [BZ #14153]
34156 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34157 for |x| <= 2**-26, not 2**-57.
34158 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34159 exception.
34160
b0bc23a1
JL
341612012-05-24 Jeff Law <law@redhat.com>
34162
34163 * stdio-common/Makefile (tests): Add bug25.
34164 * stdio-common/bug25.c: New test.
34165
347c92e9
L
341662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34167
34168 [BZ #13576]
34169 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34170 multiple of MALLOC_ALIGNMENT in size.
34171 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34172
6bcc8b3f
JM
341732012-05-24 Joseph Myers <joseph@codesourcery.com>
34174
34175 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34176 Require >= 256.
34177 (FILENAME_MAX): Use macro-int-constant.
34178 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34179 (_IOFBF): Use macro-int-constant.
34180 (_IOLBF): Likewise.
34181 (_IONBF): Likewise.
34182 (SEEK_CUR): Likewise.
34183 (SEEK_END): Likewise.
34184 (SEEK_SET): Likewise.
34185 (TMP_MAX): Likewise.
34186 (EOF): Use macro-int-constant. Require < 0.
34187 (NULL): Use macro-constant. Require == 0.
34188 (stdin): Require type to be FILE *.
34189 (stdout): Likewise.
34190 (stderr): Likewise.
34191 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34192 macro-int-constant.
34193 (EXIT_SUCCESS): Likewise.
34194 (NULL): Use macro-constant. Require == 0.
34195 (RAND_MAX): Use macro-int-constant.
34196 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34197 [C99-based standards] (strtof): Require function.
34198 [C99-based standards] (strtold): Likewise.
34199 [C99-based standards] (strtoll): Likewise.
34200 [C99-based standards] (strtoull): Likewise.
34201 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34202 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34203 [ISO || ISO99 || ISO11] (math.h): Likewise.
34204 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34205 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34207
d18ea0c5
AS
342082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34209
34210 [BZ #14132]
56d25bb8
AS
34211 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34212 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34213 * intl/dgettext.c (DCGETTEXT): Likewise.
34214 * intl/gettext.c (DCGETTEXT): Likewise.
34215 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34216 * posix/regex_internal.h (gettext): Likewise.
34217 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34218 Remove declaration.
34219 * include/argz.h (__argz_count_internal)
34220 (__argz_stringify_internal): Remove declaration.
34221 (__argz_count, __argz_stringify): Declare hidden proto.
34222 * intl/dcgettext.c: Remove use of INTDEF.
34223 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34224 * string/argz-stringify.c: Likewise.
34225 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34226 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34227 Declare hidden proto.
d18ea0c5
AS
34228 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34229 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34230 Declare hidden proto.
34231 * include/stdio.h (__asprintf_internal): Don't declare.
34232 (__asprintf): Don't define as macro. Declare hidden proto.
34233 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34234 (__fsetlocking): Declare hidden proto.
34235 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34236 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34237 hidden proto.
34238 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34239 (_IO_setlinebuf): Remove use of INTUSE.
34240 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34241 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34242 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34243 Remove declaration.
34244 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34245 (_IO_do_flush): Remove use of INTUSE.
34246 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34247 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34248 (_IO_adjust_column, _IO_least_wmarker)
34249 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34250 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34251 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34252 (_IO_default_doallocate, _IO_wdefault_doallocate)
34253 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34254 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34255 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34256 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34257 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34258 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34259 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34260 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34261 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34262 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34263 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34264 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34265 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34266 proto.
34267 (_IO_flush_all_internal, _IO_adjust_column_internal)
34268 (_IO_default_uflow_internal, _IO_default_finish_internal)
34269 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34270 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34271 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34272 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34273 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34274 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34275 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34276 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34277 (_IO_file_close_internal, _IO_file_close_it_internal)
34278 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34279 (_IO_file_init_internal, _IO_file_attach_internal)
34280 (_IO_file_fopen_internal, _IO_file_read_internal)
34281 (_IO_file_sync_internal, _IO_file_seek_internal)
34282 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34283 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34284 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34285 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34286 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34287 (_IO_list_all_internal, _IO_link_in_internal)
34288 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34289 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34290 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34291 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34292 (_IO_do_write_internal, _IO_padn_internal)
34293 (_IO_getline_info_internal, _IO_getline_internal)
34294 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34295 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34296 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34297 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34298 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34299 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34300 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34301 with libc_hidden_ver, remove use of INTUSE.
34302 * libio/genops.c: Likewise.
34303 * libio/freopen.c: Likewise.
34304 * libio/freopen64.c: Likewise.
34305 * libio/iofclose.c: Likewise.
34306 * libio/iofdopen.c: Likewise.
34307 * libio/iofflush.c: Likewise.
34308 * libio/iofflush_u.c: Likewise.
34309 * libio/iofgets.c: Likewise.
34310 * libio/iofgets_u.c: Likewise.
34311 * libio/iofopen.c: Likewise.
34312 * libio/iofopncook.c: Likewise.
34313 * libio/iofread.c: Likewise.
34314 * libio/iofread_u.c: Likewise.
34315 * libio/ioftell.c: Likewise.
34316 * libio/iofwrite.c: Likewise.
34317 * libio/iogetline.c: Likewise.
34318 * libio/iogets.c: Likewise.
34319 * libio/iogetwline.c: Likewise.
34320 * libio/iopadn.c: Likewise.
34321 * libio/iopopen.c: Likewise.
34322 * libio/ioseekoff.c: Likewise.
34323 * libio/ioseekpos.c: Likewise.
34324 * libio/iosetbuffer.c: Likewise.
34325 * libio/iosetvbuf.c: Likewise.
34326 * libio/ioungetc.c: Likewise.
34327 * libio/ioungetwc.c: Likewise.
34328 * libio/iovdprintf.c: Likewise.
34329 * libio/iovsprintf.c: Likewise.
34330 * libio/iovsscanf.c: Likewise.
34331 * libio/memstream.c: Likewise.
34332 * libio/obprintf.c: Likewise.
34333 * libio/oldfileops.c: Likewise.
34334 * libio/oldiofclose.c: Likewise.
34335 * libio/oldiofdopen.c: Likewise.
34336 * libio/oldiofopen.c: Likewise.
34337 * libio/oldiopopen.c: Likewise.
34338 * libio/oldstdfiles.c: Likewise.
34339 * libio/putc.c: Likewise.
34340 * libio/setbuf.c: Likewise.
34341 * libio/setlinebuf.c: Likewise.
34342 * libio/stdfiles.c: Likewise.
34343 * libio/strops.c: Likewise.
34344 * libio/vasprintf.c: Likewise.
34345 * libio/vscanf.c: Likewise.
34346 * libio/vsnprintf.c: Likewise.
34347 * libio/vswprintf.c: Likewise.
34348 * libio/wfiledoalloc.c: Likewise.
34349 * libio/wfileops.c: Likewise.
34350 * libio/wgenops.c: Likewise.
34351 * libio/wmemstream.c: Likewise.
34352 * libio/wstrops.c: Likewise.
34353 * libio/__fpurge.c: Likewise.
34354 * libio/__fsetlocking.c: Likewise.
34355 * assert/assert.c: Likewise.
34356 * debug/fgets_chk.c: Likewise.
34357 * debug/fgets_u_chk.c: Likewise.
34358 * debug/fread_chk.c: Likewise.
34359 * debug/fread_u_chk.c: Likewise.
34360 * debug/gets_chk.c: Likewise.
34361 * debug/obprintf_chk.c: Likewise.
34362 * debug/vasprintf_chk.c: Likewise.
34363 * debug/vdprintf_chk.c: Likewise.
34364 * debug/vsnprintf_chk.c: Likewise.
34365 * debug/vsprintf_chk.c: Likewise.
34366 * malloc/mtrace.c: Likewise.
34367 * misc/error.c: Likewise.
34368 * misc/syslog.c: Likewise.
34369 * stdio-common/asprintf.c: Likewise.
34370 * stdio-common/fxprintf.c: Likewise.
34371 * stdio-common/getw.c: Likewise.
34372 * stdio-common/isoc99_fscanf.c: Likewise.
34373 * stdio-common/isoc99_scanf.c: Likewise.
34374 * stdio-common/isoc99_vfscanf.c: Likewise.
34375 * stdio-common/isoc99_vscanf.c: Likewise.
34376 * stdio-common/isoc99_vsscanf.c: Likewise.
34377 * stdio-common/printf-prs.c: Likewise.
34378 * stdio-common/printf_fp.c: Likewise.
34379 * stdio-common/printf_fphex.c: Likewise.
34380 * stdio-common/printf_size.c: Likewise.
34381 * stdio-common/putw.c: Likewise.
34382 * stdio-common/scanf.c: Likewise.
34383 * stdio-common/sprintf.c: Likewise.
34384 * stdio-common/tmpfile.c: Likewise.
34385 * stdio-common/vfprintf.c: Likewise.
34386 * stdio-common/vfscanf.c: Likewise.
34387 * stdlib/strfmon_l.c: Likewise.
34388 * sunrpc/openchild.c: Likewise.
34389 * sunrpc/xdr_stdio.c: Likewise.
34390 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34391 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34392
d6c33fda
RM
343932012-05-24 Roland McGrath <roland@hack.frob.com>
34394
c1487492
RM
34395 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34396
34397 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34398 in the third column, to generate for the shared library an IFUNC
34399 that uses _dl_vdso_vsym.
34400 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34401 * Makeconfig (object-suffixes-noshared): New variable.
34402
34403 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34404 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34405 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34406 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34407
d6c33fda
RM
34408 [BZ #14132]
34409 * include/sys/time.h (__gettimeofday): Remove macro.
34410 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34411 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34412 Remove INTDEF.
34413 (__gettimeofday): Add libc_hidden_def.
34414 (gettimeofday): Add libc_hidden_weak.
34415 * sysdeps/mach/gettimeofday.c: Likewise.
34416 * sysdeps/posix/gettimeofday.c: Likewise.
34417 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34418 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34420 (__gettimeofday_internal): Remove strong_alias.
34421 (__gettimeofday): Add libc_hidden_def.
34422 (gettimeofday): Add libc_hidden_weak.
34423 * sysdeps/unix/syscalls.list (gettimeofday):
34424 Remove __gettimeofday_internal alias.
34425
b5a2bbe6
L
344262012-05-24 Daniel Jacobowitz <drow@false.org>
34427 H.J. Lu <hongjiu.lu@intel.com>
34428
34429 [BZ #12495]
34430 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34431 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34432 (largebin_index_32_big): New.
34433 (largebin_index): Use it for 16-byte alignment.
34434 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34435 correction with front_misalign.
34436
cfba4fda
L
344372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34438
7f907421
L
34439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34441 Likewise.
34442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34443 Likewise.
34444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34445 Likewise.
34446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34447 Likewise.
34448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34449 Likewise.
34450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34451 Likewise.
34452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34453 Likewise.
34454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34455 Likewise.
34456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34457 Likewise.
34458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34459 Likewise.
34460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34461 Likewise.
34462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34463 Likewise.
34464
cfba4fda
L
34465 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34466 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34467
80bad0cc
JM
344682012-05-24 Joseph Myers <joseph@codesourcery.com>
34469
7a25eb06
JM
34470 [BZ #10846]
34471 [BZ #14036]
34472 * math/libm-test.inc (exp_test): Add test from bug 14036.
34473 (pow_test): Add test from bug 10846.
34474
795405f9
JM
34475 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34476 and other flags.
34477 (special_function): Do not include flags in test name.
34478 (parse_args): Likewise.
34479 * sysdeps/i386/fpu/libm-test-ulps: Update.
34480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34481 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34482 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34484
80bad0cc
JM
34485 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34486 exceptions.
34487 * math/libm-test.inc ("Philosophy"): Update comment about
34488 exception testing.
34489 (UNDERFLOW_EXCEPTION): New macro.
34490 (UNDERFLOW_EXCEPTION_OK): Likewise.
34491 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34492 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34493 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34494 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34495 (INVALID_EXCEPTION_OK): Update value.
34496 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34497 (OVERFLOW_EXCEPTION_OK): Likewise.
34498 (IGNORE_ZERO_INF_SIGN): Likewise.
34499 (test_exceptions): Handle underflow exceptions.
34500 (acos_test): Update for underflow exception expectations.
34501 (cexp_test): Likewise.
34502 (clog_test): Likewise.
34503 (clog10_test): Likewise.
34504 (csqrt_test): Likewise.
34505 (ctan_test): Likewise.
34506 (ctanh_test): Likewise.
34507 (exp_test): Likewise.
34508 (exp10_test): Likewise.
34509 (exp2_test): Likewise.
34510 (expm1_test): Likewise.
34511 (fma_test): Likewise.
34512 (j0_test): Likewise.
34513 (jn_test): Likewise.
34514 (nexttoward_test): Likewise.
34515 (pow_test): Likewise.
34516 (scalbn_test): Likewise.
34517 (scalbln_test): Likewise.
34518 (tan_test): Likewise.
34519 (y1_test): Likewise.
34520 * sysdeps/i386/fpu/libm-test-ulps: Update.
34521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34522
9e0e3d0b
DM
345232012-05-23 David S. Miller <davem@davemloft.net>
34524
34525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34526 (__libc_sigaction): Remove unused local variables.
34527
ccd0a08f
L
345282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34529
34530 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34531
62bdf9a6
PE
345322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34533
f8591f80
PE
34534 mktime: avoid signed integer overflow
34535 * time/mktime.c (__mktime_internal): Do not mishandle the case
34536 where diff == INT_MIN.
34537
94c7d826
PE
34538 mktime: simplify computation of average
34539 * time/mktime.c (ranged_convert): Use new time_t_avg function
34540 instead of rolling our own (probably-slower) code.
34541
ce73d683
PE
34542 mktime: do not assume signed right shift propagates sign bit
34543 * time/mktime.c (isdst_differ): New static function.
34544 (__mktime_internal): No need to normalize tm_isdst now.
34545 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34546 tm_isdst values.
34547
72a22e59
PE
34548 mktime: merge another wrapv change from gnulib
34549 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34550 from some compilers.
34551
68605433
PE
34552 mktime: remove incorrect attempt at unusual arithmetics
34553 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34554 The code didn't really work on such machines anyway.
34555 (TYPE_MINIMUM): Assume two's complement.
34556 (twos_complement_arithmetic): Verify that long_int and time_t
34557 are two's complement (or unsigned, in the latter case).
34558
03cf7fe3
PE
34559 mktime: check signed shifts on long_int and time_t, too
34560 * time/mktime.c (SHR): Check that shifts work as desired
34561 on the types long_int and time_t too, as SHR is used on
34562 such types.
34563
f04dfbc2
PE
34564 mktime: do not assume 'long' is wide enough
34565 * time/mktime.c (verify): Move decl up.
34566 (long_int): New type.
34567 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34568 to remove assumption in the code that 'long' is wide enough to
34569 store year values. This assumption is not true on x32 and on
34570 some non-glibc platforms.
34571
62bdf9a6
PE
34572 mktime: merge wrapv change from gnulib
34573 * time/mktime.c (WRAPV): New macro.
34574 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34575 (guess_time_tm, __mktime_internal): Do not assume that signed
34576 integer overflow wraps around; modern compilers generate code
34577 where this assumption is no longer valid.
34578
5e292e4f
L
345792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34580
34581 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34582 Replace "jmp L(pseudo_end)" with "ret".
34583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34584 Likewise.
34585
8caf8c87
AJ
345862012-05-23 Andreas Jaeger <aj@suse.de>
34587
34588 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34589 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34590
1a09dc56
AJ
345912012-05-23 Andreas Jaeger <aj@suse.de>
34592 Maximilian Attems <max@stro.at>
34593
34594 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34595 New macros.
34596
1c87aba0
L
345972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34598
34599 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34600 code so that pseudo_end is just ret and the stack pointer is
34601 correct also for static library in error case.
34602
40e45bd5
JM
346032012-05-23 Joseph Myers <joseph@codesourcery.com>
34604
c2670533
JM
34605 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34606 move to syscalls.list.
34607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34611
40e45bd5
JM
34612 * manual/install.texi (Running make install): Do not mention Linux
34613 kernel version for which pt_chown is not needed.
34614 (Linux): Do not mention problems with nscd with 2.0 kernels.
34615 * INSTALL: Regenerated.
34616
be08eda5
AJ
346172012-05-23 Andreas Jaeger <aj@suse.de>
34618
34619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34620 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34621 macro.
34622 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34623 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34624 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34625 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34626 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34627 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34628 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34630 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34631 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34632 * sysdeps/unix/sysv/linux/bits/in.h
34633 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34634
a6a056bb
RM
346352012-05-22 Roland McGrath <roland@hack.frob.com>
34636
34637 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34638 (PREPARE_VERSION): Just use assert instead, it will be elided
34639 under [NDEBUG] anyway.
34640
c9009328
L
346412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34642
34643 * sysdeps/unix/sysv/linux/Makefile: Include
34644 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34645 (sysdep_routines): Remove sysctl.
c9009328
L
34646 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34647 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34648 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34649 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34650 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34651
73338355
AJ
346522012-05-22 Andreas Jaeger <aj@suse.de>
34653
34654 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34655 that pseudo_end is just ret and the stack pointer is correct also
34656 for static library in error case.
34657
d44638b0
PP
346582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34659
34660 [BZ #14122]
34661 * nss/nsswitch.c (defconfig_entries): New variable.
34662 (__nss_database_lookup): Don't leak defconfig entries.
34663 (nss_parse_service_list): Don't leak on error paths.
34664 (free_database_entries): New function.
34665 (free_defconfig): New function.
34666 (free_mem): Move common code to free_database_entries.
34667
31a39bd8
L
346682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34669
da0331a8
L
34670 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34671 Add arch_prctl.
34672 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34673
31a39bd8
L
34674 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34675 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34677 New macro.
34678 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34679 (INTERNAL_SYSCALL_TYPES): Likewise.
34680 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34681 (LOAD_REGS_TYPES_[1-6]): Likewise.
34682 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34683 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34684
45470df3
AZ
346852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34686
34687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34688 copysignl for GLIBC_2_0.
34689 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34690 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34692 logbl for GLIBC_2_0.
34693 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34694 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34695
98a61bcb
L
346962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34697
a4f6e481
L
34698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34699 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34700
f63d5db6
L
34701 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34702 Use "neg %eax".
34703
98a61bcb
L
34704 * time/mktime.c: Update copyright years.
34705
95770f14
PE
347062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34707
6226efbd
PE
34708 mktime: merge comment-quoting-style change from gnulib
34709 * time/mktime.c: Quote 'like this' in comments.
34710 The GNU coding standards suggest that we no longer quote `like this',
34711 as "`" and "'" are typically rendered asymmetrically nowadays.
34712 The typical gnulib style is to quote 'like this' when quoting
34713 code, and "like this" when quoting English.
34714
b99e4f78
PE
34715 * time/mktime.c (compile-command): Add "-I.".
34716
643e01e6
PE
34717 mktime: merge mktime-internal.h change from gnulib
34718 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34719
2554247d
PE
34720 mktime: merge time_r change from gnulib
34721 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34722
826dd0ab
PE
34723 mktime: merge DEBUG change from gnulib
34724 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34725 case system <time.h> has a #define.
34726
bd83aabe
PE
34727 mktime: merge <sys/types.h> change from gnulib
34728 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34729 since <time.t> is now guaranteed to define time_t.
34730
95770f14
PE
34731 mktime: merge HAVE_CONFIG_H change from gnulib
34732 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34733
5e1a27a9
L
347342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34735
0e44a77e
L
34736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34737 Use "neg %eax".
34738
5e1a27a9
L
34739 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34740 __rlim_t cast.
34741 (struct rusage): Use anonymous union to pad each field to
34742 __syscall_slong_t.
34743
46259bec
DM
347442012-05-21 David S. Miller <davem@davemloft.net>
34745
34746 * Makefules (o-iterator): Remove .s cases.
34747 (compile-command.s): Delete.
34748 (COMPILE.s): Delete.
34749 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34750
59f0c22e
JM
347512012-05-21 Joseph Myers <joseph@codesourcery.com>
34752
34753 * configure.in (libc_cv_predef_stack_protector): Only consider
34754 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34755 * configure: Regenerated.
34756
20c07380
L
347572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34758
bbb3154b
L
34759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34760 New macro. Use R*LP on int and pointer.
34761 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34762 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34763 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34764 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34765
20c07380
L
34766 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34767 [__WORDSIZE_TIME64_COMPAT32] instead of
34768 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34769 (struct utmp): Likewise.
34770 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34771 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34772 Renamed to ...
34773 (__WORDSIZE_TIME64_COMPAT32): This.
34774 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34775 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34776 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34777 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34778 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34779 (__WORDSIZE_TIME64_COMPAT32): New macro.
34780
d8d1017e
AJ
347812012-05-21 Andreas Jaeger <aj@suse.de>
34782
34783 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34784 only if [SHARED]. Add prototype for __wcschr_ia32.
34785
6c7fb145
RM
347862012-05-21 Roland McGrath <roland@hack.frob.com>
34787
34788 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34789 of %rbp unmolested in the jmp_buf while mangling the low bits.
34790 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34791 unmolested high bits of %rbp while demangling the low bits.
34792 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34793
66274218
AJ
347942012-05-21 Andreas Jaeger <aj@suse.de>
34795
07c58f8f
AJ
34796 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34797 * sunrpc/svc_simple.c: Use it for registerrpc.
34798 * sunrpc/xcrypt.c: Use it for passwd2des.
34799
66274218
AJ
34800 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34801
61f65140
L
348022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34803
34804 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34805 Don't define if [__SYSCALL_WORDSIZE != 32].
34806 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34807 New macro.
34808
5fefb436
AJ
348092012-05-21 Bruno Haible <bruno@clisp.org>
34810 Andreas Jaeger <aj@suse.de>
34811
34812 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34813 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34814 inptr and inend for must_buffer_ch.
34815 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34816 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34817 * stdio-common/Makefile (tests): Remove bug15.
34818 (bug15-ENV): Remove macro.
34819 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34820 anymore.
34821
d8e272ab
AJ
348222012-05-19 Andreas Jaeger <aj@suse.de>
34823 Roland McGrath <roland@hack.frob.com>
34824
34825 * manual/contrib.texi: Completely rewritten. It contains now an
34826 alphabetical list of contributors and their contributions.
34827
4a56a162
RH
348282012-05-21 Richard Henderson <rth@twiddle.net>
34829
34830 * misc/getauxval.c (__getauxval): Use unsigned long int.
34831 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34832 (getauxval): Use unsigned long int.
34833
d024d23c
L
348342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34835
34836 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34837
cbc00a03
RM
348382012-05-21 Roland McGrath <roland@hack.frob.com>
34839
34840 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34841 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34842 __alignof__ (long double).
34843
478143fa
AZ
348442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34845
34846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34847
c7683a6d
RH
348482012-05-20 Richard Henderson <rth@twiddle.net>
34849
34850 * misc/getauxval.c: New file.
34851 * misc/sys/auxv.h: New file.
34852 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34853 (routines): Add getauxval.
34854 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34855 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34856 * elf/dl-sysdep.c (_dl_auxv): Remove.
34857 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34858 * elf/dl-support.c (_dl_auxv): New variable.
34859 (_dl_aux_init): Initialize it.
34860 * manual/startup.texi (Auxiliary Vector): New node.
34861 * sysdeps/generic/bits/hwcap.h: New file.
34862 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34863 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34864 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34865 * sysdeps/sparc/sysdep.h: ... here. Include it.
34866 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34867 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34869 Update.
c7683a6d
RH
34870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34878
a6f1845d
AZ
348792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34880
34881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34882
cbcbe830
DM
348832012-05-19 David S. Miller <davem@davemloft.net>
34884
34885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34886
e0b16cc2
JM
348872012-05-19 Joseph Myers <joseph@codesourcery.com>
34888
34889 [BZ #14123]
34890 * math/s_ccosh.c: Include <float.h>
34891 (__ccosh): Avoid internal overflow calculating sinh and cosh
34892 values before multiplying by sin and cos values.
34893 * math/s_ccoshf.c: Likewise.
34894 * math/s_ccoshl.c: Likewise.
34895 * math/s_csin.c: Likewise.
34896 * math/s_csinf.c: Likewise.
34897 * math/s_csinl.c: Likewise.
34898 * math/s_csinh.c: Likewise.
34899 * math/s_csinhf.c: Likewise.
34900 * math/s_csinhl.c: Likewise.
34901 * math/libm-test.inc (ccos_test): Add more tests.
34902 (ccosh_test): Likewise.
34903 (csin_test): Likewise.
34904 (csinh_test): Likewise.
34905 * sysdeps/i386/fpu/libm-test-ulps: Update.
34906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34907
6ad13e08
L
349082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34909
f66f0ce8
L
34910 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34911 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34912
6ad13e08
L
34913 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34914
b1d072a7
JM
349152012-05-19 Joseph Myers <joseph@codesourcery.com>
34916
34917 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34918 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34919 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34920 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34921 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34922 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34923 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34924 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34925 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34926 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34927 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34928 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34929 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34930 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34931 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34932 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34933 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34934 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34935 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34936 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34937 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34938 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34939 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34940 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34941 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34942 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34943 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34944 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34945 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34946 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34947 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34948
9eae47cb
AJ
349492012-05-18 Andreas Jaeger <aj@suse.de>
34950
34951 * csu/.gitignore: Delete.
34952
bb07f69f
L
349532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34954
34955 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34956 (timex): Use __syscall_slong_t.
34957
e6bdb741
AJ
349582012-05-18 Andreas Jaeger <aj@suse.de>
34959 Carlos O'Donell <carlos_odonell@mentor.com>
34960
34961 * manual/install.texi (Configuring and compiling): Update
34962 description about files modified in the source directory.
d6c33fda 34963 * INSTALL: Regenerated.
e6bdb741 34964
1b74487e
L
349652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34966
34967 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34968 value. Use "or" to set return value to -1.
34969 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34970 negate return value.
34971
a88b64b9
TMQMF
349722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34973
57f41c40
AS
34974 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34975 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34976 failure if the compiler has Graphite support disabled.
34977 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34978 Likewise.
57f41c40
AS
34979 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34980 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34981 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34982 Likewise.
34983
3707636e
L
349842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34985
610b8622
L
34986 * sysdeps/x86_64/x32/_itoa.h: New file.
34987
7cd195df
L
34988 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34989 getdents system call only if kernel and user dirents have the
34990 same d_ino and d_off.
34991
94b07d20
L
34992 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34993 LLONG_MAX != LONG_MAX.
34994 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34995 (_fitoa_word): Likewise.
34996
18298070
L
34997 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34998 years.
34999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35000 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35001 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35002
553c7ea4
L
35003 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35004 include <bits/wordsize.h>. Check __x86_64__ instead of
35005 __WORDSIZE.
35006 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35007 if __x86_64__ is defined. Use anonymous union on fpstate.
35008
3707636e
L
35009 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35010 anonymous union.
35011
b53ef01a
AS
350122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35013
37fb1dc0
AS
35014 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35015 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35016 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35017 Refer to _rtld_local_ro instead of _rtld_global_ro.
35018 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35019 Likewise.
35020 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35021 Likewise.
35022 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35023 Likewise.
35024 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35025 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35026 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35027
b53ef01a
AS
35028 * sysdeps/powerpc/powerpc32/dl-machine.c
35029 (__elf_machine_runtime_setup) [PROF]: Don't reference
35030 _dl_prof_resolve.
35031
7a185db2
AJ
350322012-05-18 Andreas Jaeger <aj@suse.de>
35033
35034 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35035 function only available for GCCs before 3.4 since GCC 3.4
35036 introduced a builtin.
35037 (lrint): Likewise.
35038 (llrintf): Likewise.
35039 (llrint): Likewise.
35040 (fmaxf): Likewise.
35041 (fmax): Likewise.
35042 (fminf): Likewise.
35043 (fmin): Likewise.
35044 (rint): Likewise.
35045 (rintf): Likewise.
35046 (nearbyint): Likewise.
35047 (nearbyintf): Likewise.
35048 (ceil): Likewise.
35049 (ceilf): Likewise.
35050 (floor): Likewise.
35051 (floorf): Likewise.
35052
3e5aef87
L
350532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35054
428bd707
L
35055 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35056 on both fields and cast pointer to __syscall_ulong_t.
35057
3e5aef87
L
35058 * bits/types.h (__fsword_t): New type.
35059 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35060 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35062 (__FSWORD_T_TYPE): Likewise.
35063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35064 (__FSWORD_T_TYPE): Likewise.
35065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35066 (__FSWORD_T_TYPE): Likewise.
35067 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35068 (__FSWORD_T_TYPE): Likewise.
35069 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35070 __SWORD_TYPE with __fsword_t.
35071 (statfs64): Likewise.
35072
1ba7c3dc
DM
350732012-05-17 David S. Miller <davem@davemloft.net>
35074
35075 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35076
59910343
AJ
350772012-05-17 Andreas Jaeger <aj@suse.de>
35078
35079 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35080 warning.
35081
2e4c1e9e
L
350822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35083
35084 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35085
de7f5ce7
AJ
350862012-05-17 Andreas Jaeger <aj@suse.de>
35087
35088 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35089 when it is used.
35090
286abc3d
CM
350912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35092
35093 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35094
477cc68e
L
350952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35096
35097 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35098 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35099
1a0994f5
CD
351002012-05-17 Andreas Jaeger <aj@suse.de>
35101 Carlos O'Donell <carlos_odonell@mentor.com>
35102
35103 [BZ #14059]
35104 * sysdeps/x86_64/multiarch/init-arch.h
35105 (bit_YMM_Usable): Rename to...
35106 (bit_AVX_Usable): ... this.
35107 (bit_FMA4_Usable): New macro.
35108 (bit_XMM_state): New macro.
35109 (bit_YMM_state): New macro.
35110 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35111 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35112 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35113 (CPUID_OSXSAVE): New macro.
35114 (CPUID_AVX): New macro.
35115 (CPUID_FMA4): New macro.
35116 (index_YMM_Usable): Rename to...
35117 (index_AVX_Usable): ... this.
35118 (HAS_AVX): Use HAS_ARCH_FEATURE.
35119 (HAS_FMA4): Likewise.
35120 (HAS_YMM_USABLE): Remove.
35121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35122 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35123 are present.
35124 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35125 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35126 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35127 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35128 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35129
0af797de
CM
351302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35131
35132 * math/libm-test.c: Support platforms without multiple rounding modes.
35133 * math/bug-nextafter.c: Support platforms without FP exceptions.
35134 * math/bug-nexttoward.c: Likewise.
35135 * math/test-fenv.c: Likewise.
35136 * math/test-misc.c: Likewise.
35137 * stdlib/bug-getcontext.c: Likewise.
35138
e39745ff
AJ
351392012-05-17 Andreas Jaeger <aj@suse.de>
35140
35141 * manual/examples/search.c (critter_cmp): Change signature to
35142 avoid warnings.
35143 * manual/string.texi (Collation Functions): Likewise.
35144
48970aba
L
351452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35146
35147 * bits/types.h: Fold copyright years.
35148 * bits/typesizes.h: Likewise.
35149 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35151 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35152 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35153 * time/time.h: Likewise.
35154
bedee953
PP
351552012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35156
35157 [BZ #208]
35158 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35159 in instead of returning them. Return void.
35160 (__libc_mallinfo): Accumulate over all arenas.
35161 (__malloc_stats): Adjust for change in int_mallinfo interface.
35162
61653dfb
RM
351632012-05-16 Roland McGrath <roland@hack.frob.com>
35164
30b99d79
RM
35165 [BZ #10375]
35166 * configure.in (NM): Add AC_CHECK_TOOL for it.
35167 (libc_extra_cflags): New substituted variable.
35168 Check for -fstack-protector being used implicitly.
35169 * configure: Regenerated.
35170 * config.make.in (config-extra-cflags): New variable,
35171 gets @libc_extra_cflags@.
35172 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35173
61653dfb
RM
35174 [BZ #10375]
35175 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35176 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35177 * configure: Regenerated.
35178 * config.make.in (CPPUNDEFS): New substituted variable.
35179 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35180 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35181 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35182
661768bb
L
351832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35184
35185 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35186 (mq_attr): Use __syscall_slong_t.
35187
d4261567
L
351882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35189
35190 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35191 Check __x86_64__ instead of __WORDSIZE.
35192 (_STAT_VER_LINUX): Likewise.
35193 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35194 __syscall_ulong_t and __syscall_slong_t.
35195 (stat64): Likewise.
35196
cf3ff365
L
351972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35198
35199 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35200
76cf3e4d
L
352012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35202
35203 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35204
a637753a
L
352052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35206
35207 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35208 __syscall_ulong_t.
35209
d5e05119
L
35210 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35211 include <bits/wordsize.h>. Check __x86_64__ instead of
35212 __WORDSIZE.
35213 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35214 defined.
35215 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35216
f62ee380
L
35217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35218 include <bits/wordsize.h>. Check __x86_64__ instead of
35219 __WORDSIZE.
35220 (user_regs_struct): Use "__extension__ unsigned long long"
35221 instead of "unsigned long" if __x86_64__ is defined.
35222 (user): Likewise. Pad after pointer field if __ILP32__ is
35223 defined.
35224
4e124ced
JM
352252012-05-16 Joseph Myers <joseph@codesourcery.com>
35226
6a3951a0
JM
35227 * configure.in (makeinfo): Require version 4.5 or later. Allow
35228 versions 5 to 9.
35229 * configure: Regenerated.
35230 * manual/install.texi (texinfo): Increase version requirement to
35231 4.5 or later.
35232 * INSTALL: Regenerated.
35233
4e124ced
JM
35234 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35235
953ca31a
L
352362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35237
35238 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35239
617aca05
L
35240 * sysdeps/x86_64/x32/ffs.c: New file.
35241
5762f7ae
L
35242 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35243 __syscall_ulong_t.
35244 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35245 defined. Use __syscall_ulong_t.
35246 (shminfo): Use __syscall_ulong_t.
35247 (shm_info): Likewise.
35248
a26b6856
L
35249 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35250 __syscall_ulong_t.
35251
cb2b9ef7
L
35252 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35253 <bits/wordsize.h>.
35254 (msgqnum_t): Use __syscall_ulong_t.
35255 (msglen_t): Likewise.
35256 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35257 __syscall_ulong_t.
35258
34683bb0
L
35259 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35260 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35261
84a68786
L
35262 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35263
48baa5f1
L
35264 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35265 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35266
180be88b
L
35267 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35268 __syscall_slong_t.
35269
5e90c8ad
L
35270 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35271 include <bits/wordsize.h>. Check __x86_64__ instead of
35272 __WORDSIZE.
35273
23dfb58b
L
35274 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35275 "unsigned long long int" if __x86_64__ is defined.
35276 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35277
ce5d54b0
L
35278 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35279 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35280 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35281
13dc9eac
L
35282 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35283 <stdint.h>.
35284 (GET_PC): Cast to uintptr_t first.
35285 (GET_FRAME): Likewise.
35286 (GET_STACK): Likewise.
35287
a7895d15
L
35288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35289 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35291 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35293 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35294 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35295 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35296 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35297 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35298 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35301 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35302 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35303 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35304 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35305 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35306 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35307 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35308 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35309 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35310 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35311 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35312 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35313 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35314 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35316 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35317
656416c9
AS
353182012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35319
5bd66283
AS
35320 * Makerules (+depfiles): Also collect depfiles from .oS in
35321 $(extra-objs).
35322 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35323 .oS, $(libnldbl-routines)).
35324
656416c9
AS
35325 * Makerules (native-compile-mkdep-flags): Define.
35326 * sunrpc/Makefile (extra-objs): Add $(addprefix
35327 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35328 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35329 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35330 calling $(make-target-directory).
35331
a46f2169
L
353322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35333
35334 * bits/types.h (__snseconds_t): Removed.
35335 * time/time.h (struct timespec): Replace __snseconds_t with
35336 __syscall_slong_t.
35337 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35338 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35339 Likewise.
35340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35341 (__SNSECONDS_T_TYPE): Likewise.
35342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35343 (__SNSECONDS_T_TYPE): Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35345 (__SNSECONDS_T_TYPE): Likewise.
35346
6af6528b
L
353472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35348
35349 * sysdeps/mach/hurd/bits/typesizes.h
35350 (__SYSCALL_SLONG_TYPE): New macro.
35351 (__SYSCALL_ULONG_TYPE): Likewise.
35352
de986b56
L
353532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35354
35355 * bits/types.h (__syscall_slong_t): New type.
35356 (__syscall_ulong_t): Likewise.
35357
35358 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35359 (__SYSCALL_ULONG_TYPE): Likewise.
35360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35361 (__SYSCALL_SLONG_TYPE): Likewise.
35362 (__SYSCALL_ULONG_TYPE): Likewise.
35363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35364 (__SYSCALL_SLONG_TYPE): Likewise.
35365 (__SYSCALL_ULONG_TYPE): Likewise.
35366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35367 (__SYSCALL_SLONG_TYPE): Likewise.
35368 (__SYSCALL_ULONG_TYPE): Likewise.
35369
85736dc7
L
353702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35371
35372 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35373 Add sigaltstack-offsets.sym.
35374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35375 <sigaltstack-offsets.h>.
35376 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35377 longjmp_msg pointer.
35378 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35379 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35380 signal stack.
35381 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35382
cc03b296
JM
353832012-05-15 Joseph Myers <joseph@codesourcery.com>
35384
a9538892
JM
35385 * elf/stackguard-macros.h: Remove file.
35386 * sysdeps/generic/stackguard-macros.h: New file.
35387 * sysdeps/i386/stackguard-macros.h: Likewise.
35388 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35389 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35390 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35391 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35392 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35393 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35394 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35395 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35396 <elf/stackguard-macros.h>.
35397
cc03b296
JM
35398 [BZ #14109]
35399 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35400 __aligned__ in attribute.
35401 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35402 (gregset_t): Likewise.
35403
93171016
L
354042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35405
35406 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35407 * sysdeps/x86_64/64/Implies-after: Here. New file.
35408 * sysdeps/x86_64/x32/Implies-after: New file.
35409
d86813a0
L
354102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35411
35412 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35413 and access return value for _dl_profile_fixup. Use R10_LP to
35414 load frame size.
35415
2953ec75
L
354162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35417
35418 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35419
3b550e9e
L
354202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35421
35422 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35423 * sysdeps/x86_64/x32/sysdep.h: New file.
35424
eda41706
L
354252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35426
35427 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35428 * sysdeps/x86_64/setjmp.S: Likewise.
35429
9ea01d93
AZ
354302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35431
35432 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35433 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35434 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35435 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35436 remove unused global constant.
35437
02a91938
CM
354382012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35439
35440 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35441 include of <not-cancel.h>.
35442
6540185f
RM
354432012-05-15 Roland McGrath <roland@hack.frob.com>
35444
35445 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35446
509072a0
AJ
354472012-05-15 Jeff Law <law@redhat.com>
35448 Andreas Jaeger <aj@suse.de>
35449
35450 [BZ #13594]
35451 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35452 out from...
35453 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35454 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35455 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35456 code changing __hst_map_handle.map.
35457
ba75122d
RM
354582012-05-15 Roland McGrath <roland@hack.frob.com>
35459
35460 * configure.in (sysnames): Look for Implies-before and Implies-after
35461 files.
35462 * configure: Regenerated.
35463
890d8bd8
L
354642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35465
35466 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35467 8-byte data alignment with LP_SIZE alignment.
35468
f6ee6623
L
354692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35470
35471 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35472 into R10_LP.
35473
ea2626f6
L
354742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35475
35476 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35477
085f715e
L
354782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35479
35480 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35481 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35482 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35483 Likewise.
35484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35485
be8498fc
L
354862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35487
35488 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35489 (stackinfo_sub_sp): Likewise.
35490
70bc83b9
L
354912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35492
35493 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35494 RAX_LP.
35495
9bc0b730
L
354962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35497
35498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35499 into R*_LP.
35500
6d2850e7
L
355012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35502
35503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35504 sizes into R*_LP.
35505
3cb84561
L
355062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35507
35508 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35509
54e2ed81
L
355102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35511
35512 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35513 into R11_LP and load __x86_64_shared_cache_size_half into
35514 R8_LP.
35515
8a17f349
L
355162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35517
35518 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35519 R8_LP.
35520
777b1eea
AZ
355212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35522
35523 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35524 logb for POWER7.
35525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35526 logbf for POWER7.
35527 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35528 logbl for POWER7.
35529 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35530 powerpc32/power7/fpu/s_logb.c via #include.
35531 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35532 powerpc32/power7/fpu/s_logbf.c via #include.
35533 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35534 powerpc32/power7/fpu/s_logbl.c via #include.
35535
d20d4ac2
JM
355362012-05-15 Joseph Myers <joseph@codesourcery.com>
35537
35538 * README.libm: Remove file.
35539
6cdef1ab
L
355402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35541
35542 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35543 count for x32. Use R*_LP and omit operand-size suffix.
35544
0b254d8f
L
355452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35546
35547 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35548 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35549 * sysdeps/x86_64/x32/shlib-versions: New file.
35550
ceb809dc
RM
355512012-05-14 Roland McGrath <roland@hack.frob.com>
35552
35553 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35554 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35555 Use _dl_fatal_printf instead.
35556
37f1abd4
JM
355572012-05-14 Joseph Myers <joseph@codesourcery.com>
35558
35559 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35560 set if not set by the user. Do not allow for being unset.
35561 * sysdeps/unix/sysv/linux/configure: Regenerated.
35562
11de3a33
L
355632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35564
35565 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35566 the `q' suffix from lea and replace .quad with ASM_ADDR.
35567
e02f153a
L
355682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35569
35570 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35571 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35572 instead of $17.
35573 (PTR_DEMANGLE): Likewise.
35574
520ae0fd
L
355752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35576
35577 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35578 (LP_OP): Likewise.
35579 (ASM_ADDR): Likewise.
35580 (RAX_LP): Likewise.
35581 (RBP_LP): Likewise.
35582 (RBX_LP): Likewise.
35583 (RCX_LP): Likewise.
35584 (RDI_LP): Likewise.
35585 (RSI_LP): Likewise.
35586 (RSP_LP): Likewise.
35587 (R8_LP): Likewise.
35588 (R9_LP): Likewise.
35589 (R10_LP): Likewise.
35590 (R10_LP): Likewise.
35591 (R11_LP): Likewise.
35592 (R12_LP): Likewise.
35593 (R13_LP): Likewise.
35594 (R14_LP): Likewise.
35595 (R15_LP): Likewise.
35596
b985be81
L
355972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35598
35599 * sysdeps/x86_64/x32/dl-machine.h: New file.
35600
6a4888ff
AJ
356012012-05-14 Andreas Jaeger <aj@suse.de>
35602
35603 * manual/Makefile (subdir): Remove export of subdir.
35604 (all): Remove target.
35605 (.PHONY): Remove all from list.
35606 (mkinstalldirs): Remove.
35607 (.PHONY): Remove installdirs from list.
35608 ($(inst_infodir)/libc.info): Use make-target-directory.
35609 (installdirs): Remove.
35610 (subdir_%): Remove.
35611 (glibc-targets): Remove.
35612 (lib): Remove.
35613 (stubs): Remove.
35614 ($(objpfx)stubs ../po/manual.pot): Remove.
35615 ($(objpfx)stamp%): Remove.
35616 (make-target-directory): Remove.
35617 (subdir_install): Remove.
35618 (routines): Remove.
35619 (aux): Remove.
35620 (sources): Remove.
35621 (objects): Remove.
35622 (headers): Remove.
35623
35624 [BZ #13750]
35625 * manual/.gitignore: Remove, it's not needed anymore.
35626 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35627 all files in it.
35628 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35629 directory.
35630 (texis): Renamed to $(objpfx)texis.
35631 (texis-path): New, contains path to generated files.
35632 (chapters.%): Use texis-path for complete path, add extra argument
35633 libc-texinfo.sh.
35634 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35635 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35636 (summary,texi, stamp-summary): Use complete path of
35637 files. Generate files in build dir.
35638 (dir-add.texi): Build in build dir.
35639 (libm-err.texi,stamp-libm-err): Likewise.
35640 (version.texi, stamp-version): Likewise.
35641 (.%c.texi): Likewise.
35642 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35643 (mostlyclean): Remove target.
35644 (realclean): Remove target.
35645 (generated): Add new variable with contents from mostlyclean and
35646 realclean, remove entries duplicated in common-mostlyclean, add
35647 stamp-libm-err and stamp-version.
35648 (generated-dirs): Add libc directory.
35649 ($(inst_infodir)/libc.info): Install files from build dir.
35650
35651 * manual/install.texi (Configuring and compiling): Adjust since
35652 the info files are not part of the tar ball anymore.
35653
7ac77294
AJ
356542012-05-14 Andreas Jaeger <aj@suse.de>
35655
35656 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35657 variable.
35658
ffb7875d
JM
356592012-05-14 Joseph Myers <joseph@codesourcery.com>
35660
35661 [BZ #13717]
35662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35663 to 2.2.0 where earlier.
35664 * sysdeps/unix/sysv/linux/configure: Regenerated.
35665 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35666 Remove conditional code.
35667 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35668 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35669 Remove conditional code.
35670 [!__NR_lchown]: Likewise.
35671 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35672 [__NR_lchown]: Likewise.
35673 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35674 comment referencing __ASSUME_LCHOWN_SYSCALL.
35675 * sysdeps/unix/sysv/linux/i386/sigaction.c
35676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35678 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35679 Remove conditional code.
35680 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35681 (__protocol_available): Remove #if 0 code.
35682 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35683 conditional code.
35684 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35685 * sysdeps/unix/sysv/linux/kernel-features.h
35686 (__ASSUME_GETCWD_SYSCALL): Don't define.
35687 (__ASSUME_REALTIME_SIGNALS): Likewise.
35688 (__ASSUME_PREAD_SYSCALL): Likewise.
35689 (__ASSUME_PWRITE_SYSCALL): Likewise.
35690 (__ASSUME_POLL_SYSCALL): Likewise.
35691 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35692 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35693 non-SPARC.
35694 (__ASSUME_SIOCGIFNAME): Don't define.
35695 (__ASSUME_MSG_NOSIGNAL): Likewise.
35696 (__ASSUME_SENDFILE): Define unconditionally.
35697 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35698 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35699 conditional code.
35700 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35701 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35702 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35703 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35704 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35705 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35706 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35708 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35711 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35714 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35720 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35723 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35726 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35729 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35731 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35732 Remove conditional code.
35733 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35734 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35735 Remove conditional code.
35736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35737 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35738 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35739 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35740 Remove conditional code.
35741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35742 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35743 Remove conditional code.
35744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35745 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35746 Remove conditional code.
35747 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35748 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35749 Remove conditional code.
35750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35751 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35752 Remove conditional code.
35753 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35754 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35755 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35757 * sysdeps/unix/sysv/linux/sigaction.c
35758 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35759 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35760 * sysdeps/unix/sysv/linux/sigpending.c
35761 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35762 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35763 * sysdeps/unix/sysv/linux/sigprocmask.c
35764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35766 * sysdeps/unix/sysv/linux/sigsuspend.c
35767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35769 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35770 (__libc_missing_rt_sigs): Remove.
35771 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35772 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35773 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35774 Remove conditional code.
35775 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35776 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35777 return 1.
35778 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35779 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35780 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35781 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35782
1bfb7291
AJ
357832012-05-14 Andreas Jaeger <aj@suse.de>
35784
caae5a81
AJ
35785 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35786 it's not used in glibc.
35787 (__coshm1): Likewise.
35788 (__acosh1p): Likewise.
35789 (__sgn): Likewise.
35790
1bfb7291
AJ
35791 * manual/string.texi (Copying and Concatenation): Add missing
35792 variable in concat example.
35793 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35794
c044d724
L
357952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35796
144c5467 35797 [BZ #14103]
c044d724
L
35798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35799 __builtin_clzl with __builtin_clzll.
35800
2523c62b
L
358012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35802
35803 [BZ #14104]
35804 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35805 libc_freeres_ptr.
35806
d7bb4c42
LD
358072012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35808
35809 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35810 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35811 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35812 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35813
9dc4e1fb
MF
358142012-05-14 Mike Frysinger <vapier@gentoo.org>
35815
35816 * NEWS: Update ia64 info.
35817
c7df0112
AS
358182012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35819
35820 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35821 used as bcopy.
35822
dc70356c
TS
358232012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35824
35825 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35826 * sysdeps/unix/syscalls.list (dup3): Likewise.
35827 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35828 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35829
9fb1a21f
L
358302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35831
35832 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35833 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35834
4822a2a5
L
358352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35836
35837 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35838 thread pointer.
35839 (TLS_IE): Use mov/add instead of movq/addq to load thread
35840 pointer.
35841 (TLS_GD_PREFIX): New.
35842 (TLS_GD): Use it.
35843
842b81d6
DM
358442012-05-11 David S. Miller <davem@davemloft.net>
35845
35846 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35847 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35848 (_FPU_SETCW): Likewise.
35849
1cf463cd
L
358502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35851
35852 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35853 is 32-byte aligned.
35854
60cc4a18
AS
358552012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35856
35857 [BZ #11837]
35858 * iconvdata/gb18030.c: Update tables.
35859 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35860 characters specially.
35861 (BODY for TO_LOOP): Add encoding of missing ranges.
35862
febb44a4
TS
358632012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35864
35865 [BZ #13673]
35866 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35867 * sysdeps/mach/hurd/dup3.c: Likewise.
35868 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35869 * sysdeps/powerpc/memmove.c:: Likewise.
35870
0a10fb9e
L
358712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35872
35873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35874 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35875
df8a552f
L
358762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35877
35878 * elf/elf.h (R_X86_64_RELATIVE64): New.
35879 (R_X86_64_NUM): Updated.
35880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35881 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35882 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35883 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35884 tst-quad1pie tst-quad2pie
35885 (modules-names): Add tst-quadmod1 tst-quadmod2.
35886 ($(objpfx)tst-quad1): New dependency.
35887 ($(objpfx)tst-quad2): Likewise.
35888 ($(objpfx)tst-quad1pie): Likewise.
35889 ($(objpfx)tst-quad2pie): Likewise.
35890 * sysdeps/x86_64/tst-quad1.c: New file.
35891 * sysdeps/x86_64/tst-quad1pie.c: New file.
35892 * sysdeps/x86_64/tst-quad2.c: Likewise.
35893 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35894 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35895 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35896 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35897 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35898
f34d6f84
ST
358992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35900
f42d41d1
ST
35901 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35902 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35903 * streams/stropts.h (t_scalar_t): Define type.
35904
3c3571fc
ST
35905 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35906 (_PATH_PRESERVE): Set to "/var/lib".
35907 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35908
61f06bd3
ST
35909 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35910 instead of int.
35911
918d4d71
ST
35912 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35913 if __dir_mkfile succeeded.
35914
f34d6f84
ST
35915 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35916 checking for _hurd_dtablesize. Unlock it right after having
35917 finished _hurd_dtable allocation.
35918
10589b4a
TS
359192012-05-10 Thomas Schwinge <thomas@schwinge.name>
35920
674cdbc7
TS
35921 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35922 * sysdeps/mach/hurd/configure: Regenerated.
35923 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35924 special-casing to...
35925 * sysdeps/gnu/configure.in: ... this new file.
35926 * sysdeps/unix/sysv/linux/configure: Regenerated.
35927 * sysdeps/gnu/configure: New generated file.
35928
8e41b99f
TS
35929 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35930 for Linux: use nsec instead of usec, as well as:
35931 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35932 members of type struct timespec.
35933 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35934 New macros.
35935 (struct stat64): Likewise.
35936 (_STATBUF_ST_NSEC): New macro.
35937 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35938
10589b4a
TS
35939 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35940 __strtoul_internal rather than strtoul.
35941
63643c85
PT
359422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35943
35944 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35945 and reject them.
35946
3faebe6a
ST
359472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35948
35949 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35950 which preserves existing values.
35951 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35952
c6474b07
PT
359532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35954
35955 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35956 TIMEOUT values. Return EINVAL for NFDS values either negative or
35957 greater than FD_SETSIZE.
35958
1043890b
ST
359592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35960
35961 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35962 allocated, call __vm_protect to finish enabling the existing space, and
35963 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35964 allocate the remainder.
35965
37ed8b9b
PT
359662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35967
35968 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35969 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35970
db653660
ST
359712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35972
37ed8b9b
PT
35973 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35974 sysdeps/mach/hurd/readlink.c.
b29d4053 35975
db653660
ST
35976 * posix/tst-sysconf.c (posix_options): Only use
35977 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35978 _POSIX_SYNCHRONIZED_IO when they are defined
35979 * sysdeps/mach/hurd/bits/posix_opt.h:
35980 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35981 (_XOPEN_REALTIME): Undefine macro.
35982 (_XOPEN_REALTIME_THREADS): Undefine macro.
35983 (_XOPEN_SHM): Undefine macro.
35984 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35985 macro to -1.
35986 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35987 macro to -1.
35988 (_POSIX_ASYNC_IO): Undefine macro.
35989 (_POSIX_PRIORITIZED_IO): Undefine macro.
35990 (_POSIX_SPIN_LOCKS): Define macro to -1.
35991
ee16e894
ST
35992 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35993 SA_NODEFER, SA_RESETHAND.
35994 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35995 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35996 F_DUPFD_CLOEXEC.
35997
6103ae3b
TS
359982012-05-10 Thomas Schwinge <thomas@schwinge.name>
35999
36000 * elf/Makefile (pldd-modules): Define unconditionally.
36001
80b4e5f3
TS
360022012-05-10 Thomas Schwinge <thomas@schwinge.name>
36003
36004 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36005
edadcbd6
ST
360062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36007
36008 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36009 Return ENOENT when name is empty.
36010 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36011
80694780
TS
360122012-05-10 Thomas Schwinge <thomas@schwinge.name>
36013
1792c087
TS
36014 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36015
80694780
TS
36016 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36017
6b645f0d
ST
360182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36019
80694780
TS
36020 Fix mlock in all cases except non-readable pages.
36021 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36022 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36023
6b645f0d
ST
36024 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36025 (__mkdir): When path is `/', just fail with EEXIST.
36026 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36027
e468f8a3
TS
360282012-05-10 Thomas Schwinge <thomas@schwinge.name>
36029
36030 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36031 <sys/uio.h> (for writev).
36032 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36033 and <sys/param.h> (for MIN).
36034
a4186cff
PT
360352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36036
36037 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36038 REQUESTED_TIME. Properly set the remaining time and return EINTR
36039 if interrupted.
36040
510bbf14
TS
360412012-05-10 Thomas Schwinge <thomas@schwinge.name>
36042
36043 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36044 Depend on against $(link-rpcuserlibs).
36045
5d5722e8
ST
360462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36047
a4186cff
PT
36048 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36049 (__libc_stack_end): Do not use attribute_relro.
36050 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36051 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36052 to libthread-provided value.
a4186cff
PT
36053 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36054 attribute_relro.
5d5722e8 36055
37233df9
TS
360562012-05-10 Thomas Schwinge <thomas@schwinge.name>
36057
be971a2b
TS
36058 [BZ #3748]
36059 * bits/libc-lock.h (__libc_once_get): New macro.
36060 * sysdeps/mach/bits/libc-lock.h: Likewise.
36061 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36063 instead of using implementation details.
36064
37233df9
TS
36065 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36066 * libio/freopen.c: Likewise.
36067 * libio/freopen64.c: Likewise.
36068 * misc/syslog.c: Likewise.
36069 * nscd/connections.c: Likewise.
36070 * nscd/netgroupcache.c: Likewise.
36071 * sysdeps/posix/getcwd.c: Likewise.
36072
38de94a5
RM
360732012-05-10 Roland McGrath <roland@hack.frob.com>
36074
36075 * math/w_ilogbf.c: Add #include <limits.h>.
36076
67530489
ST
360772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36078
a4186cff 36079 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36080 path instead of returning without unlocking.
36081
67530489
ST
36082 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36083 immediate-write ioctls.
36084 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36085
5aa3a74a
TS
360862012-05-10 Thomas Schwinge <thomas@schwinge.name>
36087
18bad2ae
TS
36088 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36089 __builtin_frame_address instead of making assumptions about the
36090 location of the return address relative to DATA. Force early load of
36091 the return address.
36092 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36093 __builtin_frame_address.
36094
5aa3a74a
TS
36095 dup3 for GNU Hurd.
36096 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36097 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36098 implement dup3 and do some further code clean-ups.
36099 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36100 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36101
ecd0de9a
ST
361022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36103
cd9fa985
ST
36104 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36105
a4186cff
PT
36106 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36107 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36108 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36109 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36110 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36111 d->port.lock.
802ca5a5 36112
a4186cff
PT
36113 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36114 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36115 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36116
bcf55240
TS
361172012-05-10 Thomas Schwinge <thomas@schwinge.name>
36118
6960eb42
TS
36119 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36120 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36121 definitions.
36122
eb43375f
TS
36123 accept4 for GNU Hurd.
36124 * include/sys/socket.h (__libc_accept4): New prototype.
36125 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36126 to implement __libc_accept4.
36127 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36128 __libc_accept4.
36129 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36130
bcf55240
TS
36131 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36132 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36133 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36134 signal-defines.sym.
36135
6178c55b
ST
361362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36137
a4186cff 36138 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36139
6f080c2f
TS
361402012-05-10 Thomas Schwinge <thomas@schwinge.name>
36141
36142 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36143 assertion on O_CLOEXEC flag.
36144 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36145 * hurd/intern-fd.c: Likewise.
36146 * hurd/port2fd.c: Likewise.
36147
bcfe3a54
ST
361482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36149
36150 [BZ #3906]
36151 * bits/in.h (IPV6_PKTINFO): Define new macro.
36152 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36153
89c9aa49
AZ
361542012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36155
36156 [BZ #13954]
36157 [BZ #13955]
36158 [BZ #13956]
36159 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36160 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36161 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36162 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36163 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36164 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36165 * math/libm-test.inc (logb_test) : Additional logb tests.
36166
021db4be
AJ
361672012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36168 Andreas Jaeger <aj@suse.de>
36169
36170 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36171 * configure: Regenerated.
36172 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36173 * config.make.in (link-obsolete-rpc): New substituted variable.
36174 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36175 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36176 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36177 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36178 so that libc.a contains the symbols.
36179 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36180 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36181 * sunrpc/auth_none.c: Likewise.
36182 * sunrpc/auth_unix.c: Likewise.
36183 * sunrpc/authdes_prot.c: Likewise.
36184 * sunrpc/authuxprot.c: Likewise.
36185 * sunrpc/clnt_gen.c: Likewise.
36186 * sunrpc/clnt_perr.c: Likewise.
36187 * sunrpc/clnt_raw.c: Likewise.
36188 * sunrpc/clnt_simp.c: Likewise.
36189 * sunrpc/clnt_tcp.c: Likewise.
36190 * sunrpc/clnt_udp.c: Likewise.
36191 * sunrpc/clnt_unix.c: Likewise.
36192 * sunrpc/des_crypt.c: Likewise.
36193 * sunrpc/des_soft.c: Likewise.
36194 * sunrpc/get_myaddr.c: Likewise.
36195 * sunrpc/key_call.c: Likewise.
36196 * sunrpc/key_prot.c: Likewise.
36197 * sunrpc/netname.c: Likewise.
36198 * sunrpc/pm_getmaps.c: Likewise.
36199 * sunrpc/pm_getport.c: Likewise.
36200 * sunrpc/pmap_clnt.c: Likewise.
36201 * sunrpc/pmap_prot.c: Likewise.
36202 * sunrpc/pmap_prot2.c: Likewise.
36203 * sunrpc/pmap_rmt.c: Likewise.
36204 * sunrpc/publickey.c: Likewise.
36205 * sunrpc/rpc_cmsg.c: Likewise.
36206 * sunrpc/rpc_common.c: Likewise.
36207 * sunrpc/rpc_dtable.c: Likewise.
36208 * sunrpc/rpc_prot.c: Likewise.
36209 * sunrpc/rpc_thread.c: Likewise.
36210 * sunrpc/rtime.c: Likewise.
36211 * sunrpc/svc.c: Likewise.
36212 * sunrpc/svc_auth.c: Likewise.
36213 * sunrpc/svc_raw.c: Likewise.
36214 * sunrpc/svc_run.c: Likewise.
36215 * sunrpc/svc_tcp.c: Likewise.
36216 * sunrpc/svc_udp.c: Likewise.
36217 * sunrpc/svc_unix.c: Likewise.
36218 * sunrpc/svcauth_des.c: Likewise.
36219 * sunrpc/xcrypt.c: Likewise.
36220 * sunrpc/xdr.c: Likewise.
36221 * sunrpc/xdr_array.c: Likewise.
36222 * sunrpc/xdr_float.c: Likewise.
36223 * sunrpc/xdr_intXX_t.c: Likewise.
36224 * sunrpc/xdr_mem.c: Likewise.
36225 * sunrpc/xdr_rec.c: Likewise.
36226 * sunrpc/xdr_ref.c: Likewise.
36227 * sunrpc/xdr_sizeof.c: Likewise.
36228 * sunrpc/xdr_stdio.c: Likewise.
36229
b5c086a2
RM
362302012-05-10 Roland McGrath <roland@hack.frob.com>
36231
36232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36233 change. Update copyright years.
36234
6d74dd09
JM
362352012-05-10 Joseph Myers <joseph@codesourcery.com>
36236
36237 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36238
28e72501
MK
362392012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36240 Joseph Myers <joseph@codesourcery.com>
36241 Paul Pluzhnikov <ppluzhnikov@google.com>
36242
36243 [BZ #14012]
36244 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36245 requiring rpcgen.
36246 [cross-compiling] (extra-libs): Likewise.
36247 [cross-compiling] (extra-libs-others): Likewise.
36248 [cross-compiling] (librpcsvc-routines): Likewise.
36249 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36250 [cross-compiling] (omit-deps): Likewise.
36251 (sunrpc-CPPFLAGS): New variable.
36252 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36253 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36254 (cross-rpcgen-objs): New variable.
36255 (extra-objs): Append $(cross-rpcgen-objs).
36256 ($(cross-rpcgen-objs)): New rule.
36257 ($(objpfx)cross-rpcgen): Likewise.
36258 (rpcgen-cmd): Define to use $(built-program-file). Expand
36259 comment.
36260 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36261 ($(objpfx)x%.stmp): Likewise.
36262 * sunrpc/proto.h [IS_IN_build] (_): Define.
36263 [IS_IN_build] (_libc_intl_domainname): Likewise.
36264
c8c59454
L
362652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36266
36267 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36268 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36269 and R_X86_64_TPOFF64.
36270
6f27cd16
JM
362712012-05-10 Joseph Myers <joseph@codesourcery.com>
36272
36273 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36274 sysdeps/unix/sysv/syscalls.list.
36275 (stime): Likewise.
36276 (utime): Likewise.
36277 * sysdeps/unix/sysv/syscalls.list: Remove file.
36278
02467e1c
PE
362792012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36280
36281 [BZ #3440]
36282 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36283 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36284 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36285 (__LC_IDENTIFICATION): Make these macros useful in #if
36286 expressions, as required by C99.
36287
da392631
AS
362882012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36289
36290 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36291 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36292 after this.
36293
8115f29b
L
362942012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36295
36296 * stdlib/longlong.h: Updated from GCC.
36297
bdd74070
AJ
362982012-05-09 Andreas Jaeger <aj@suse.de>
36299
edfe0dbe
AJ
36300 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36301 default is first entry.
36302 (run_mode): Set type.
36303 (main): Remove informal message about syslog.
36304 (options): Fix typo.
36305
bcfe3a54
ST
36306 [BZ #14053]
36307 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36308 to asm.
bcfe3a54
ST
36309 (lrint): Likewise.
36310 (llrintf): Likewise.
36311 (llrint): Likewise.
36312 (rint): Likewise.
36313 (rintf): Likewise.
36314 (nearbyint): Likewise.
36315 (nearbyintf): Likewise.
bdd74070 36316
91d8d69e
AJ
363172012-05-09 Andreas Jaeger <aj@suse.de>
36318 Pedro Alves <palves@redhat.com>
36319
36320 * nscd/nscd.c (run_mode): Use enum.
36321 (main): Cleanup coding style issue.
36322
bb90b80b
AJ
363232012-05-09 Alexandre Oliva <aoliva@redhat.com>
36324 Andreas Jaeger <aj@suse.de>
36325
bcfe3a54
ST
36326 * nscd/nscd.c (go_background): Replaced with...
36327 (run_mode): ... this.
bb90b80b 36328 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36329 (options): Add -F --foreground.
36330 (main): Implement it.
36331 (parse_opt): Parse it.
bb90b80b 36332
1a4b75a1
AJ
363332012-05-09 Andreas Jaeger <aj@suse.de>
36334
36335 [BZ #14083]
36336 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36337 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36338 -Wconversion warning.
36339 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36340 Likewise.
36341
b1cc2472
JM
363422012-05-09 Joseph Myers <joseph@codesourcery.com>
36343
36344 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36345 == 0.
36346 (LC_ALL): Use macro-int-constant.
36347 (LC_COLLATE): Likewise.
36348 (LC_CTYPE): Likewise.
36349 (LC_MESSAGES): Likewise.
36350 (LC_MONETARY): Likewise.
36351 (LC_NUMERIC): Likewise.
36352 (LC_TIME): Likewise.
36353 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36354 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36356 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36357 Specify type.
36358 [C99-based standards] (float_t): Expect type.
36359 [C99-based standards] (double_t): Expect type.
36360 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36361 type.
36362 [C99-based standards] (HUGE_VALL): Likewise.
36363 [C99-based standards] (INFINITY): Likewise.
36364 [C99-based standards] (NAN): Likewise.
36365 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36366 [C99-based standards] (FP_NAN): Likewise.
36367 [C99-based standards] (FP_NORMAL): Likewise.
36368 [C99-based standards] (FP_SUBNORMAL): Likewise.
36369 [C99-based standards] (FP_ZERO): Likewise.
36370 [C99-based standards] (FP_FAST_FMA): Use
36371 optional-macro-int-constant. Specify type. Require == 1.
36372 [C99-based standards] (FP_FAST_FMAF): Likewise.
36373 [C99-based standards] (FP_FAST_FMAL): Likewise.
36374 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36375 [C99-based standards] (FP_ILOGBNAN): Likewise.
36376 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36377 Specify type.
36378 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36379 [C99-based standards] (math_errhandling): Specify type.
36380 [ISO99 || ISO11] (signgam): Do not allow.
36381 [non-C99-based standards] (copysignf): Do not allow.
36382 [non-C99-based standards] (exp2f): Likewise.
36383 [non-C99-based standards] (log2f): Likewise.
36384 [non-C99-based standards] (modff): Allow.
36385 [non-C99-based standards] (erff): Do not allow.
36386 [non-C99-based standards] (erfcf): Likewise.
36387 [non-C99-based standards] (gammaf): Likewise.
36388 [non-C99-based standards] (hypotf): Likewise.
36389 [non-C99-based standards] (j0f): Likewise.
36390 [non-C99-based standards] (j1f): Likewise.
36391 [non-C99-based standards] (jnf): Likewise.
36392 [non-C99-based standards] (lgammaf): Likewise.
36393 [non-C99-based standards] (tgammaf): Likewise.
36394 [non-C99-based standards] (y0f): Likewise.
36395 [non-C99-based standards] (y1f): Likewise.
36396 [non-C99-based standards] (ynf): Likewise.
36397 [non-C99-based standards] (isnanf): Likewise.
36398 [non-C99-based standards] (acoshf): Likewise.
36399 [non-C99-based standards] (asinhf): Likewise.
36400 [non-C99-based standards] (atanhf): Likewise.
36401 [non-C99-based standards] (cbrtf): Likewise.
36402 [non-C99-based standards] (expm1f): Likewise.
36403 [non-C99-based standards] (ilogbf): Likewise.
36404 [non-C99-based standards] (log1pf): Likewise.
36405 [non-C99-based standards] (logbf): Likewise.
36406 [non-C99-based standards] (nextafterf): Likewise.
36407 [non-C99-based standards] (remainderf): Likewise.
36408 [non-C99-based standards] (rintf): Likewise.
36409 [non-C99-based standards] (scalbf): Likewise.
36410 [non-C99-based standards] (copysignl): Likewise.
36411 [non-C99-based standards] (exp2l): Likewise.
36412 [non-C99-based standards] (log2l): Likewise.
36413 [non-C99-based standards] (modfl): Allow.
36414 [non-C99-based standards] (erfl): Do not allow.
36415 [non-C99-based standards] (erfcl): Likewise.
36416 [non-C99-based standards] (gammal): Likewise.
36417 [non-C99-based standards] (hypotl): Likewise.
36418 [non-C99-based standards] (j0l): Likewise.
36419 [non-C99-based standards] (j1l): Likewise.
36420 [non-C99-based standards] (jnl): Likewise.
36421 [non-C99-based standards] (lgammal): Likewise.
36422 [non-C99-based standards] (tgammal): Likewise.
36423 [non-C99-based standards] (y0l): Likewise.
36424 [non-C99-based standards] (y1l): Likewise.
36425 [non-C99-based standards] (ynl): Likewise.
36426 [non-C99-based standards] (isnanl): Likewise.
36427 [non-C99-based standards] (acoshl): Likewise.
36428 [non-C99-based standards] (asinhl): Likewise.
36429 [non-C99-based standards] (atanhl): Likewise.
36430 [non-C99-based standards] (cbrtl): Likewise.
36431 [non-C99-based standards] (expm1l): Likewise.
36432 [non-C99-based standards] (ilogbl): Likewise.
36433 [non-C99-based standards] (log1pl): Likewise.
36434 [non-C99-based standards] (logbl): Likewise.
36435 [non-C99-based standards] (nextafterl): Likewise.
36436 [non-C99-based standards] (remainderl): Likewise.
36437 [non-C99-based standards] (rintl): Likewise.
36438 [non-C99-based standards] (scalbl): Likewise.
36439 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36440 [non-C99-based standards] (FP_*): Do not allow.
36441 [C99-based standards] (FP_*): Change to
36442 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36443 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36444 allow.
36445 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36446 (SIG_ERR): Likewise.
36447 [X/Open-based standards] (SIG_HOLD): Likewise.
36448 (SIG_IGN): Likewise.
36449 (SIGABRT): Use macro-int-constant. Specify type. Require
36450 positive value.
36451 (SIGFPE): Likewise.
36452 (SIGILL): Likewise.
36453 (SIGINT): Likewise.
36454 (SIGSEGV): Likewise.
36455 (SIGTER): Likewise.
36456 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36457 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36458 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36459 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36460 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36461 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36462 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36463 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36464 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36465 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36466 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36467 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36468 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36469 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36470 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36471 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36472 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36473 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36474 [X/Open-based standards] (SIGTRAP): Likewise.
36475 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36476 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36477 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36478 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36479 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36480 allow.
36481
b9f1922d
IW
364822012-05-08 Ian Wienand <ianw@vmware.com>
36483
36484 [BZ #14080]
36485 * time/tzset.c (__tzset_parse_tz): Update default rules for
36486 daylight time changes in the Energy Policy Act of 2005.
36487
1db86e88
AJ
364882012-05-09 Andreas Jaeger <aj@suse.de>
36489
36490 [BZ #13983]
36491 * elf/ldconfig.c (parse_conf): Change string to make clear that
36492 ldconfig only issued a warning if ld.so.conf does not exist.
36493
dee4a4e3
DM
364942012-05-08 David S. Miller <davem@davemloft.net>
36495
ee0db190
DM
36496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36497 movxtod instead of popping the value on the stack.
36498
dee4a4e3
DM
36499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36500
6a43ec98
CD
365012012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36502
36503 * config.h.in: Add HAVE_ARM_PCS_VFP.
36504
05c2c961
RMG
365052012-05-08 Roland Mc Grath <roland@hack.frob.com>
36506
bcfe3a54
ST
36507 [BZ #13979]
36508 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36509 checking but the checks are disabled for any reason.
05c2c961 36510
4b30f61a
L
365112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36512
36513 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36514 and ELF64_R_TYPE with ELFW(R_TYPE).
36515
eee2bc67
JM
365162012-05-08 Joseph Myers <joseph@codesourcery.com>
36517
7ea5391a
JM
36518 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36519 (ulimit): Likewise.
36520
eee2bc67
JM
36521 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36522 (settimeofday): Likewise.
36523
abb66a67
MF
365242012-05-08 Mike Frysinger <vapier@gentoo.org>
36525
36526 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36527 a struct th_u2 inside the union, and move tu_block/tu_code into
36528 a new th_u3 union of tu_block/tu_code inside of that. Move
36529 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36530 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36531 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36532 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36533 (th_stuff): Change to th_u1.tu_stuff.
36534 (th_data): Define.
36535 (th_msg): Change to th_u1.th_u2.tu_data.
36536
7f18b530
DM
365372012-05-07 David S. Miller <davem@davemloft.net>
36538
05760585
DM
36539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36540
7f18b530
DM
36541 [BZ #14074]
36542 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36543 (SETUP_PIC_REG): Use it.
36544 (SETUP_PIC_REG_LEAF): Use it.
36545
495fd99f
JM
365462012-05-07 Joseph Myers <joseph@codesourcery.com>
36547
36548 [BZ #13885]
36549 [BZ #13923]
36550 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36551 USE_AS_EXPM1L.
36552 (EXPL_FINITE): Likewise.
36553 (FLDLOG): Likewise.
36554 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36555 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36556 e_expl.S.
36557 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36558 USE_AS_EXPM1L.
36559 (EXPL_FINITE): Likewise.
36560 (FLDLOG): Likewise.
36561 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36562 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36563 e_expl.S.
36564 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36565 test of -max_value argument for long double.
36566 * sysdeps/i386/fpu/libm-test-ulps: Update.
36567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36568
6693d694
DM
365692012-05-06 David S. Miller <davem@davemloft.net>
36570
36571 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36572 quad soft-float symbols whose references which are compiler
36573 generated.
36574 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36575
6c23e11c
JM
365762012-05-06 Joseph Myers <joseph@codesourcery.com>
36577
d8b82cad
JM
36578 [BZ #13884]
36579 [BZ #13914]
36580 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36581 USE_AS_EXP10L.
36582 (EXPL_FINITE): Likewise.
36583 (FLDLOG): Likewise.
36584 (c0): Likewise.
36585 (c1): Likewise.
36586 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36587 Adjust comments for base varying.
36588 (__expl_finite): Change alias to EXPL_FINITE.
36589 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36590 e_expl.S.
36591 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36592 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36593 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36594 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36595 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36596 USE_AS_EXP10L.
36597 (EXPL_FINITE): Likewise.
36598 (FLDLOG): Likewise.
36599 (c0): Likewise.
36600 (c1): Likewise.
36601 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36602 Adjust comments for base varying.
36603 (__expl_finite): Change alias to EXPL_FINITE.
36604 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36605 tests for bugs.
36606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36607
6c23e11c
JM
36608 [BZ #14064]
36609 * math/libm-test.inc (check_float_internal): Correct ulp
36610 calculation for subnormal expected results.
36611
29ba805c
AJ
366122012-05-06 Andreas Jaeger <aj@suse.de>
36613
36614 * Makeconfig (+math-flags): New, set to -frounding-math.
36615 (+cflags): Add +math-flags so that all of glibc gets compiled with
36616 it.
36617
36618 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36619
7b17aeda
JM
366202012-05-05 Joseph Myers <joseph@codesourcery.com>
36621
5779f134
JM
36622 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36623 Disable one test.
36624
41498f4d
JM
36625 [BZ #13787]
36626 [BZ #13922]
36627 [BZ #14036]
36628 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36629 (__ieee754_expl): Allow for and saturate large arguments.
36630 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36631 (u_threshold): Likewise.
36632 (__exp): Call __ieee754_exp before checking for overflow and
36633 underflow.
36634 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36635 (u_threshold): Likewise.
36636 (__expf): Call __ieee754_expf before checking for overflow and
36637 underflow.
36638 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36639 (u_threshold): Likewise.
36640 (__expl): Call __ieee754_expl before checking for overflow and
36641 underflow.
36642 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36643 (__ieee754_expl): Allow for and saturate large arguments.
36644 * math/libm-test.inc (exp_test): Add another test. Do not allow
36645 missing overflow exception on overflow.
36646 (expm1_test): Do not allow missing overflow exception on overflow.
36647
6698b8bf
JM
36648 * sysdeps/i386/fpu/e_expl.c: Move to ...
36649 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36650 rather than using inline asm.
36651 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36652 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36653 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36654
7b17aeda
JM
36655 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36656 (nice): Likewise.
36657 (poll): Likewise.
36658 (signal): Likewise.
36659 (time): Likewise.
36660 (times): Likewise.
36661
f7c85819
JM
366622012-05-04 Joseph Myers <joseph@codesourcery.com>
36663
36664 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36665 sysdeps/unix/common/syscalls.list.
36666 (fchmod): Likewise.
36667 (fchown): Likewise.
36668 (ftruncate): Likewise.
36669 (getrusage): Likewise.
36670 (gettimeofday): Likewise.
36671 (setpgid): Likewise.
36672 (setregid): Likewise.
36673 (setreuid): Likewise.
36674 (sigaction): Likewise.
36675 (truncate): Likewise.
36676 (vhangup): Likewise.
36677 * sysdeps/unix/common/syscalls.list: Remove file.
36678 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36679 * sysdeps/unix/sysv/linux/Implies: Likewise.
36680
336270d0
L
366812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36682
36683 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36685 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36686 Moved to ...
36687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36688 Here.
36689 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36690 to ...
36691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36692 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36693 to ...
36694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36695 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36696 to ...
36697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36698 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36699 to ...
36700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36701 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36702 to ...
36703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36704 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36705 to ...
36706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36707 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36708 to ...
36709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36710 Here.
36711 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36712 to ...
36713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36714 Here.
36715 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36716 to ...
36717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36718 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36719 Moved to ...
36720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36721 Here.
36722 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36723 to ...
36724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36725
d128e450
JM
367262012-05-04 Joseph Myers <joseph@codesourcery.com>
36727
fa8ee516
JM
36728 * sysdeps/unix/common/bits/dirent.h: Remove file.
36729 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36730
d128e450
JM
36731 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36732 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36733 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36734 * sysdeps/unix/bsd/isatty.c: Likewise.
36735 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36736 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36737 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36738
ff8faaf0 367392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36740
62881be4 36741 [BZ #13563]
31dc8730
AZ
36742 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36743 long double comparison inaccuracies.
36744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36746
6fef930c
AS
367472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36748
36749 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36751
8f203e6c
JM
367522012-05-04 Joseph Myers <joseph@codesourcery.com>
36753
36754 [BZ #14049]
36755 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36756 nonzero digits before rounding a hex value.
36757 * stdlib/tst-strtod.c (tests): Add another test.
36758
5197d9c2
AK
367592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36760
36761 * sysdeps/s390/fpu/libm-test-ulps: Update.
36762
f0c1dedf
AJ
367632012-05-03 Andreas Jaeger <aj@suse.de>
36764
36765 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36766 does not get optimized out.
36767 (malloc_opt_barrier): New.
36768
a65ef2ae 367692012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36770 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36771
2b942cb7 36772 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36773 intermediate file deletion.
2b942cb7 36774 (generated): Add .symlist files.
a65ef2ae 36775
54b71e02
JM
367762012-05-03 Joseph Myers <joseph@codesourcery.com>
36777
36778 [BZ #13775]
36779 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36780 Redirect under this condition.
36781 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36782 [__USE_GNU] (__dprintf_chk): Not under this condition.
36783 [__USE_GNU] (__vdprintf_chk): Likewise.
36784 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36785 under this condition.
36786 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36787 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36788 [__USE_XOPEN2K8] (vdprintf): Likewise.
36789 [__USE_GNU] (__dprintf_chk): Not under this condition.
36790 [__USE_GNU] (__vdprintf_chk): Likewise.
36791 [__USE_GNU] (dprintf): Likewise.
36792 [__USE_GNU] (vdprintf): Likewise.
36793
d3dfcc41
RM
367942012-05-03 Roland McGrath <roland@hack.frob.com>
36795
36796 * elf/Makefile (common-generated): Set this instead of generated for
36797 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36798 $(all-built-dso)-derived lists.
36799
7ac30cc5
AJ
368002012-05-03 Andreas Jaeger <aj@suse.de>
36801
0c51e550
AJ
36802 * sysdeps/i386/fpu/libm-test-ulps: Update.
36803
7ac30cc5
AJ
36804 * FAQ: Removed.
36805 * FAQ.in: Likewise.
36806 * scripts/gen-FAQ.pl: Likewise.
36807 * manual/install.texi (Installation): Point to online location of
36808 FAQ.
36809 * Makefile (files-for-dist): Remove FAQ.
36810 (FAQ): Remove.
36811
d4c2917f
AM
368122012-05-02 Allan McRae <allan@archlinux.org>
36813
36814 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36815 (LDFLAGS-reldepmod5.so): Likewise.
36816 (LDFLAGS-reldep6mod1.so): Likewise.
36817 (LDFLAGS-reldep6mod4.so): Likewise.
36818 (LDFLAGS-reldep8mod3.so): Likewise.
36819 (LDFLAGS-unload4mod1.so): Likewise.
36820 (LDFLAGS-unload4mod2.so): Likewise.
36821 (LDFLAGS-tst-initorder): Likewise.
36822 (LDFLAGS-tst-initordera2.so): Likewise.
36823 (LDFLAGS-tst-initordera3.so): Likewise.
36824 (LDFLAGS-tst-initordera4.so): Likewise.
36825 (LDFLAGS-tst-initorderb2.so): Likewise.
36826 (LDFLAGS-noload): Likewise.
36827 (LDFLAGS-next): Likewise.
36828 (LDFLAGS-order2mod1.so): Likewise.
36829 (LDFLAGS-order2mod2.so): Likewise.
36830 (LDFLAGS-tst-initorder2): Likewise.
36831 (LDFLAGS-tst-initorder2a.so): Likewise.
36832 (LDFLAGS-tst-initorder2b.so): Likewise.
36833 (LDFLAGS-tst-initorder2c.so): Likewise.
36834 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36835
d77f993f
DM
368362012-05-02 David S. Miller <davem@davemloft.net>
36837
36838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36839
171a70b4
PP
368402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36841
36842 [BZ #14055]
36843 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36844
0be196ad
AJ
368452012-05-02 Andreas Jaeger <aj@suse.de>
36846
36847 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36848 since we manipulate rounding mode.
36849 (CPPFLAGS-test-idouble.c): Likewise.
36850 (CPPFLAGS-test-ifloat.c): Likewise.
36851 (CFLAGS-test-ldouble.c): Likewise.
36852 (CFLAGS-test-double.c): Likewise.
36853 (CFLAGS-test-float.c): Likewise.
36854 (CFLAGS-test-misc.c): Likewise.
36855 (CFLAGS-test-test-fenv.c): Likewise.
36856
4f9d04aa
AZ
368572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36858
2b942cb7
RM
36859 [BZ #2550]
36860 [BZ #2570]
36861 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36862 comparisons to determine direction to adjust input.
4f9d04aa 36863
82a79e7d
RM
368642012-05-01 Roland McGrath <roland@hack.frob.com>
36865
f5a01ca9
RM
36866 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36867 output to the target.
36868
90fe4186
RM
36869 * scripts/localplt.awk: New file.
36870 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36871 (check-localplt-CFLAGS): Variable removed.
36872 ($(all-built-dso:=.jmprel)): New static pattern rule.
36873 (generated): Add those targets.
36874 (localplt-built-dso): New variable.
36875 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36876
36877 * elf/check-localplt.c: File removed.
36878
82397ed6
RM
36879 * scripts/check-execstack.awk: New file.
36880 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36881 (check-execstack-CFLAGS): Variable removed.
36882 ($(objpfx)check-execstack.h): Target removed.
36883 ($(objpfx)execstack-default): New target.
36884 (generated): Add that instead of check-execstack.h.
36885 ($(all-built-dso:=.phdr)): New static pattern rule.
36886 (generated): Add those targets.
36887 * elf/check-execstack.c: File removed.
36888
82a79e7d
RM
36889 * scripts/check-textrel.awk: New file.
36890 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36891 (check-textrel-CFLAGS): Variable removed.
36892 (all-built-dso): Use := to define.o
36893 ($(all-built-dso:=.dyn)): New static pattern rule.
36894 (generated): Add those targets.
36895 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36896 * config.make.in (READELF): New substituted variable.
36897 * elf/check-textrel.c: File removed.
36898
62fde54f 368992012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36900
615605c9
JM
36901 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36902 allow.
36903 * conform/data/ctype.h-data [C99-based standards] (isblank):
36904 Expect function.
36905 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36906 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36908 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36909 Specify type. Require positive value.
36910 (EILSEQ): Likewise.
36911 (ERANGE): Likewise.
36912 [ISO || POSIX] (EILSEQ): Do not expect.
36913 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36914 Specify type. Require positive value.
36915 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36917 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36922 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36923 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36924 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36925 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36926 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36927 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36928 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36929 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36930 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36931 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36932 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36933 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36934 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36935 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36936 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36937 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36938 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36939 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36940 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36941 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36942 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36943 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36944 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36945 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36946 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36947 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36948 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36949 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36950 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36951 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36952 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36953 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36954 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36955 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36956 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36957 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36958 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36959 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36960 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36961 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36962 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36963 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36964 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36966 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36967 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36968 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36969 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36970 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36971 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36972 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36973 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36974 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36975 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36976 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36977 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36978 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36979 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36980 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36981 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36982 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36983 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36984 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36985 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36986 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36987 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36988 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36989 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36990 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36991 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36992 Require >= 2.
36993 (FLT_ROUNDS): Expect as macro, not constant.
36994 (FLT_MANT_DIG): Use macro-int-constant.
36995 (DBL_MANT_DIG): Likewise.
36996 (LDBL_MANT_DIG): Likewise.
36997 (FLT_DIG): Likewise.
36998 (DBL_DIG): Likewise.
36999 (LDBL_DIG): Likewise.
37000 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37001 (DBL_MIN_EXP): Likewise.
37002 (LDBL_MIN_EXP): Likewise.
37003 (FLT_MAX_EXP): Use macro-int-constant.
37004 (DBL_MAX_EXP): Likewise.
37005 (LDBL_MAX_EXP): Likewise.
37006 (FLT_MAX_10_EXP): Likewise.
37007 (DBL_MAX_10_EXP): Likewise.
37008 (LDBL_MAX_10_EXP): Likewise.
37009 (FLT_MAX): Use macro-constant.
37010 (DBL_MAX): Likewise.
37011 (LDBL_MAX): Likewise.
37012 (FLT_EPSILON): Use macro-constant. Give upper bound.
37013 (DBL_EPSILON): Likewise.
37014 (LDBL_EPSILON): Likewise.
37015 (FLT_MIN): Likewise.
37016 (DBL_MIN): Likewise.
37017 (LDBL_MIN): Likewise.
37018 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37019 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37020 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37021 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37022 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37023 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37024 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37025 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37026 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37027 [ISO11] (FLT_TRUE_MIN): Likewise.
37028 [ISO11] (LDBL_TRUE_MIN): Likewise.
37029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37030 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37031 (SCHAR_MIN): Use macro-int-constant. Specify type.
37032 (SCHAR_MAX): Likewise.
37033 (UCHAR_MAX): Likewise.
37034 (CHAR_MIN): Likewise.
37035 (CHAR_MAX): Likewise.
37036 (MB_LEN_MAX): Use macro-int-constant.
37037 (SHRT_MIN): Use macro-int-constant. Specify type.
37038 (SHRT_MAX): Likewise.
37039 (USHRT_MAX): Likewise.
37040 (INT_MAX): Likewise.
37041 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37042 bound negative.
37043 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37044 bound with "U".
37045 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37046 bound with "L".
37047 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37048 bound negative. Suffix upper bound with "L".
37049 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37050 bound with "UL".
37051 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37052 Specify type.
37053 [C99-based standards] (LLONG_MAX): Likewise.
37054 [C99-based standards] (ULLONG_MAX): Likewise.
37055 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37056 == 0.
37057 [ISO11] (max_align_t): Require type.
37058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37059
c9140a62
JM
37060 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37061 from $CFLAGS, without defining away __attribute__ calls.
37062 (checknamespace): Use $CFLAGS_namespace.
37063
9af0bf29
JM
37064 * conform/conformtest.pl (@keywords): Only include C99 keywords
37065 for standards based on C99 or C11.
37066
343222a2
JM
37067 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37068 Disable tests.
37069 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37070 UNIX98]: Likewise.
37071
661f8cf0
JM
37072 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37073 usability of symbols in #if.
37074
ee74b9cb
JM
37075 * conform/conformtest.pl: If macro or constant types start
37076 "promoted:", expect the symbol to be of the following type
37077 promoted by the integer promotions.
62fde54f 37078
aafc49b3
JM
37079 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37080 in one place. Also handle "macro-constant".
37081
fefdf574
JM
37082 * conform/conformtest.pl: Only accept expected macro values with
37083 "==". Parse all "macro" lines in one place.
37084 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37085
f2d922fe
JM
37086 * conform/conformtest.pl: Handle braced types on "constant" lines
37087 instead of handling "typed-constant".
37088 * conform/data/signal.h-data: Use "constant" instead of
37089 "typed-constant".
37090
d22956c9
JM
37091 * conform/conformtest.pl: Handle "optional-" at start of lines in
37092 one place rather than duplicating several cases. Handle each
37093 format of "macro" line with initial "optional-".
37094
028e2e38
JM
37095 * conform/conformtest.pl: Only accept expected constant or
37096 optional-constant values with "==". Parse all "constant" lines in
37097 one place. Parse all "optional-constant" lines in one place.
37098 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37099 * conform/data/fmtmsg.h-data: Likewise.
37100 * conform/data/netinet/in.h-data: Likewise.
37101 * conform/data/tar.h-data: Likewise.
37102 * conform/data/limits.h-data: Use "==" form on "constant" and
37103 "optional-constant" lines.
37104
1b8f2850
JM
37105 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37106 Use -std=c99 for XOPEN2K.
37107 (@knownproblems): Remove.
37108 (newtoken): Don't check %isknown.
37109
a05a144b
JM
37110 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37111 Do not expect macro.
37112 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37124 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37125 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37127 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37128 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37131 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37132 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37135 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37136 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37140 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37142 [XPG3] (acosh): Likewise.
37143 [XPG3] (asinh): Likewise.
37144 [XPG3] (atanh): Likewise.
37145 [XPG3] (cbrt): Likewise.
37146 [XPG3] (expm1): Likewise.
37147 [XPG3] (ilogb): Likewise.
37148 [XPG3] (log1p): Likewise.
37149 [XPG3] (logb): Likewise.
37150 [XPG3] (nextafter): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37152 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37153 [XPG3] (remainder): Likewise.
37154 [XPG3] (rint): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37162 [UNIX98 || XOPEN2K] (scalb): Expect.
37163 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37164 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37240 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37242 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37300
73c5ebe3
JM
37301 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37302 _XOPEN_SOURCE_EXTENDED for XPG4.
37303
39c33b6c
JM
37304 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37305
62fde54f
JM
37306 * Makeconfig (localtime): Remove variable.
37307 (inst_localtime-file): Likewise.
37308
0741d64c
AS
373092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37310
37311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37312 Update.
37313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37314 Update.
37315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37316 Update.
37317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37318 Update.
37319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37320 Update.
37321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37322 Update.
37323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37324 Update.
37325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37326 Update.
37327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37328 Update.
37329
7cb029ee
JM
373302012-05-01 Joseph Myers <joseph@codesourcery.com>
37331
37332 [BZ #2550]
37333 [BZ #2570]
37334 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37335 comparisons to determine direction to adjust input.
37336 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37337 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37338 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37339 Likewise.
37340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37341 Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37343 Likewise.
37344 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37345 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37346 Likewise.
37347 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37348 Likewise.
37349 * math/libm-test.inc (nexttoward_test): Add more tests.
37350
412bd966
AS
373512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37352
37353 [BZ #14040]
37354 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37355 in version GLIBC_2.1, not GLIBC_2.0.
37356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37357 Likewise.
37358
9568c0c2
JM
373592012-04-30 Joseph Myers <joseph@codesourcery.com>
37360
adfbc8ac
JM
37361 [BZ #13942]
37362 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37363 (1 - x) * (1 + x).
37364 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37365 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37366 * math/libm-test.inc (acos_test): Add more tests.
37367 (asin_test): Likewise.
37368 * sysdeps/i386/fpu/libm-test-ulps: Update.
37369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37370
5ba3cc69
JM
37371 [BZ #14034]
37372 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37373 of square root.
37374 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37375 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37376 * math/libm-test.inc (acos_test_tonearest): New function.
37377 (acos_test_towardzero): Likewise.
37378 (acos_test_downward): Likewise.
37379 (acos_test_upward): Likewise.
37380 (asin_test_tonearest): Likewise.
37381 (asin_test_towardzero): Likewise.
37382 (asin_test_downward): Likewise.
37383 (asin_test_upward): Likewise.
37384 (main): Call the new functions.
37385 * sysdeps/i386/fpu/libm-test-ulps: Update.
37386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37387
9568c0c2
JM
37388 [BZ #13884]
37389 [BZ #13924]
37390 * math/e_exp10.c: Include <float.h>.
37391 (__ieee754_exp10): Handle underflow here rather than multiplying
37392 large negative argument by M_LN10.
37393 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37394 of __ieee754_expf.
37395 * math/e_exp10l.c: Include <float.h>.
37396 (__ieee754_exp10l): Handle underflow here rather than multiplying
37397 large negative argument by M_LN10l.
37398 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37399 spurious overflow exception on underflow.
37400
5ac3ea17
MP
374012012-04-29 Marek Polacek <polacek@redhat.com>
37402
37403 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37404 (__fortify_function): New macro.
37405 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37406 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37407 __extern_always_inline.
37408 * libio/bits/stdio2.h: Likewise.
37409 * libio/bits/stdio.h: Likewise.
37410 * string/string.h: Likewise.
37411 * string/bits/string3.h: Likewise.
37412 * include/stdio.h: Likewise.
37413 * stdlib/bits/stdlib.h: Likewise.
37414 * stdlib/stdlib.h: Likewise.
37415 * rt/bits/mqueue2.h: Likewise.
37416 * rt/mqueue.h: Likewise.
37417 * posix/bits/unistd.h: Likewise.
37418 * posix/unistd.h: Likewise.
37419 * io/bits/poll2.h: Likewise.
37420 * io/bits/fcntl2.h: Likewise.
37421 * io/fcntl.h: Likewise.
37422 * io/sys/poll.h: Likewise.
37423 * misc/bits/syslog.h: Likewise.
37424 * misc/bits/syslog-ldbl.h: Likewise.
37425 * misc/sys/syslog.h: Likewise.
37426 * socket/bits/socket2.h: Likewise.
37427 * socket/sys/socket.h: Likewise.
37428 * debug/tst-chk1.c: Likewise.
37429 * wcsmbs/bits/wchar2.h: Likewise.
37430 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37431 * wcsmbs/wchar.h: Likewise.
37432
ecf0ebfb
AJ
374332012-04-29 Andreas Jaeger <aj@suse.de>
37434
37435 * Makerules (tests): Remove enable-check-abi protection.
37436 (check-abi-warn): Remove.
37437 (check-abi-%): Remove check-abi-warn usage.
37438
37439 * configure.in: Remove check-abi configure option.
37440 * configure: Regenerated.
37441 * config.make.in (enable-check-abi): Remove.
37442
6d5c57fa
AS
374432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37444
24c5d07e 37445 [BZ #14033]
ded5180a
AS
37446 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37447 double functions to double *_finite functions.
37448
7e0d315d
AS
37449 [BZ #13941]
37450 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37451 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37452 LDBL_MIN_EXP.
37453 * stdio-common/Makefile (tests): Add tst-sprintf3.
37454 * stdio-common/tst-sprintf3.c: New file.
37455
6d5c57fa
AS
37456 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37457 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37458
0749ff8b
JM
374592012-04-28 Joseph Myers <joseph@codesourcery.com>
37460
37461 * conform/conformtest.pl: Remove duplicate typed-constant
37462 handling.
37463
8dbd5d7b
DM
374642012-04-28 David S. Miller <davem@davemloft.net>
37465
37466 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37467 (check-abi-%): Remove AWK script prerequisite and explicit
37468 abilist directory.
37469 (check-abi): Rewrite to just diff the symlist with the abilist.
37470 (config-tls, config-abi-config): Delete, no longer used.
37471 (update-abi-%): Remove AWK script and explicit abilist directory.
37472 (update-abi): Rewrite to simply compare and conditionally copy the
37473 symlist and the sysdep abilist file. Remove update-abi-config
37474 checks.
37475 * abilist/ld.abilist: Remove.
37476 * abilist/libBrokenLocale.abilist: Remove.
37477 * abilist/libanl.abilist: Remove.
37478 * abilist/libcrypt.abilist: Remove.
37479 * abilist/libdl.abilist: Remove.
37480 * abilist/librt.abilist: Remove.
37481 * abilist/libthread_db.abilist: Remove.
37482 * abilist/libutil.abilist: Remove.
37483 * scripts/extract-abilist.awk: Remove.
37484 * scripts/merge-abilist.awk: Remove.
37485 * sysdeps/generic/libcidn.abilist: New file.
37486 * sysdeps/generic/libnss_compat.abilist: New file.
37487 * sysdeps/generic/libnss_db.abilist: New file.
37488 * sysdeps/generic/libnss_dns.abilist: New file.
37489 * sysdeps/generic/libnss_files.abilist: New file.
37490 * sysdeps/generic/libnss_hesiod.abilist: New file.
37491 * sysdeps/generic/libnss_nis.abilist: New file.
37492 * sysdeps/generic/libnss_nisplus.abilist: New file.
37493 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37494 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37495 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37496 file.
37497 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37498 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37499 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37500 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37501 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37502 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37503 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37504 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37505 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37506 file.
37507 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37508 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37509 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37510 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37511 file.
37512 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37513 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37514 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37515 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37516 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37517 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37518 file.
37519 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37520 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37521 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37522 file.
37523 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37525 New file.
37526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37527 New file.
37528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37529 New file.
37530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37531 New file.
37532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37533 New file.
37534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37535 New file.
37536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37537 New file.
37538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37539 New file.
37540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37541 New file.
37542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37543 New file.
37544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37545 New file.
37546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37547 New file.
37548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37549 New file.
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37551 file.
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37553 New file.
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37555 New file.
37556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37557 file.
37558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37559 New file.
37560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37561 New file.
37562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37563 file.
37564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37565 New file.
37566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37567 New file.
37568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37569 New file.
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37571 New file.
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37573 New file.
37574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37575 New file.
37576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37578 file.
37579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37580 New file.
37581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37582 file.
37583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37584 file.
37585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37586 file.
37587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37588 file.
37589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37590 file.
37591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37592 New file.
37593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37594 file.
37595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37596 file.
37597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37598 New file.
37599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37600 file.
37601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37603 file.
37604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37605 New file.
37606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37607 file.
37608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37609 file.
37610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37611 file.
37612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37613 file.
37614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37615 file.
37616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37617 New file.
37618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37619 file.
37620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37621 file.
37622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37623 New file.
37624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37625 file.
37626 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37627 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37628 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37629 file.
37630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37631 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37632 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37633 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37634 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37635 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37636 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37637 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37638 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37639 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37642 file.
37643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37644 New file.
37645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37646 file.
37647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37648 file.
37649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37650 file.
37651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37652 file.
37653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37654 file.
37655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37656 New file.
37657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37658 New file.
37659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37660 file.
37661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37662 New file.
37663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37664 file.
37665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37667 file.
37668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37669 New file.
37670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37671 file.
37672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37673 file.
37674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37675 file.
37676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37677 file.
37678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37679 file.
37680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37681 New file.
37682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37683 New file.
37684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37685 file.
37686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37687 New file.
37688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37689 file.
37690
41d73a1b
JM
376912012-04-28 Joseph Myers <joseph@codesourcery.com>
37692
37693 * conform/conformtest.pl: Fix typo in handling typed-constant from
37694 allow-header.
37695
28aeeda4
JM
376962012-04-27 Joseph Myers <joseph@codesourcery.com>
37697
adae8f5e
JM
37698 * README: Cut down references to pre-2.6 Linux kernels and
37699 Linuxthreads. Update lists of configurations in libc and ports
37700 and sort alphabetically. Say "or newer" with Linux kernel version
37701 requirements.
37702
28aeeda4
JM
37703 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37704
a462cb63
RA
377052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37706
37707 [BZ #887]
37708 * math/libm-test.inc (logb_test_downward): New test to expose
37709 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37710 rounding mode.
37711
6ad3493e
JM
377122012-04-27 Joseph Myers <joseph@codesourcery.com>
37713
37714 [BZ #14027]
37715 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37716 to be done.
37717 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37718 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37719
2ce4f015
JM
377202012-04-26 Joseph Myers <joseph@codesourcery.com>
37721
5aeb141a
JM
37722 * sysdeps/unix/i386/brk.S: Remove file.
37723 * sysdeps/unix/i386/dl-brk.S: Likewise.
37724 * sysdeps/unix/i386/pipe.S: Likewise.
37725 * sysdeps/unix/i386/sigreturn.S: Likewise.
37726 * sysdeps/unix/i386/syscall.S: Likewise.
37727 * sysdeps/unix/i386/vfork.S: Likewise.
37728 * sysdeps/unix/i386/wait.S: Likewise.
37729
7143acae
JM
37730 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37731 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37732
2ce4f015
JM
37733 * configure.in (arm*-none*): Do not allow without
37734 --enable-hacker-mode.
37735 (netbsd*): Remove case setting base_os.
37736 (386bsd*): Likewise.
37737 (freebsd*): Likewise.
37738 (bsdi*): Likewise.
37739 (osf*): Likewise.
37740 (sunos*): Likewise.
37741 (ultrix*): Likewise.
37742 (newsos*): Likewise.
37743 (dynix*): Likewise.
37744 (*bsd*): Likewise.
37745 (sysv*): Likewise.
37746 (isc*): Likewise.
37747 (esix*): Likewise.
37748 (sco*): Likewise.
37749 (minix*): Likewise.
37750 (irix4*): Likewise.
37751 (irix6*): Likewise.
37752 (solaris[2-9]*): Likewise.
37753 (none): Likewise.
37754 * configure: Regenerated.
37755
0ac229c8
AZ
377562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37757
37758 [BZ #11521]
37759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37760 overflow or cancellation in calculating denominator.
37761 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37762 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37763 down expression to avoid unexpected rounding in newer GCCs.
37764 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37765
33f244f4
DM
377662012-04-26 David S. Miller <davem@davemloft.net>
37767
37768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37769 long-double compat symbols.
37770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37783
cfa1f3e8
DM
377842012-04-25 David S. Miller <davem@davemloft.net>
37785
37786 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37787 HWCAP_* values only after the memory barriers have been defined.
37788 (atomic_full_barrier): Define.
37789 (atomic_read_barrier): Define.
37790 (atomic_write_barrier): Define.
37791
6e236b92
SP
377922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37793
37794 * shlib-versions: Add libgcc_s version information.
37795 * sysdeps/generic/libgcc_s.h: Remove.
37796 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37797 libgcc_s.h.
37798 * sysdeps/gnu/unwind-resume.c: Likewise.
37799 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37800
aab39a09
DM
378012012-04-25 David S. Miller <davem@davemloft.net>
37802
37803 * sysdeps/unix/sparc/brk.S: Delete.
37804 * sysdeps/unix/sparc/dl-brk.S: Delete.
37805 * sysdeps/unix/sparc/pipe.S: Delete.
37806 * sysdeps/unix/sparc/sysdep.S: Delete.
37807 * sysdeps/unix/sparc/sysdep.h: Delete.
37808 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37809 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37810 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37811 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37812 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37813 (JUMPTARGET): Remove.
37814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37815 sysdeps/unix/sparc/sysdep.h
37816 (ENTRY, END): Remove.
37817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37818
a3cc4f48
JM
378192012-04-25 Joseph Myers <joseph@codesourcery.com>
37820
2ed8cda2
JM
37821 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37822 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37823 -DIS_IN_build.
37824
35d76d59
JM
37825 * timezone/README: Update upstream location and email address for
37826 tzcode and tzdata.
37827 * timezone/zdump.c: Update from tzcode 2012b.
37828 * timezone/zic.c: Likewise.
37829
a3cc4f48
JM
37830 * configure.in (libc_cv_as_needed): Remove test.
37831 * configure: Regenerated.
37832 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37833 conditional definition.
37834 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37835 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37836 * config.make.in (have-as-needed): Remove variable.
37837
ceab42c3
SP
378382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37839 Paul Pluzhnikov <ppluzhnikov@google.com>
37840
37841 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37842 strings correctly.
37843
3ce2865f
CLT
378442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37845
37846 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37847 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37848 * sysdeps/sh/strlen.S: Likewise.
37849
f37e0d68
JM
378502012-04-24 Joseph Myers <joseph@codesourcery.com>
37851
ae186e9a
JM
37852 * sysdeps/unix/fork.S: Remove file.
37853 * sysdeps/unix/i386/fork.S: Likewise.
37854 * sysdeps/unix/sparc/fork.S: Likewise.
37855
b96914af
JM
37856 * sysdeps/unix/system.c: Remove file.
37857 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37858
f37e0d68
JM
37859 * sysdeps/unix/getegid.S: Remove file.
37860 * sysdeps/unix/geteuid.S: Likewise.
37861
87ef29ca
RM
378622012-04-24 Roland McGrath <roland@hack.frob.com>
37863
83bcd236
RM
37864 * scripts/check-localplt.awk: New file.
37865 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37866 of diff.
37867 * scripts/data/localplt-generic.data: Add a comment.
37868
87ef29ca
RM
37869 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37870 NODE when __dir_mkfile failed.
37871 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37872 Reported by Ludovic Courtès <ludo@gnu.org>.
37873
e5a6e567
AJ
378742012-04-24 Andreas Jaeger <aj@suse.de>
37875
37876 * Makerules (common-clean): Also remove gen-as-const-headers
37877 files.
37878
c1820385
JM
378792012-04-24 Joseph Myers <joseph@codesourcery.com>
37880
37881 * Makerules (native-compile): Do not change working directory for
37882 build. Use $(OUTPUT_OPTION) in command.
37883 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37884
94e02fc4
AZ
378852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37886
37887 [BZ #13886]
37888 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37889 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37890 * math/libm-test.inc (floor_test): Add more tests.
37891 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37892
3a533ca3
JM
378932012-04-24 Joseph Myers <joseph@codesourcery.com>
37894
940ab4b3
JM
37895 * sysdeps/unix/getdents.c: Remove file.
37896 * sysdeps/unix/sysv/getdents.c: Likewise.
37897 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37898
90e037bd
JM
37899 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37900 sysdeps/unix/mman/syscalls.list.
37901 (mmap): Likewise.
37902 (mprotect): Likewise.
37903 (msync): Likewise.
37904 (munmap): Likewise.
37905 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37906 * sysdeps/unix/mman/syscalls.list: Remove.
37907 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37908
3a533ca3
JM
37909 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37910 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37911 * configure: Regenerated.
37912 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37913 $(libgcc_s_suffix).
37914 * config.make.in (libgcc_s_suffix): Remove variable.
37915
1ad743de
JM
379162012-04-23 Joseph Myers <joseph@codesourcery.com>
37917
4ad451e2
JM
37918 * sysdeps/unix/sysv/gethostname.c: Move to ...
37919 * sysdeps/posix/gethostname.c: ... here.
37920
5e37ce39
JM
37921 * sysdeps/unix/execve.S: Remove file.
37922
1ad743de
JM
37923 * sysdeps/unix/_exit.S: Remove file.
37924
4e681b5b
AJ
379252012-04-23 Andreas Jaeger <aj@suse.de>
37926
37927 [BZ #13739]
37928 * manual/Makefile: Remove make dist support, there's no
37929 need for a stand-alone documentation tar ball.
37930 (TEXI2DVI): Define always, it's not in Makeconfig.
37931 (dist): Removed.
37932 (tar-it): Removed.
37933 (edition): Removed.
37934 (glibc-doc-$(edition).tar): Removed
37935 (%.Z): Removed.
37936 (%.gz): Removed.
37937 (%.uu): Removed.
37938 (ETAGS): Remove, it's in Makeconfig.
37939 (move-if-change): Remove, it's in Makeconfig.
37940
38686a03 379412012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37942
37943 [BZ #13970]
37944 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37945 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37946 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37947 (strtod_l, strtof_l, strtold_l): Remove __wur.
37948 It is not necessarily an error to ignore strtol's return value.
37949 One can reliably look at the stored endptr to decide whether
37950 the number had valid syntax.
37951
7c0616fa
AJ
379522012-04-21 Andreas Jaeger <aj@suse.de>
37953
803cb6b7 37954 [BZ #13739]
7c0616fa
AJ
37955 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37956
b0fe253f
JM
379572012-04-21 Joseph Myers <joseph@codesourcery.com>
37958
37959 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37960 * sysdeps/unix/sysv/Versions: Remove file.
37961
8280f22d
MT
379622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37963
37964 [BZ #13927]
37965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37966
75ce411f 379672012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37968
37969 [BZ #7064]
37970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37971 version from __vm86.
37972
097d59fa
JM
379732012-04-20 Joseph Myers <joseph@codesourcery.com>
37974
a90f3bcb
JM
37975 * sysdeps/unix/common/lxstat.c: Remove file.
37976 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37977
edc7ea78
JM
37978 * sysdeps/unix/sysv/Makefile: Remove file.
37979
cb78c221
JM
37980 * sysdeps/unix/sysv/direct.h: Remove file.
37981
efa6a45f
JM
37982 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37983 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37984 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37985 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37986 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37987 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37988 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37989
9c9f2d0c
JM
37990 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37991
4541c83b
JM
37992 * sysdeps/unix/xmknod.c: Remove file.
37993 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37994
f5d153a0
JM
37995 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37996
aa746595
JM
37997 * sysdeps/unix/sysv/i386/time.S: Remove file.
37998
cce5905e
JM
37999 * sysdeps/unix/fxstat.c: Remove file.
38000 * sysdeps/unix/xstat.c: Likewise.
38001 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38002
37fa3841
JM
38003 * sysdeps/unix/sysv/sigaction.c: Remove file.
38004
ff1962a3
JM
38005 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38006 (sysdep_headers): Remove variable.
38007 [termio.h not in sysdep_headers] (generated): Likewise.
38008 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38009 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38010 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38011 * sysdeps/unix/sysv/tcflow.c: Likewise.
38012 * sysdeps/unix/sysv/tcflush.c: Likewise.
38013 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38014 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38015 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38016 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38017 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38018
e7740d31
JM
38019 * sysdeps/unix/siglist.c: Remove file.
38020
ee06f18b
JM
38021 * sysdeps/unix/getppid.S: Remove file.
38022
097d59fa
JM
38023 * sysdeps/unix/mkdir.c: Remove file.
38024 * sysdeps/unix/rmdir.c: Likewise.
38025
ff3d51ec
AS
380262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38027
38028 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38029 ERR_MAX value.
38030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38031 errlist-compat value.
38032
50f81fd7
DM
380332012-04-18 David S. Miller <davem@davemloft.net>
38034
38035 * sysdeps/generic/memcopy.h (reg_char): Delete.
38036 * debug/strcat_chk.c: Use char, not reg_char.
38037 * debug/strcpy_chk.c: Likewise.
38038 * debug/strncat_chk.c: Likewise.
38039 * debug/strncpy_chk.c: Likewise.
38040 * string/memchr.c: Likewise.
38041 * string/memrchr.c: Likewise.
38042 * string/rawmemchr.c: Likewise.
38043 * string/strcat.c: Likewise.
38044 * string/strchr.c: Likewise.
38045 * string/strchrnul.c: Likewise.
38046 * string/strcmp.c: Likewise.
38047 * string/strcpy.c: Likewise.
38048 * string/strncat.c: Likewise.
38049 * string/strncmp.c: Likewise.
38050 * string/strncpy.c: Likewise.
38051
8ff41c46
WS
380522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38053
38054 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38055 __builtin_memcopy is called when src and dest ranges are known to not
38056 overlap.
38057
6b652f46
WS
380582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38059
38060 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38061 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38062 fwd_align_merge macro call.
38063 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38064 bwd_align_merge macro call.
38065 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38066
b282631e
WS
380672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38068
38069 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38070 bwd_align_merge macros.
38071 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38072 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38073 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38074
95aa737c
DM
380752012-04-18 David S. Miller <davem@davemloft.net>
38076
38077 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38078
7a99a614
AJ
380792012-04-18 Andreas Jaeger <aj@suse.de>
38080
38081 [BZ# 6794]
38082 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38083 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38084 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38085
38086 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38087 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38088 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38089
38090 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38091 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38092 Adjust for changed ldbl-128 files.
38093
38094 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38095 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38096 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38097
e5270c23
DM
380982012-04-17 David S. Miller <davem@davemloft.net>
38099
38100 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38101
fb5e92c9
AS
381022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38103
38104 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38105 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38106 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38107 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38108 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38109 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38110
76da7265
AZ
381112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38112
38113 [BZ #6794]
38114 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38115 * math/libm-test.inc: Add ilogb errno and exception tests.
38116 * math/w_ilogb.c: New file: ilogb wrapper.
38117 * math/w_ilogbf.c: New file: ilogbf wrapper.
38118 * math/w_ilogbl.c: New file: ilogbl wrapper.
38119 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38120 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38121 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38122 exception being thrown with 0.0 as argument.
38123 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38124 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38125 exception being thrown with 0.0 as argument.
38126 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38127 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38128 exception being thrown with 0.0 as argument.
38129 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38130 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38131 exception being thrown with 0.0 as argument.
38132 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38133 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38134 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38135 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38136 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38137 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38138 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38139 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38140 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38141
0396e69d
PB
381422012-04-17 Petr Baudis <pasky@ucw.cz>
38143
38144 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38145 with altivec.
38146
750b5926
MP
381472012-04-16 Marek Polacek <polacek@redhat.com>
38148
38149 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38150
751728a1
MP
381512012-04-16 Marek Polacek <polacek@redhat.com>
38152
38153 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38154 operands of fdivp instruction.
38155
34a27407
L
381562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38157
38158 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38159 * elf/tst-auditmod3b.c: Likewise.
38160 * elf/tst-auditmod4b.c: Likewise.
38161 * elf/tst-auditmod5b.c: Likewise.
38162 * elf/tst-auditmod6b.c: Likewise.
38163 * elf/tst-auditmod6c.c: Likewise.
38164 * elf/tst-auditmod7b.c: Likewise.
38165 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38166 * sysdeps/x86_64/preconfigure.in: Likewise.
38167 * sysdeps/x86_64/preconfigure: Regenerated.
38168
7e73e17d
L
381692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38170
38171 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38172 __ILP32__.
38173
c7a6ab72
AB
381742012-04-13 Antoine Balestrat <merkil33@gmail.com>
38175
38176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38177 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38178
a9e8e0e0
CL
381792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38180
38181 [BZ #13973]
38182 * locale/iso-639.def: Fix gl language name. Spotted by
38183 Yaron Shahrabani.
38184
ec98af7d
RM
381852012-04-12 Roland McGrath <roland@hack.frob.com>
38186
38187 [BZ #2074]
38188 * libio/libio.h (__io_write_fn): Update comment.
38189
247c3ede
PB
381902012-04-12 Petr Baudis <pasky@ucw.cz>
38191
38192 [BZ #2074]
38193 * stdio.texi (Hook Functions): The user provided writer function
38194 is not allowed to return -1.
38195
55939d6d
DM
381962012-04-11 David S. Miller <davem@davemloft.net>
38197
38198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38199
90020f5a
MF
382002012-04-11 Mike Frysinger <vapier@gentoo.org>
38201
38202 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38203 Add a leading slash to rtkaio.
38204
288f9098
JM
382052012-04-11 Jim Meyering <meyering@redhat.com>
38206
90020f5a
MF
38207 [BZ #11959]
38208 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38209 It is not necessarily an error to ignore fwrite's return
38210 value. One can reliably use ferror to test for errors after
38211 the fact.
288f9098 38212
4be2b570
L
382132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38214
38215 * bits/types.h (__snseconds_t): New type.
38216 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38217
38218 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38220 (__SNSECONDS_T_TYPE): Likewise.
38221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38222 (__SNSECONDS_T_TYPE): Likewise.
38223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38224 (__SNSECONDS_T_TYPE): Likewise.
38225
288f9098 382262012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38227
38228 [BZ #2636]
38229 * manual/time.texi (Processor Time): Return type of times is
38230 elapsed real time since an arbitrary point in the past.
38231 (CPU Time): Move CLK_TCK from here...
38232 (Processor Time): ...to here. Correct description.
38233 * manual/conf.texi (Constants for Sysconf): Correct description of
38234 _SC_CLK_TCK.
38235
d7dd4413
DM
382362012-04-10 David S. Miller <davem@davemloft.net>
38237
38238 [BZ #13967]
38239 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38240 where the is a gap between DT_REL(A) and DT_JMPREL.
38241
b46068fc
L
382422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38243
38244 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38245 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38246 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38247
73d65cc3
SP
382482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38249
38250 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38251 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38252 (dl_main): Handle --inhibit-cache.
38253 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38254 _dl_inhibit_cache.
38255 * elf/dl-load.c (_dl_map_object): Use it.
38256 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38257
bcc8d661
JM
382582012-04-09 Joseph Myers <joseph@codesourcery.com>
38259
8f9a2fae
JM
38260 [BZ #13872]
38261 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38262 (__ieee754_powl): Saturate large exponents rather than testing for
38263 overflow of y*log2(x).
38264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38265 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38266 exceptions.
38267
bcc8d661
JM
38268 [BZ #11521]
38269 * math/s_ctan.c: Include <float.h>.
38270 (__ctan): Avoid internal overflow or cancellation in calculating
38271 denominator.
38272 * math/s_ctanf.c: Likewise.
38273 * math/s_ctanl.c: Likewise.
38274 * math/s_ctanh.c: Likewise.
38275 * math/s_ctanhf.c: Likewise.
38276 * math/s_ctanhl.c: Likewise.
38277 * math/libm-test.inc (ctan_test): Add more tests.
38278 (ctanh_test): Likewise.
38279 * sysdeps/i386/fpu/libm-test-ulps: Update.
38280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38281
823fbbb4
AJ
382822012-04-09 Andreas Jaeger <aj@suse.de>
38283
03879793
AJ
38284 [BZ #6894]
38285 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38286 is an optional BSD extension.
38287
823fbbb4
AJ
38288 [BZ #10254]
38289 * manual/stdio.texi (Opening Streams): Document additional fopen
38290 parameters.
38291
8de131cb
RM
382922012-04-09 Roland McGrath <roland@hack.frob.com>
38293
38294 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38295 %eax without telling the compiler.
38296
c0ed9d7d
CD
382972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38298
38299 [BZ # 13963]
38300 * manual/install.texi: Use sourceware.org.
38301
c483f6b4
JM
383022012-04-09 Joseph Myers <joseph@codesourcery.com>
38303
d7dd9453
JM
38304 [BZ #13873]
38305 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38306 (__ieee754_pow): Generate overflow and underflow using huge*huge
38307 and tiny*tiny rather than just returning constant infinity or zero
38308 for large exponents.
38309 * math/libm-test.inc (pow_test): Require overflow exceptions for
38310 applicable cases of large exponents.
38311
c483f6b4
JM
38312 [BZ #706]
38313 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38314 (__ieee754_pow): Use iterative multiplication algorithm only for
38315 integer exponents with absolute value below 1024. Check for odd
38316 integer exponents when using algorithm for real exponents.
38317 * math/libm-test.inc (pow_test): Add more tests.
38318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38319
d2de7579
JM
383202012-04-08 Joseph Myers <joseph@codesourcery.com>
38321
38322 [BZ #13705]
38323 * math/libm-test.inc (exp_test): Do not allow overflow exception
38324 on underflow test.
38325
f77f1232
AJ
383262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38327
38328 [BZ #13705]
38329 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38330 instead of __kernel_standard_f.
38331
3884932b
MF
383322012-04-08 Mike Frysinger <vapier@gentoo.org>
38333
38334 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38335 * sysdeps/x86_64/memset_chk.S: Likewise.
38336
54472e9c
AJ
383372012-04-08 Andreas Jaeger <aj@suse.de>
38338
6ab0fbfc
AJ
38339 [BZ #10153]
38340 * manual/startup.texi (Environment Access): Describe return value
38341 for putenv and setenv.
38342
61efba8c
AJ
38343 [BZ #6895]
38344 * manual/filesys.texi (Directory Entries): Add description for
38345 DT_LNK.
38346
95c3f29a
AJ
38347 [BZ #6890]
38348 * manual/filesys.texi (Directory Entries): Clarify that it's file
38349 system not operating system in the description of DT_UNKNOWN.
38350
54472e9c
AJ
38351 [BZ #6578]
38352 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38353
624254b1
SC
383542012-04-08 Stephen Compall <s11@member.fsf.org>
38355
38356 [BZ #6649]
38357 * manual/llio.texi (Opening and Closing Files): Add cross
38358 reference to explain mode argument.
38359
1e4920e0
MF
383602012-04-07 Mike Frysinger <vapier@gentoo.org>
38361
38362 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38363 * sysdeps/x86_64/memset_chk.S: Likewise.
38364
5ed848f3
DM
383652012-04-07 David S. Miller <davem@davemloft.net>
38366
38367 * elf/elf.h (R_SPARC_WDISP10): Define.
38368 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38369 R_SPARC_SIZE32.
38370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38371 R_SPARC_SIZE64 and R_SPARC_H34.
38372
96154cd8
CD
383732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38374
38375 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38376 conditions and remove no longer applicable assertion.
38377
9904dc47
L
383782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38379
38380 * bits/byteswap.h: Include <features.h>.
38381 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38382 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38383
f8887d0a
L
383842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38385
38386 * bits/byteswap.h (__bswap_16): Removed.
38387 Include <bits/byteswap-16.h> to get __bswap_16.
38388 * sysdeps/i386/bits/byteswap.h: Likewise.
38389 * sysdeps/s390/bits/byteswap.h: Likewise.
38390 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38391 * bits/byteswap-16.h: New file.
38392 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38393 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38394 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38395 * string/Makefile (headers): Add bits/byteswap-16.h.
38396
62470f60
PP
383972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38398
38399 [BZ #13895]
38400 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38401 extra indirection.
38402 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38403 * nss/tst-nss-static.c: New.
38404
4dad7bab
RM
384052012-04-06 Robert Millan <rmh@gnu.org>
38406
38407 [BZ #6486]
38408 * manual/llio.texi (File Position Primitive): lseek
38409 refers to WHENCE when it really means OFFSET.
38410
e9142a17
AJ
384112012-04-06 Andreas Jaeger <aj@suse.de>
38412
2c040eff
AJ
38413 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38414 strncmp declarations.
38415
e9142a17
AJ
38416 * abilist/libc.abilist: Add __poll and __ppoll.
38417
ff9f1c5f
DM
384182012-04-05 David S. Miller <davem@davemloft.net>
38419
dcd2ae90
DM
38420 * scripts/check-local-headers.sh: Accept a host triplet in the
38421 path matched by the exclude regexp.
38422
993eb054
DM
38423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38424 definition.
38425 * sysdeps/powerpc/powerpc32/dl-machine.h
38426 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38427 * sysdeps/s390/s390-32/dl-machine.h
38428 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38429 * sysdeps/sparc/sparc32/dl-machine.h
38430 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38431 * sysdeps/sparc/sparc64/dl-machine.h
38432 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38433
ff9f1c5f
DM
38434 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38435 lazy binding.
48e2e132 38436 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38437 undefined symbol errors.
38438
48e2e132 38439 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38440 DT_NEEDED entries.
38441
e80d6f94
MM
384422012-04-05 Michael Matz <matz@suse.de>
38443
38444 [BZ #13592]
38445 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38446
349fa79f
AJ
384472012-04-05 Andreas Jaeger <aj@suse.de>
38448
38449 [BZ #13908]
38450 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38451 comment.
38452
f402708f
KK
384532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38454
38455 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38456 which ROUND is no valid rounding mode.
38457
2ecccfc9
KK
384582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38459
38460 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38461 read again.
38462 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38463
8a53f50f
KK
384642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38465
38466 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38467 an exception using FPU order intentionally.
38468
384692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38470
38471 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38472 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38473 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38474 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38475
d653abb7
SJ
384762012-04-05 Simon Josefsson <simon@josefsson.org>
38477
38478 [BZ #12340]
38479 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38480 EINVAL when BUFLEN is too smal.
38481
c3b1bf7d
TS
384822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38483
38484 [BZ #13553]
38485 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38486 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38487
b1aa60f3
AJ
384882012-04-03 Andreas Jaeger <aj@suse.de>
38489
c3b1bf7d 38490 [BZ #13938]
67f60a26
AJ
38491 * manual/setjmp.texi (System V contexts): Fix sentence.
38492
b1aa60f3
AJ
38493 [BZ #13926]
38494 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38495 New macro for this case.
38496 [!__GNUC__] (__bswap_64): New inline function for this case.
38497 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38498 * bits/byteswap.h: Likewise.
38499 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38500 ull, guard with __GLIBC_HAVE_LONG_LONG.
38501
38502 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38503 __GLIBC_HAVE_LONG_LONG.
38504
38505 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38506 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38507
39c59c35
TMQMF
385082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38509
38510 [BZ #13691]
38511 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38512 inptr and inend, rather than using last_ch.
38513
135ffda8
DM
385142012-04-02 David S. Miller <davem@davemloft.net>
38515
38516 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38517 * stdio-common/printf-parse.h (read_int): Change return type to
38518 'int', return -1 on INT_MAX overflow.
38519 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38520 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38521 overflows INT_MAX. Check for overflow of in-format-string precision
38522 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38523 SIZE_MAX not INT_MAX for integer overflow test.
38524 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38525 skip the construct in the format string but do not record anything.
38526 * stdio-common/bug22.c: Adjust to test both width/prevision
38527 INT_MAX overflow as well as total length INT_MAX overflow. Check
38528 explicitly for proper errno values.
38529
228c019e
TS
385302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38531
302cadd3
TS
38532 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38533 CHAR_MAX.
38534 * string/test-strcmp.c [! WIDE]: Likewise.
38535 * time/tst-mktime2.c: Likewise for INT_MAX.
38536 * string/test-string.h: #include <sys/param.h> for MIN.
38537
228c019e
TS
38538 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38539 * sysdeps/i386/init-first.c (init): Likewise.
38540 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38541 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38542 * sysdeps/sh/init-first.c (init): Likewise.
38543
cfa633f5
UD
385442012-04-01 Ulrich Drepper <drepper@gmail.com>
38545
38546 * po/ru.po: Update from translation team.
d1635ef8 38547 * po/vi.po: Likewise.
cfa633f5 38548
6cd0a5ea
SP
385492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38550
38551 * resolv/nss_dns/dns-host.c: Merge copyright years.
38552
4b43400f
LD
385532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38554
38555 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38556 Optimize memcpy with prefetch if
38557 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38558 src, dst pointers have unequal 16 byte alignments.
38559
48c41d04
SP
385602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38561
38562 [BZ #13928]
38563 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38564 from a CNAME entry and return the minimum ttl for the query.
38565 (gaih_getanswer_slice): Likewise.
38566
b8dc394d
JL
385672012-03-30 Jeff Law <law@redhat.com>
38568
38569 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38570 due to long keys.
38571 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38572 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38573
2f5a5ed0
JL
38574 * resolv/nss_dns/dns-host.c: Update copyright year.
38575
1d39e359
UD
385762012-03-30 Ulrich Drepper <drepper@gmail.com>
38577
c030f70c 38578 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38579 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38580
1d39e359
UD
38581 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38582 comments for sendmmsg.
38583
385842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38585
38586 [BZ #13691]
38587 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38588 with only 1 character between 0x0041 and 0x01b0.
38589 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38590 * wcsmbs/tst-mbsnrtowcs.c: New file.
38591
20fde227
DM
385922012-03-29 David S. Miller <davem@davemloft.net>
38593
38594 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38595 small copies by hand.
38596
984a4237
JL
385972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38598
38599 [BZ #13761]
57f41c40
AS
38600 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38601 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38602 group memberships.
984a4237 38603
18c9d62b
DM
386042012-03-28 David S. Miller <davem@davemloft.net>
38605
88d85d4f
DM
38606 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38607 that branches into memcpy.
38608 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38611 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38612 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38613 bits.
38614 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38615 implementation too.
38616 * sysdeps/sparc/mempcpy.S: New file.
38617
e5aa83e1
DM
38618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38619 the IFUNC routine in the libc case.
38620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38621
88570753
DM
38622 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38623 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38624 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38625 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38626 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38627 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38628 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38629 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38630
249d7567
DM
38631 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38632 loop to 256 bytes instead of 64 bytes and fix test signedness.
38633
18c9d62b
DM
38634 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38635 * sysdeps/sparc/sparc32/Makefile: rather than here...
38636 * sysdeps/sparc/sparc64/Makefile: and here.
38637
05f3d1f6
UD
386382012-03-28 Ulrich Drepper <drepper@gmail.com>
38639
38640 * malloc/mallocbug.c: Avoid warnings about unused variables.
38641
86ae07a8
JL
386422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38643
38644 [BZ #13760]
38645 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38646 in the right place. Discard and retry query if response is
38647 larger than input buffer size.
38648
41bf21a1
JM
386492012-03-28 Joseph Myers <joseph@codesourcery.com>
38650
d6270972
JM
38651 [BZ #369]
38652 [BZ #2678]
38653 [BZ #3866]
38654 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38655 x for large integer exponent.
38656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38657 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38658 sign of result as needed afterwards.
38659 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38660 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38661 result for underflowing pow the same as for overflow.
38662 (__kernel_standard_l): Handle powl overflow and underflow here
38663 rather than calling __kernel_standard.
38664 * math/libm-test.inc (pow_test): Add more tests.
38665
414fca03 38666 [BZ #3868]
41bf21a1
JM
38667 [BZ #13879]
38668 [BZ #13910]
38669 [BZ #13911]
38670 [BZ #13912]
38671 [BZ #13913]
38672 [BZ #13915]
38673 [BZ #13916]
38674 [BZ #13917]
38675 [BZ #13918]
38676 [BZ #13919]
38677 [BZ #13920]
38678 [BZ #13921]
38679 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38680 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38681 (__kernel_standard_l): New function.
38682 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38683 __kernel_standard.
38684 * math/w_acosl.c (__acosl): Likewise.
38685 * math/w_asinl.c (__asinl): Likewise.
38686 * math/w_atan2l.c (__atan2l): Likewise.
38687 * math/w_atanhl.c (__atanhl): Likewise.
38688 * math/w_coshl.c (__coshl): Likewise.
38689 * math/w_exp10l.c (__exp10l): Likewise.
38690 * math/w_exp2l.c (__exp2l): Likewise.
38691 * math/w_fmodl.c (__fmodl): Likewise.
38692 * math/w_hypotl.c (__hypotl): Likewise.
38693 * math/w_j0l.c (__j0l, __y0l): Likewise.
38694 * math/w_j1l.c (__j1l, __y1l): Likewise.
38695 * math/w_jnl.c (__jnl, __ynl): Likewise.
38696 * math/w_lgammal.c (__lgammal): Likewise.
38697 * math/w_log10l.c (__log10l): Likewise.
38698 * math/w_log2l.c (__log2l): Likewise.
38699 * math/w_logl.c (__logl): Likewise.
38700 * math/w_powl.c (__powl): Likewise.
38701 * math/w_remainderl.c (__remainderl): Likewise.
38702 * math/w_scalbl.c (sysv_scalbl): Likewise.
38703 * math/w_sinhl.c (__sinhl): Likewise.
38704 * math/w_sqrtl.c (__sqrtl): Likewise.
38705 * math/w_tgammal.c (__tgammal): Likewise.
38706 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38707 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38708 * math/libm-test.inc (acos_test): Add more tests.
38709 (acosh_test): Likewise.
38710 (asin_test): Likewise.
38711 (atanh_test): Likewise.
38712 (exp_test): Likewise.
38713 (exp10_test): Likewise.
38714 (exp2_test): Likewise.
38715 (expm1_test): Likewise.
38716 (lgamma_test): Likewise.
38717 (log_test): Likewise.
38718 (log10_test): Likewise.
38719 (log1p_test): Likewise.
38720 (log2_test): Likewise.
38721 (pow_test): Do not allow some spurious overflow exceptions.
38722 (sqrt_test): Add more tests.
38723 (tgamma_test): Likewise.
38724 (y0_test): Likewise.
38725 (y1_test): Likewise.
38726 (yn_test): Likewise.
38727
dd62fda6
AB
387282012-03-27 Anton Blanchard <anton@samba.org>
38729
38730 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38731 MAP_HUGETLB.
38732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38733 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38735
1e3cdfda
AJ
387362012-03-27 David S. Miller <davem@davemloft.net>
38737
b855ab85
DM
38738 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38739
1e3cdfda
AJ
38740 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38741 have-as-vis3 check.
38742
387432012-03-27 Andreas Jaeger <aj@suse.de>
38744
38745 * sysdeps/x86_64/elf/configure.in: Moved to ...
38746 * sysdeps/x86_64/configure.in: ... here.
38747 * sysdeps/x86_64/elf/start.S: Moved to ...
38748 * sysdeps/x86_64/start.S: ... here.
38749 * sysdeps/x86_64/elf/configure: Delete.
38750
38751 * sysdeps/x86_64/configure.in: Merge contents from
38752 sysdeps/i386/configure.in (without i686 check).
38753
38754 * sysdeps/i386/elf/Versions: Merge into ...
38755 * sysdeps/i386/Versions: ... this.
38756 * sysdeps/i386/elf/Versions: Delete file.
38757 * sysdeps/i386/elf/start.S: Moved to ...
38758 * sysdeps/i386/start.S: ...here.
38759 * sysdeps/i386/elf/configure.in: Merge into...
38760 * sysdeps/i386/configure.in: ...here.
38761 * sysdeps/i386/elf/configure.in: Delete file.
38762 * sysdeps/i386/elf/configure: Delete file.
38763
38764 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38765 * debug/backtracesyms.c: ... here.
38766 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38767 * debug/backtracesymsfd.c: ... here.
38768 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38769 * sysdeps/generic/ifunc-sel.h: ... here.
38770
38771 * sysdeps/unix/i386/start.c: Delete file.
38772 * sysdeps/unix/sparc/start.c: Delete file.
38773 * sysdeps/unix/start.c: Delete file.
38774
38775 * sysdeps/sh/elf/configure.in: Moved to ...
38776 * sysdeps/sh/configure.in: ... here.
38777 * sysdeps/sh/elf/start.S: Moved to ...
38778 * sysdeps/sh/start.S: ... here.
38779 * sysdeps/sh/elf/configure: Delete file.
38780
38781 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38782 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38783 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38784 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38785 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38786 * sysdeps/powerpc/powerpc64/start.S: here.
38787 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38788 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38789 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38790 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38791 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38792
38793 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38794 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38795 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38796 * sysdeps/powerpc/powerpc32/start.S: ... here.
38797 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38798 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38799 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38800
38801 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38802 * sysdeps/powerpc/ifunc-sel.h: ... here.
38803 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38804 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38805
38806 * sysdeps/sparc/elf/configure.in: Moved to ...
38807 * sysdeps/sparc/configure.in: ... here.
38808 * sysdeps/sparc/elf/configure: Delete file.
38809 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38810 * sysdeps/sparc/sparc32/start.S: ... here.
38811 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38812 * sysdeps/sparc/sparc64/start.S: ... here.
38813 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38814 * sysdeps/sparc/sparc32/Makefile: ... this.
38815 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38816 * sysdeps/sparc/sparc64/Makefile: ... this.
38817
38818 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38819 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38820 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38821 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38822 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38823 * sysdeps/s390/s390-32/setjmp.S: ... here.
38824 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38825 * sysdeps/s390/s390-32/configure.in: ... here.
38826 * sysdeps/s390/s390-32/elf/configure: Delete file.
38827 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38828 * sysdeps/s390/s390-32/start.S: ... here.
38829
38830 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38831 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38832 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38833 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38834 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38835 * sysdeps/s390/s390-64/setjmp.S: ... here.
38836 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38837 * sysdeps/s390/s390-64/configure.in: ... here
38838 * sysdeps/s390/s390-64/elf/configure: Delete file.
38839 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38840 * sysdeps/s390/s390-64/start.S: ... here.
38841 * sysdeps/s390/s390-64/elf/configure: Delete.
38842
38843 * configure.in: Remove support for elf directories in sysdeps.
38844
38845 * configure: Regenerated.
38846 * sysdeps/i386/configure: Regenerated.
38847 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38848 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38849 * sysdeps/s390/s390-32/configure: Regenerated.
38850 * sysdeps/s390/s390-64/configure: Regenerated.
38851 * sysdeps/sh/configure: Regenerated.
38852 * sysdeps/sparc/configure: Regenerated.
38853 * sysdeps/x86_64/configure: Regenerated.
38854
a3f61311
AS
388552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38856
c876e002
AS
38857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38858
a3f61311
AS
38859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38860 denormal result into account.
38861
ac4c54f0
RM
388622012-03-25 Roland McGrath <roland@hack.frob.com>
38863
38864 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38865 Reported by Allan McRae <allan@archlinux.org>.
38866
6a9b9c02
JL
388672012-03-23 Jeff Law <law@redhat.com>
38868
38869 * nss/getnssent.c (__nss_getent): Fix typo.
38870
4c42a0c1
DM
388712012-03-23 David S. Miller <davem@davemloft.net>
38872
38873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38874
1532c7ac
L
388752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38876
38877 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38878 to pad to uint64_t for each field.
38879 (dl_tls_index): Replace unsigned long with uint64_t.
38880
3ff42526
PP
388812012-03-23 Daniel Jacobowitz <dmj@google.com>
38882 Paul Pluzhnikov <ppluzhnikov@google.com>
38883
38884 [BZ #6528]
38885 * grp/Makefile (otherlibs): Don't set it.
38886 * inet/Makefile (otherlibs): Likewise.
38887 * login/Makefile (otherlibs): Likewise.
38888 * nscd/Makefile (otherlibs): Likewise.
38889 * posix/Makefile (otherlibs): Likewise.
38890 * pwd/Makefile (otherlibs): Likewise.
38891 * rt/Makefile (otherlibs): Likewise.
38892 * sunrpc/Makefile (otherlibs): Likewise.
38893 * nss/Makefile (otherlibs): Likewise.
38894 Add libnss_files to routines and static-only-routines.
38895 ($(objpfx)getent): Remove rule.
38896 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38897 static-only-routines.
38898
7c69cd14
JM
388992012-03-22 Joseph Myers <joseph@codesourcery.com>
38900
38901 [BZ #13892]
38902 * math/s_cexp.c: Include <float.h>.
38903 (__cexp): Handle exp result overflowing not necessarily
38904 overflowing both real and imaginary parts of result.
38905 * math/s_cexpf.c: Likewise.
38906 * math/s_cexpl.c: Likewise.
38907 * math/libm-test.inc (cexp_test): Add more tests.
38908 * sysdeps/i386/fpu/libm-test-ulps: Update.
38909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38910
81b035fe
L
389112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38912
38913 * include/link.h (ELFW): New macro.
38914 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38915 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38916
1da7940c
L
389172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38918
38919 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38920 with uint64_t.
38921
b749dbb9
L
389222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38923
38924 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38925 declaration.
38926 (struct La_x32_retval): Likewise.
38927
2ff87f3f
L
389282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38929
38930 * sysdeps/x86_64/preconfigure.in: New file.
38931 * sysdeps/x86_64/preconfigure: New generated file.
38932
c0df8e69
JM
389332012-03-22 Joseph Myers <joseph@codesourcery.com>
38934
48e44791
JM
38935 [BZ #13824]
38936 * math/e_exp2l.c: Include <float.h>.
38937 (__ieee754_exp2l): Handle overflow and underflow cases
38938 separately. Only pass fractional part of argument to
38939 __ieee754_expl.
38940 * math/libm-test.inc (exp2_test): Add more tests.
38941
c0df8e69
JM
38942 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38943 negating x to take absolute value.
38944 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38945 Likewise.
38946 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38947 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38948 Likewise.
38949 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38950 computing low part if x was negated.
38951 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38952
c8e43ba7
L
389532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38954
38955 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38956 la_x32_gnu_pltexit.
38957 (pltexit): Cast int_retval to ptrdiff_t.
38958 * elf/tst-auditmod3b.c: Likewise.
38959 * elf/tst-auditmod4b.c: Likewise.
38960 * elf/tst-auditmod5b.c: Likewise.
38961 * elf/tst-auditmod6b.c: Likewise.
38962 * elf/tst-auditmod6c.c: Likewise.
38963 * elf/tst-auditmod7b.c: Likewise.
38964
38965 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38966 and x32_gnu_pltexit.
38967
38968 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38969 __ELF_NATIVE_CLASS.
38970 (La_x32_regs): New macro.
38971 (La_x32_retval): Likewise.
38972 (la_x32_gnu_pltenter): New function prototype.
38973 (la_x32_gnu_pltexit): Likewise.
38974
7998fa78
AS
389752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38976
dcb33988
AS
38977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38978 exponent.
38979
233fc563
AS
38980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38981
7998fa78
AS
38982 * configure.in (libc_cv_cc_nofma): Check for option to disable
38983 generation of FMA instructions.
38984 * configure: Regenerate.
38985 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38986 * sysdeps/ieee754/dbl-64/Makefile: New file.
38987 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38988 Remove brandred-fma4.
38989 (CFLAGS-brandred-fma4.c): Remove.
38990 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38991 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38992 define.
38993 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38994 define.
38995
8e95c99a
L
389962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38997
38998 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38999 LLONG_MAX != LONG_MAX.
39000 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39001 (_fitoa_word): Likewise.
39002 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39003 LLONG_MAX != LONG_MAX.
39004 * stdio-common/_itowa.h: Include <_itoa.h>.
39005 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39006 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39007 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39008 only if not defined.
39009 (_ITOA_WORD_TYPE): Likewise.
39010 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39011 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39012
6f4db457
DM
390132012-03-21 David S. Miller <davem@davemloft.net>
39014
39015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39016
7785fe5a
L
390172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39018
39019 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39020 of x86_64 when setting libc_cv_slibdir, libdir and
39021 libc_cv_localedir.
39022 * sysdeps/unix/sysv/linux/configure: Regenerated.
39023
4535cd55
JM
390242012-03-21 Joseph Myers <joseph@codesourcery.com>
39025
39026 * manual/lang.texi (Old Varargs): Remove section.
39027 (How Variadic): Update menu.
39028 (va_start): Do not mention varargs.h.
39029
17228132
TS
390302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39031 Joseph Myers <joseph@codesourcery.com>
39032
39033 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39034 link test.
39035 * configure: Regenerated.
39036
8149f976
TS
390372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39038
05f3d1f6
UD
39039 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39040 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39041 conformtest.pl
8149f976 39042
1a4ac776
JM
390432012-03-21 Joseph Myers <joseph@codesourcery.com>
39044
be22ce65
JM
39045 * NOTES: Remove.
39046 * Makefile (files-for-dist): Remove NOTES.
39047 (NOTES): Remove rule.
39048 * README: Don't refer to NOTES.
39049 * manual/creature.texi: Don't include macros.texi.
39050 * manual/intro.texi (creature.texi): Remove comment referring to
39051 NOTES.
39052
40b601fb
JM
39053 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39054 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39055 * configure: Regenerated.
39056 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39057 LIBC_TRY_CC_OPTION.
39058 (libc_cv_as_i686): Likewise.
39059 (libc_cv_cc_avx): Likewise.
39060 (libc_cv_cc_sse2avx): Likewise.
39061 (libc_cv_cc_fma4): Likewise.
39062 (libc_cv_cc_novzeroupper): Likewise.
39063 * sysdeps/i386/configure: Regenerated.
39064
1a4ac776
JM
39065 [BZ #13883]
39066 * sysdeps/i386/fpu/s_cexp.S: Remove.
39067 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39068 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39069 * math/libm-test.inc (cexp_test): Add more tests.
39070 * sysdeps/i386/fpu/libm-test-ulps: Update.
39071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39072
a458e7fe
AM
390732012-03-21 Allan McRae <allan@archlinux.org>
39074
39075 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39076
0cb7efc5
JM
390772012-03-21 Joseph Myers <joseph@codesourcery.com>
39078
39079 [BZ #13871]
39080 * math/w_exp2.c: Do not include <float.h>.
39081 (o_threshold, u_threshold): Remove.
39082 (__exp2): Calculate result before checking finiteness and calling
39083 __kernel_standard.
39084 * math/w_exp2f.c: Likewise.
39085 * math/w_exp2l.c: Likewise.
39086 * math/libm-test.inc (exp2_test): Require overflow exception for
39087 1e6 input.
2460d3aa
JM
39088
39089 [BZ #3866]
39090 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39091 range of signed 64-bit integers before using fistpll. Remove
39092 checks for whether integers fit in mantissa bits.
39093 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39094 the range of signed 32-bit integers before using fistpl. Remove
39095 checks for whether integers fit in mantissa bits.
39096 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39097 (__ieee754_powl): Test for y outside the range of signed 64-bit
39098 integers before using fistpll. Reduce 64-bit values to 63-bit
39099 ones as needed.
39100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39101 divide-by-zero is raised for zero to large negative powers.
39102 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39103 (__ieee754_powl): Test for y outside the range of signed 64-bit
39104 integers before using fistpll. Reduce 64-bit values to 63-bit
39105 ones as needed.
39106 * math/libm-test.inc (pow_test): Add more tests.
39107
eb96ffb0
L
391082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39109
39110 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39111 <stdio-common/_itoa.h>.
39112 * debug/segfault.c: Likewise.
39113 * elf/dl-cache.c: Likewise.
39114 * elf/dl-minimal.c: Likewise.
39115 * elf/dl-misc.c: Likewise.
39116 * elf/dl-sysdep.c: Likewise.
39117 * elf/dl-version.c: Likewise.
39118 * elf/rtld.c: Likewise.
39119 * hurd/hurdsock.c: Likewise.
39120 * hurd/lookup-retry.c: Likewise.
39121 * malloc/malloc.c: Likewise.
39122 * malloc/mtrace.c: Likewise.
39123 * nscd/nscd_getgr_r.c: Likewise.
39124 * nscd/nscd_getpw_r.c: Likewise.
39125 * nscd/nscd_getserv_r.c: Likewise.
39126 * posix/getopt_init.c: Likewise.
39127 * posix/wordexp.c: Likewise.
39128 * stdio-common/_itoa.c: Likewise.
39129 * stdio-common/printf_fphex.c: Likewise.
39130 * stdio-common/vfprintf.c: Likewise.
39131 * string/_strerror.c: Likewise.
39132 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39133 * sysdeps/i386/i686/hp-timing.h: Likewise.
39134 * sysdeps/mach/_strerror.c: Likewise.
39135 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39136 * sysdeps/mach/hurd/sethostid.c: Likewise.
39137 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39138 * sysdeps/mach/xpg-strerror.c: Likewise.
39139 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39140 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39141 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39142 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39143 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39144 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39145 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39146 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39147 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39148 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39149 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39150 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39151 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39152 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39153 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39154 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39155 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39156 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39157 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39158 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39159 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39160
39161 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39162
39163 * stdio-common/_itoa.h: Moved to ...
39164 * sysdeps/generic/_itoa.h: Here.
39165
39166 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39167
39168 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39169 instead of "_itoa.h" and "_itowa.h".
39170 * stdio-common/vfprintf.: Likewise.
39171
d1af992d
L
391722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39173
39174 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39175 <bits/wordsize.h>.
39176 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39177 (__signbit): Likwise.
39178 (llrintf): Likwise.
39179 (llrint): Likwise.
39180
114883e0
L
391812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39182
39183 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39184 __WORDSIZE != 64.
39185
c135cc1b
JM
391862012-03-20 Joseph Myers <joseph@codesourcery.com>
39187
39188 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39189 OVERFLOW_EXCEPTION_OK.
39190 * math/libm-test.inc ("Philosophy"): Update comment about
39191 exception testing.
39192 (OVERFLOW_EXCEPTION): Define.
39193 (OVERFLOW_EXCEPTION_OK): Likewise.
39194 (INVALID_EXCEPTION_OK): Renumber.
39195 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39196 (IGNORE_ZERO_INF_SIGN): Likewise.
39197 (test_exceptions): Handle FE_OVERFLOW.
39198 (exp10_test): Expect overflow exceptions.
39199 (exp2_test): Likewise.
39200 (expm1_test): Likewise.
39201 (nextafter_test): Likewise.
39202 (pow_test): Likewise.
39203 (scalbn_test): Likewise.
39204 (scalbln_test): Likewise.
39205
95443d88
L
392062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39207
39208 * sysdeps/x86_64/bits/atomic.h
39209 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39210 64bit integer.
39211 (atomic_exchange_acq): Likewise.
39212 (__arch_exchange_and_add_body): Likewise.
39213 (__arch_add_body): Likewise.
39214 (atomic_add_negative): Likewise.
39215 (atomic_add_zero): Likewise.
39216
490df6c4
L
392172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39218
c2722551 39219 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39220 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39221
5e52b189
L
392222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39223
39224 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39225 Check __x86_64__ instead of __WORDSIZE.
39226
a9879d4c
L
392272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39228
39229 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39230
5df98260
DM
392312012-03-19 David S. Miller <davem@davemloft.net>
39232
e1497744
DM
39233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39234
5df98260
DM
39235 * sysdeps/sparc/fpu/fenv_private.h: New file.
39236 * sysdeps/sparc/fpu/math_private.h: Use it.
39237 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39238 Remove.
57f41c40 39239 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39240 (libc_feholdexcept_setroundl): Remove.
39241 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39242 Remove.
39243 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39244 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39245
b4c35121
L
392462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39247
39248 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39249 int64_t instead of long int.
39250 (INSERT_WORDS64): Likwise.
39251
56965fd7
L
392522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39253
39254 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39255 _Unwind_GetCFA return to _Unwind_Ptr first.
39256
83d1aec8
JM
392572012-03-19 Joseph Myers <joseph@codesourcery.com>
39258
1897ad44
JM
39259 [BZ #13629]
39260 * math/s_clog.c: Include <float.h>.
39261 (__clog): Scale large or subnormal inputs.
39262 * math/s_clogf.c: Likewise.
39263 * math/s_clogl.c: Likewise.
39264 * math/s_clog10.c: Include <float.h>.
39265 (M_LOG10_2): Define.
39266 (__clog10): Scale large or subnormal inputs.
39267 * math/s_clog10f.c: Likewise.
39268 * math/s_clog10l.c: Likewise.
39269 * math/libm-test.inc (clog_test): Add more tests.
39270 (clog10_test): Likewise.
39271 * sysdeps/i386/fpu/libm-test-ulps: Update.
39272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39273
7726d6a9
JM
39274 [BZ #11451]
39275 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39276 x and y.
39277 * math/libm-test.inc (atan2_test): Add another test.
39278
83d1aec8
JM
39279 * Makerules (common-objdir-compile): Remove.
39280 * sysdeps/unix/Makefile (config-generated): Do not add
39281 $(unix-generated) to variable.
39282 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39283 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39284 Remove rule.
39285 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39286 Likewise.
39287 [generic bits/local_lim.h] (before-compile): Do not append to
39288 variable.
39289 [generic bits/local_lim.h] (common-generated): Likewise.
39290 [generic sys/param.h] (before-compile): Do not append to variable.
39291 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39292 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39293 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39294 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39295 include.
39296 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39297 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39298 [generic sys/param.h] ($(addprefix
39299 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39300 [generic sys/param.h] (common-generated): Do not append to
39301 variable.
39302 [generic sys/param.h] (sysdep_headers): Likewise.
39303 [generic bits/errno.h] (before-compile): Do not append to
39304 variable.
39305 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39306 rule.
39307 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39308 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39309 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39310 [generic bits/errno.h] (common-generated): Do not append to
39311 variable.
39312 [generic bits/ioctls.h] (before-compile): Do not append to
39313 variable.
39314 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39315 rule.
39316 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39317 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39318 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39319 rule.
39320 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39321 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39322 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39323 [generic bits/ioctls.h] (common-generated): Do not append to
39324 variable.
39325 [generic sys/syscall.h] (syscall.h): Remove variable.
39326 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39327 rule.
39328 [generic sys/syscall.h] (before-compile): Do not append to
39329 variable.
39330 [generic sys/syscall.h] (common-generated): Likewise.
39331 * sysdeps/unix/errnos-tmpl.c: Remove file.
39332 * sysdeps/unix/errnos.awk: Likewise.
39333 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39334 * sysdeps/unix/ioctls.awk: Likewise.
39335 * sysdeps/unix/mk-local_lim.c: Likewise.
39336 * sysdeps/unix/snarf-ioctls: Likewise.
39337
4851a949
RH
393382012-03-19 Richard Henderson <rth@twiddle.net>
39339
bd37f2ee
RH
39340 * sysdeps/i386/fpu/fenv_private.h: New file.
39341 * sysdeps/i386/fpu/math_private.h: Use it.
39342 (math_opt_barrier, math_force_eval): Remove.
39343 (libc_feholdexcept_setround_53bit): Remove.
39344 (libc_feupdateenv_53bit): Remove.
39345 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39346 (math_opt_barrier, math_force_eval): Remove.
39347 (libc_feholdexcept): Remove.
39348 (libc_feholdexcept_setround): Remove.
39349 (libc_fetestexcept, libc_fesetenv): Remove.
39350 (libc_feupdateenv_test): Remove.
39351 (libc_feupdateenv, libc_feholdsetround): Remove.
39352 (libc_feresetround): Remove.
39353
d0adc922
RH
39354 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39355 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39356
0fe0f1f8
RH
39357 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39358 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39359 (libc_feupdateenv_testl): New.
39360 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39361 (libc_feupdateenv_testf): New.
39362 (libc_feupdateenv): Use libc_feupdateenv_test.
39363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39364 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39365
eb92c487
RH
39366 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39367 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39368 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39369 (libc_feresetround_noex): New.
39370 (libc_feresetround_noexf): New.
39371 (libc_feresetround_noexl): New.
39372 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39373 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39374 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39375 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39376 SET_RESTORE_ROUND.
39377 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39378 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39379 (__cos): Likewise.
39380 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39381 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39382 SET_RESTORE_ROUND_NOEX.
39383 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39384 SET_RESTORE_ROUND_NOEXF.
39385 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39386 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39387 (libc_feholdsetroundf): New.
39388 (libc_feresetround, libc_feresetroundf): New.
39389
7d2e8012
RH
39390 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39391 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39392 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39393
b4dabbb4
RH
39394 * sysdeps/generic/math_private.h: Include <fenv.h>.
39395 (default_libc_feholdexcept): New.
39396 (default_libc_feholdexcept_setround): New.
39397 (default_libc_fesetenv, default_libc_feupdateenv): New.
39398 (libc_feholdexcept): Only define if undefined.
39399 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39400 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39401 (libc_feholdexcept_setroundl): Likewise.
39402 (libc_feholdexcept_setround_53bit): Likewise.
39403 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39404 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39405 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39406 (libc_feupdateenv_53bit): Likewise.
39407 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39408 (libc_feholdexcept): Convert from macro to inline function.
39409 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39410 (libc_fesetenv, libc_feupdateenv): Likewise.
39411
4851a949
RH
39412 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39413 not previously defined.
39414 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39415 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39416 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39417 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39418 * sysdeps/ieee754/flt-32/math_private.h: New file.
39419 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39420 math_private.h below SET_FLOAT_WORD.
39421 (__isnan, __isinf_ns, __finite): Remove.
39422 (__isnanf, __isinf_nsf, __finitef): Remove.
39423
e79d442e
AS
394242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39425
39426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39427
90b80344
DM
394282012-03-17 David S. Miller <davem@davemloft.net>
39429
39430 [BZ #6471]
39431 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39432 for 2.16.
39433
edc21804
DM
394342012-03-16 David S. Miller <davem@davemloft.net>
39435
77e927af
DM
39436 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39437 warnings.
39438
374976dd
DM
39439 [BZ #6471]
39440 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39441 properly.
39442 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39443 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39444 sysdep_routines when subdir is sysvipc.
39445 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39446 __getshmlba helper.
39447
edc21804
DM
39448 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39449
473c3ef3
L
394502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39451
39452 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39453 [__LP64__].
39454
eb0f39b6
L
394552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39456
39457 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39458 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39459 (__lround): Renamed to ...
39460 (__llround): This. Replace long int with long long int.
39461 Define lround functions as aliases of llround functions.
39462 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39463
6b6cd74b
L
394642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39465
39466 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39467 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39468 adresses to uintptr_t. Replace "long int" and "unsigned long
39469 int" with "greg_t" on va_arg.
39470
f1a77b01
L
394712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39472
39473 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39474 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39475
39476 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39477 Move e_machine check before EI_CLASS check. Handle x32
39478 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39479 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39480 SKIP_EM_IA_64 and include
39481 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39482
39483 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39484 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39485 (add_system_dir): New macro.
39486
39487 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39488 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39489
11b90b9f
JM
394902012-03-16 Joseph Myers <joseph@codesourcery.com>
39491
c36e1d23
JM
39492 [BZ #2551]
39493 [BZ #2552]
39494 [BZ #2553]
39495 [BZ #2554]
39496 [BZ #2562]
39497 [BZ #2563]
39498 [BZ #2565]
39499 [BZ #2566]
39500 [BZ #2576]
39501 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39502 (y0): Likewise.
39503 * math/w_j0f.c (j0f): Likewise.
39504 (y0f): Likewise.
39505 * math/w_j0l.c (__j0l): Likewise.
39506 (__y0l): Likewise.
39507 * math/w_j1.c (j1): Likewise.
39508 (y1): Likewise.
39509 * math/w_j1f.c (j1f): Likewise.
39510 (y1f): Likewise.
39511 * math/w_j1l.c (__j1l): Likewise.
39512 (__y1l): Likewise.
39513 * math/w_jn.c (jn): Likewise.
39514 (yn): Likewise.
39515 * math/w_jnf.c (jnf): Likewise.
39516 (ynf): Likewise.
39517 * math/w_jnl.c (__jnl): Likewise.
39518 (__ynl): Likewise.
39519 * math/libm-test.inc (j0_test): Add more tests.
39520 (j1_test): Likewise.
39521 (jn_test): Likewise. Add trailing semicolon to existing test.
39522 (y0_test): Likewise.
39523 (y1_test): Likewise.
39524 * sysdeps/i386/fpu/libm-test-ulps: Update.
39525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39526
11b90b9f
JM
39527 [BZ #13851]
39528 [BZ #13854]
39529 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39530 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39531 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39532 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39533 (__tanl): Set errno for infinite argument.
39534 * sysdeps/i386/fpu/mptan.c: Remove.
39535 * sysdeps/i386/fpu/s_tan.S: Likewise.
39536 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39537 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39538 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39539 * math/libm-test.inc (tan_test): Add more tests and enable more
39540 tests for double and long double.
39541 * sysdeps/i386/fpu/libm-test-ulps: Update.
39542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39543
6a1bd2a1
JK
395442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39545
39546 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39547 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39548
10a803e0
RM
395492012-03-16 Roland McGrath <roland@hack.frob.com>
39550
39551 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39552 * configure.in: Use it for both main tree and add-ons.
39553 * configure: Regenerated.
39554
f196c7f7
L
395552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39556
39557 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39558
8848d99d
JM
395592012-03-16 Joseph Myers <joseph@codesourcery.com>
39560
96cbe7f4
JM
39561 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39562 in comment.
39563
8848d99d
JM
39564 [BZ #13851]
39565 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39566 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39570 infinite argument.
39571 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39573 != 0 for prec == 2.
39574 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39575 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39576 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39577 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39578 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39579 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39580 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39581 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39582 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39583 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39584 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39585 * math/libm-test.inc (cos_test): Add more tests and enable more
39586 tests for long double.
39587 (sin_test): Likewise.
39588 (sincos_test): Likewise.
39589 * sysdeps/i386/fpu/libm-test-ulps: Update.
39590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39591
dd7f4703
DM
395922012-03-16 David S. Miller <davem@davemloft.net>
39593
39594 * sysdeps/sparc/fpu/math_private.h: New file.
39595
006f1daa
DM
395962012-03-15 David S. Miller <davem@davemloft.net>
39597
c0c83bc8
DM
39598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39599 file.
e6a62e18 39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39602 file.
e6a62e18
DM
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39609 sysdep routines.
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39611
88cb87d9
DM
39612 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39613 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39614
006f1daa 39615 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39617 sparc-ifunc.h
006f1daa 39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39620 Likewise.
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39622 Likewise.
006f1daa
DM
39623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39627 Likewise.
006f1daa
DM
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39633 Likewise.
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39635 Likewise.
006f1daa
DM
39636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39660
11e0098e
AS
396612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39662
39663 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39664 scaling.
39665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39666
e85b09d0
AJ
396672012-03-15 Andreas Jaeger <aj@suse.de>
39668
39669 [BZ #13852]
39670 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39671 ieee754/flt-32 implementation for sin, cos and sincos.
39672 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39673 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39674 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39675 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39676 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39677 ieee754/flt-32 implementation for tan.
39678
39679 * math/libm-test.inc (cos_test): Enable some large input tests for
39680 float as well
39681 (sin_test): Likewise.
39682 (sincos_test): Likewise.
39683 (tan_test): Add tests for large input.
39684
39685 * sysdeps/i386/fpu/libm-test-ulps: Update.
39686
81c64153
AJ
396872012-03-15 Andreas Jaeger <aj@suse.de>
39688
39689 [BZ #13658]
39690 * math/libm-test.inc (cos_test): Add more test cases.
39691 (sin_test): Likewise.
39692 (sincos_test): Likewise.
39693
7bbfa5c6
AJ
396942012-03-15 Andreas Jaeger <aj@suse.de>
39695
39696 [BZ #13837]
39697 * math/libm-test.inc (cos_test): Add a test case for large input
39698 value.
39699 (sin_test): Likewise.
39700 (sincos_test): Likewise.
39701
57f41c40
AS
397022012-03-15 Andreas Jaeger <aj@suse.de>
39703 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39704
39705 [BZ #13658]
0671f479 39706 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39707 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39708 * sysdeps/i386/fpu/branred.c: Likewise.
39709 * sysdeps/i386/fpu/dosincos.c: Likewise.
39710 * sysdeps/i386/fpu/mpa.c: Likewise.
39711 * sysdeps/i386/fpu/s_cos.S: Likewise.
39712 * sysdeps/i386/fpu/s_sin.S: Likewise.
39713 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39714 * sysdeps/i386/fpu/sincos32.c: Likewise.
39715
39716 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39717 Define.
39718 (libc_feupdateenv_53bit): Define.
39719 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39720 Define.
39721 (libc_feupdateenv_53bit): Define.
39722
39723 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39724 53 bit (without extend i386 double precision).
39725
39726 * math/libm-test.inc (sincos_test): Add tests for large input.
39727 (sin): Likewise.
39728 (cos): Likewise.
39729
39730 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39731
9cad04ea
AS
397322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39733
39734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39735
f7062b9a
DM
397362012-03-15 David S. Miller <davem@davemloft.net>
39737
39738 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39739 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39740 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39741 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39754 file.
f7062b9a 39755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39757 file.
f7062b9a 39758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39760 file.
f7062b9a 39761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39763 file.
f7062b9a
DM
39764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39765 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39766 fmin/fmax sysdep routines.
39767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39768
7bd951ff
DM
397692012-03-14 David S. Miller <davem@davemloft.net>
39770
559398ab
DM
39771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39799 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39800 routines.
39801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39802 file.
559398ab 39803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39805 file.
559398ab 39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39808 file.
559398ab 39809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39811 file.
559398ab 39812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39814 file.
559398ab 39815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39817 file.
39818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39819 file.
39820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39821 file.
39822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39823 file.
39824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39825 New file.
39826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39827 file.
39828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39829 file.
559398ab 39830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39832 file.
559398ab 39833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39835 file.
559398ab 39836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39838 file.
559398ab 39839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39841 VIS3 routines.
559398ab
DM
39842
39843 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39844 New file.
39845
5a1c1e32
DM
39846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39847
eae47a36
DM
39848 * sysdeps/sparc/configure.in: New file.
39849 * sysdeps/sparc/configure: Generate.
39850 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39851 * configure: Regenerate.
39852 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39853 * config.make.in (have-as-vis3): New.
39854 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39855 available use -Av9d instead of -Av9a.
39856 * sysdeps/sparc/sparc64/Makefile: Likewise.
39857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39859 New file.
39860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39861 file.
39862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39863 New file.
39864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39865 file.
eae47a36
DM
39866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39871
c0c83bc8
DM
39872 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39873 fzeros/fnegs to load 0x80000000 into a float register instead of
39874 using the stack.
7bd951ff
DM
39875 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39876
bd951ccb
JM
398772012-03-14 Joseph Myers <joseph@codesourcery.com>
39878
39879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39880 bits/syscall.h.
39881 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39882 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39883 ($(inst_includedir)/bits/syscall.h): Remove rule.
39884 ($(objpfx)bits/syscall.d): Include instead of
39885 $(objpfx)syscall-list.d.
39886 (generated): Change syscall-list.h and syscall-list.d to
39887 bits/syscall.h and bits/syscall.d.
39888
bb4e6db2
RM
398892012-03-14 Roland McGrath <roland@hack.frob.com>
39890
39891 [BZ #13846]
39892 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39893
aa4a2ae1
JM
398942012-03-14 Joseph Myers <joseph@codesourcery.com>
39895
e456826d
JM
39896 [BZ #13841]
39897 * math/s_csqrt.c: Include <float.h>.
39898 (__csqrt): Scale large or subnormal inputs.
39899 * math/s_csqrtf.c: Likewise.
39900 * math/s_csqrtl.c: Likewise.
39901 * math/libm-test.inc (csqrt_test): Add more tests.
39902 * sysdeps/i386/fpu/libm-test-ulps: Update.
39903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39904
aa4a2ae1
JM
39905 [BZ #13840]
39906 * math/libm-test.inc (hypot_test): Add more tests.
39907
7c10fd35
DM
399082012-03-13 David S. Miller <davem@davemloft.net>
39909
39910 [BZ #13840]
39911 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39912 double-precision for the calculation instead of scaling.
39913
f453b98b
JM
399142012-03-13 Joseph Myers <joseph@codesourcery.com>
39915
39916 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39917 manipulate bits before adding and subtracting TWO52[sx].
39918 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39919 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39920 Likewise.
39921 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39922
09a3453f
DM
399232012-03-13 David S. Miller <davem@davemloft.net>
39924
8e59da90
DM
39925 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39926 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39928 rtld-global-offsets.h
39929 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39930
2a8ab7f2
DM
39931 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39932 large parameters.
39933
10f62770
DM
39934 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39935
5f0bdb18
DM
39936 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39937 'err' in the ifdef scope in which it is actually used.
39938
09a3453f
DM
39939 * nss/nss_db/db-init.c: Include string.h
39940
b4b2eb5e
DM
399412012-03-12 David S. Miller <davem@davemloft.net>
39942
98bb2f1c
DM
39943 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39944 masking out of the most significant byte of random value used.
39945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39946 Fix coding style in previous change.
39947
b4b2eb5e
DM
39948 * sysdeps/unix/sysv/linux/kernel-features.h
39949 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39950 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39951 expression.
39952 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39953 later.
39954
6e226b09
DM
399552012-03-11 David S. Miller <davem@davemloft.net>
39956
a1bcbd40
DM
39957 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39958 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39959 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39960 for 'resultvar' otherwise things get truncated on 64-bit.
39961
cb9d6174
DM
39962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39963 Fix masking out of the most significant byte of random value used.
39964
6e226b09
DM
39965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39966
058c132d
AS
399672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39968
39969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39970
2d2cd515
DM
399712012-03-09 David S. Miller <davem@davemloft.net>
39972
39973 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39974 variables with appropriate CPP guards.
57f41c40
AS
39975 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39976 from the frame pointer, not the stack pointer. Correct layout
39977 comments. Fix test on resulting framesize and the management of
39978 the outregs buffer for pltexit. Preserve floating point return
39979 values across _dl_call_pltexit call.
2d2cd515
DM
39980 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39981 framesize and the management of the outregs buffer for pltexit.
39982 Preserve floating point return values across _dl_call_pltexit
39983 call.
57f41c40
AS
39984 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39985 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39986 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39987 (print_exit): Fix format string for return register value.
39988
9a07f9d0
JM
399892012-03-10 Joseph Myers <joseph@codesourcery.com>
39990
39991 * sunrpc/Makefile (others): Add rpcgen.
39992 ($(objpfx)rpcgen): Remove special build rule and dependency on
39993 libc.
39994 * sunrpc/rpcgen.c: New file.
39995
547b5e30
PE
399962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39997
c524201a
PE
39998 [BZ #13673]
39999 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40000 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40001 * sysdeps/i386/crti.S: Likewise.
40002 * sysdeps/i386/crtn.S: Likewise.
40003 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40004 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40005 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40006 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40007 * sysdeps/sh/crti.S: Likewise.
40008 * sysdeps/sh/crtn.S: Likewise.
40009 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40010
7b6235f2
PE
40011 [BZ #13673]
40012 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40013 with URL.
40014 * locale/programs/locfile-kw.gperf: Likewise.
40015 * locale/programs/charmap-kw.h: Regenerated.
40016 * locale/programs/locfile-kw.h: Likewise.
40017
547b5e30
PE
40018 [BZ #13673]
40019 * intl/plural.y: Replace FSF snail mail address with URL.
40020 * intl/plural.c: Regenerated.
40021
5f0a5dae
RH
400222012-03-09 Richard Henderson <rth@twiddle.net>
40023
40024 * include/math_private.h: Remove file.
40025 * math/math_private.h: Move file ...
40026 * sysdeps/generic/math_private.h: ... here.
40027
b8c03620
RH
40028 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40029 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40030 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40031
4e234f5d 40032 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40033 and <math_private.h>.
40034 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40035 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40036 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40037 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40038 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40064 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40066 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40067 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40068 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40069 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40070 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40071 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40072 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40073 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40074 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40075 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40076 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40078 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40079 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40080 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40081 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40082 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40083 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40084 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40085 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40086 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40088 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40089 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40090 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40091 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40092 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40093 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40095 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40097 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40098 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40099 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40100 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40101 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40102 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40103 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40104 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40105 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40107 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40108 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40112 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40113 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40114 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40115 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40116 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40117 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40118 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40121 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40122 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40123 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40124 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40125 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40127 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40128 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40129 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40130 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40131 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40132 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40133 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40134 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40135 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40136 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40137 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40138 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40139 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40140 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40141 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40142 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40144 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40145 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40146 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40147 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40148 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40150 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40151 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40152 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40153 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40154 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40155 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40156 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40157 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40158 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40159 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40160 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40161 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40162 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40163 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40164 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40165 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40166 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40167 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40168 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40169 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40170 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40171 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40172 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40173 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40174 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40175 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40176 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40177 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40178 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40179 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40180 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40181 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40182 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40183 * sysdeps/ieee754/k_standard.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40251 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40257 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40258 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40261 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40275 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40277 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40279 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40281 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40282 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40287 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40288 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40293 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40294 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40296 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40297 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40298 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40299 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40301 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40303 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40304 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40306 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40311 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40312 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40316 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40329 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40332 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40333 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40334 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40344 * sysdeps/ieee754/s_lib_version.c: Likewise.
40345 * sysdeps/ieee754/s_matherr.c: Likewise.
40346 * sysdeps/ieee754/s_signgam.c: Likewise.
40347 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40348 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40349 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40350 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40351 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40352 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40353 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40354 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40355 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40356 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40357 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40358 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40359 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40360 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40361 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40362 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40364 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40365 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40368
1991fa03
JM
403692012-03-09 Joseph Myers <joseph@codesourcery.com>
40370
40371 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40372 * sunrpc/rpc_main.c: Likewise.
40373 * sunrpc/rpc_svcout.c: Likewise.
40374
60d6f5a6
DM
403752012-03-09 David S. Miller <davem@davemloft.net>
40376
40377 * include/math_private.h: New file.
40378
4962050e
JM
403792012-03-09 Joseph Myers <joseph@codesourcery.com>
40380
02a6f887
JM
40381 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40382 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40383 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40384 from <bits/socket_type.h>.
40385 (enum __socket_type): Don't define here.
40386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40388 bits/socket_type.h.
40389
c6e013c1
JM
40390 [BZ #13566]
40391 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40392 checking __USE_GNU.
40393
4962050e
JM
40394 * Makerules ($(inst_includedir)/%.h): New rule.
40395 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40396 (install-others): Remove variable setting.
40397 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40398
38842f45
RH
403992012-03-08 Richard Henderson <rth@twiddle.net>
40400
67bb6da6
RH
40401 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40402 from macro to inline function; merge with the
40403 !__LIBC_INTERNAL_MATH_INLINES version.
40404 (__ieee754_sqrtf): Likewise.
40405
15194b4b
RH
40406 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40407 to inline function.
40408 (__rintf, __floor, __floorf): Likewise.
40409
64e21ede
RH
40410 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40411 macro to inline function.
40412 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40413
38842f45
RH
40414 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40415 not <math/math_private.h>.
40416
c64bf5fe
DM
404172012-03-08 David S. Miller <davem@davemloft.net>
40418
40419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40420 copyright year.
40421 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40422
82d86f28
TS
404232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40424
40425 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40426 normalization.
40427 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40428 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40429
aea5d727
UD
404302012-03-08 Ulrich Drepper <drepper@gmail.com>
40431
40432 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40433 be defined individually, they must be defined as a block. Define
40434 S for printing a string instead of hidint the different by using a
40435 macro for adding the 'l'.
40436 * stdio-common/tst-fphex-wide.c: Adjust.
40437
70bca0a3
MP
404382012-03-07 Marek Polacek <polacek@redhat.com>
40439
40440 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40441
65b81130
MP
404422012-03-08 Marek Polacek <polacek@redhat.com>
40443
40444 [BZ #13806]
40445 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40446 * stdio-common/tst-fphex.c: Define a few macros to make the
40447 test reusable. Use them.
40448 * stdio-common/tst-fphex-wide.c: New file.
40449
07037eeb
JM
404502012-03-08 Joseph Myers <joseph@codesourcery.com>
40451
a7a93d50
JM
40452 [BZ #6911]
40453 * manual/macros.texi (gnusystems): New macro.
40454 (nongnusystems): Likewise.
40455 (gnulinuxhurdsystems): Likewise.
40456 (gnuhurdsystems): Likewise..
40457 (gnulinuxsystems): Likewise.
40458 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40459 variants of the GNU system, not "GNU system".
40460 * manual/conf.texi: Likewise.
40461 * manual/errno.texi: Likewise. Update example of errno macro
40462 expansion.
40463 * manual/filesys.texi: Likewise.
40464 (getumask): Document as specific to GNU/Hurd.
40465 * manual/install.texi: Likewise. Reword some references to
40466 GNU/Linux.
40467 * manual/intro.texi: Likewise.
40468 * manual/io.texi: Likewise.
40469 (File Name Portability): Detail which constraints are inapplicable
40470 to all GNU systems and which are only inapplicable to GNU/Hurd.
40471 * manual/job.texi: Likewise.
40472 * manual/llio.texi: Likewise.
40473 (O_NOCTTY): Document as present on GNU/Linux.
40474 * manual/maint.texi: Likewise.
40475 * manual/memory.texi: Likewise.
40476 * manual/pattern.texi: Likewise.
40477 * manual/pipe.texi: Likewise.
40478 * manual/process.texi: Likewise.
40479 * manual/resource.texi: Likewise.
40480 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40481 child on GNU/Hurd.
40482 * manual/setjmp.texi: Likewise.
40483 * manual/signal.texi: Likewise.
40484 * manual/startup.texi: Likewise.
40485 * manual/stdio.texi: Likewise.
40486 * manual/terminal.texi: Likewise.
40487 (ONLCR): Document as POSIX.
40488 (OXTABS): Document availability on GNU/Linux as XTABS.
40489 (ONOEOT): Document availability separately from other bits.
40490 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40491 * manual/time.texi: Likewise.
40492 * manual/users.texi: Likewise.
40493 * INSTALL: Regenerated.
40494 * sysdeps/gnu/errlist.c: Regenerated.
40495
07037eeb
JM
40496 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40497 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40498 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40499 puts.
40500 * configure: Regenerated.
40501
d1d3431a
JM
405022012-03-07 Joseph Myers <joseph@codesourcery.com>
40503
af6a1e37
JM
40504 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40505 default includes instead of AC_HEADER_CHECK.
40506 * sysdeps/i386/configure: Regenerated.
40507
d1d3431a
JM
40508 [BZ #10716]
40509 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40510 * math/s_cacoshf.c (__cacoshf): Likewise.
40511 * math/s_cacoshl.c (__cacoshl): Likewise.
40512 * math/s_casinh.c (__casinh): Set signs of result from argument.
40513 * math/s_casinhf.c (__casinhf): Likewise.
40514 * math/s_casinhl.c (__casinhl): Likewise.
40515 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40516 (casinh_test): Add more tests.
40517 * sysdeps/i386/fpu/libm-test-ulps: Update.
40518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40519
482ff4da
UD
405202012-03-07 Ulrich Drepper <drepper@gmail.com>
40521
872fda05
UD
40522 * po/zh_TW.po: Update from translation team.
40523
a4300c7a
UD
40524 * login/Makefile (distribute): Remove variable.
40525 * catgets/Makefile: Likewise.
40526 * mach/Makefile: Likewise.
40527 * malloc/Makefile: Likewise.
40528 * misc/Makefile: Likewise.
40529 * iconv/Makefile: Likewise.
40530 * nscd/Makefile: Likewise.
40531 * hurd/Makefile: Likewise.
40532 * manual/Makefile: Likewise.
40533 * locale/Makefile: Likewise.
40534 * intl/Makefile: Likewise.
40535 * conform/Makefile: Likewise.
40536 * nss/Makefile: Likewise.
40537 * time/Makefile: Likewise.
40538 * soft-fp/Makefile: Likewise.
40539 * dirent/Makefile: Likewise.
40540 * gmon/Makefile: Likewise.
40541 * po/Makefile: Likewise.
40542 * rt/Makefile: Likewise.
40543 * socket/Makefile: Likewise.
40544 * math/Makefile: Likewise.
40545 * signal/Makefile: Likewise.
40546 * debug/Makefile: Likewise.
40547 * elf/Makefile: Likewise.
40548 * timezone/Makefile: Likewise.
40549 * stdlib/Makefile: Likewise.
40550 * iconvdata/Makefile: Likewise.
40551 * sunrpc/Makefile: Likewise.
40552 * io/Makefile: Likewise.
40553 * argp/Makefile: Likewise.
40554 * inet/Makefile: Likewise.
40555 * hesiod/Makefile: Likewise.
40556 * grp/Makefile: Likewise.
40557 * csu/Makefile: Likewise.
40558 * wctype/Makefile: Likewise.
40559 * crypt/Makefile: Likewise.
40560 * libio/Makefile: Likewise.
40561 * string/Makefile: Likewise.
40562 * nis/Makefile: Likewise.
40563 * resolv/Makefile: Likewise.
40564 * stdio-common/Makefile: Likewise.
40565 * wcsmbs/Makefile: Likewise.
40566 * dlfcn/Makefile: Likewise.
40567 * posix/Makefile: Likewise.
40568
3b7c4e74 40569 [BZ #6959]
482ff4da
UD
40570 * timezone/Makefile: Don't install timezone files, just the programs
40571 and scripts.
40572
f72ed77d
UD
405732012-03-06 Ulrich Drepper <drepper@gmail.com>
40574
a000466f
UD
40575 * nss/databases.def: Add missing gshadow entry.
40576
f72ed77d
UD
40577 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40578
a53b7a4e
MP
405792012-03-06 Marek Polacek <polacek@redhat.com>
40580
40581 [BZ #13726]
40582 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40583 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40584 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40585 * stdio-common/tst-long-dbl-fphex.c: New file.
40586
e9258400
DM
405872012-03-06 David S. Miller <davem@davemloft.net>
40588
40589 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40590 (set_obp_int): New function.
40591 (get_obp_int): New function.
40592 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40593 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40594 Avoid unused variable warnings on 'val' and use builtin_expect.
40595 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40596 __builtin_expect.
e9258400
DM
40597 (INLINE_CLONE_SYSCALL): Likewise.
40598
3bd2c723
DM
405992012-03-05 David S. Miller <davem@davemloft.net>
40600
40601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40602
bbb78d03
AS
406032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40604
884c5db4
AS
40605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40606
bbb78d03
AS
40607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40608 only for |x| >= 40.
40609 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40610
1c9f702a 406112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40612
40613 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40614 Replace gettimeofday with __vdso_gettimeofday.
40615
7be16f82
RM
40616 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40617 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40618 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40619
40620 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40621 time with __vdso_time.
40622
ed58a00f
JM
406232012-03-05 Joseph Myers <joseph@codesourcery.com>
40624
40625 * manual/lang.texi (size_t): Note types to which size_t may be
40626 equivalent with the GNU C Library, but do not describe when
40627 differences between them are significant.
40628
30ee4ced
AJ
406292012-03-05 Andreas Jaeger <aj@suse.de>
40630
40631 * sysdeps/i386/fpu/libm-test-ulps: Update.
40632
b7cd39e8
JM
406332012-03-05 Joseph Myers <joseph@codesourcery.com>
40634
40635 [BZ #3976]
40636 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40637 (__ieee754_pow): Save and restore rounding mode and use
40638 round-to-nearest for main computations.
40639 * math/libm-test.inc (pow_test_tonearest): New function.
40640 (pow_test_towardzero): Likewise.
40641 (pow_test_downward): Likewise.
40642 (pow_test_upward): Likewise.
40643 (main): Call the new functions.
40644 * sysdeps/i386/fpu/libm-test-ulps: Update.
40645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40646
40647 [BZ #3976]
40648 * math/libm-test.inc (cosh_test_tonearest): New function.
40649 (cosh_test_towardzero): Likewise.
40650 (cosh_test_downward): Likewise.
40651 (cosh_test_upward): Likewise.
40652 (sinh_test_tonearest): Likewise.
40653 (sinh_test_towardzero): Likewise.
40654 (sinh_test_downward): Likewise.
40655 (sinh_test_upward): Likewise.
40656 (main): Call the new functions.
40657 * sysdeps/i386/fpu/libm-test-ulps: Update.
40658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40659
6c6a98c9
TV
406602012-03-05 Tom de Vries <tom@codesourcery.com>
40661
40662 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40663 default stack guard is set in last bytes.
40664 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40665
21bb2d2e 406662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40667
21bb2d2e 40668 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40669
21bb2d2e
AJ
40670 [BZ #13656]
40671 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40672 possibly allocate from heap instead of stack.
40673 * stdio-common/bug-vfprintf-nargs.c: New file.
40674 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40675
c6922934
AS
406762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40677
40678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40679
bc957d53
MP
406802012-03-03 Marek Polacek <polacek@redhat.com>
40681
40682 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40683 * math/math_private.h: Likewise.
40684 * stdlib/tst-strtod.c: Likewise.
40685 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40686 * sysdeps/x86_64/bits/atomic.h: Likewise.
40687
6358490d
DM
406882012-03-02 David S. Miller <davem@davemloft.net>
40689
40690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40694 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40695 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40696 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40697 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40698
01ae168d
RM
406992012-03-02 Roland McGrath <roland@hack.frob.com>
40700
d9a17c07
RM
40701 [BZ #13792]
40702 * manual/examples/README: New file, says the example source files
40703 can be used under GPL>=2.
40704 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40705 line containing just "*/".
40706 * manual/examples/add.c: Add copyright header (GPL>=2).
40707 * manual/examples/argp-ex1.c: Likewise.
40708 * manual/examples/argp-ex2.c: Likewise.
40709 * manual/examples/argp-ex3.c: Likewise.
40710 * manual/examples/argp-ex4.c: Likewise.
40711 * manual/examples/atexit.c: Likewise.
40712 * manual/examples/db.c: Likewise.
40713 * manual/examples/dir.c: Likewise.
40714 * manual/examples/dir2.c: Likewise.
40715 * manual/examples/execinfo.c: Likewise.
40716 * manual/examples/filecli.c: Likewise.
40717 * manual/examples/filesrv.c: Likewise.
40718 * manual/examples/fmtmsgexpl.c: Likewise.
40719 * manual/examples/genpass.c: Likewise.
40720 * manual/examples/inetcli.c: Likewise.
40721 * manual/examples/inetsrv.c: Likewise.
40722 * manual/examples/isockad.c: Likewise.
40723 * manual/examples/longopt.c: Likewise.
40724 * manual/examples/memopen.c: Likewise.
40725 * manual/examples/memstrm.c: Likewise.
40726 * manual/examples/mkfsock.c: Likewise.
40727 * manual/examples/mkisock.c: Likewise.
40728 * manual/examples/mygetpass.c: Likewise.
40729 * manual/examples/pipe.c: Likewise.
40730 * manual/examples/popen.c: Likewise.
40731 * manual/examples/rprintf.c: Likewise.
40732 * manual/examples/search.c: Likewise.
40733 * manual/examples/select.c: Likewise.
40734 * manual/examples/setjmp.c: Likewise.
40735 * manual/examples/sigh1.c: Likewise.
40736 * manual/examples/sigusr.c: Likewise.
40737 * manual/examples/stpcpy.c: Likewise.
40738 * manual/examples/strdupa.c: Likewise.
40739 * manual/examples/strftim.c: Likewise.
40740 * manual/examples/strncat.c: Likewise.
40741 * manual/examples/subopt.c: Likewise.
40742 * manual/examples/swapcontext.c: Likewise.
40743 * manual/examples/termios.c: Likewise.
40744 * manual/examples/testopt.c: Likewise.
40745 * manual/examples/testpass.c: Likewise.
40746 * manual/examples/timeval_subtract.c: Likewise.
40747
01ae168d
RM
40748 [BZ #13792]
40749 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40750 function to ...
40751 * manual/timeval_subtract.c.texi: ... here, new file.
40752
49efa33d
DM
407532012-03-02 David S. Miller <davem@davemloft.net>
40754
40755 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40756
28afd92d
JM
407572012-03-02 Joseph Myers <joseph@codesourcery.com>
40758
804360ed
JM
40759 [BZ #3976]
40760 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40761 (__sin): Save and restore rounding mode and use round-to-nearest
40762 for all computations.
40763 (__cos): Save and restore rounding mode and use round-to-nearest
40764 for all computations.
40765 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40766 <fenv.h>.
40767 (tan): Save and restore rounding mode and use round-to-nearest for
40768 all computations.
40769 * math/libm-test.inc (cos_test_tonearest): New function.
40770 (cos_test_towardzero): Likewise.
40771 (cos_test_downward): Likewise.
40772 (cos_test_upward): Likewise.
40773 (sin_test_tonearest): Likewise.
40774 (sin_test_towardzero): Likewise.
40775 (sin_test_downward): Likewise.
40776 (sin_test_upward): Likewise.
40777 (tan_test_tonearest): Likewise.
40778 (tan_test_towardzero): Likewise.
40779 (tan_test_downward): Likewise.
40780 (tan_test_upward): Likewise.
40781 (main): Call the new functions.
40782 * sysdeps/i386/fpu/libm-test-ulps: Update.
40783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40784
a6d06d7b
JM
40785 [BZ #10135]
40786 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40787 small n, then large n, before computing and testing k+n.
40788 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40790 Likewise.
40791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40792 Likewise.
40793 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40794 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40795 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40796 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40799 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40800 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40801 * math/libm-test.inc (scalbn_test): Add more tests.
40802 (scalbln_test): Likewise.
40803
07e12bb3
JM
40804 * manual/filesys.texi (mode_t): Describe constraints on size and
40805 signedness, not exact equivalence to a particular type.
40806 (ino_t): Likewise.
40807 (ino64_t): Likewise.
40808 (dev_t): Likewise.
40809 (nlink_t): Likewise.
40810 (blkcnt_t): Likewise.
40811 (blkcnt64_t): Likewise.
40812 * manual/llio.texi (off_t): Likewise.
40813
28afd92d
JM
40814 [BZ #3976]
40815 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40816 (__ieee754_exp): Save and restore rounding mode and use
40817 round-to-nearest for all computations.
40818 * math/libm-test.inc (exp_test_tonearest): New function.
40819 (exp_test_towardzero): Likewise.
40820 (exp_test_downward): Likewise.
40821 (exp_test_upward): Likewise.
40822 (main): Call the new functions.
40823 * sysdeps/i386/fpu/libm-test-ulps: Update.
40824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40825
b1eeb65d
CD
408262012-03-01 Chris Demetriou <cgd@google.com>
40827
40828 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40829 have predictable order.
40830
53362a4b
DM
408312012-03-01 David S. Miller <davem@davemloft.net>
40832
3c969083
DM
40833 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40834
759707de
DM
40835 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40836 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40837 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40838 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40839
dfdb8ff2
DM
40840 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40841 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40842 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40844 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40845 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40846 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40847 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40848 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40849
ead89f96
DM
40850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40851
7f66bd07
DM
40852 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40853 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40854 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40855
53362a4b
DM
40856 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40857 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40858 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40859 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40860 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40861 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40863 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40864 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40865 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40866 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40867 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40870 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40872 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40873 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40874 * sysdeps/sparc/elf/configure: Regenerated.
40875
7b1902cb
JM
408762012-03-01 Joseph Myers <joseph@codesourcery.com>
40877
bec039bc
JM
40878 * configure.in (AS, LD): Require binutils 2.20 or later.
40879 * configure: Regenerated.
40880 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40881 as required minimum version.
40882 * INSTALL: Regenerated.
40883
7b1902cb
JM
40884 [BZ #2541]
40885 [BZ #4108]
40886 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40887 before squaring exponent.
40888 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40889 bottom long double and 27 bits of top long double before squaring
40890 exponent.
40891 * math/libm-test.inc (erfc_test): Add more tests.
40892 * sysdeps/i386/fpu/libm-test-ulps: Update.
40893 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40895
f775c276
KT
408962012-03-01 Kai Tietz <ktietz@redhat.com>
40897
40898 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40899 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40900 containing bit-fields.
40901 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40902 * soft-fp/single.h (_FP_UNION_S): Likewise.
40903 * soft-fp/double.h (_FP_UNION_D): Likewise.
40904
5b8a4d4a
JM
409052012-02-29 Joseph Myers <joseph@codesourcery.com>
40906
0bab47b6
JM
40907 [BZ #13786]
40908 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40909 not include ../strcmp.S.
40910 [USE_AS_STRNCASECMP_L]: Likewise.
40911 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40912 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40913 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40914 (__strncasecmp_l_ia32): Define as alias to
40915 __strncasecmp_l_nonascii.
40916
0fcad3e2
JM
40917 [BZ #5794]
40918 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40919 * sysdeps/i386/fpu/libm-test-ulps: Update.
40920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40921
5b8a4d4a
JM
40922 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40924
8fdceb2e
JL
409252012-02-29 Jeff Law <law@redhat.com>
40926
40927 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40928 out of bounds read.
40929
1f393a11
MP
409302012-02-29 Marek Polacek <polacek@redhat.com>
40931
40932 [BZ #13706]
40933 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40934 * elf/Makefile: Add rules to run tst-unused-dep.out.
40935
8847f037
DM
409362012-02-28 David S. Miller <davem@davemloft.net>
40937
40938 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40939 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40940 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40942 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40943 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40944
169d7f11
JM
409452012-02-29 Joseph Myers <joseph@codesourcery.com>
40946
40947 * math/libm-test.inc (llround_test): Move one test from
40948 lround_test. Use TEST_f_L in moved test.
40949 (lround_test): Move misplaced test to llround_test. Add testcase
40950 from bug 2561.
40951
39adf059
UD
409522012-02-28 Ulrich Drepper <drepper@gmail.com>
40953
40954 * sysdeps/x86_64/fpu/e_expf.S: New file.
40955 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40956
71b5d1c5
SB
409572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40958
40959 [BZ #13637]
40960 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40961 of remain_len that may cause incomplete multi-byte character and
40962 false match.
40963 * posix/bug-regex33.c: New file.
40964 * posix/Makefile (tests): Add bug-regex33.
40965
1f77f049
JM
409662012-02-28 Joseph Myers <joseph@codesourcery.com>
40967
40968 * manual/macros.texi: New file.
40969 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40970 * manual/libc.texinfo: Include macros.texi.
40971 * manual/creatute.texi: Likewise.
40972 * manual/install.texi: Likewise.
40973 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40974 @glibcadj{} in references to the GNU C Library.
40975 * manual/charset.texi: Likewise.
40976 * manual/conf.texi: Likewise.
40977 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40978 when not using those macros.
40979 * manual/creature.texi: Likewise.
40980 * manual/crypt.texi: Likewise.
40981 * manual/errno.texi: Likewise.
40982 * manual/filesys.texi: Likewise.
40983 * manual/header.texi: Likewise.
40984 * manual/install.texi: Likewise.
40985 * manual/intro.texi: Likewise.
40986 * manual/io.texi: Likewise.
40987 * manual/job.texi: Likewise.
40988 * manual/lang.texi: Likewise.
40989 * manual/libc.texiinfo: Likewise.
40990 * manual/llio.texi: Likewise.
40991 * manual/locale.texi: Likewise.
40992 * manual/maint.texi: Likewise.
40993 * manual/math.texi: Likewise.
40994 * manual/memory.texi: Likewise.
40995 * manual/message.texi: Likewise.
40996 * manual/nss.texi: Likewise.
40997 * manual/pattern.texi: Likewise.
40998 * manual/process.texi: Likewise.
40999 * manual/resource.texi: Likewise.
41000 * manual/search.texi: Likewise.
41001 * manual/setjmp.texi: Likewise.
41002 * manual/signal.texi: Likewise.
41003 * manual/socket.texi: Likewise.
41004 * manual/startup.texi: Likewise.
41005 * manual/stdio.texi: Likewise.
41006 * manual/string.texi: Likewise.
41007 * manual/sysinfo.texi: Likewise.
41008 * manual/syslog.texi: Likewise.
41009 * manual/terminal.texi: Likewise.
41010 * manual/time.texi: Likewise.
41011 * manual/users.texi: Likewise.
41012 * INSTALL: Regenerated.
41013 * NOTES: Regenerated.
d40c5d54 41014 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41015
450bf206
AS
410162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41017
41018 * include/dirent.h: Include <dirstream.h> before
41019 <dirent/dirent.h>.
41020
741a235b
DM
410212012-02-28 David S. Miller <davem@davemloft.net>
41022
41023 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41024 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41025 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41026 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41027
d6b5aa58
DM
410282012-02-27 David S. Miller <davem@davemloft.net>
41029
1aff59a3
DM
41030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41032 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41033 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41034
d6b5aa58
DM
41035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41036 frame pointer instead of stack pointer relative arg slot.
41037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41040
433f48bf
CD
410412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41042
41043 [BZ #3992]
41044 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41045
d674b76d
DM
410462012-02-27 David S. Miller <davem@davemloft.net>
41047
41048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41052 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41053 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41054 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41055 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41056
0e7727f7
JM
410572012-02-27 Joseph Myers <joseph@codesourcery.com>
41058
41059 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41060 later. Allow versions 5-9.
43be4ca2 41061 * configure: Regenerated.
0e7727f7
JM
41062 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41063 required minimum version and 4.6 as recommended version. Do not
41064 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41065 * INSTALL: Regenerated.
0e7727f7 41066
a78bc654
DM
410672012-02-27 David S. Miller <davem@davemloft.net>
41068
428d5830
DM
41069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41073 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41074 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41075 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41076 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41077
a78bc654
DM
41078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41079 manipulate bits before adding and subtracting TWO112[sx].
41080 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41081
4579f81c
RM
410822012-02-27 Roland McGrath <roland@hack.frob.com>
41083
36c8acb4
RM
41084 [BZ #13775]
41085 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41086 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41087 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41088 being in POSIX, because they are in 1003.1-2008.
41089
84ad622b
RM
41090 * rt/tst-aio.c: Include <fcntl.h>.
41091 * rt/tst-aio7.c: Likewise.
41092 * rt/tst-aio64.c: Likewise.
41093
4579f81c
RM
41094 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41095
abd923db
JM
410962012-02-27 Joseph Myers <joseph@codesourcery.com>
41097
41098 * manual/install.texi (--with-headers): Describe headers as
41099 interface headers, not private headers.
41100 (Specific advice for GNU/Linux systems): Describe use of headers
41101 from "make headers_install", not private headers from older
41102 kernels.
43be4ca2 41103 * INSTALL: Regenerated.
abd923db
JM
41104 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41105 Change to 2.6.19.
41106 * sysdeps/unix/sysv/linux/configure: Regenerated.
41107
6664049b
JM
41108 * manual/llio.texi (fclean): Remove documentation.
41109
bb8b6697
JM
41110 * manual/Makefile (libc-texi-generated): New variable. Include
41111 version.texi.
41112 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41113 $(libc-texi-generated), not duplicated list of files.
41114 (version.texi, stamp-version): New rules.
41115 (realclean): Remove $(libc-texi-generated), not individual files
41116 from that list. Do not remove dir-add.texinfo.
41117 * manual/libc.texinfo: Comment out uses of edition numbers and
41118 references to printed manual. Remove last-updated dates.
41119 (EDITION): Comment out.
41120 (ISBN): Likewise.
41121 (VERSION, UPDATED): Remove.
41122 (version.texi): Include.
41123
12e5c3b9
AS
411242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41125
41126 * sysdeps/posix/spawni.c: Include <signal.h>.
41127 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41128 * sysdeps/pthread/aio_fsync.c: Likewise.
41129
4efeffc1 411302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41131
ba63ba08
UD
41132 * conform/Makefile (tests): Run only when not cross-compiling and
41133 when fast-check is not defined.
41134
d94a4670
UD
41135 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41136 * conform/data/limits.h-data: Fixes for POSIX2008.
41137 * conform/run-conformtest.sh: Run all tests.
41138 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41139 headers.
41140 * include/bits/dlfcn.h: Likewise.
41141 * include/langinfo.h: Likewise.
41142 * include/monetary.h: Likewise.
41143 * include/sys/poll.h: Likewise.
41144
41145 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41146 for __USE_GNU.
41147 * posix/spawn.h: Define __need_sigset_t.
41148 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41149 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41150 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41151 to get sigevent_t only.
41152 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41153 only for __USE_GNU.
41154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41155 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41156 process_vm_writev only for __USE_GNU.
41157 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41158
41159 * conform/Makefile: For now ignore errors from run-conformtest.
41160 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41161 POSIX to avoid namespace pollution. Don't prepend headers.
41162 * conform/data/aio.h-data: Fixes for POSIX testing.
41163 * conform/data/fcntl.h-data: Likewise.
41164 * conform/data/glob.h-data: Likewise.
41165 * conform/data/grp.h-data: Likewise.
41166 * conform/data/pthread.h-data: Likewise.
41167 * conform/data/pwd.h-data: Likewise.
41168 * conform/data/signal.h-data: Likewise.
41169 * conform/data/spawn.h-data: Likewise.
41170 * conform/data/stdio.h-data: Likewise.
41171 * conform/data/stdlib.h-data: Likewise.
41172 * conform/data/stropts.h-data: Likewise.
41173 * conform/data/sys/mman.h-data: Likewise.
41174 * conform/data/sys/stat.h-data: Likewise.
41175 * conform/data/sys/types.h-data: Likewise.
41176 * conform/data/sys/wait.h-data: Likewise.
41177 * conform/data/time.h-data: Likewise.
41178 * conform/data/unistd.h-data: Likewise.
41179 * conform/data/utime.h-data: Likewise.
41180
41181 * io/sys/stat.h: fchmod was always in POSIX.
41182 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41183 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41184 * rt/aio.h: Define __need_timespec before including <time.h>.
41185 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41186 struct. Add forward declaration of pthread_attr_t and use it in
41187 sigevent.
41188 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41189 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41190 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41191 always remove CLK_TCK definition.
41192
c20105c3
AS
411932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41194
41195 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41196
7a270350
UD
411972012-02-25 Ulrich Drepper <drepper@gmail.com>
41198
31341567
UD
41199 * conform/run-conformtest.sh: New file.
41200 * conform/Makefile: Run run-conformtest for tests.
41201 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41202 support.
41203
41204 * conform/data/uchar.h-data: New file.
41205 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41206 * conform/data/arpa/inet.h-data: Likewise.
41207 * conform/data/assert.h-data: Likewise.
41208 * conform/data/complex.h-data: Likewise.
41209 * conform/data/cpio.h-data: Likewise.
41210 * conform/data/ctype.h-data: Likewise.
41211 * conform/data/dirent.h-data: Likewise.
41212 * conform/data/dlfcn.h-data: Likewise.
41213 * conform/data/errno.h-data: Likewise.
41214 * conform/data/fcntl.h-data: Likewise.
41215 * conform/data/float.h-data: Likewise.
41216 * conform/data/fmtmsg.h-data: Likewise.
41217 * conform/data/fnmatch.h-data: Likewise.
41218 * conform/data/ftw.h-data: Likewise.
41219 * conform/data/glob.h-data: Likewise.
41220 * conform/data/grp.h-data: Likewise.
41221 * conform/data/iconv.h-data: Likewise.
41222 * conform/data/inttypes.h-data: Likewise.
41223 * conform/data/langinfo.h-data: Likewise.
41224 * conform/data/libgen.h-data: Likewise.
41225 * conform/data/limits.h-data: Likewise.
41226 * conform/data/locale.h-data: Likewise.
41227 * conform/data/math.h-data: Likewise.
41228 * conform/data/monetary.h-data: Likewise.
41229 * conform/data/mqueue.h-data: Likewise.
41230 * conform/data/ndbm.h-data: Likewise.
41231 * conform/data/net/if.h-data: Likewise.
41232 * conform/data/netdb.h-data: Likewise.
41233 * conform/data/netinet/in.h-data: Likewise.
41234 * conform/data/nl_types.h-data: Likewise.
41235 * conform/data/poll.h-data: Likewise.
41236 * conform/data/pthread.h-data: Likewise.
41237 * conform/data/pwd.h-data: Likewise.
41238 * conform/data/regex.h-data: Likewise.
41239 * conform/data/sched.h-data: Likewise.
41240 * conform/data/search.h-data: Likewise.
41241 * conform/data/semaphore.h-data: Likewise.
41242 * conform/data/setjmp.h-data: Likewise.
41243 * conform/data/signal.h-data: Likewise.
41244 * conform/data/spawn.h-data: Likewise.
41245 * conform/data/stdarg.h-data: Likewise.
41246 * conform/data/stdio.h-data: Likewise.
41247 * conform/data/stdlib.h-data: Likewise.
41248 * conform/data/string.h-data: Likewise.
41249 * conform/data/strings.h-data: Likewise.
41250 * conform/data/stropts.h-data: Likewise.
41251 * conform/data/sys/ipc.h-data: Likewise.
41252 * conform/data/sys/mman.h-data: Likewise.
41253 * conform/data/sys/msg.h-data: Likewise.
41254 * conform/data/sys/resource.h-data: Likewise.
41255 * conform/data/sys/select.h-data: Likewise.
41256 * conform/data/sys/sem.h-data: Likewise.
41257 * conform/data/sys/shm.h-data: Likewise.
41258 * conform/data/sys/socket.h-data: Likewise.
41259 * conform/data/sys/stat.h-data: Likewise.
41260 * conform/data/sys/statvfs.h-data: Likewise.
41261 * conform/data/sys/time.h-data: Likewise.
41262 * conform/data/sys/timeb.h-data: Likewise.
41263 * conform/data/sys/times.h-data: Likewise.
41264 * conform/data/sys/types.h-data: Likewise.
41265 * conform/data/sys/uio.h-data: Likewise.
41266 * conform/data/sys/un.h-data: Likewise.
41267 * conform/data/sys/utsname.h-data: Likewise.
41268 * conform/data/sys/wait.h-data: Likewise.
41269 * conform/data/syslog.h-data: Likewise.
41270 * conform/data/tar.h-data: Likewise.
41271 * conform/data/termios.h-data: Likewise.
41272 * conform/data/utime.h-data: Likewise.
41273 * conform/data/utmpx.h-data: Likewise.
41274 * conform/data/varargs.h-data: Likewise.
41275 * conform/data/wchar.h-data: Likewise.
41276 * conform/data/wctype.h-data: Likewise.
41277 * conform/data/wordexp.h-data: Likewise.
41278
41279 * include/stropts.h: New file.
41280 * include/uchar.h: New file.
41281 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41282 * include/assert.h: Likewise.
41283 * include/ctype.h: Likewise.
41284 * include/dirent.h: Likewise.
41285 * include/dlfcn.h: Likewise.
41286 * include/fcntl.h: Likewise.
41287 * include/fnmatch.h: Likewise.
41288 * include/glob.h: Likewise.
41289 * include/grp.h: Likewise.
41290 * include/libio.h: Likewise.
41291 * include/locale.h: Likewise.
41292 * include/math.h: Likewise.
41293 * include/net/if.h: Likewise.
41294 * include/netdb.h: Likewise.
41295 * include/netinet/in.h: Likewise.
41296 * include/pthread.h: Likewise.
41297 * include/pwd.h: Likewise.
41298 * include/regex.h: Likewise.
41299 * include/sched.h: Likewise.
41300 * include/search.h: Likewise.
41301 * include/setjmp.h: Likewise.
41302 * include/signal.h: Likewise.
41303 * include/stdio.h: Likewise.
41304 * include/stdlib.h: Likewise.
41305 * include/string.h: Likewise.
41306 * include/sys/cdefs.h: Likewise.
41307 * include/sys/mman.h: Likewise.
41308 * include/sys/msg.h: Likewise.
41309 * include/sys/resource.h: Likewise.
41310 * include/sys/select.h: Likewise.
41311 * include/sys/socket.h: Likewise.
41312 * include/sys/stat.h: Likewise.
41313 * include/sys/statvfs.h: Likewise.
41314 * include/sys/time.h: Likewise.
41315 * include/sys/times.h: Likewise.
41316 * include/sys/uio.h: Likewise.
41317 * include/sys/utsname.h: Likewise.
41318 * include/sys/wait.h: Likewise.
41319 * include/termios.h: Likewise.
41320 * include/time.h: Likewise.
41321 * include/ulimit.h: Likewise.
41322 * include/unistd.h: Likewise.
41323 * include/utime.h: Likewise.
41324 * include/wchar.h: Likewise.
41325 * include/wctype.h: Likewise.
41326 * include/wordexp.h: Likewise.
41327
41328 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41329
7a270350
UD
41330 * time/time.h: TIME_UTC must be a macro.
41331 Make timespec_get available for ISO C11 only as well.
41332
7724defc
UD
413332012-02-24 Ulrich Drepper <drepper@gmail.com>
41334
41335 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41336 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41337
6b1d1d46
JM
413382012-02-24 Joseph Myers <joseph@codesourcery.com>
41339
41340 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41341
0f8bbd69
JM
413422012-02-24 Joseph Myers <joseph@codesourcery.com>
41343
41344 * manual/texinfo.tex: Update to version 2012-01-19.16.
41345
66ab80bc
JM
413462012-02-24 Joseph Myers <joseph@codesourcery.com>
41347
41348 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41349
74981cc5
RM
413502012-02-24 Roland McGrath <roland@hack.frob.com>
41351
ee968201
RM
41352 [BZ #13738]
41353 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41354 * manual/fdl-1.3.texi: New file.
41355 * manual/fdl-1.1.texi: File removed.
41356
74981cc5
RM
41357 [BZ #13738]
41358 * manual/libc.texinfo (FDL_VERSION): New @set.
41359 Use it for mention of FDL in cover text.
41360 (Documentation License): Use it in @include file name.
41361
7bb764bc
JM
413622012-02-22 Joseph Myers <joseph@codesourcery.com>
41363 Roland McGrath <roland@hack.frob.com>
41364
41365 [BZ #5461]
57f41c40
AS
41366 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41367 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41368 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41369 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41370 name.
41371 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41372
6cbeae47
JM
413732012-02-22 Joseph Myers <joseph@codesourcery.com>
41374
41375 [BZ #2547]
41376 [BZ #11365]
41377 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41378 manipulate bits before adding and subtracting TWO23[sx].
41379 * math/libm-test.inc (nearbyint_test): Add more tests.
41380
fe45ce09
JM
413812012-02-22 Joseph Myers <joseph@codesourcery.com>
41382
41383 [BZ #2548]
41384 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41385 bits before adding and subtracting TWO23[sx].
41386 * math/libm-test.inc (rint_test): Add more tests.
41387 (rint_test_tonearest): Likewise.
41388 (rint_test_towardzero): Likewise.
41389 (rint_test_downward): Likewise.
41390 (rint_test_upward: Likewise.
41391
ff3b3d82
JM
413922012-02-22 Joseph Myers <joseph@codesourcery.com>
41393
41394 [BZ #10110]
41395 * include/stdc-predef.h: New file. Extracted from features.h.
41396 * include/features.h: Include stdc-predef.h.
41397 * Makefile (headers): Add stdc-predef.h.
41398 * CONFORMANCE (Compiler limitations): Update.
41399
ef0aab35
JM
414002012-02-22 Joseph Myers <joseph@codesourcery.com>
41401
41402 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41403
58639409
DM
414042012-02-21 David S. Miller <davem@davemloft.net>
41405
41406 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41407 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41408
c0e70b25
DM
414092012-02-20 David S. Miller <davem@davemloft.net>
41410
41411 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41412 using a normal save/restore sequence, rather than allocating a
41413 dummy stack frame just to store a frame pointer and restore.
41414 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41415
fb06851d
JM
414162012-02-21 Joseph Myers <joseph@codesourcery.com>
41417
41418 * manual/install.texi: Fix stray word in line-wrapped comment.
41419
7a8b71c3
DM
414202012-02-20 David S. Miller <davem@davemloft.net>
41421
d510c123
DM
41422 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41423 both binutils and gcc support GOTDATA.
41424
0722d7c2
DM
41425 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41426 "rd %pc" in the PIC register setup sequences.
41427
3d2b3019
DM
41428 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41429 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41430 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41431 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41432 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41435 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41437 (SYSCALL_ERROR_HANDLER): Likewise.
41438 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41439 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41440 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41441 (SYSCALL_ERROR_HANDLER): Likewise.
41442
c80098a9
DM
41443 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41444 (HAVE_GCC_GOTDATA): New.
41445 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41446 relocation support in both binutils and gcc.
41447 * sysdeps/sparc/elf/configure: Regenerate.
41448
3a2545a0
DM
41449 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41450 * sysdeps/sparc/sparc32/elf/configure: Delete.
41451 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41452 * sysdeps/sparc/sparc64/elf/configure: Delete.
41453 * sysdeps/sparc/elf/configure.in: New file.
41454 * sysdeps/sparc/elf/configure: Generate.
41455
7a8b71c3
DM
41456 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41457 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41458 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41459 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41460 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41461
f1e86fca
JM
414622012-02-21 Joseph Myers <joseph@codesourcery.com>
41463
41464 * manual/install.texi: Do not mention specific glibc version
41465 numbers.
41466 * manual/libc.texinfo (VERSION, UPDATED): Update.
41467 (@copying): Use @copyright{} and range of years.
41468
0e7dfaef
JM
414692012-02-21 Joseph Myers <joseph@codesourcery.com>
41470
41471 [BZ #13695]
41472 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41473 [crti.S not in sysdirs] (generated): Do not append.
41474 [crti.S not in sysdirs] (omit-deps): Likewise.
41475 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41476 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41477 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41478 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41479 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41480 Likewise.
41481 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41482 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41483 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41484 * csu/defs.awk: Remove file.
41485 * sysdeps/generic/initfini.c: Likewise.
41486 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41487 variable.
41488 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41489 Likewise.
41490
599af3ca
JM
414912012-02-20 Joseph Myers <joseph@codesourcery.com>
41492
41493 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41494 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41495 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41496 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41498 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41499 <bits/epoll.h>.
41500 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41501 (__EPOLL_PACKED): Define to empty if not defined by
41502 <bits/epoll.h>.
41503 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41505 bits/epoll.h.
41506
0e499750
JM
415072012-02-20 Joseph Myers <joseph@codesourcery.com>
41508
41509 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41510 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41511 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41512 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41513 <bits/timerfd.h>.
41514 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41516 bits/timerfd.h.
41517
5ad91f6e
JM
415182012-02-20 Joseph Myers <joseph@codesourcery.com>
41519
41520 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41521 in C locale.
41522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41523 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41524 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41526
06b99b02
AJ
415272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41528
41529 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41531
7638c0fd
AS
415322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41533
41534 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41535 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41536 defined.
41537 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41538 Likewise.
41539 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41540 entry for 2.16.
41541
92221550
AJ
415422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41543
41544 * math/w_acos.c: Use non-signaling floating-point comparisons.
41545 * math/w_acosf.c: Likewise.
41546 * math/w_acosh.c: Likewise.
41547 * math/w_acoshf.c: Likewise.
41548 * math/w_acoshl.c: Likewise.
41549 * math/w_acosl.c: Likewise.
41550 * math/w_asin.c: Likewise.
41551 * math/w_asinf.c: Likewise.
41552 * math/w_asinl.c: Likewise.
41553 * math/w_atanh.c: Likewise.
41554 * math/w_atanhf.c: Likewise.
41555 * math/w_atanhl.c: Likewise.
41556 * math/w_exp2.c: Likewise.
41557 * math/w_exp2f.c: Likewise.
41558 * math/w_exp2l.c: Likewise.
41559 * math/w_j0.c: Likewise.
41560 * math/w_j0f.c: Likewise.
41561 * math/w_j0l.c: Likewise.
41562 * math/w_j1.c: Likewise.
41563 * math/w_j1f.c: Likewise.
41564 * math/w_j1l.c: Likewise.
41565 * math/w_jn.c: Likewise.
41566 * math/w_jnf.c: Likewise.
41567 * math/w_log.c: Likewise.
41568 * math/w_log10.c: Likewise.
41569 * math/w_log10f.c: Likewise.
41570 * math/w_log10l.c: Likewise.
41571 * math/w_log2.c: Likewise.
41572 * math/w_log2f.c: Likewise.
41573 * math/w_log2l.c: Likewise.
41574 * math/w_logf.c: Likewise.
41575 * math/w_logl.c: Likewise.
41576 * math/w_sqrt.c: Likewise.
41577 * math/w_sqrtf.c: Likewise.
41578 * math/w_sqrtl.c: Likewise.
41579 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41580 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41582 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41583 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41584
ebaf36eb
JM
415852012-02-19 Joseph Myers <joseph@codesourcery.com>
41586
41587 [BZ #9739]
41588 * manual/string.texi (strnlen): Use correct parameter name in
41589 equivalent expression.
41590
71c254a6
JM
415912012-02-19 Joseph Myers <joseph@codesourcery.com>
41592
41593 [BZ #11174]
41594 * manual/users.texi (seteuid): Consistently use neweuid for
41595 argument name.
41596
16d2c631
JM
415972012-02-19 Joseph Myers <joseph@codesourcery.com>
41598
41599 [BZ #13704]
41600 * manual/nss.texi (Services in the NSS configuration): Correct
41601 list of services in example configuration file.
41602
cd837b09
NB
416032012-02-19 Nick Bowler <nbowler@draconx.ca>
41604
41605 [BZ #11322]
41606 * manual/arith.texi: Remove statements about negative zero
41607 behaving identically to zero.
41608
02c4bbad
JM
416092012-02-18 Joseph Myers <joseph@codesourcery.com>
41610
41611 [BZ #5993]
41612 * manual/install.texi: Do not document upgrading from libc5.
41613
366842e7
JM
416142012-02-18 Joseph Myers <joseph@codesourcery.com>
41615
41616 [BZ #4596]
41617 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41618
dd54084d
DM
416192012-02-18 David S. Miller <davem@davemloft.net>
41620
41621 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41622 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41623 %o7 across the call.
41624 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41625 instead.
41626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41627 SETUP_PIC_REG_LEAF.
41628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41629 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41630 * sysdeps/sparc/crtn.S: Likewise.
41631
2bcc53a3
UD
416322012-02-17 Ulrich Drepper <drepper@gmail.com>
41633
41634 * aout/Makefile: Remove.
41635
09c093b5
RK
416362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41637
41638 [BZ #13058]
41639 * manual/examples/argp-ex1.c (main): Format definition in GNU
41640 style.
41641 * manual/examples/argp-ex2.c (main): Likewise.
41642 * manual/examples/argp-ex3.c (main): Likewise.
41643 * manual/examples/argp-ex4.c (main): Likewise.
41644 * manual/examples/longopt.c (main): Use new-style prototype
41645 definition.
41646 * manual/examples/strncat.c (main): Specify return type and use
41647 (void) for arguments.
41648 * manual/examples/subopt.c (main): Use char **argv argument.
41649
2ee633a2
JM
416502012-02-17 Joseph Myers <joseph@codesourcery.com>
41651
41652 [BZ #5077]
41653 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41654 rounding modes.
41655
0520adde
FB
416562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41657
41658 [BZ #6907]
41659 * manual/string.texi (strchr): Change when strchrnul is
41660 recommended.
41661
3f4081cd
DGM
416622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41663
41664 [BZ #174]
41665 * manual/locale.texi (setlocale): Document LOCPATH.
41666
d1b10e78
JM
416672012-02-17 Joseph Myers <joseph@codesourcery.com>
41668
41669 [BZ #10210]
41670 * manual/process.texi (execle): Move @dots{} before last argument.
41671
79c6869c
PB
416722012-02-17 Paul Bolle <pebolle@tiscali.nl>
41673
41674 [BZ #12047]
41675 * manual/charset.texi (Generic Charset Conversion): Fix typo
41676 (LC_TYPE -> LC_CTYPE).
41677
cc6e48bc
NB
416782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41679
41680 [BZ #5805]
41681 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41682 (scalbnf): Likewise.
41683 (scalbnl): Likewise.
41684 (scalbln): Likewise.
41685 (scalblnf): Likewise.
41686 (scalblnl): Likewise.
41687 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41688 (vwarnx): Likewise.
41689 (verr): Likewise.
41690 (verrx): Likewise.
41691 * manual/filesys.texi (telldir): Use braces around return type.
41692 * manual/llio.texi (mmap): Add space after comma.
41693 (mmap64): Likewise.
41694 * manual/math.texi (jn): Use @var{} on parameter names.
41695 (jnf): Likewise.
41696 (jnl): Likewise.
41697 (yn): Likewise.
41698 (ynf): Likewise.
41699 (ynl): Likewise.
41700 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41701 line.
41702 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41703 "...".
41704 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41705 (sched_get_priority_max): Likewise.
41706 * manual/signal.texi (sigvec): Add space after comma.
41707 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41708 names.
41709 (if_indextoname): Likewise.
41710 (if_freenameindex): Likewise.
41711 (sendto): Use ',' instead of '.' in prototype.
41712 * manual/startup.texi (syscall): Use @dots{} instead of literal
41713 "...".
41714 * manual/stdio.texi (__fpending): Separate initial words of
41715 paragraph from @deftypefun line.
41716 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41717 "...".
41718 (vsyslog): Use @var{} on parameter names.
41719 * manual/terminal.texi (stty): Use @var{} on parameter names.
41720 * manual/users.texi (getutmp): Use @var{} on parameter names.
41721 (getutmpx): Likewise.
41722
5b23062f
JM
417232012-02-17 Joseph Myers <joseph@codesourcery.com>
41724
41725 [BZ #6884]
41726 * manual/stdio.texi (fopen): Fix typos in description of
41727 ",ccs=STRING".
41728
8dee4833
AJ
417292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41730
41731 [BZ #4026]
41732 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41733 get clock_id definition.
41734
9078ce93
TS
417352012-02-17 Thomas Schwinge <thomas@schwinge.name>
41736
41737 [BZ #4822]
41738 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41739 (madvise): Cast every argument to void on its own.
41740
3835c55f
JM
417412012-02-17 Joseph Myers <joseph@codesourcery.com>
41742
41743 [BZ #9902]
41744 * manual/startup.texi (Exit Status): Fix typo.
41745
35c47e37
JM
417462012-02-17 Joseph Myers <joseph@codesourcery.com>
41747
41748 [BZ #10140]
41749 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41750 * manual/examples/argp-ex2.c: Likewise.
41751 * manual/examples/argp-ex3.c: Likewise.
41752
e3b69ca7
RH
417532012-02-16 Richard Henderson <rth@redhat.com>
41754
41755 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41756 * sysdeps/s390/s390-32/initfini.c: Remove.
41757 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41758 * sysdeps/s390/s390-64/initfini.c: Remove.
41759
df83af67
KK
417602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41761
41762 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41763 compiler output for sysdeps/generic/initfini.c.
41764 * sysdeps/sh/elf/initfini.c: Remove file.
41765
f63f3380
DM
417662012-02-16 David S. Miller <davem@davemloft.net>
41767
fb59b3a4
DM
41768 [BZ #11494]
41769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41770
f63f3380
DM
41771 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41772 * sysdeps/sparc/crti.S: New file.
41773 * sysdeps/sparc/crtn.S: New file.
41774 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41775 * sysdeps/sparc/sparc64/Makefile: Likewise.
41776
df6a4a4a
MF
417772012-02-15 Mike Frysinger <vapier@gentoo.org>
41778
6dd8f3dc 41779 [BZ #3335]
df6a4a4a
MF
41780 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41781
1cac7236
RM
417822012-02-15 Roland McGrath <roland@hack.frob.com>
41783
d2c736f8
RM
41784 [BZ #4822]
41785 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41786
1cac7236
RM
41787 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41788 (write, read, close): Likewise.
41789 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41790
8e475601
JM
417912012-02-15 Joseph Myers <joseph@codesourcery.com>
41792
41793 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41794 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41795 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41796 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41797 <bits/signalfd.h>.
41798 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41800 bits/signalfd.h.
41801
ed656b40
MP
418022012-02-14 Marek Polacek <polacek@redhat.com>
41803
41804 * sysdeps/x86_64/crti.S: New file.
41805 * sysdeps/x86_64/crtn.S: New file.
41806 * sysdeps/x86_64/elf/initfini.c: Remove file.
41807
2a979d3a
JM
418082012-02-13 Joseph Myers <joseph@codesourcery.com>
41809
41810 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41811 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41812 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41813 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41814 <bits/inotify.h>.
41815 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41817 bits/inotify.h.
41818
2a418ac3
JM
418192012-02-13 Joseph Myers <joseph@codesourcery.com>
41820
41821 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41822 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41823 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41824 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41825 <bits/eventfd.h>.
41826 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41828 bits/eventfd.h.
41829
fb779be7
TS
418302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41831
e19e83c5
RM
41832 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41833 __feraiseexcept instead of feraiseexcept.
7c35ffed 41834
fb779be7
TS
41835 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41836 nanosleep invocations.
41837 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41838 strings, and add error checking for a nanosleep invocations.
41839
59ba27a6
PE
418402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41841
41842 Replace FSF snail mail address with URLs, as per GNU coding standards.
41843 Most of the snail mail addresses were wrong anyway, and omitting
41844 them makes the source code easier to maintain. Almost all of the
41845 changes are to license notices and to locale LC_IDENTIFICATION
41846 addresses, except for this one:
41847 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41848 not its snail mail address.
41849
57b957eb
RH
418502012-02-09 Richard Henderson <rth@twiddle.net>
41851
af850b1c
RH
41852 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41853 of kernel-features.h.
41854
57b957eb
RH
41855 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41856
6b73181a
MP
418572012-02-08 Marek Polacek <polacek@redhat.com>
41858
41859 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41860 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41861 * sysdeps/gnu/_G_config.h: Likewise.
41862 * sysdeps/generic/_G_config.h: Likewise.
41863
26ecc33a
AS
418642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41865
6c6dbc63
AS
41866 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41867 tests.
41868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41869
e216c012
AS
41870 * sysdeps/powerpc/powerpc32/crti.S: New file.
41871 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41872 * sysdeps/powerpc/powerpc64/crti.S: New file.
41873 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41874
26ecc33a
AS
41875 * Makeconfig (have-initfini): Don't set.
41876 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41877 * configure.in (nopic_initfini): Don't substitute.
41878 * config.h.in (HAVE_INITFINI): Don't #undef.
41879 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41880 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41881
3add8e13
JM
418822012-02-08 Joseph Myers <joseph@codesourcery.com>
41883
41884 Support crti.S and crtn.S provided directly by architectures.
41885 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41886 [crti.S in sysdirs] (omit-deps): Likewise.
41887 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41888 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41889 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41890 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41891 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41892 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41893 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41894 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41895 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41896 compiler output for sysdeps/generic/initfini.c.
41897 * sysdeps/i386/elf/Makefile: Remove file.
41898 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41899
a22f12b4
MP
419002012-02-07 Marek Polacek <polacek@redhat.com>
41901
41902 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41903 * sysdeps/gnu/_G_config.h: Likewise.
41904 * sysdeps/mach/hurd/_G_config.h: Likewise.
41905
148cf100
MP
419062012-02-07 Marek Polacek <polacek@redhat.com>
41907
41908 * math/Makefile (tests): Add tst-CMPLX2.
41909 * math/tst-CMPLX2.c: New file.
41910
cfdc0dd7
AS
419112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41912
84ba42c4
AS
41913 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41914
cfdc0dd7
AS
41915 * math/libm-test.inc (jn_test): Add missing L suffix.
41916
622c86f4
MP
419172012-02-06 Marek Polacek <polacek@redhat.com>
41918
41919 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41920 * sysdeps/i386/fpu/e_powf.S: Likewise.
41921 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41922 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41923 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41924 * sysdeps/i386/fpu/e_pow.S: Likewise.
41925 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41926 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41927 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41928 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41929 * sysdeps/i386/fpu/e_log2.S: Likewise.
41930 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41931 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41932 * sysdeps/i386/fpu/e_powl.S: Likewise.
41933 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41934 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41935 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41936 * sysdeps/i386/fpu/e_logl.S: Likewise.
41937 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41938 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41939 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41940 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41941 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41942 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41943 * sysdeps/i386/fpu/e_log.S: Likewise.
41944 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41945 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41946 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41947 * sysdeps/i386/fpu/e_logf.S: Likewise.
41948 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41949 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41950 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41951 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41952 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41953 * sysdeps/i386/fpu/e_log10.S: Likewise.
41954 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41955 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41956 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41957 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41958 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41959 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41960 * sysdeps/i386/asm-syntax.h: Likewise.
41961 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41962 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41963 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41964 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41965 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41966 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41967 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41968 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41969 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41970 * sysdeps/powerpc/sysdep.h: Likewise.
41971 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41972 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41973
d4a54ac6
JM
419742012-02-06 Joseph Myers <joseph@codesourcery.com>
41975
41976 [BZ #411]
41977 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41978
314054ea
JM
419792012-02-06 Joseph Myers <joseph@codesourcery.com>
41980
41981 * sysdeps/i386/sysdep.h: Include <features.h>.
41982 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41983 version.
41984
d8e0ca50
JM
419852012-02-05 Joseph Myers <joseph@codesourcery.com>
41986
41987 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41988 Define.
41989 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41990 LOAD_PIC_REG_STR.
41991
b1da7dd9
JM
419922012-02-03 Joseph Myers <joseph@codesourcery.com>
41993
41994 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41995 (SETUP_PIC_REG): Use GET_PC_THUNK.
41996 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41997 macro.
41998
9a1d9254
JM
419992012-02-03 Joseph Myers <joseph@codesourcery.com>
42000
42001 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42002 for non-PIC compilation.
42003 (SETUP_PIC_REG): Add .p2align directive.
42004 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42005 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42006 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42007 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42008 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42009 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42010 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42011 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42012 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42013 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42014 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42015 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42016 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42017 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42018 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42019 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42020 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42021 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42022 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42023 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42024 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42025 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42026 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42027 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42028 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42030 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42031 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42032 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42033 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42034 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42035 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42036 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42037 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42038 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42039 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42040 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42041 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42042 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42043 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42044 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42045
65dc3b75
JM
420462012-02-03 Joseph Myers <joseph@codesourcery.com>
42047
42048 * math/tst-CMPLX.c: Include <stdio.h>.
42049
d55bf177
JM
420502012-01-31 Joseph Myers <joseph@codesourcery.com>
42051
42052 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42053 float.
42054 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42055 * sysdeps/sparc/bits/mathdef.h: Likewise.
42056
69db4f8f
MP
420572012-01-31 Marek Polacek <polacek@redhat.com>
42058
42059 * libio/libio.h: Don't define _PARAMS.
42060 * locale/programs/config.h: Don't define PARAMS.
42061 * stdlib/strtol_l.c: Likewise.
42062 (__strtol_l): Remove PARAMS from the prototype.
42063
41b81892
UD
420642012-01-31 Ulrich Drepper <drepper@gmail.com>
42065
3b49edc0
UD
42066 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42067 names. Just use the correct names. Remove unnecessary wrapper
42068 functions.
42069 * malloc/arena.c: Likewise.
42070 * malloc/hooks.c: Likewise.
42071
41b81892
UD
42072 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42073 ARENA_TEST says not to. Simplify test for creation of a new arena.
42074 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42075
27a25b6e
UD
420762012-01-30 Ulrich Drepper <drepper@gmail.com>
42077
42078 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42079 into tail calls.
42080 (update_get_addr): New function.
42081 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42082 GET_ADDR_MODULE parameter.
42083
c8a89e7d
JM
420842012-01-30 Joseph Myers <joseph@codesourcery.com>
42085
42086 * crypt/cert.c: Remove __STDC__ conditionals.
42087 * crypt/crypt-entry.c: Likewise.
42088 * crypt/crypt_util.c: Likewise.
42089 * libio/filedoalloc.c: Likewise.
42090 * libio/fileops.c: Likewise.
42091 * libio/genops.c: Likewise.
42092 * libio/iofclose.c: Likewise.
42093 * libio/iofdopen.c: Likewise.
42094 * libio/iofopen.c: Likewise.
42095 * libio/iofopen64.c: Likewise.
42096 * libio/iogetdelim.c: Likewise.
42097 * libio/iopopen.c: Likewise.
42098 * libio/obprintf.c: Likewise.
42099 * libio/oldfileops.c: Likewise.
42100 * libio/oldiofclose.c: Likewise.
42101 * libio/oldiofdopen.c: Likewise.
42102 * libio/oldiofopen.c: Likewise.
42103 * libio/oldiopopen.c: Likewise.
42104 * libio/wfiledoalloc.c: Likewise.
42105 * libio/wgenops.c: Likewise.
42106 * locale/programs/xmalloc.c: Likewise.
42107 * misc/syslog.c: Likewise.
42108 * stdio-common/xbug.c: Likewise.
42109 * string/memchr.c: Likewise.
42110 * string/memcmp.c: Likewise.
42111 * string/memrchr.c: Likewise.
42112 * string/rawmemchr.c: Likewise.
42113 * sysdeps/posix/getcwd.c: Likewise.
42114 * time/strftime_l.c: Likewise.
42115
3b100462
JM
421162012-01-30 Joseph Myers <joseph@codesourcery.com>
42117
42118 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42119 * config.make.in (config-cflags-sse2avx): Define.
42120 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42121 Fix typo.
42122
607998af
CM
421232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42124
42125 * scripts/config.guess: Update from upstream config git repository.
42126 * scripts/config.sub: Likewise.
42127
3601428f
CM
421282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42129
3ac8b282
CM
42130 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42131 (EM_NUM): Update.
42132 (R_TILEPRO_*, R_TILEGX_*): New macros.
42133
e034841e
CM
42134 * scripts/firstversions.awk: Fix bug in version range handling.
42135
540d7568
CM
42136 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42137
3601428f
CM
42138 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42139
463de862
CM
42140 * include/sys/epoll.h: New file.
42141 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42142 libc_hidden_def.
42143
73139a76
UD
421442012-01-28 Ulrich Drepper <drepper@gmail.com>
42145
96bc5b45
UD
42146 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42147 Avoid unnecessary __WORDSIZE == 64 test.
42148 (fmaxf): Use VEX format if possible.
42149 (fmax): Likewise.
42150 (fminf): Likewise.
42151 (fmin): Likewise.
42152
56f6f6a2
UD
42153 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42154 * math/math_private.h: Remove libc_fegetround* and
42155 libc_fesetround*.
42156 * sysdeps/i386/configure.in: Check for -msse2avx.
42157 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42158 also if SSE2AVX is defined.
42159 Remove libc_fegetround* and libc_fesetround*.
42160 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42161 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42163 of HAS_YMM_USABLE.
42164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42165 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42166 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42167 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42168 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42169
73139a76
UD
42170 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42171
d73f93a4
AZ
421722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42173
42174 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42175 size is not set.
42176 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42177
6ee65ed6
UD
421782012-01-27 Ulrich Drepper <drepper@gmail.com>
42179
42180 [BZ #13618]
42181 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42182 relocation.
42183 * Makeconfig (libm): Define.
42184 * elf/Makefile: Add rules to build and run tst-relsort1.
42185 * elf/tst-relsort1.c: New file.
42186 * elf/tst-relsort1mod1.c: New file.
42187 * elf/tst-relsort1mod2.c: New file.
42188
8db21882
JM
421892012-01-27 Joseph Myers <joseph@codesourcery.com>
42190
42191 * math/s_ldexp.c: Remove __STDC__ conditionals.
42192 * math/s_ldexpf.c: Likewise.
42193 * math/s_ldexpl.c: Likewise.
42194 * math/s_nextafter.c: Likewise.
42195 * math/s_nexttowardf.c: Likewise.
42196 * math/s_significand.c: Likewise.
42197 * math/s_significandf.c: Likewise.
42198 * math/s_significandl.c: Likewise.
42199 * math/w_jnl.c: Likewise.
42200 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42201 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42202 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42203 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42204 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42206 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42207 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42209 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42210 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42211 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42212 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42213 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42214 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42216 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42219 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42220 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42221 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42222 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42223 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42224 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42225 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42226 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42227 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42228 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42229 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42230 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42231 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42232 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42233 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42234 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42235 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42236 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42237 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42238 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42239 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42240 * sysdeps/ieee754/k_standard.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42250 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42254 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42255 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42257 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42259 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42260 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42262 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42263 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42264 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42265 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42270 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42271 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42272 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42273 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42274 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42276 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42277 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42278 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42279 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42280 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42281 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42282 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42283 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42284 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42285 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42287 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42288 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42289 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42290 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42291 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42292 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42294 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42295 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42296 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42297 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42298 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42299 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42300 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42301 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42302 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42303 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42304 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42305 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42306 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42307 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42308 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42309 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42310 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42311 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42312 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42313 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42316 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42317 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42318 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42319 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42320 * sysdeps/ieee754/s_matherr.c: Likewise.
42321 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42322 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42325
965a54a4
JM
423262012-01-26 Joseph Myers <joseph@codesourcery.com>
42327
42328 * crypt/md5.h: Remove __STDC__ conditionals.
42329 * libio/libioP.h: Likewise.
42330 * locale/programs/config.h: Likewise.
42331 * sysdeps/generic/sysdep.h: Likewise.
42332 * sysdeps/i386/asm-syntax.h: Likewise.
42333 * sysdeps/s390/asm-syntax.h: Likewise.
42334 * sysdeps/unix/sysdep.h: Likewise.
42335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42337
7071ad79
JM
423382012-01-26 Joseph Myers <joseph@codesourcery.com>
42339
42340 * libio/libio.h: Remove __STDC__ conditionals.
42341 * malloc/obstack.h: Likewise.
42342 * math/complex.h: Likewise.
42343 * math/math.h: Likewise.
42344 * sysdeps/generic/_G_config.h: Likewise.
42345 * sysdeps/gnu/_G_config.h: Likewise.
42346 * sysdeps/mach/hurd/_G_config.h: Likewise.
42347 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42348 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42349 * sysdeps/sparc/bits/mathdef.h: Likewise.
42350
afc5ed09
UD
423512012-01-26 Ulrich Drepper <drepper@gmail.com>
42352
42353 [BZ #13583]
42354 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42355 Clean up HAS_* macros.
afc5ed09 42356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42357 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42358 possible.
42359 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42360 HAS_AVX.
42361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42362 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42366
bdb6de1d
JM
423672012-01-25 Joseph Myers <joseph@codesourcery.com>
42368
42369 * elf/tst-unique3.cc (gets): Remove declaration.
42370 * elf/tst-unique3lib.cc (gets): Likewise.
42371 * elf/tst-unique3lib2.cc (gets): Likewise.
42372 * elf/tst-unique4.cc (gets): Likewise.
42373
b15549e6
UD
423742012-01-24 Ulrich Drepper <drepper@gmail.com>
42375
42376 * include/stdio.h: Add C++ protection. Add gets declarations and
42377 definitions.
42378 * debug/tst-chk1.c: Don't declare gets here.
42379 * stdio-common/tst-gets.c: Likewise.
42380
a037381f
JM
423812012-01-24 Joseph Myers <joseph@codesourcery.com>
42382
42383 * posix/glob: Remove directory.
42384
f1d4aa75
JM
423852012-01-24 Joseph Myers <joseph@codesourcery.com>
42386
42387 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42388
81c0c964
PT
423892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42390
42391 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42392 of the non-standard EPFNOSUPPORT.
42393
0ea698ae
ST
423942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42395
42396 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42397 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42398 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42399
d220b117
UD
424002012-01-21 Ulrich Drepper <drepper@gmail.com>
42401
42402 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42403
3e1aa84e
UD
424042012-01-20 Ulrich Drepper <drepper@gmail.com>
42405
42406 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42407 transient errors.
42408 * nscd/grpcache.c (cache_addgr): Likewise.
42409 * nscd/hstcache.c (cache_addhst): Likewise.
42410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42411 * nscd/pwdcache.c (cache_addpw): Likewise.
42412 * nscd/servicescache.c (cache_addserv): Likewise.
42413
400aa020
UD
424142012-01-16 Ulrich Drepper <drepper@gmail.com>
42415
d77e7869
UD
42416 * malloc/malloc.c: Various cleanups.
42417 * malloc/hooks.c: Likewise.
42418
400aa020
UD
42419 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42420 * stdlib/bug-fmtmsg1.c: New file.
42421
42422 * stdlib/fmtmsg.c (init): Add missing unlock.
42423 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42424
e0a309cf
MP
424252012-01-12 Marek Polacek <polacek@redhat.com>
42426
42427 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42428 and _GNU_SOURCE.
42429
929d11c7
WS
424302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42431
42432 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42433 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42434 macro to ensure uniqueness of label name.
42435 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42436 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42437
41d0e869
UD
424382012-01-11 Ulrich Drepper <drepper@gmail.com>
42439
0cc5ed3b
UD
42440 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42441
41d0e869
UD
42442 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42443 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42444 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42446
a47a831a
UD
424472012-01-10 Ulrich Drepper <drepper@gmail.com>
42448
daa891c0
UD
42449 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42450
42451 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42452 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42453 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42454
e58ef0f2
UD
42455 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42456
a47a831a 42457 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42458 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42461
42462 * math/bits/math-finite.h: Add ldexp support.
42463
a0bfc9c7
MP
424642012-01-10 Marek Polacek <polacek@redhat.com>
42465
42466 * locale/programs/localedef.h (show_archive_content): Add noreturn
42467 attribute.
42468
d6e97a1d
UD
424692012-01-09 Ulrich Drepper <drepper@gmail.com>
42470
42471 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42472
d5835c26
UD
424732012-01-08 Ulrich Drepper <drepper@gmail.com>
42474
e5f484c6
UD
42475 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42476
d5835c26
UD
42477 * io/Makefile (headers): Add bits/poll2.h.
42478
d1f741e9
WS
424792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42480
42481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42482 typo #include statement.
42483
ec09c1c4
UD
424842012-01-08 Ulrich Drepper <drepper@gmail.com>
42485
42486 * include/sys/cdefs.h: Define __attribute_alloc_size.
42487 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42488 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42489 * elf/pldd.c: Likewise.
42490 * iconv/iconv_charmap.c: Likewise.
42491 * iconv/iconvconfig.c: Likewise.
42492 * iconv/strtab.c: Likewise.
42493 * locale/programs/locale.c: Likewise.
42494 * locale/programs/localedef.h: Likewise.
42495 * locale/programs/simple-hash.c: Likewise.
42496 * nscd/nscd.h: Likewise.
42497 * nss/makedb.c: Likewise.
42498 * sysdeps/generic/ldconfig.h: Likewise.
42499 * locale/programs/localedef.c: Remove xmalloc prototype.
42500 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42501
20b38e03
PP
425022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42503
42504 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42505 appropriate.
42506
a0da5fe1
UD
425072012-01-08 Ulrich Drepper <drepper@gmail.com>
42508
1d5a644a 42509 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42510 * math/tst-CMPLX.c: New file.
1d5a644a 42511
8784a6db
UD
42512 * math/complex.h (CMPLXL): Fix typo.
42513
d9a216c0
UD
42514 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42515 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42516 GLIBC_2.16.
42517 * debug/tst-chk1.c: Add poll and ppoll tests.
42518 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42519 * include/sys/poll.h: Add hidden proto for ppoll.
42520 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42521 * sysdeps/mach/hurd/ppoll.c: Likewise.
42522 * io/ppoll.c: Likewise.
42523 * debug/poll_chk.c: New file.
42524 * debug/ppoll_chk.c: New file.
42525 * include/bits/poll2.h: New file.
42526 * io/bits/poll2.h: New file.
42527
ac097f5c
UD
42528 [BZ #1350]
42529 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42530
2119dcfa
UD
42531 * configure.in: static is always set to yes. Remove.
42532 * config.make.in: Don't set build-static.
42533 * Makeconfig: Remove use of build-static.
42534 * dlfcn/Makefile: Likewise.
42535 * elf/Makefile: Likewise.
42536 * math/Makefile: Likewise.
42537 * misc/Makefile: Likewise.
42538 * nptl/Makefile: Likewise.
42539 * sysdeps/mach/hurd/Makefile: Likewise.
42540
121766a9
UD
42541 * configure.in: PWD_P is not used anymore.
42542 * config.make.in: Remove PWD_P entry.
42543
51a1d39c 42544 * configure.in: Remove last remnants of RANLIB.
8720d066 42545 No need to check for signed size_t anymore.
215f4bdc
UD
42546 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42547 and IA-64.
3857022a 42548 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42549 * aclocal.m4: Likewise.
42550
d3ed7225
UD
42551 * wcsmbs/mbrtoc16.c: Implement using towc function.
42552 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42553 * wcsmbs/wcsmbsload.c: Likewise.
42554 * iconv/gconv_simple.c: Likewise.
42555 * iconv/gconv_int.h: Likewise.
42556 * iconv/gconv_builtin.h: Likewise.
42557 * iconv/iconv_prog.c: Remove CHAR16 handling.
42558
42559 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42560
42561 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42562
a0da5fe1
UD
42563 * configure.in: Remove --with-elf and --enable-bounded options.
42564 Dont set base_machine for ia64. More non-ELF conditions removed.
42565 Remove testing and setting of leading underscore information.
42566 * config.make.in (build-bounded): Set to no.
42567 * config.h.in: Remove NO_UNDERSCORES entry.
42568 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42569 them.
42570 * csu/start.c: Remove !NO_UNDERSCORE code.
42571 * locale/localeinfo.h: Likewise.
42572 * sysdeps/generic/machine-gmon.h: Likewise.
42573 * sysdeps/generic/sysdep.h: Likewise.
42574 * sysdeps/i386/sysdep.h: Likewise.
42575 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42576 * sysdeps/mach/sysdep.h: Likewise.
42577 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42578 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42579 * sysdeps/sh/sysdep.h: Likewise.
42580 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42581 * sysdeps/unix/i386/sysdep.S: Likewise.
42582 * sysdeps/unix/sparc/start.c: Likewise.
42583 * sysdeps/unix/sparc/sysdep.S: Likewise.
42584 * sysdeps/unix/sparc/sysdep.h: Likewise.
42585 * sysdeps/unix/start.c: Likewise.
42586 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42587 * sysdeps/x86_64/sysdep.h: Likewise.
42588
df78418a
UD
425892012-01-07 Ulrich Drepper <drepper@gmail.com>
42590
a784e502
UD
42591 [BZ #13553]
42592 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42593 for non-gcc.
42594 * argp/argp-fmtstream.h: Use const instead __const.
42595 * argp/argp.h: Likewise.
42596 * assert/assert.h: Likewise.
42597 * bits/fenv.h: Likewise.
42598 * bits/sched.h: Likewise.
42599 * bits/sigset.h: Likewise.
42600 * bits/sigthread.h: Likewise.
42601 * catgets/nl_types.h: Likewise.
42602 * conform/data/pthread.h-data: Likewise.
42603 * crypt/crypt-private.h: Likewise.
42604 * crypt/crypt.h: Likewise.
42605 * crypt/crypt_util.c: Likewise.
42606 * ctype/ctype.h: Likewise.
42607 * debug/execinfo.h: Likewise.
42608 * debug/mbsnrtowcs_chk.c: Likewise.
42609 * debug/mbsrtowcs_chk.c: Likewise.
42610 * debug/wcsnrtombs_chk.c: Likewise.
42611 * debug/wcsrtombs_chk.c: Likewise.
42612 * debug/wcstombs_chk.c: Likewise.
42613 * dirent/dirent.h: Likewise.
42614 * dlfcn/dlfcn.h: Likewise.
42615 * elf/neededtest4.c: Likewise.
42616 * grp/grp.h: Likewise.
42617 * gshadow/gshadow.h: Likewise.
42618 * iconv/gconv.h: Likewise.
42619 * iconv/gconv_int.h: Likewise.
42620 * iconv/gconv_simple.c: Likewise.
42621 * iconv/iconv.h: Likewise.
42622 * iconv/loop.c: Likewise.
42623 * iconv/skeleton.c: Likewise.
42624 * include/aio.h: Likewise.
42625 * include/aliases.h: Likewise.
42626 * include/argz.h: Likewise.
42627 * include/arpa/inet.h: Likewise.
42628 * include/assert.h: Likewise.
42629 * include/dirent.h: Likewise.
42630 * include/dlfcn.h: Likewise.
42631 * include/execinfo.h: Likewise.
42632 * include/fcntl.h: Likewise.
42633 * include/fenv.h: Likewise.
42634 * include/glob.h: Likewise.
42635 * include/grp.h: Likewise.
42636 * include/libintl.h: Likewise.
42637 * include/mntent.h: Likewise.
42638 * include/netdb.h: Likewise.
42639 * include/pwd.h: Likewise.
42640 * include/rpc/netdb.h: Likewise.
42641 * include/sched.h: Likewise.
42642 * include/search.h: Likewise.
42643 * include/shadow.h: Likewise.
42644 * include/signal.h: Likewise.
42645 * include/stdio.h: Likewise.
42646 * include/stdlib.h: Likewise.
42647 * include/string.h: Likewise.
42648 * include/sys/socket.h: Likewise.
42649 * include/sys/stat.h: Likewise.
42650 * include/sys/statfs.h: Likewise.
42651 * include/sys/statvfs.h: Likewise.
42652 * include/sys/syslog.h: Likewise.
42653 * include/sys/time.h: Likewise.
42654 * include/sys/uio.h: Likewise.
42655 * include/time.h: Likewise.
42656 * include/unistd.h: Likewise.
42657 * include/utmp.h: Likewise.
42658 * include/wchar.h: Likewise.
42659 * include/wctype.h: Likewise.
42660 * inet/aliases.h: Likewise.
42661 * inet/arpa/inet.h: Likewise.
42662 * inet/netinet/ether.h: Likewise.
42663 * inet/netinet/in.h: Likewise.
42664 * intl/libintl.h: Likewise.
42665 * io/bits/fcntl2.h: Likewise.
42666 * io/fcntl.h: Likewise.
42667 * io/ftw.h: Likewise.
42668 * io/sys/poll.h: Likewise.
42669 * io/sys/stat.h: Likewise.
42670 * io/sys/statfs.h: Likewise.
42671 * io/sys/statvfs.h: Likewise.
42672 * io/utime.h: Likewise.
42673 * libio/bits/stdio.h: Likewise.
42674 * libio/bits/stdio2.h: Likewise.
42675 * libio/libio.h: Likewise.
42676 * libio/libioP.h: Likewise.
42677 * libio/stdio.h: Likewise.
42678 * locale/lc-ctype.c: Likewise.
42679 * locale/locale.h: Likewise.
42680 * login/utmp.h: Likewise.
42681 * malloc/arena.c: Likewise.
42682 * malloc/malloc.c: Likewise.
42683 * malloc/malloc.h: Likewise.
42684 * malloc/mcheck.c: Likewise.
42685 * malloc/mtrace.c: Likewise.
42686 * math/bits/mathcalls.h: Likewise.
42687 * math/fenv.h: Likewise.
42688 * math/math_private.h: Likewise.
42689 * misc/bits/error.h: Likewise.
42690 * misc/bits/syslog.h: Likewise.
42691 * misc/err.h: Likewise.
42692 * misc/error.h: Likewise.
42693 * misc/fstab.h: Likewise.
42694 * misc/mntent.h: Likewise.
42695 * misc/regexp.h: Likewise.
42696 * misc/search.h: Likewise.
42697 * misc/sgtty.h: Likewise.
42698 * misc/sys/mman.h: Likewise.
42699 * misc/sys/syslog.h: Likewise.
42700 * misc/sys/uio.h: Likewise.
42701 * misc/sys/xattr.h: Likewise.
42702 * misc/ttyent.h: Likewise.
42703 * nis/rpcsvc/ypclnt.h: Likewise.
42704 * nss/nss.h: Likewise.
42705 * posix/bits/unistd.h: Likewise.
42706 * posix/fnmatch.h: Likewise.
42707 * posix/glob.h: Likewise.
42708 * posix/sched.h: Likewise.
42709 * posix/spawn.h: Likewise.
42710 * posix/sys/wait.h: Likewise.
42711 * posix/unistd.h: Likewise.
42712 * posix/wordexp.h: Likewise.
42713 * pwd/pwd.h: Likewise.
42714 * resolv/netdb.h: Likewise.
42715 * resource/sys/resource.h: Likewise.
42716 * rt/aio.h: Likewise.
42717 * rt/bits/mqueue2.h: Likewise.
42718 * rt/mqueue.h: Likewise.
42719 * shadow/shadow.h: Likewise.
42720 * signal/signal.h: Likewise.
42721 * socket/send.c: Likewise.
42722 * socket/sendto.c: Likewise.
42723 * socket/sys/socket.h: Likewise.
42724 * stdio-common/printf.h: Likewise.
42725 * stdlib/bits/stdlib.h: Likewise.
42726 * stdlib/fmtmsg.h: Likewise.
42727 * stdlib/monetary.h: Likewise.
42728 * stdlib/stdlib.h: Likewise.
42729 * stdlib/ucontext.h: Likewise.
42730 * streams/stropts.h: Likewise.
42731 * string/argz.h: Likewise.
42732 * string/bits/string2.h: Likewise.
42733 * string/string.h: Likewise.
42734 * string/strings.h: Likewise.
42735 * sunrpc/rpc/auth.h: Likewise.
42736 * sunrpc/rpc/auth_des.h: Likewise.
42737 * sunrpc/rpc/clnt.h: Likewise.
42738 * sunrpc/rpc/netdb.h: Likewise.
42739 * sunrpc/rpc/pmap_clnt.h: Likewise.
42740 * sunrpc/rpc/xdr.h: Likewise.
42741 * sysdeps/generic/inttypes.h: Likewise.
42742 * sysdeps/generic/net/if.h: Likewise.
42743 * sysdeps/generic/sys/swap.h: Likewise.
42744 * sysdeps/gnu/net/if.h: Likewise.
42745 * sysdeps/gnu/utmpx.h: Likewise.
42746 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42747 * sysdeps/i386/i486/bits/string.h: Likewise.
42748 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42749 * sysdeps/s390/bits/string.h: Likewise.
42750 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42751 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42752 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42753 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42754 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42755 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42756 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42757 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42758 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42759 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42760 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42761 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42762 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42763 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42764 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42765 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42766 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42767 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42769 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42771 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42772 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42773 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42774 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42775 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42776 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42777 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42778 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42779 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42780 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42781 * sysvipc/sys/ipc.h: Likewise.
42782 * sysvipc/sys/msg.h: Likewise.
42783 * sysvipc/sys/sem.h: Likewise.
42784 * sysvipc/sys/shm.h: Likewise.
42785 * termios/termios.h: Likewise.
42786 * time/sys/time.h: Likewise.
42787 * time/time.h: Likewise.
42788 * wcsmbs/bits/wchar2.h: Likewise.
42789 * wcsmbs/uchar.h: Likewise.
42790 * wcsmbs/wchar.h: Likewise.
42791 * wctype/wctype.h: Likewise.
42792
0269750c
UD
42793 [BZ #13551]
42794 * Makeconfig: Remove all but ELF support including AIX support.
42795 * Makerules: Likewise.
42796 * config.h.in: Likewise.
42797 * config.make.in: Likewise.
42798 * configure: Likewise.
42799 * configure.in: Likewise.
42800 * csu/Makefile: Likewise.
42801 * csu/version.c: Likewise.
42802 * debug/Makefile: Likewise.
42803 * dlfcn/Makefile: Likewise.
42804 * elf/Makefile: Likewise.
42805 * extra-lib.mk: Likewise.
42806 * iconv/Makefile: Likewise.
42807 * include/libc-symbols.h: Likewise.
42808 * include/shlib-compat.h: Likewise.
42809 * resolv/Makefile: Likewise.
42810 * resolv/res_libc.c: Likewise.
42811 * rt/Makefile: Likewise.
42812 * sysdeps/i386/asm-syntax.h: Likewise.
42813 * sysdeps/i386/sysdep.h: Likewise.
42814 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42815 * sysdeps/mach/sysdep.h: Likewise.
42816 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42817 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42818 * sysdeps/s390/asm-syntax.h: Likewise.
42819 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42821 * sysdeps/sh/sysdep.h: Likewise.
42822 * sysdeps/unix/sparc/sysdep.h: Likewise.
42823 * sysdeps/wordsize-32/divdi3.c: Likewise.
42824 * sysdeps/x86_64/sysdep.h: Likewise.
42825
00bbd29b
UD
42826 * argp/Versions: Remove _argp_unlock_xxx.
42827
42828 [BZ #13559]
42829 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42830 * abilist/libBrokenLocale.abilist: Likewise.
42831 * abilist/libanl.abilist: Likewise.
42832 * abilist/libc.abilist: Likewise.
42833 * abilist/libcrypt.abilist: Likewise.
42834 * abilist/libdl.abilist: Likewise.
42835 * abilist/libm.abilist: Likewise.
42836 * abilist/libnsl.abilist: Likewise.
42837 * abilist/libpthread.abilist: Likewise.
42838 * abilist/libresolv.abilist: Likewise.
42839 * abilist/librt.abilist: Likewise.
42840 * abilist/libthread_db.abilist: Likewise.
42841 * abilist/libutil.abilist: Likewise.
42842 * abilist/libnss_db.abilist: New file.
42843
42844 * scripts/abilist.awk: Add support for indirect functions.
42845
a2693a0e
UD
42846 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42847
3f05895f
UD
42848 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42849
ecb6fb48
UD
42850 * shlib-versions: Remove entries for ports architectures.
42851
664f8cb9
UD
42852 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42853 files in ports.
42854 * elf/stackguard-macros.h: Remove support for IA-64.
42855 * elf/tst-auditmod1.c: Likewise.
42856 * sysdeps/generic/ldsodefs.h: Likewise.
42857
7ae81d88
UD
42858 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42859 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42860 configure files.
42861
bdeba135
UD
42862 [BZ #13552]
42863 * configure.in: Remove --enable-omitfp support.
42864 * FAQ.in: Adjust.
42865 * config.make.in: Likewise.
42866 * Makeconfig: Likewise.
42867 * manual/install.texi: Likewise.
42868
d75a0a62
UD
42869 In case anyone cares, the IA-64 architecture could move to ports.
42870 * sysdeps/ia64/*: Removed.
42871 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42872 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42873
dcc9756b
UD
42874 [BZ #13555]
42875 * configure.in: Remove entries for unsupported architectures.
42876
d3761ebc 42877 [BZ #13533]
9954432e
UD
42878 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42879 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42880 routines.
42881 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42882 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42883 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42884 fall back to using wcrtomb.
42885 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42886 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42887 renaming.
42888 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42889 * wcsmbs/tst-c16c32-1.c: New file.
42890
42891 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42892 local variable.
42893
c3a87236
UD
42894 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42895
28926a1b
UD
42896 * elf/tst-unique3.cc: Add explicit declaration of gets.
42897 * elf/tst-unique3lib.cc: Likewise.
42898 * elf/tst-unique3lib2.cc: Likewise.
42899 * elf/tst-unique4.cc: Likewise.
42900
df78418a
UD
42901 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42902
8ecd6b2a
JM
429032012-01-06 Joseph Myers <joseph@codesourcery.com>
42904
42905 [BZ #13566]
42906 * assert/assert.h (static_assert): Don't define for C++.
42907 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42908 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42909
9f115170
UD
429102012-01-03 Ulrich Drepper <drepper@gmail.com>
42911
5e0d0300
UD
42912 * iconv/loop.c (single loop): Fix assertion in storing of
42913 remaining bytes.
42914
9f115170
UD
42915 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42916
81fb02b0
UD
429172012-01-01 Ulrich Drepper <drepper@gmail.com>
42918
42919 * posix/getconf.c: Update copyright year.
42920 * nss/getent.c: Likewise.
a316c1f6 42921 * nss/makedb.c: Likewise.
81fb02b0
UD
42922 * iconv/iconvconfig.c: Likewise.
42923 * iconv/iconv_prog.c: Likewise.
42924 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42925 * elf/pldd.c: Likewise.
42926 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42927 * catgets/gencat.c: Likewise.
42928 * csu/version.c: Likewise.
42929 * elf/ldd.bash.in: Likewise.
42930 * elf/sprof.c (print_version): Likewise.
42931 * locale/programs/locale.c: Likewise.
42932 * locale/programs/localedef.c: Likewise.
a316c1f6 42933 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42934 * nscd/nscd.c (print_version): Likewise.
42935 * debug/xtrace.sh: Likewise.
42936 * malloc/memusage.sh: Likewise.
42937 * malloc/mtrace.pl: Likewise.
42938 * debug/catchsegv.sh: Likewise.
42939
2ba92745
JJ
429402011-12-30 Jakub Jelinek <jakub@redhat.com>
42941
42942 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42943 pure attribute.
42944
dadebdae
UD
429452011-12-24 Ulrich Drepper <drepper@gmail.com>
42946
d3761ebc 42947 [BZ #13533]
db6af3eb
UD
42948 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42949 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42950 transformations.
42951 * iconv/gconv_int.h: Likewise.
42952 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42953 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42954 from libc for GLIBC_2.16.
42955 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42956 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42957 * wcsmbs/uchar.h: Really define mbstate_t.
42958 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42959 * wcsmbs/c16rtomb.c: New file.
42960 * wcsmbs/mbrtoc16.c: New file.
42961 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42962 for C/POSIX locale.
42963 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42964 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42965
dadebdae
UD
42966 * wcsmbs/wchar.h: Add missing __restrict.
42967
67371b56
UD
429682011-12-23 Ulrich Drepper <drepper@gmail.com>
42969
74033a25
UD
42970 [BZ #13532]
42971 * time/Makefile (routines): Add timespec_get.
42972 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42973 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42974 timespec for ISO C11.
42975 * time/timespec_get.c: New file.
42976 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42977 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42978
380d7e87
UD
42979 [BZ #13531]
42980 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42981 * stdlib/stdlib.h: Declare aligned_alloc.
42982 * Versions.def: Add GLIBC_2.16 for libc.
42983 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42984
4e9e7a35
UD
42985 [BZ 13527]
42986 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42987 ISO C11.
42988
380d7e87 42989 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42990 code.
42991
03a71829
UD
42992 [BZ #13528]
42993 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42994
839e283e
UD
42995 [BZ #13529]
42996 * assert/assert.h (static_assert): Define.
42997
ce5294e2 42998 * version.h: Update for 2.16 development version.
90fa7312 42999
8d44e150 43000 [BZ #13526]
d7809905
UD
43001 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43002 _ISOC11_SOURCE.
43003
c0da14cd
UD
43004 * version.h (RELEASE): Bump for 2.15 release.
43005 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43006
530a3249
MP
43007 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43008 Patch by Marek Polacek <mpolacek@redhat.com>.
43009
67371b56
UD
43010 * bits/byteswap.h: Protect long long constants with __extension__.
43011 * sysdeps/i386/bits/byteswap.h: Likewise.
43012 * sysdeps/ia64/bits/byteswap.h: Likewise.
43013 * sysdeps/s390/bits/byteswap.h: Likewise.
43014 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43015
15db4de1
LD
430162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43017
43018 [BZ #13540]
bbe315ea
LD
43019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43020 destination buffer.
15db4de1
LD
43021 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43022
2b2596b1
MP
430232011-12-23 Marek Polacek <polacek@redhat.com>
43024
43025 * elf/dl-addr.c (determine_info): Add inline keyword.
43026 * elf/tst-auditmod4b.c (check_avx): Likewise.
43027 * elf/tst-auditmod6b.c (check_avx): Likewise.
43028 * elf/tst-auditmod6c.c (check_avx): Likewise.
43029 * elf/tst-auditmod7b.c (check_avx): Likewise.
43030
70c6c246
UD
430312011-12-23 Ulrich Drepper <drepper@gmail.com>
43032
43033 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43034 !__SSE_MATH__.
43035
c044cf14
LD
430362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43037
15db4de1 43038 [BZ #13540]
c044cf14
LD
43039 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43040 processing for last bytes.
43041
6b13d9d9
BH
430422011-08-06 Bruno Haible <bruno@clisp.org>
43043
d455f537
BH
43044 [BZ #13061]
43045 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43046 U+0385, not to U+1FEE.
43047
6b13d9d9
BH
43048 [BZ #13062]
43049 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43050 entry for U+00A5 U+0301.
43051
db910efd
UD
430522011-12-22 Ulrich Drepper <drepper@gmail.com>
43053
27deeafc
UD
43054 [BZ #13166]
43055 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43056 buffer for the output is too small.
43057
aed9d171
UD
43058 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43059 optimization.
43060
db910efd
UD
43061 [BZ #13185]
43062 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43063 SSE flags if possible.
43064
2bd779ae
LD
430652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43066
e7f9dac3 43067 [BZ #13540]
2bd779ae
LD
43068 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43069 processing for last bytes.
43070
154bfc16
JM
430712011-12-22 Joseph Myers <joseph@codesourcery.com>
43072
43073 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43074 (syscall-list-default-options, syscall-list-default-condition)
43075 (syscall-list-includes): Define.
43076 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43077 list of ABIs and options and #if conditions for each ABI. Do not
43078 handle common syscalls between ABIs specially.
43079 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43080 Remove.
43081 (syscall-list-variants, syscall-list-32bit-options)
43082 (syscall-list-32bit-condition, syscall-list-64bit-options)
43083 (syscall-list-64bit-condition): Define.
43084 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43085 (syscall-list-variants, syscall-list-32bit-options)
43086 (syscall-list-32bit-condition, syscall-list-64bit-options)
43087 (syscall-list-64bit-condition): Define.
43088 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43089 Remove.
43090 (syscall-list-variants, syscall-list-32bit-options)
43091 (syscall-list-32bit-condition, syscall-list-64bit-options)
43092 (syscall-list-64bit-condition): Define.
43093 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43094 Remove.
43095 (syscall-list-variants, syscall-list-32bit-options)
43096 (syscall-list-32bit-condition, syscall-list-64bit-options)
43097 (syscall-list-64bit-condition): Define.
43098
21eaf3a5
UD
430992011-12-22 Ulrich Drepper <drepper@gmail.com>
43100
16c6f992
UD
43101 * locale/iso-639.def: Add brx entry.
43102
41043168
UD
43103 [BZ #13328]
43104 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43105 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43106
21eaf3a5
UD
43107 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43108 __feraiseexcept_renamed.
43109
e3a851a2
UD
431102011-12-21 Ulrich Drepper <drepper@gmail.com>
43111
4920765e
UD
43112 [BZ #13538]
43113 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43114 EPOLLET with unsigned values.
43115 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43116 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43117
e3a851a2
UD
43118 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43119 to large cancellation.
43120 * math/s_cacoshf.c: Likewise.
43121 * math/s_cacoshl.c: Likewise.
43122
b27e24b8
RK
431232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43124
43125 [BZ #13305]
aebefeee 43126 [BZ #12786]
b27e24b8
RK
43127 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43128 * math/s_cacoshf.c: Likewise.
43129 * math/s_cacoshl.c: Likewise.
43130
ee190f67
UD
431312011-12-21 Ulrich Drepper <drepper@gmail.com>
43132
43133 [BZ #13439]
43134 * iconv/gconv.h: Define __GCONV_SWAP.
43135 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43136 * iconvdata/utf-16.c: Likewise.
43137 * iconvdata/utf-32.c: Likewise.
43138
707f25df
AS
431392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43140
43141 [BZ #13524]
43142 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43143 numerator after shifting it by one limb.
43144
d2daaa1e
RÁE
431452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43146
43147 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43148 under [__USE_EXTERN_INLINES].
43149
a4647e72
UD
431502011-12-17 Ulrich Drepper <drepper@gmail.com>
43151
43152 [BZ #13446]
43153 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43154
f0b264f1
AZ
431552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43156
43157 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43158 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43159 optimized code.
43160 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43161 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43162 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43163 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43164 for strncasecmp/strncasecmp_l compilation.
43165 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43166 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43167
8ef4f244
MP
431682011-12-08 Marek Polacek <mpolacek@redhat.com>
43169
43170 [BZ #13484]
43171 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43172 of __asm__.
43173
97ac2654
UD
431742011-12-17 Ulrich Drepper <drepper@gmail.com>
43175
43176 [BZ #13506]
43177 * time/tzfile.c (__tzfile_read): Check values from file header.
43178
91d2a845
WS
431792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43180
43181 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43182 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43183 * powerpc/powerpc32/dl-start.S: Likewise.
43184 * powerpc/powerpc32/elf/start.S: Likewise.
43185 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43186 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43187 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43188 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43189 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43190 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43191 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43192 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43193 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43194 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43195 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43196 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43197 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43198 * powerpc/powerpc32/memset.S: Likewise.
43199 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43200 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43201 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43202 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43203 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43204 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43205 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43206 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43207 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43208 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43209 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43210 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43211 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43212
a1267ba1
AZ
432132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43214
43215 * math/libm-test.inc: Added more nearbyint tests.
43216 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43217 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43218 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43219 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43220
ad8ac1bd
RL
432212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43222
43223 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43224 FD_CLOEXEC.
43225
1d3e4b61
UD
432262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43227
43228 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43229 Add wcscpy-ssse3 wcscpy-c.
43230 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43231 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43232 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43233 * sysdeps/x86_64/wcschr.S: New file.
43234 * sysdeps/x86_64/wcsrchr.S: New file.
43235 * string/test-strcmp.c: Remove checking of wcscmp function for
43236 wrong alignments.
43237 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43238 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43239 wcsrchr-sse2 wcsrchr-c.
43240 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43241 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43242 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43243 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43244 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43245 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43246 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43247 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43248 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43249 * wcsmbc/wcschr.c (WCSCHR): New macro.
43250
5b330a2d
UD
432512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43252
43253 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43254 * wcsmbs/test-wcsrchr.c: New file.
43255 * string/test-strrchr.c: Add wcsrchr support.
43256 (WIDE): New macro.
43257 * wcsmbs/test-wcscpy.c: New file.
43258 * string/test-strcpy.c: Add wcscpy support.
43259 (WIDE): New macro.
26428b7c 43260
f039c043
UD
432612011-12-10 Ulrich Drepper <drepper@gmail.com>
43262
43263 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43264 the inner loop.
43265
850fb039
AS
432662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43267
43268 [BZ #13472]
43269 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43270
4efbd5cb
UD
432712011-12-04 Ulrich Drepper <drepper@gmail.com>
43272
52ff5dd0 43273 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43274 Minor optimizations.
52ff5dd0 43275
4efbd5cb
UD
43276 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43277 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43278 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43279
8a426e12
UD
432802011-12-03 Ulrich Drepper <drepper@gmail.com>
43281
aff2453d
UD
43282 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43283 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43284 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43285 for gcc to avoid warnings.
43286 * inet/Makefile (tests): Add tst-checks.
43287 * inet/tst-checks.c: New file.
43288
43289 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43290 warning.
43291
43292 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43293 __wmemcmp_sse2.
43294
43295 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43296 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43297
8a426e12
UD
43298 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43299
9bea3473
UD
433002011-12-02 Ulrich Drepper <drepper@gmail.com>
43301
3a965496
UD
43302 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43303 problem.
43304
9bea3473
UD
43305 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43306
f101631b
UD
433072011-11-29 Joseph Myers <joseph@codesourcery.com>
43308
43309 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43310 conditional on GCC version.
43311 (__arch_compare_and_exchange_val_8_acq)
43312 (__arch_compare_and_exchange_val_16_acq)
43313 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43314 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43315 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43316
a98275aa
UD
433172011-12-02 Joseph Myers <joseph@codesourcery.com>
43318
43319 * sysdeps/sh/backtrace.c: New file.
43320
d4cc29a2
AS
433212011-12-02 Andreas Schwab <schwab@redhat.com>
43322
43323 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43324 parenthesis.
43325
6257af2d
AS
433262011-12-01 Andreas Schwab <schwab@redhat.com>
43327
43328 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43329 falling back to utime.
43330
b5f44c1a
AS
433312011-11-30 Andreas Schwab <schwab@redhat.com>
43332
43333 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43334 expectations for float.
43335
f3a6cc0a
AS
433362011-11-29 Andreas Schwab <schwab@redhat.com>
43337
43338 * locale/weight.h (findidx): Add parameter len.
43339 * locale/weightwc.h (findidx): Likewise.
43340 * posix/fnmatch_loop.c (FCT): Adjust caller.
43341 * posix/regcomp.c (build_equiv_class): Likewise.
43342 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43343 * posix/regexec.c (check_node_accept_bytes): Likewise.
43344 * string/strcoll_l.c (STRCOLL): Likewise.
43345 * string/strxfrm_l.c (STRXFRM): Likewise.
43346
9d65ea3a
UD
433472011-11-17 Ulrich Drepper <drepper@gmail.com>
43348
43349 * Makefile.in: Remove CVSOPT handling.
43350 * configure.in: Remove use of AC_REVISION.
43351 * iconvdata/Makefile (distribute): No need to filter out CVS.
43352 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43353 handling.
43354
5583a086
AS
433552011-11-16 Andreas Schwab <schwab@redhat.com>
43356
43357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43358 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43359 [USE_AS_STRNCASECMP_L]: Likewise.
43360 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43361 NO_TLS_DIRECT_SEG_REFS.
43362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43363 Fix argument offsets for non-PIC.
43364 [USE_AS_STRNCASECMP_L]: Likewise.
43365 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43366 NO_TLS_DIRECT_SEG_REFS.
43367
d62a8200
UD
433682011-11-15 Ulrich Drepper <drepper@gmail.com>
43369
9d65ea3a 43370 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43371 O_CLOEXEC.
43372 * locale/loadlocale.c (_nl_load_locale): Likewise.
43373
09f93bd3
AS
433742011-11-15 Andreas Schwab <schwab@redhat.com>
43375
446514f9
AS
43376 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43377 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43378 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43379 (SYSCALL_GETTIME): Set errno on error.
43380
09f93bd3
AS
43381 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43382 count references to noai6ai_cached.
43383
312be3f9
UD
433842011-11-15 Ulrich Drepper <drepper@gmail.com>
43385
43386 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43387
43388 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43389 FD_CLOEXEC for /proc/self/maps.
43390
43391 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43392 FD_CLOEXEC for /proc/meminfo.
43393
43394 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43395 gai.conf.
43396
43397 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43398 FD_CLOEXEC for given file.
43399
43400 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43401
43402 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43403 FD_CLOEXEC for /etc/hosts.
43404 (_gethtent): Likewise.
43405
43406 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43407
43408 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43409 cancellation and set FD_CLOEXEC for /etc/netgroup.
43410
43411 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43412 reading /etc/publickey.
43413
43414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43415 allow cancellation when reading /etc/group.
43416
43417 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43418 cancellation.
43419 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43420
43421 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43422 when using data file.
43423
43424 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43425
43426 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43427 (write_nis_obj): Use "c" and "e" in fopen.
43428
43429 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43430
43431 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43432
43433 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43434
43435 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43436
43437 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43438 locale.alias.
43439
43440 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43441
43442 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43443
43444 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43445
43446 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43447 file parsing and set FD_CLOEXEC.
43448
82af0fa8
UD
434492011-11-14 Ulrich Drepper <drepper@gmail.com>
43450
43451 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43452
a5fb313c
AS
434532011-11-14 Andreas Schwab <schwab@redhat.com>
43454
43455 * malloc/arena.c (arena_get2): Don't call reused_arena when
43456 _int_new_arena failed.
43457
6abf3465
UD
434582011-11-14 Ulrich Drepper <drepper@gmail.com>
43459
43460 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43461 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43462 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43463 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43465 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43466 to compile strcasecmp and strncasecmp.
43467 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43468 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43469
43470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43471
76e3966e
UD
434722011-11-13 Ulrich Drepper <drepper@gmail.com>
43473
43474 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43475 locale-defines.sym to gen-as-const-headers.
43476 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43477 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43479 to compile strcasecmp and strncasecmp.
43480 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43481 strcasecmp_l and strncasecmp_l.
43482 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43483 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43484 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43485 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43486 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43487 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43488 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43489 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43490 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43491 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43492 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43493
ab26144e
UD
434942011-11-12 Ulrich Drepper <drepper@gmail.com>
43495
7edb22ef
UD
43496 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43497 result of SYSDEP_GETTIME_CPU to retval.
43498 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43499 parameter list to macro. Remove trailing semicolon. Adjust users.
43500
9694fc44
UD
43501 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43502 variable.
43503
8ad89ef8
UD
43504 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43505 mantissa words.
43506 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43507
0c822ef9
UD
43508 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43509 from unused variable.
43510
874e0564
UD
43511 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43512 DWARF definitions.
43513 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43514 for assembling.
43515
3a2edc79
UD
43516 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43517 over namespaces.
43518
f3c2577f
UD
43519 * sunrpc/rpc_prot.c (rejected): Fix case value.
43520
294ce126
UD
43521 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43522 unsigned long long int to avoid warnings in shift.
43523
5e2b63c6
UD
43524 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43525 of use of trans.
43526 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43527 variable tmp.
43528
e7f4b08e
UD
43529 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43530 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43531 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43532
ab26144e
UD
43533 * nis/nis_table.c (nis_list): Use variable of correct type for
43534 result of __follow_path call.
43535
8a6d5255
AZ
435362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43537
43538 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43539 of math functions ceil, trunc, floor, round, and sqrt, when
43540 avaliable on the platform.
43541 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43542 name clash.
43543 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43544 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43545 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43546
aaddc98c
MP
435472011-10-30 Marek Polacek <mpolacek@redhat.com>
43548
43549 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43550 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43551
95b7042b
RM
435522011-11-11 Roland McGrath <roland@hack.frob.com>
43553
43554 * include/unistd.h: Fix __readlink return type.
43555 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43556
57769839
UD
435572011-11-11 Ulrich Drepper <drepper@gmail.com>
43558
43559 * stdlib/ucontext.h: Undo last change for makecontext.
43560
edc5984d
AS
435612011-11-11 Andreas Schwab <schwab@redhat.com>
43562
98591e58
AS
43563 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43564
edc5984d
AS
43565 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43566 * setjmp/setjmp.h: Mark functions as non-leaf.
43567 * setjmp/bits/setjmp2.h: Likewise.
43568 * stdlib/ucontext.h: Likewise.
43569
77cdc054
AS
435702011-11-10 Andreas Schwab <schwab@redhat.com>
43571
43572 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43573 (reused_arena): Don't check arena limit.
43574 (arena_get2): Atomically check arena limit.
43575
fe72eebd
UD
435762011-11-08 Ulrich Drepper <drepper@gmail.com>
43577
5f078c32
UD
43578 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43579 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43580
fe72eebd
UD
43581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43582 instructions.
43583
ae1bc2fa
AS
435842011-11-07 Andreas Schwab <schwab@redhat.com>
43585
7583a88d
AS
43586 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43587 handler when locking.
43588
ae1bc2fa
AS
43589 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43590 Fix size of allocated buffer.
43591
10fb0bfa
AS
435922011-11-04 Andreas Schwab <schwab@redhat.com>
43593
998832a4
AS
43594 [BZ #10103]
43595 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43596 declarations for long double functions.
43597 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43598
10fb0bfa
AS
43599 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43600
3d7ba52b
AS
436012011-11-03 Andreas Schwab <schwab@redhat.com>
43602
a9ae54a1
AS
43603 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43604 installed.
43605
3d7ba52b
AS
43606 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43607 is disabled.
43608
bc8db248
ST
436092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43610
43611 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43612
45b96dd6
AS
436132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43614
647776f6
AS
43615 * include/alloca.h (stackinfo_alloca_round): Define.
43616 (extend_alloca): Use it.
43617 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43618 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43619 here.
43620
d91a8b93
AS
43621 * scripts/check-local-headers.sh: Ignore libaudit.h.
43622
45b96dd6
AS
43623 * nscd/Makefile (extra-objs): Make recursively expanded.
43624
432d41ce
UD
436252011-11-01 Ulrich Drepper <drepper@gmail.com>
43626
34372fc6
UD
43627 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43628 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43629
fadb59f8
UD
43630 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43631 * posix/tst-rfc3484-2.c: Likewise.
43632 * posix/tst-rfc3484-3.c: Likewise.
43633
78239589
UD
43634 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43635 process_vm_writev.
43636 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43637 process_vm_writev.
43638 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43639 process_vm_writev from libc using GLIBC_2.15 version.
43640
432d41ce
UD
43641 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43642
02f9c6cf
PP
436432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43644
43645 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43646 stack usage.
43647
3a2c0242
UD
436482011-10-31 Ulrich Drepper <drepper@gmail.com>
43649
f4ec4833
UD
43650 [BZ #13367]
43651 * nss/getent.c (initgroups_keys): Show error message in case no group
43652 names are given.
43653
3a2c0242
UD
43654 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43655 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43656 __bump_nl_timestamp.
43657 * nscd/connections (nscd_init): When host database is served open
43658 netlink socket and request notification about configuration changes.
43659 (main_loop_poll): Track netlink file descriptor and bump timestamp
43660 in case data becomes available.
43661 (main_loop_epoll): Likewise.
43662 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43663 (database_pers_head): Add extra_data fileds.
43664 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43665 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43666 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43667 Adjust caller.
43668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43669 in6ai data, call __free_in6ai.
43670 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43671 Add -DHAVE_NETLINK.
43672 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43673 interface information. Reuse previous data if netlink timestamp
43674 is not changed.
43675 (__bump_nl_timestamp): New function.
43676 (__free_in6ai): New function.
43677
636064eb
UD
436782011-10-30 Ulrich Drepper <drepper@gmail.com>
43679
43680 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43681 close_not_cancel_no_status here.
43682 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43683
9beb2334
UD
436842011-10-29 Ulrich Drepper <drepper@gmail.com>
43685
6ef76f3b
UD
43686 [BZ #13276]
43687 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43688 return value.
43689
0ffc4f3e 43690 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43691 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43692 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43693
cb95113e
UD
436942011-07-03 Andreas Jaeger <aj@suse.de>
43695
43696 [BZ #10709]
43697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43698 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43699 * math/libm-test.inc (sin_test): Add test case.
43700
a1b560ff
UD
437012011-10-29 Ulrich Drepper <drepper@gmail.com>
43702
c9aaface
UD
43703 [BZ #13337]
43704 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43705 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43706
d272e7f1
UD
43707 * elf/chroot_canon.c (chroot_canon): Cleanups.
43708
1bc33071
UD
43709 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43710
1760874d
TJ
43711 [BZ #13335]
43712 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43713 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43714
51d91b18
UD
43715 * string/test-strchr.c: Make usable for strchrnul testing.
43716 * string/test-strchrnul.c: New file.
43717 * string/Makefile (strop-tests): Add strchrnul.
43718
a1b560ff 43719 * po/it.po: Update from translation team.
b611fb81 43720 * po/es.po: Likewise.
a1b560ff 43721
a5b81e1f
UD
437222011-10-28 Ulrich Drepper <drepper@gmail.com>
43723
fd52bc6d
UD
43724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43725 the three constants needed as parameters. Drop the others.
43726 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43727 __m128i_strloadu_tolower.
52e4b9eb
UD
43728 Create and initialize variable zero and use it in all the places
43729 where _mm_setzero_si128 was used.
fd52bc6d 43730
a5b81e1f
UD
43731 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43732 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43733 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43734 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43735 anymore.
43736 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43737 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43738 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43739 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43740 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43741 __mpranred, __mptan.
43742 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43743 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43744 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43745 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43746 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43747 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43748 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43749 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43750 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43751
b4343346
AS
437522011-10-28 Andreas Schwab <schwab@redhat.com>
43753
0c92d8a8
AS
43754 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43755 redefine if SHARED.
43756 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43757
b4343346
AS
43758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43759 wide char related routines to wcsmbs subdir.
43760
3871f58f
AS
437612011-10-27 Andreas Schwab <schwab@redhat.com>
43762
43763 [BZ #13344]
43764 * misc/sys/cdefs.h (__THROWNL): Define.
43765 * posix/unistd.h: Use __THREADNL instead of __THREAD
43766 for memory synchronization functions.
43767
94d44d9f
RM
437682011-10-26 Roland McGrath <roland@hack.frob.com>
43769
21b64b15 43770 [BZ #13349]
94d44d9f
RM
43771 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43772 doesn't exist.
43773 * manual/stdio.texi (Obstack Streams): Node removed.
43774
f6ce9294
AS
437752011-10-26 Andreas Schwab <schwab@redhat.com>
43776
80479147
AS
43777 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43778 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43779 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43780
f6ce9294
AS
43781 * math/math_private.h (math_force_eval): Allow non-addressable
43782 arguments.
43783 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43784
618280a1
UD
437852011-10-25 Ulrich Drepper <drepper@gmail.com>
43786
e0016b11
UD
43787 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43788 file is not needed.
43789
43790 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43797 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43798 Add AVX variants.
43799 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43800 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43801 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43802 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43803 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43804 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43805 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43806 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43807 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43808 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43809 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43810 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43812 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43813 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43814 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43815 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43816 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43817 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43818
43819 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43820 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43821
618280a1
UD
43822 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43823 place. Use VEX encoding when compiling for AVX.
43824
37822576
AS
438252011-10-25 Andreas Schwab <schwab@redhat.com>
43826
1f1e1947
AS
43827 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43828 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43829
37822576
AS
43830 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43831
31ea014d
UD
438322011-10-25 Ulrich Drepper <drepper@gmail.com>
43833
d7826aa1 43834 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43835 useless if() expression.
d7826aa1
UD
43836 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43837 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43838 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43839 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43840 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43841 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43842 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43843 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43844 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43845 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43846 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43847 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43848 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43849 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43850 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43851 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43852 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43853 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43854 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43855
31ea014d
UD
43856 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43857
16437fec
AS
438582011-10-25 Andreas Schwab <schwab@redhat.com>
43859
43860 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43861 condition.
43862 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43863
31d3cc00
UD
438642011-10-25 Ulrich Drepper <drepper@gmail.com>
43865
43866 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43867 .text section. Avoid duplicate constants.
43868 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43874 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43876 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43877 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43878 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43880 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43881 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43882 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43883 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43884 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43885 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43886 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43888 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43889 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43890 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43891 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43892 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43893 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43894 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43895 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43896 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43897 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43898 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43899 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43900 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43901 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43902 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43903 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43904 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43905 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43906 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43907 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43908 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43909 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43910 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43911 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43912 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43913
58985aa9
UD
439142011-10-24 Ulrich Drepper <drepper@gmail.com>
43915
202c9deb
UD
43916 * sysdeps/x86_64/dla.h: Move to ...
43917 * sysdeps/x86_64/fpu/dla.h: ...here.
43918 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43919 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43920
af968f62
UD
43921 * config.make.in: Add have-mfma4 entry.
43922 * configure.in: Substitute libc_cv_cc_fma4.
43923 * math/Makefile (dbl-only-routines): Add sincostab.
43924 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43925 Use __sincostab not sincos.
43926 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43927 name is a macro.
43928 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43932 using __copysign.
43933 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43934 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43935 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43936 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43937 and __inv.
43938 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43939 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43940 __copysign.
43941 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43942 define aliases when function name is a macro.
43943 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43944 sysdeps/ieee754/dbl-64/sincos.tbl.
43945 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43946 fma4-enabled routines.
43947 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43948 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43949 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43950 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43951 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43952 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43954 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43956 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43957 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43958 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43959 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43960 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43961 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43962 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43963 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43964 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43965 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43966 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43967 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43968 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43971 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43972 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43974 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43975 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43976 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43977
58985aa9
UD
43978 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43979 rename.
43980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43988
a201fbcf
AS
439892011-10-24 Andreas Schwab <schwab@redhat.com>
43990
43991 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43992
fc2ee42a
LD
439932011-10-23 Ulrich Drepper <drepper@gmail.com>
43994
bb3129bd
UD
43995 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43996
0275fff8
UD
43997 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43998 prediction.
43999 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44000
2fa2ae85
UD
44001 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44002 Remove unused variable magic_bits.
44003 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44004
fc2ee42a
LD
44005 * string/strnlen.c: Define and use STRNLEN macro.
44006 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44007 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44008 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44009 * wcsmbs/wcslen.c: Define and use WCSLEN.
44010 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44011 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44012 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44013 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44014 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44015 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44016 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44017
ce7dd29f
LD
440182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44019
44020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44021 strnlen-sse2-no-bsf.
44022 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44023 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44024 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44025 Add strnlen support.
44026 (USE_AS_STRNLEN): New macro.
44027 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44028 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44029 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44030 * sysdeps/x86_64/wcslen.S: New file.
44031
979c70a3
MZ
440322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44033
44034 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44035 XMM-moves are used for copying on small sizes.
44036
2d09f82f
LD
440372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44038
44039 * wcsmbs/Makefile (strop-tests): Add wcschr.
44040 * wcsmbs/test-wcschr.c: New file.
44041 * string/test-strchr.c: Update.
44042 Add wcschr support.
44043 (WIDE): New macro.
44044
619fccca
LD
440452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44046
2d09f82f 44047 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44048 * wcsmbs/test-wcslen.c: New file.
44049 * string/test-strlen.c: Update.
44050 Add wcslen support.
44051 (WIDE): New macro.
44052
09f699ea
UD
440532011-10-23 Ulrich Drepper <drepper@gmail.com>
44054
44055 * po/it.po: Update from translation team.
44056
95584d3b
LD
440572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44058
44059 * sysdeps/x86_64/wcscmp.S: Update.
44060 Fix wrong comparison semantics.
44061 wcscmp shall use signed comparison not unsigned.
44062 Don't use substraction to avoid overflow bug.
44063 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44064 * wcsmbc/wcscmp.c: Likewise.
44065 * string/test-strcmp.c: Likewise.
44066 Add new tests to check cases with negative values.
44067
c8b3296b
UD
440682011-10-23 Ulrich Drepper <drepper@gmail.com>
44069
44070 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44071 * sysdeps/x86_64/dla.h: ...here. New file.
44072 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44075 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44077 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44081
246ad57a
AS
440822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44083
44084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44085 __ynl_finite aliases.
44086
a1a87169
UD
440872011-10-22 Ulrich Drepper <drepper@gmail.com>
44088
0d355eb7
UD
44089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44090
a1a87169
UD
44091 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44092 define DLA_FMA.
44093 [DLA_FMA] (EMULV): Use DLA_FMA.
44094 [DLA_FMA] (MUL12): Use EMULV.
44095 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44096 that are not needed.
44097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44104
ee2aafe0
AS
441052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44106
44107 * math/s_nan.c: Undef __nan.
44108 * math/s_nanf.c: Undef __nanf.
44109 * math/s_nanl.c: Undef __nanl.
44110 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44111 "math_private.h".
44112
bc62c2fb
UD
441132011-10-22 Ulrich Drepper <drepper@gmail.com>
44114
77425c63
UD
44115 * math/s_catan.c: Add branch predictions.
44116 * math/s_catanf.c: Likewise.
44117 * math/s_catanh.c: Likewise.
44118 * math/s_catanhf.c: Likewise.
44119 * math/s_catanhl.c: Likewise.
44120 * math/s_catanl.c: Likewise.
44121 * math/s_cexp.c: Likewise.
44122 * math/s_cexpf.c: Likewise.
44123 * math/s_cexpl.c: Likewise.
44124 * math/s_clog.c: Likewise.
44125 * math/s_clog10.c: Likewise.
44126 * math/s_clog10f.c: Likewise.
44127 * math/s_clog10l.c: Likewise.
44128 * math/s_clogf.c: Likewise.
44129 * math/s_clogl.c: Likewise.
44130 * math/s_csqrt.c: Likewise.
44131 * math/s_csqrtf.c: Likewise.
44132 * math/s_csqrtl.c: Likewise.
44133 * math/s_ctanf.c: Likewise.
44134 * math/s_ctanh.c: Likewise.
44135 * math/s_ctanhf.c: Likewise.
44136 * math/s_ctanhl.c: Likewise.
44137 * math/s_ctanl.c: Likewise.
44138
bc62c2fb
UD
44139 * math/math_private.h: Define __nan, __nanf, __nanl.
44140 * math/s_cacosh.c: Include <math_private.h>.
44141 * math/s_cacoshl.c: Likewise.
44142 * math/s_casinh.c: Likewise.
44143 * math/s_casinhf.c: Likewise.
44144 * math/s_casinhl.c: Likewise.
44145 * math/s_ccos.c: Rely entire on ccosh.
44146 * math/s_ccosf.c: Rely entire on ccoshf.
44147 * math/s_ccosl.c: Rely entirely on ccoshl.
44148 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44149 Remove tests for FE_INVALID.
44150 * math/s_ccoshf.c: Likewise.
44151 * math/s_ccoshl.c: Likewise.
44152 * math/s_csin.c: Likewise.
44153 * math/s_csinf.c: Likewise.
44154 * math/s_csinh.c Likewise.
44155 * math/s_csinhf.c: Likewise.
44156 * math/s_csinhl.c: Likewise.
44157 * math/s_csinl.c: Likewise.
44158 * math/s_ctan.c: Likewise.
44159 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44160 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44161 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44162
8ec250a4
UD
441632011-10-21 Ulrich Drepper <drepper@gmail.com>
44164
c196fed8
UD
44165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44166 compilation problems.
44167
8ec250a4
UD
44168 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44169 __builtin_expect.
44170
8d4f46c6
UD
441712011-10-20 Ulrich Drepper <drepper@gmail.com>
44172
ed72b654
UD
44173 * sysdeps/i386/configure.in: Test for -mfma4 option.
44174 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44175 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44176 COMMON_CPUID_INDEX_80000001.
44177 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44178 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44179 use it if FMA3 is not supported.
44180 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44181
8d4f46c6
UD
44182 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44183 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44184
d45c60c2
AS
441852011-10-20 Andreas Schwab <schwab@redhat.com>
44186
44187 [BZ #12892]
44188 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44189 it would create a cycle with a link time dependency.
44190
d9a4d2ab
UD
441912011-10-19 Ulrich Drepper <drepper@gmail.com>
44192
855d1560
UD
44193 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44194 instruction.
44195 * string/Makefile (strop-tests): Add rawmemchr.
44196 * string/test-rawmemchr.c: New file.
44197
d9a4d2ab
UD
44198 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44199 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44200 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44201 when compiling str{,n}casecmp and when AVX is available. Hook up
44202 new optimized code in initializers.
44203
8f3b1ffe
AS
442042011-10-19 Andreas Schwab <schwab@redhat.com>
44205
44206 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44207 __feraiseexcept instead of feraiseexcept.
44208
d38f1dba
UD
442092011-10-18 Ulrich Drepper <drepper@gmail.com>
44210
d9a8d0ab
UD
44211 * math/math_private.h: Define defaults for libc_fetestexcept and
44212 libc_feupdateenv.
44213 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44214 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44215 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44216 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44217 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44218 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44219 libc_fetestexcept and libc_feupdateenv.
44220
4855e3dd
UD
44221 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44222 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44223 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44224 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44225 libc_feholdexcept_setround.
44226
581d30e3
UD
44227 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44228 Add s_nearbyint-c and s_nearbyintf-c.
44229 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44230 nearbyintf inlines.
44231 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44232 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44233 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44234 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44235
d38f1dba
UD
44236 * math/math_private.h: Define defaults for libc_fegetround,
44237 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44238 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44239 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44240 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44241 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44242 standard functions.
44243 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44244 Remove comments and hacks for old compiler versions.
44245 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44246 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44247 libc_feholdexceptl.
44248
caa6c9d8
AS
442492011-10-18 Andreas Schwab <schwab@redhat.com>
44250
44251 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44252 (__feraiseexcept_renamed): Add __NTH.
44253 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44254 namespace violations.
44255
97c066e6
UD
442562011-10-17 Ulrich Drepper <drepper@gmail.com>
44257
99ce7b04
UD
44258 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44259
1004d182
UD
44260 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44261
228a984d
UD
44262 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44263 recently added interfaces.
44264 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44265
c8553a6a
UD
44266 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44267 about macro parameter expansion.
44268
ed22dcf6
UD
44269 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44270 __NO_MATH_INLINES is defined. Cleanups.
44271
44272 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44273 and __floorf is target has SSE4.1.
44274 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44275 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44276 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44277 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44278
b171c137
UD
44279 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44280 name.
44281 (floorf): Likewise.
44282
97c066e6
UD
44283 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44284
629f62ef
AS
442852011-10-17 Andreas Schwab <schwab@redhat.com>
44286
49a43d80
AS
44287 * misc/sys/cdefs.h: Fix last change.
44288
629f62ef
AS
44289 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44290 database lookup.
44291
e453f6cd
UD
442922011-10-16 Ulrich Drepper <drepper@gmail.com>
44293
aa78043a
UD
44294 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44295
ad0f5cad
UD
44296 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44297 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44298 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44299 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44300 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44301 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44302 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44303 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44304 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44305 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44306 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44307 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44308 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44309 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44310 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44311 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44312 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44313 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44314 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44315 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44316 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44317 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44318
44319 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44320 ceil, ceilf, floor, floorf.
44321
44322 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44323 Perform IRELATIVE relocations last.
44324
e453f6cd
UD
44325 * elf/do-rel.h: Add another parameter nrelative, replacing the
44326 local variable with the same name. Change name of the function
44327 to end in Rel or Rela (uppercase).
44328 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44329 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44330 elf_dynamic_do_##reloc function.
44331
fd5bdc09
UD
443322011-10-15 Ulrich Drepper <drepper@gmail.com>
44333
79b195b5
UD
44334 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44335 is sufficient, at least on modern CPUs.
44336
d4a28569
UD
44337 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44338
b61099b5
UD
44339 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44340 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44341
bcf01e6d
UD
44342 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44343 __expl_finite.
44344 * math/bits/math-finite.h: Add entries for exp.
44345 * math/e_expl.c: Add __*_finite alias.
44346 * sysdeps/i386/fpu/e_exp.S: Likewise.
44347 * sysdeps/i386/fpu/e_expf.S: Likewise.
44348 * sysdeps/i386/fpu/e_expl.c: Likewise.
44349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44350 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44353 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44354 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44355 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44356
ba1a0d59
UD
44357 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44358 is sufficient, at least on modern CPUs.
44359
fd5bdc09
UD
44360 * ctype/ctype-info.c (__ctype_init): Define.
44361 * include/ctype.h (__ctype_init): Declare.
44362 (__ctype_b_loc): The variable is always initialized.
44363 (__ctype_toupper_loc): Likewise.
44364 (__ctype_tolower_loc): Likewise.
44365 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44366 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44367
7872cfb0
AS
443682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44369
b468825a
AS
44370 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44371
7872cfb0
AS
44372 * configure.in: Also look in $cxxmachine/include for C++ system
44373 headers.
44374
be13f7bf
LD
443752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44376
44377 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44378 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44379 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44380 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44381 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44382 (USE_AS_WMEMCMP): New macro.
44383 Fixing indents.
44384 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44385 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44386 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44387 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44389 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44390 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44391 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44392 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44393 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44394 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44395 (USE_AS_WMEMCMP): New macro.
44396 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44397 * sysdeps/string/test-memcmp.c: Update.
44398 Fix simple_wmemcmp.
44399 Add new tests.
44400 * wcsmbs/wmemcmp.c: Update.
44401 (WMEMCMP): New macro.
44402 Fix overflow bug.
44403
556a2007
AJ
444042011-10-12 Andreas Jaeger <aj@suse.de>
44405
44406 [BZ #13268]
44407 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44408
538faaa7
UD
444092011-10-15 Ulrich Drepper <drepper@gmail.com>
44410
ab6737ff
UD
44411 * libio/iofwide.c (do_length): Avoid warning.
44412
538faaa7
UD
44413 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44414
396a21b1
UD
444152011-10-14 Ulrich Drepper <drepper@gmail.com>
44416
cdf2901f
UD
44417 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44418
38ad40ce
UD
44419 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44420 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44421 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44422 * sysdeps/i386/i686/fpu/e_log.S: New file.
44423 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44424 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44425
396a21b1
UD
44426 * ctype/ctype.h: Add support for inlined isXXX functions when
44427 compiling C++ code.
44428
6b1f68c9
AS
444292011-10-14 Andreas Schwab <schwab@redhat.com>
44430
349290c0
AS
44431 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44432
6b1f68c9
AS
44433 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44434
f2282d42
RM
444352011-10-13 Roland McGrath <roland@hack.frob.com>
44436
44437 [BZ #13291]
44438 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44439
5298ffa8
AS
444402011-10-13 Andreas Schwab <schwab@redhat.com>
44441
714fad23
AS
44442 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44443 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44444 feraiseexcept.
44445
81dcc7fb
AS
44446 * sysdeps/x86_64/memrchr.S: Check for zero size.
44447
5298ffa8
AS
44448 * string/stratcliff.c: Add memrchr tests.
44449
951fbcec
LD
444502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44451
44452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44453 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44454 rawmemchr-sse2 rawmemchr-sse2-bsf.
44455 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44456 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44457 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44458 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44459 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44460 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44461 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44462 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44463 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44464 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44465 * string/memrchr.c (MEMRCHR): New macro.
44466
0ac5ae23
UD
444672011-10-12 Ulrich Drepper <drepper@gmail.com>
44468
44469 Add integration with gcc's -ffinite-math-only and optimize wrapper
44470 functions in libm.
44471 * Versions.def: Define GLIBC_2.15 version for libm.
44472 * math/Makefile (headers): Add bits/math-finite.h.
44473 * math/bits/math-finite.h: New file.
44474 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44475 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44476 * math/e_acoshl.c: Add __*_finite alias.
44477 * math/e_acosl.c: Likewise.
44478 * math/e_asinl.c: Likewise.
44479 * math/e_atan2l.c: Likewise.
44480 * math/e_atanhl.c: Likewise.
44481 * math/e_coshl.c: Likewise.
44482 * math/e_exp10.c: Likewise.
44483 * math/e_exp10f.c: Likewise.
44484 * math/e_exp10l.c: Likewise.
44485 * math/e_exp2l.c: Likewise.
44486 * math/e_fmodl.c: Likewise.
44487 * math/e_gammal_r.c: Likewise.
44488 * math/e_hypotl.c: Likewise.
44489 * math/e_j0l.c: Likewise.
44490 * math/e_j1l.c: Likewise.
44491 * math/e_jnl.c: Likewise.
44492 * math/e_lgammal_r.c: Likewise.
44493 * math/e_log10l.c: Likewise.
44494 * math/e_log2l.c: Likewise.
44495 * math/e_logl.c: Likewise.
44496 * math/e_powl.c: Likewise.
44497 * math/e_sinhl.c: Likewise.
44498 * math/e_sqrtl.c: Likewise.
44499 * math/e_scalb.c: Completely rewritten and optimized.
44500 * math/e_scalbf.c: Likewise.
44501 * math/e_scalbl.c: Likewise.
44502 * math/w_acos.c: Likewise.
44503 * math/w_acosf.c: Likewise.
44504 * math/w_acosl.c: Likewise.
44505 * math/w_acosh.c: Likewise.
44506 * math/w_acoshf.c: Likewise.
44507 * math/w_acoshl.c: Likewise.
44508 * math/w_asin.c: Likewise.
44509 * math/w_asinf.c: Likewise.
44510 * math/w_asinl.c: Likewise.
44511 * math/w_atan2.c: Likewise.
44512 * math/w_atan2f.c: Likewise.
44513 * math/w_atan2l.c: Likewise.
44514 * math/w_atanh.c: Likewise.
44515 * math/w_atanhf.c: Likewise.
44516 * math/w_atanhl.c: Likewise.
44517 * math/w_exp10.c: Likewise.
44518 * math/w_exp10f.c: Likewise.
44519 * math/w_exp10l.c: Likewise.
44520 * math/w_fmod.c: Likewise.
44521 * math/w_fmodf.c: Likewise.
44522 * math/w_fmodl.c: Likewise.
44523 * math/w_j0.c: Likewise.
44524 * math/w_j0f.c: Likewise.
44525 * math/w_j0l.c: Likewise.
44526 * math/w_j1.c: Likewise.
44527 * math/w_j1f.c: Likewise.
44528 * math/w_j1l.c: Likewise.
44529 * math/w_jn.c: Likewise.
44530 * math/w_jnf.c: Likewise.
44531 * math/w_log.c: Likewise.
44532 * math/w_logf.c: Likewise.
44533 * math/w_logl.c: Likewise.
44534 * math/w_log10.c: Likewise.
44535 * math/w_log10f.c: Likewise.
44536 * math/w_log10l.c: Likewise.
44537 * math/w_log2.c: Likewise.
44538 * math/w_log2f.c: Likewise.
44539 * math/w_log2l.c: Likewise.
44540 * math/w_pow.c: Likewise.
44541 * math/w_powf.c: Likewise.
44542 * math/w_powl.c: Likewise.
44543 * math/w_remainder.c: Likewise.
44544 * math/w_remainderf.c: Likewise.
44545 * math/w_remainderl.c: Likewise.
44546 * math/w_scalb.c: Likewise.
44547 * math/w_scalbf.c: Likewise.
44548 * math/w_scalbl.c: Likewise.
44549 * math/w_sqrt.c: Likewise.
44550 * math/w_sqrtf.c: Likewise.
44551 * math/w_sqrtl.c: Likewise.
44552 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44553 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44554 used.
44555 * math/math_private.h: Declare __kernel_standard_f.
44556 * math/w_cosh.c: Remove cruft and optimize a bit.
44557 * math/w_coshf.c: Likewise.
44558 * math/w_coshl.c: Likewise.
44559 * math/w_exp2.c: Likewise.
44560 * math/w_exp2f.c: Likewise.
44561 * math/w_exp2l.c: Likewise.
44562 * math/w_hypot.c: Likewise.
44563 * math/w_hypotf.c: Likewise.
44564 * math/w_hypotl.c: Likewise.
44565 * math/w_lgamma.c: Likewise.
44566 * math/w_lgamma_r.c: Likewise.
44567 * math/w_lgammaf.c: Likewise.
44568 * math/w_lgammaf_r.c: Likewise.
44569 * math/w_lgammal.c: Likewise.
44570 * math/w_lgammal_r.c: Likewise.
44571 * math/w_sinh.c: Likewise.
44572 * math/w_sinhf.c: Likewise.
44573 * math/w_sinhl.c: Likewise.
44574 * math/w_tgamma.c: Likewise.
44575 * math/w_tgammaf.c: Likewise.
44576 * math/w_tgammal.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44579 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44580 Minor optimizations. Pretty printing. Remove cruft.
44581 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44582 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44583 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44584 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44585 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44586 * sysdeps/i386/fpu/e_asin.S: Likewise.
44587 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44588 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44589 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44590 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44591 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44592 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44593 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44594 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44595 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44596 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44597 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44598 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44599 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44600 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44601 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44602 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44603 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44604 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44605 * sysdeps/i386/fpu/e_log.S: Likewise.
44606 * sysdeps/i386/fpu/e_log10.S: Likewise.
44607 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44608 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44609 * sysdeps/i386/fpu/e_log2.S: Likewise.
44610 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44611 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44612 * sysdeps/i386/fpu/e_logf.S: Likewise.
44613 * sysdeps/i386/fpu/e_logl.S: Likewise.
44614 * sysdeps/i386/fpu/e_pow.S: Likewise.
44615 * sysdeps/i386/fpu/e_powf.S: Likewise.
44616 * sysdeps/i386/fpu/e_powl.S: Likewise.
44617 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44618 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44619 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44620 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44621 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44622 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44623 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44624 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44625 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44626 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44627 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44629 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44630 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44631 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44632 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44633 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44634 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44635 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44636 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44637 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44639 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44640 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44642 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44643 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44646 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44647 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44648 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44649 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44650 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44651 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44652 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44653 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44654 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44655 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44656 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44657 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44658 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44659 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44660 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44661 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44662 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44663 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44664 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44665 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44666 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44667 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44668 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44669 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44670 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44671 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44672 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44673 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44674 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44675 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44676 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44677 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44678 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44679 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44680 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44681 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44682 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44683 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44684 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44685 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44686 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44687 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44688 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44689 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44690 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44691 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44692 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44693 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44696 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44697 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44698 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44699 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44700 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44701 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44702 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44703 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44704 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44705 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44706 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44707 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44708 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44709 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44710 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44711 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44712 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44713 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44714 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44715 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44716 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44717 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44718 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44719 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44720 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44721 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44722 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44723 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44724 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44725 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44726 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44727 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44728 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44729 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44730 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44731 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44732 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44733 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44734 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44735 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44736 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44737 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44738 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44739 (__isnanf): Likewise.
44740 (__isinf_ns): Likewise.
44741 (__isinf_nsf): Likewise.
44742 (__finite): Likewise.
44743 (__finitef): Likewise.
44744 (__ieee754_sqrt): Define as macro.
44745 (__ieee754_sqrtf): Define as macro.
44746 (__ieee754_sqrtl): Define as macro.
44747 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44748 inlined copy.
44749 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44750 __FINITE_MATH_ONLY__ consistent.
44751 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44752
12cc2fcd
AS
447532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44754
a843a204
AS
44755 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44756 of rawmemchr.
44757
12cc2fcd
AS
44758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44759
c853acd5
UD
447602011-10-09 Ulrich Drepper <drepper@gmail.com>
44761
44762 * po/ja.po: Update from translation team.
44763
c658d255
RM
447642011-10-08 Roland McGrath <roland@hack.frob.com>
44765
110946e4
RM
44766 * locale/programs/locarchive.c (prepare_address_space): New function.
44767 (create_archive, enlarge_archive, open_archive): Use it.
44768
50604220
RM
44769 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44770 inside [SHARED], where it is used.
44771
c658d255
RM
44772 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44773
44774 * nss/getent.c (netgroup_keys): Remove unused variable.
44775 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44776
6a621eb7
UD
447772011-10-08 Ulrich Drepper <drepper@gmail.com>
44778
7edb55ce
UD
44779 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44780 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44782 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44783 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44784 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44785 * math/Makefile (libm-calls): Add s_isinf_ns.
44786 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44787 * math/multc3.c: Likewise.
44788 * math/s_casin.c: Likewise.
44789 * math/s_casinf.c: Likewise.
44790 * math/s_casinl.c: Likewise.
44791 * math/s_ccos.c: Likewise.
44792 * math/s_ccosf.c: Likewise.
44793 * math/s_ccosl.c: Likewise.
44794 * math/s_ctan.c: Likewise.
44795 * math/s_ctanf.c: Likewise.
44796 * math/s_ctanh.c: Likewise.
44797 * math/s_ctanhf.c: Likewise.
44798 * math/s_ctanhl.c: Likewise.
44799 * math/s_ctanl.c: Likewise.
44800 * math/w_fmod.c: Likewise.
44801 * math/w_fmodf.c: Likewise.
44802 * math/w_fmodl.c: Likewise.
44803 * math/w_remainder.c: Likewise.
44804 * math/w_remainderf.c: Likewise.
44805 * math/w_remainderl.c: Likewise.
44806 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44807 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44808 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44810 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44811 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44812 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44813 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44814
187da0ae
UD
44815 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44816 of the number.
44817 * stdio-common/printf_fphex.c: Likewise.
44818 * stdio-common/printf_size.c: Likewise.
44819
9277c064
UD
44820 * math/e_exp10.c: Include math_private.h using <...> not "...".
44821 * math/e_exp10f.c: Likewise.
44822 * math/e_exp10l.c: Likewise.
44823 * math/e_exp2l.c: Likewise.
44824 * math/e_j0l.c: Likewise.
44825 * math/e_j1l.c: Likewise.
44826 * math/e_jnl.c: Likewise.
44827 * math/e_lgammal_r.c: Likewise.
44828 * math/e_rem_pio2l.c: Likewise.
44829 * math/e_scalb.c: Likewise.
44830 * math/e_scalbf.c: Likewise.
44831 * math/e_scalbl.c: Likewise.
44832 * math/k_cosl.c: Likewise.
44833 * math/k_sinl.c: Likewise.
44834 * math/k_tanl.c: Likewise.
44835 * math/s_cacoshf.c: Likewise.
44836 * math/s_catan.c: Likewise.
44837 * math/s_catanf.c: Likewise.
44838 * math/s_catanh.c: Likewise.
44839 * math/s_catanhf.c: Likewise.
44840 * math/s_catanhl.c: Likewise.
44841 * math/s_catanl.c: Likewise.
44842 * math/s_ccosh.c: Likewise.
44843 * math/s_ccoshf.c: Likewise.
44844 * math/s_ccoshl.c: Likewise.
44845 * math/s_cexp.c: Likewise.
44846 * math/s_cexpf.c: Likewise.
44847 * math/s_cexpl.c: Likewise.
44848 * math/s_clog.c: Likewise.
44849 * math/s_clog10.c: Likewise.
44850 * math/s_clog10f.c: Likewise.
44851 * math/s_clog10l.c: Likewise.
44852 * math/s_clogf.c: Likewise.
44853 * math/s_clogl.c: Likewise.
44854 * math/s_csin.c: Likewise.
44855 * math/s_csinf.c: Likewise.
44856 * math/s_csinh.c: Likewise.
44857 * math/s_csinhf.c: Likewise.
44858 * math/s_csinhl.c: Likewise.
44859 * math/s_csinl.c: Likewise.
44860 * math/s_csqrt.c: Likewise.
44861 * math/s_csqrtf.c: Likewise.
44862 * math/s_csqrtl.c: Likewise.
44863 * math/s_ctan.c: Likewise.
44864 * math/s_ctanf.c: Likewise.
44865 * math/s_ctanh.c: Likewise.
44866 * math/s_ctanhf.c: Likewise.
44867 * math/s_ctanhl.c: Likewise.
44868 * math/s_ctanl.c: Likewise.
44869 * math/s_ldexp.c: Likewise.
44870 * math/s_ldexpf.c: Likewise.
44871 * math/s_ldexpl.c: Likewise.
44872 * math/s_significand.c: Likewise.
44873 * math/s_significandf.c: Likewise.
44874 * math/s_significandl.c: Likewise.
44875 * math/w_acos.c: Likewise.
44876 * math/w_acosf.c: Likewise.
44877 * math/w_acosh.c: Likewise.
44878 * math/w_acoshf.c: Likewise.
44879 * math/w_acoshl.c: Likewise.
44880 * math/w_acosl.c: Likewise.
44881 * math/w_asin.c: Likewise.
44882 * math/w_asinf.c: Likewise.
44883 * math/w_asinl.c: Likewise.
44884 * math/w_atan2.c: Likewise.
44885 * math/w_atan2f.c: Likewise.
44886 * math/w_atan2l.c: Likewise.
44887 * math/w_atanh.c: Likewise.
44888 * math/w_atanhf.c: Likewise.
44889 * math/w_atanhl.c: Likewise.
44890 * math/w_cosh.c: Likewise.
44891 * math/w_coshf.c: Likewise.
44892 * math/w_coshl.c: Likewise.
44893 * math/w_dremf.c: Likewise.
44894 * math/w_exp10.c: Likewise.
44895 * math/w_exp10f.c: Likewise.
44896 * math/w_exp10l.c: Likewise.
44897 * math/w_exp2.c: Likewise.
44898 * math/w_exp2f.c: Likewise.
44899 * math/w_fmod.c: Likewise.
44900 * math/w_fmodf.c: Likewise.
44901 * math/w_fmodl.c: Likewise.
44902 * math/w_hypot.c: Likewise.
44903 * math/w_hypotf.c: Likewise.
44904 * math/w_hypotl.c: Likewise.
44905 * math/w_j0.c: Likewise.
44906 * math/w_j0f.c: Likewise.
44907 * math/w_j0l.c: Likewise.
44908 * math/w_j1.c: Likewise.
44909 * math/w_j1f.c: Likewise.
44910 * math/w_j1l.c: Likewise.
44911 * math/w_jn.c: Likewise.
44912 * math/w_jnf.c: Likewise.
44913 * math/w_jnl.c: Likewise.
44914 * math/w_lgamma.c: Likewise.
44915 * math/w_lgamma_r.c: Likewise.
44916 * math/w_lgammaf.c: Likewise.
44917 * math/w_lgammaf_r.c: Likewise.
44918 * math/w_lgammal.c: Likewise.
44919 * math/w_lgammal_r.c: Likewise.
44920 * math/w_log.c: Likewise.
44921 * math/w_log10.c: Likewise.
44922 * math/w_log10f.c: Likewise.
44923 * math/w_log10l.c: Likewise.
44924 * math/w_log2.c: Likewise.
44925 * math/w_log2f.c: Likewise.
44926 * math/w_log2l.c: Likewise.
44927 * math/w_logf.c: Likewise.
44928 * math/w_logl.c: Likewise.
44929 * math/w_pow.c: Likewise.
44930 * math/w_powf.c: Likewise.
44931 * math/w_powl.c: Likewise.
44932 * math/w_remainder.c: Likewise.
44933 * math/w_remainderf.c: Likewise.
44934 * math/w_remainderl.c: Likewise.
44935 * math/w_scalb.c: Likewise.
44936 * math/w_scalbf.c: Likewise.
44937 * math/w_scalbl.c: Likewise.
44938 * math/w_sinh.c: Likewise.
44939 * math/w_sinhf.c: Likewise.
44940 * math/w_sinhl.c: Likewise.
44941 * math/w_sqrt.c: Likewise.
44942 * math/w_sqrtf.c: Likewise.
44943 * math/w_sqrtl.c: Likewise.
44944 * math/w_tgamma.c: Likewise.
44945 * math/w_tgammaf.c: Likewise.
44946 * math/w_tgammal.c: Likewise.
44947
6a621eb7
UD
44948 * po/ja.po: Update from translation team.
44949
bf582445
AJ
449502011-09-29 Andreas Jaeger <aj@suse.de>
44951
f9efbf3a
AJ
44952 [BZ #13179]
44953 * sunrpc/netname.c (netname2host): Fix logic.
44954
bf582445
AJ
44955 [BZ #6779]
44956 [BZ #6783]
44957 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44958 correctly.
44959 * math/w_remainder.c (__remainder): Likewise.
44960 * math/w_remainderf.c (__remainderf): Likewise.
44961 * math/libm-test.inc (remainder_test): Add test cases.
44962
48693bea
AK
449632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44964
44965 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44966 sdiv_qrnnd.
44967
42622229
LD
449682011-10-07 Ulrich Drepper <drepper@gmail.com>
44969
44970 * string/test-memcmp.c: Avoid unncessary #defines.
44971 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44972
093ecf92
LD
449732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44974
44975 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44976 Use new sse2 version for core i3 - i7 as it's faster
44977 than sse42 version.
44978 (bit_Prefer_PMINUB_for_stringop): New.
44979 * sysdeps/x86_64/rawmemchr.S: Update.
44980 Replace with faster SSE2 version.
44981 * sysdeps/x86_64/memrchr.S: New file.
44982 * sysdeps/x86_64/memchr.S: Update.
44983 Replace with faster SSE2 version.
44984
fde56e5c
MP
449852011-09-12 Marek Polacek <mpolacek@redhat.com>
44986
44987 * elf/dl-load.c (lose): Add cast to avoid warning.
44988
21fd49a9
UD
449892011-10-07 Ulrich Drepper <drepper@gmail.com>
44990
5a06e643
UD
44991 * po/ca.po: Update from translation team.
44992
684ae515
UD
44993 * inet/getnetgrent_r.c: Hook up nscd.
44994 * nscd/Makefile (routines): Add nscd_netgroup.
44995 (nscd-modules): Add netgroupcache.
44996 (CFLAGS-netgroupcache.c): Define.
44997 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44998 (cache_search): Add const to second parameter.
44999 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45000 INNETGR.
45001 (dbs): Add netgrdb entry.
45002 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45003 (verify_persistent_db): Handle netgrdb.
45004 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45005 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45006 GETFDNETGR.
45007 (netgroup_response_header): Define.
45008 (innetgroup_response_header): Define.
45009 (datahead): Add netgroup_response_header and innetgroup_response_header
45010 elements.
45011 * nscd/nscd.conf: Add entries for netgroup cache.
45012 * nscd/nscd.h (dbtype): Add netgrdb.
45013 (_PATH_NSCD_NETGROUP_DB): Define.
45014 (netgroup_iov_disabled): Declare.
45015 (xmalloc, xcalloc, xrealloc): Move declarations here.
45016 (cache_search): Adjust prototype.
45017 Add netgroup-related prototypes.
45018 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45019 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45020 (__nscd_innetgr): Declare.
45021 * nscd/selinux.c (perms): Use access_vector_t as element type and
45022 add netgroup-related initializers.
45023 * nscd/netgroupcache.c: New file.
45024 * nscd/nscd_netgroup.c: New file.
45025 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45026 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45027 For four parameters use innetgr.
45028 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45029 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45030 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45031 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45032
21fd49a9
UD
45033 * nscd/connections.c (register_traced_file): Don't register file
45034 for disabled databases.
45035
054c0457
UD
450362011-10-06 Ulrich Drepper <drepper@gmail.com>
45037
32b63198
UD
45038 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45039
054c0457
UD
45040 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45041 from tree and freeing node.
45042
64031225
JO
450432011-09-25 Jiri Olsa <jolsa@redhat.com>
45044
45045 * nss/nsswitch.c (__nss_database_lookup): Handle
45046 nss_parse_service_list out of memory case.
45047
0490345c
JO
450482011-09-15 Jiri Olsa <jolsa@redhat.com>
45049
45050 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45051 out of memory case.
45052
3a62d00d
AS
450532011-10-04 Andreas Schwab <schwab@redhat.com>
45054
45055 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45056 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45057 pass it down.
45058 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45059 elf_machine_rela, elf_machine_lazy_rel.
45060 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45061 (ELF_DYNAMIC_DO_REL): Likewise.
45062 (ELF_DYNAMIC_DO_RELA): Likewise.
45063 (ELF_DYNAMIC_RELOCATE): Likewise.
45064 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45065 to ELF_DYNAMIC_DO_REL.
45066 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45067 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45068 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45069 elf_machine_rela.
45070 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45071 skip_ifunc, don't call ifunc function if non-zero.
45072 (elf_machine_rela): Likewise.
45073 (elf_machine_lazy_rel): Likewise.
45074 (elf_machine_lazy_rela): Likewise.
45075 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45076 (elf_machine_lazy_rel): Likewise.
45077 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45078 Likewise.
45079 (elf_machine_lazy_rel): Likewise.
45080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45081 Likewise.
45082 (elf_machine_lazy_rel): Likewise.
45083 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45084 (elf_machine_lazy_rel): Likewise.
45085 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45086 (elf_machine_lazy_rel): Likewise.
45087 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45088 (elf_machine_lazy_rel): Likewise.
45089 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45090 (elf_machine_lazy_rel): Likewise.
45091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45092 (elf_machine_lazy_rel): Likewise.
45093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45094 (elf_machine_lazy_rel): Likewise.
45095
68577918
UD
450962011-09-28 Ulrich Drepper <drepper@gmail.com>
45097
45098 * nss/nss_files/files-init.c (_nss_files_init): Use static
45099 initialization for all the *_traced_file variables.
45100
68822d74
AS
451012011-09-28 Andreas Schwab <schwab@redhat.com>
45102
45103 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45104
2056100b
RM
451052011-09-27 Roland McGrath <roland@hack.frob.com>
45106
45107 [BZ #13226]
45108 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45109
32c76b63
AS
451102011-09-27 Andreas Schwab <schwab@redhat.com>
45111
45112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45113 Reread the line before reparsing it.
45114
bf972c9d
AS
451152011-09-26 Andreas Schwab <schwab@redhat.com>
45116
45117 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45118
e057a1b5
JM
451192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45120 Maxim Kuvyrkov <maxim@codesourcery.com>
45121 Joseph Myers <joseph@codesourcery.com>
45122
45123 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45124 if needed for __stack_chk_guard.
45125
bc7e1c36
RM
451262011-09-19 Roland McGrath <roland@hack.frob.com>
45127
ecb1482f
RM
45128 * sysdeps/posix/spawni.c (script_execute): Always define it.
45129 It will be optimized away if unused.
45130 (maybe_script_execute): New function.
45131 (__spawni): Call it.
45132
bc7e1c36
RM
45133 * Makerules: Don't include tls.make.
45134 (config-tls): Always set to thread.
45135 * tls.make.c: File removed.
45136
1c3b002b
MF
451372011-09-19 Mike Frysinger <vapier@gentoo.org>
45138
45139 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45140 * config.make.in (CPPFLAGS-config): New substituted variable.
45141
2840865d
UD
451422011-09-15 Ulrich Drepper <drepper@gmail.com>
45143
88738eb6
UD
45144 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45145
cbf645a6 45146 [BZ #13192]
2840865d
UD
45147 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45148 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45149
b402e91a
RM
451502011-09-15 Roland McGrath <roland@hack.frob.com>
45151
45152 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45153 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45155 (CALL_FAIL): Likewise.
45156 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45157 (CALL_FAIL): Macro removed.
45158 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45159
4c1a1f71
UD
451602011-09-15 Ulrich Drepper <drepper@gmail.com>
45161
45162 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45163 for __FINITE_MATH_ONLY__ == 1.
45164
edc121be
AS
451652011-09-15 Andreas Schwab <schwab@redhat.com>
45166
45167 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45168 __ieee754_sqrt instead of sqrt.
45169 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45170 __ieee754_sqrtf instead of sqrtf.
45171 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45172 __floorf instead of floorf.
45173 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45174 __floorf, __truncf instead of floorf, truncf.
45175
cd205654
UD
451762011-09-14 Ulrich Drepper <drepper@gmail.com>
45177
ee4d0315
UD
45178 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45179
cd205654
UD
45180 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45181 __extern_always_inline.
45182 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45183 32-bit.
45184
48b67d71
AS
451852011-09-14 Andreas Schwab <schwab@redhat.com>
45186
45187 * elf/rtld.c (dl_main): Also relocate in dependency order when
45188 doing symbol dependency testing.
45189
1ae12c75
AS
451902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45191
45192 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45193 Always define `refsym'.
45194
995a80df
AS
451952011-09-13 Andreas Schwab <schwab@redhat.com>
45196
e529793b
AS
45197 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45198 (__FD_ELT): Renamed from __FDELT.
45199 * misc/bits/select2.h (__FD_ELT): Likewise.
45200 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45201 __FD_MASK instead of __FDELT, __FDMASK.
45202 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45203 Likewise.
45204 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45205 Likewise.
45206
52d4fef8
AS
45207 * elf/Makefile (gen-ldd): Fix pattern.
45208
995a80df
AS
45209 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45210 (init_tls): Likewise.
45211
8682f8b0
UD
452122011-09-12 Ulrich Drepper <drepper@gmail.com>
45213
45214 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45215
de82006d
AS
452162011-09-12 Andreas Schwab <schwab@redhat.com>
45217
a7c8e6a1
AS
45218 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45219 `struct cmsghdr *' instead of `void *'.
45220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45221 Likewise.
45222
0f31fe77
AS
452232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45224
45225 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45226 if non-absolute.
45227 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45228 ldd_rewrite_script.
0f31fe77 45229
32b4c839
UD
452302011-09-11 Ulrich Drepper <drepper@gmail.com>
45231
83cd1420
UD
45232 * configure.in: Remove --with-tls option.
45233 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45234 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45235 out in case it is missing.
45236 * sysdeps/ia64/elf/configure.in: Likewise.
45237 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45238 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45239 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45240 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45241 * sysdeps/sh/elf/configure.in: Likewise.
45242 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45243 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45244 * sysdeps/x86_64/elf/configure.in: Likewise.
45245 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45246 * sysdeps/mach/hurd/tls.h: Likewise.
45247
633f745d
UD
45248 [BZ #13067]
45249 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45250
f318beb8
UD
45251 [BZ #13090]
45252 * configure.in: Fix use of AC_INIT.
45253
32b4c839
UD
45254 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45255
3ce1f295
UD
452562011-09-10 Ulrich Drepper <drepper@gmail.com>
45257
bb016596
UD
45258 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45259 __set_errno.
8e58439c
UD
45260 * malloc/hooks.c: Likewise.
45261
aebae053 45262 [BZ #11929]
02d46fc4
UD
45263 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45264 variables statically.
45265 (narenas): Initialize.
45266 (list_lock): Initialize.
bb016596
UD
45267 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45268 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45269 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45270 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45271 Add initializers to main_arena and mp_.
45272 (malloc_state): Remove pagesize member. Change all users to use
45273 GLRO(dl_pagesize).
45274
45275 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45276 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45277 is always initialized.
45278
22a89187
UD
45279 * malloc/malloc.c: Removed unused configurations and dead code.
45280 * malloc/arena.c: Likewise.
45281 * malloc/hooks.c: Likewise.
02d46fc4 45282 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45283
d063d164
UD
45284 * include/tls.h: Removed. USE___THREAD must always be defined.
45285 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45286 * elf/dl-libc.c: Likewise.
45287 * elf/dl-tsd.c: Likewise.
45288 * include/errno.h: Likewise.
45289 * include/netdb.h: Likewise.
45290 * include/resolv.h: Likewise.
45291 * inet/herrno-loc.c: Likewise.
45292 * inet/herrno.c: Likewise.
45293 * malloc/arena.c: Likewise.
45294 * malloc/hooks.c: Likewise.
45295 * malloc/malloc.c: Likewise.
45296 * resolv/res-state.c: Likewise.
45297 * resolv/res_libc.c: Likewise.
45298 * sysdeps/i386/dl-machine.h: Likewise.
45299 * sysdeps/ia64/dl-machine.h: Likewise.
45300 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45301 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45302 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45303 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45304 * sysdeps/sh/dl-machine.h: Likewise.
45305 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45306 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45307 * sysdeps/unix/i386/sysdep.S: Likewise.
45308 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45309 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45312 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45314 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45318 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45319 * sysdeps/x86_64/dl-machine.h: Likewise.
45320 * tls.make.c: Likewise.
45321
3ce1f295
UD
45322 * configure.in: Remove --with-__thread option. Make tests for
45323 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45324 tls_model attribute fail if no support is available. Remove
45325 USE_IN_LIBIO.
45326 * Makeconfig: Adjust for dropped configure option. All features are
45327 now mandatory.
45328 * Makerules: Likewise.
45329 * Versions.def: Likewise.
45330 * argp/argp-fmtstream.c: Likewise.
45331 * argp/argp-fmtstream.h: Likewise.
45332 * argp/argp-help.c: Likewise.
45333 * assert/assert.c: Likewise.
45334 * config.h.in: Likewise.
45335 * config.make.in: Likewise.
45336 * configure: Likewise.
45337 * configure.in: Likewise.
45338 * csu/Versions: Likewise.
45339 * csu/init.c: Likewise.
45340 * elf/tst-audit2.c: Likewise.
45341 * elf/tst-tls10.c: Likewise.
45342 * elf/tst-tls10.h: Likewise.
45343 * elf/tst-tls11.c: Likewise.
45344 * elf/tst-tls12.c: Likewise.
45345 * elf/tst-tls14.c: Likewise.
45346 * elf/tst-tlsmod11.c: Likewise.
45347 * elf/tst-tlsmod12.c: Likewise.
45348 * elf/tst-tlsmod13.c: Likewise.
45349 * elf/tst-tlsmod13a.c: Likewise.
45350 * elf/tst-tlsmod14a.c: Likewise.
45351 * elf/tst-tlsmod15b.c: Likewise.
45352 * elf/tst-tlsmod16a.c: Likewise.
45353 * elf/tst-tlsmod16b.c: Likewise.
45354 * elf/tst-tlsmod7.c: Likewise.
45355 * elf/tst-tlsmod8.c: Likewise.
45356 * elf/tst-tlsmod9.c: Likewise.
45357 * gmon/gmon.c: Likewise.
45358 * grp/fgetgrent_r.c: Likewise.
45359 * grp/putgrent.c: Likewise.
45360 * hurd/fopenport.c: Likewise.
45361 * include/libc-symbols.h: Likewise.
45362 * include/tls.h: Likewise.
45363 * intl/gettextP.h: Likewise.
45364 * intl/loadinfo.h: Likewise.
45365 * locale/global-locale.c: Likewise.
45366 * locale/localeinfo.h: Likewise.
45367 * mach/devstream.c: Likewise.
45368 * malloc/arena.c: Likewise.
45369 * malloc/set-freeres.c: Likewise.
45370 * misc/err.c: Likewise.
45371 * misc/getttyent.c: Likewise.
45372 * misc/mntent_r.c: Likewise.
45373 * posix/getopt.c: Likewise.
45374 * posix/wordexp.c: Likewise.
45375 * pwd/fgetpwent_r.c: Likewise.
45376 * resolv/Versions: Likewise.
45377 * resolv/res_hconf.c: Likewise.
45378 * shadow/fgetspent_r.c: Likewise.
45379 * shadow/putspent.c: Likewise.
45380 * stdio-common/printf_fphex.c: Likewise.
45381 * stdio-common/tmpfile.c: Likewise.
45382 * stdlib/abort.c: Likewise.
45383 * stdlib/fmtmsg.c: Likewise.
45384 * sunrpc/auth_unix.c: Likewise.
45385 * sunrpc/clnt_perr.c: Likewise.
45386 * sunrpc/clnt_tcp.c: Likewise.
45387 * sunrpc/clnt_udp.c: Likewise.
45388 * sunrpc/clnt_unix.c: Likewise.
45389 * sunrpc/openchild.c: Likewise.
45390 * sunrpc/svc_simple.c: Likewise.
45391 * sunrpc/svc_tcp.c: Likewise.
45392 * sunrpc/svc_udp.c: Likewise.
45393 * sunrpc/svc_unix.c: Likewise.
45394 * sunrpc/xdr.c: Likewise.
45395 * sunrpc/xdr_array.c: Likewise.
45396 * sunrpc/xdr_rec.c: Likewise.
45397 * sunrpc/xdr_ref.c: Likewise.
45398 * sunrpc/xdr_stdio.c: Likewise.
45399
1248c1c4
PB
454002011-09-09 Ulrich Drepper <drepper@gmail.com>
45401
45402 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45403
454042011-07-03 Andreas Jaeger <aj@suse.de>
45405
45406 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45407 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45408 regenerate with gen-libm-tests.pl.
45409
454102010-05-12 Petr Baudis <pasky@suse.cz>
45411
45412 [BZ #11589]
45413 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45414 around j0() zero points by switching to j1().
45415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45416 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45418 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45419
f22e1074
UD
454202011-09-09 Ulrich Drepper <drepper@gmail.com>
45421
f19009c1
UD
45422 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45423 instead of 0.
45424 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45425 instead of 0.
f19009c1
UD
45426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45427 Patch in part by Pavel Roskin <proski@gnu.org>.
45428
3f8cc204
UD
45429 [BZ #13138]
45430 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45431 realloc.
45432 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45433 Free memory block if necessary.
45434
f22e1074
UD
45435 [BZ #12847]
45436 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45437 be NULL. Don't lock in this case.
45438
0a2349f9
RM
454392011-09-09 Roland McGrath <roland@hack.frob.com>
45440
45441 * elf/elf.h (ELFOSABI_GNU): New macro.
45442 (ELFOSABI_LINUX): Define to that.
45443
f3cdd467
DZ
454442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45445
45446 * string/strncat.c (strncat): Undef the symbol in case it has been
45447 defined in bits/string.h.
45448
74718d13
UD
454492011-09-09 Ulrich Drepper <drepper@gmail.com>
45450
633e9e0f
UD
45451 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45452
0a2349f9 45453 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45454 link map.
45455
f9924780
AJ
454562011-08-17 Andreas Jaeger <aj@suse.de>
45457
45458 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45459
7f5517aa
PP
454602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45461 Ian Lance Taylor <iant@google.com>
45462
45463 * math/libm-test.inc (lround_test): New testcase.
45464 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45465
762011fe
UD
454662011-09-08 Ulrich Drepper <drepper@gmail.com>
45467
92963737
UD
45468 * Makefile: Remove support for automatic cvs check-ins.
45469 * Makerules: Likewise.
45470 * config.make.in: Likewise.
45471 * configure.in: Likewise.
45472 * intl/Makefile: Likewise.
45473 * locale/Makefile: Likewise.
45474 * po/Makefile: Likewise.
45475 * posix/Makefile: Likewise.
45476 * sysdeps/gnu/Makefile: Likewise.
45477 * sysdeps/mach/hurd/Makefile: Likewise.
45478 * sysdeps/sparc/sparc32/Makefile: Likewise.
45479
b0727fd8
JS
45480 [BZ #13118]
45481 * posix/Makefile (bug-regex32-ENV): Define.
45482 Patch by John Stanley <jpsinthemix@verizon.net>.
45483
a0f33f99
UD
45484 * misc/Makefile (headers): Add bits/select2.h.
45485 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45486 * misc/bits/select2.h: New file.
45487 * include/bits/select2.h: New file.
45488 * debug/Makefile (routines): Add fdelt_chk.
45489 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45490 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45491 FD_ISSET.
45492 * debug/fdelt_chk.c: New file.
45493
762011fe
UD
45494 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45495 * wcsmbs/test-wmemcmp.c: Likewise.
45496 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45497 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45498
454992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45500
45501 * string/Makefile (strop-tests): Add memcmp.
45502 * string/test-wmemcmp.c: New file.
45503 * string/test-memcmp.c: Add wmemcmp support.
45504
7f513ec8
RM
455052011-09-08 Roland McGrath <roland@hack.frob.com>
45506
0442afb4
RM
45507 [BZ #13153]
45508 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45509 2011-07-19 change.
45510
7f513ec8
RM
45511 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45512 garbage value in a __mach_port_mod_refs call in the cases of the
45513 task-self and thread-self ports.
45514
a12b2239
ST
455152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45516
45517 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45518
610f9ab4
AS
455192011-09-08 Andreas Schwab <schwab@redhat.com>
45520
7f513ec8 45521 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45522
48882a1a
LD
455232011-09-07 Ulrich Drepper <drepper@gmail.com>
45524
b49865be
UD
45525 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45526
fdc86bc9
UD
45527 * elf/dl-libc.c (dlerror_run): Pass back error code from
45528 dl_catch_error.
45529
c966526a
UD
45530 [BZ #13123]
45531 * elf/dl-load.c (lose): Free l_origin if it is valid.
45532
48882a1a
LD
45533 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45534 names.
45535 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45536 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45537 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45539 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45540 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45541
77a2a8b4
AZ
455422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45543
45544 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45545 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45546 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45547 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45548 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45549 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45550 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45551 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45552 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45553 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45554
24f579d8
AM
455552011-08-15 Alan Modra <amodra@gmail.com>
45556
45557 [BZ #13092]
45558 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45559 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45560 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45561 ppc_mcount to static-only-routines.
45562 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45563 __mcount_internal.
45564 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45565 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45566
3d4837df
UD
455672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45568
45569 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45570 for finite and infinity parameters.
45571
22700377
WS
455722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45573
45574 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45575 and add nop instructions for throughput optimization.
45576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45577
5025581e
WS
455782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45579
45580 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45581 aligned copy for power7 with vector-scalar instructions.
45582 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45583
08a300c9
L
455842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45585
45586 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45587 AVX check.
45588
59178ef9
AS
455892011-09-07 Andreas Schwab <schwab@redhat.com>
45590
45591 [BZ #13144]
45592 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45593 last change.
45594
e38ba7ab
UD
455952011-09-07 Ulrich Drepper <drepper@gmail.com>
45596
45597 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45598 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45599 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45600 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45601 clock_gettime.
45602
d53a73ac
UD
456032011-09-06 Ulrich Drepper <drepper@gmail.com>
45604
fc8bffcc
UD
45605 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45606 Forgot to demangle the pointer.
45607
ceaa0c5d
UD
45608 * sysdeps/i386/sysdep.h: Define atom_text_section.
45609 * sysdeps/x86_64/sysdep.h: Likewise.
45610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45611 section with atom_text_section.
45612 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45613 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45614 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45615 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45616 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45617
a77d3c17
UD
45618 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45619 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45620 already be defined. Change to take two parameters and don't assign
45621 result to variable. Adjust all users.
45622 Define INTERNAL_GETTIME if not already defined.
45623 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45624 call.
45625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45626 HAVE_CLOCK_GETTIME_VSYSCALL.
45627 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45628
d53a73ac
UD
45629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45630 gettimeofday vsyscall, just use time.
45631
a8f84144
AS
456322011-09-06 Andreas Schwab <schwab@redhat.com>
45633
45634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45635 <errno.h>.
45636
ef606249
UD
456372011-09-06 Ulrich Drepper <drepper@gmail.com>
45638
45639 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45640 syscall on x86-64.
45641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45642 syscall.
45643 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45644 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45645 syscall if possible.
45646
6585cb60
UD
456472011-09-05 Ulrich Drepper <drepper@gmail.com>
45648
45649 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45650 e_ident. Don't pass to find_mapsXX.
45651 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45652
a5f524e4
LD
456532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45654
45655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45656 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45657 * sysdeps/x86_64/multiarch/strchr.S: Update.
45658 Check bit_slow_BSF bit.
45659 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45660 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45661 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45662
554881ef
UD
456632011-09-05 Ulrich Drepper <drepper@gmail.com>
45664
d96de963
UD
45665 [BZ #13134]
45666 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45667 before glibc 2.15.
45668 (tryshell): Define.
45669 (__spawni): Change last parameter to be flag. Test
45670 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45671 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45672 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45673 * posix/spawni.c: Likewise.
45674 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45675 * posix/spawnp.c: Likewise. Change normal version to use
45676 SPAWN_XFLAGS_USE_PATH.
45677 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45678 SPAWN_XFLAGS_TRY_SHELL.
45679
d48e5868
UD
45680 [BZ #13150]
45681 * posix/glob.h: Remove gcc 1.x support.
45682
554881ef
UD
45683 [BZ #13068]
45684 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45685
693fb948
LD
456862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45687
45688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45689 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45690 strrchr-sse2-bsf
45691 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45692 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45693 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45694 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45695 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45696 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45697
1b48c537
UD
456982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45699
49d42c37
UD
45700 * sysdeps/x86_64/wcscmp.S: New file.
45701
1b48c537
UD
45702 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45703 wcscmp-c wcscmp-sse2
45704 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45705 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45706 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45707 * wcsmbs/wcscmp.c: Allow renaming.
45708
15c95c5d
DM
457092011-09-05 David S. Miller <davem@davemloft.net>
45710
45711 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45712 stack slot, rather than the struct return pointer slot.
45713 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45714 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45716 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45717
2f0ad8f3
UD
457182011-09-05 Ulrich Drepper <drepper@gmail.com>
45719
d88ae418
UD
45720 * po/ja.po: Update from translation team.
45721
2f0ad8f3
UD
45722 [BZ #13144]
45723 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45724 kernel in 64-bit binaries.
45725
5f4318d1
DM
457262011-09-01 David S. Miller <davem@davemloft.net>
45727
45728 * elf/elf.h (HWCAP_SPARC_*): Move to..
45729 * sysdeps/sparc/sysdep.h: this new file and add new values.
45730 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45731 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45732 _DL_HWCAP_COUNT to 24.
45733 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45734 entries.
45735 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45736 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45737 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45739 instead of magic constants.
45740 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45741
3ba57516
DM
457422011-08-31 David S. Miller <davem@davemloft.net>
45743
45744 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45746 Reimplement to do errno handling inline.
45747 (SYSCALL_ERROR_HANDLER): New macro.
45748 (__SYSCALL_STRING): Do not do errno handling in asm.
45749 (__CLONE_SYSCALL_STRING): Delete.
45750 (__INTERNAL_SYSCALL_STRING): Delete.
45751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45752 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45753 (PSEUDO): Reimplement to do errno handling inline.
45754 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45755 (SYSCALL_ERROR_HANDLER): New macro.
45756 (__SYSCALL_STRING): Do not do errno handling in asm.
45757 (__CLONE_SYSCALL_STRING): Delete.
45758 (__INTERNAL_SYSCALL_STRING): Delete.
45759 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45760 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45761 i386.
45762 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45763 (inline_syscall*): Add 'err' argument.
45764 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45765 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45766 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45767 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45768
45769 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45770 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45771
2bc17433
AS
457722011-08-30 Andreas Schwab <schwab@redhat.com>
45773
45774 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45775
fbeb5f4d
JO
457762011-08-29 Jiri Olsa <jolsa@redhat.com>
45777
45778 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45779 directive.
45780
ad69cc26
DM
457812011-08-24 David S. Miller <davem@davemloft.net>
45782
45783 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45784
39dd69df
AS
457852011-08-24 Andreas Schwab <schwab@redhat.com>
45786
45787 * elf/Makefile: Add rules to build and run unload8 test.
45788 * elf/unload8.c: New file.
45789 * elf/unload8mod1.c: New file.
45790 * elf/unload8mod1x.c: New file.
45791 * elf/unload8mod2.c: New file.
45792 * elf/unload8mod3.c: New file.
45793
45794 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45795 it wasn't used.
45796
2c0b250a
DM
457972011-08-23 David S. Miller <davem@davemloft.net>
45798
45799 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45800 subtract stack bias.
45801 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45802 %sp not %fp in calculations.
45803 (_JMPBUF_UNWINDS_ADJ): Likewise.
45804
22044b48
DM
45805 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45806 (aio_suspend): Call it to force an exception region around the
45807 AIO_MISC_WAIT() invocation.
45808
2cae4995
AS
458092011-08-23 Andreas Schwab <schwab@redhat.com>
45810
45811 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45812 backslash.
45813
873a772e
AJ
458142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45815
45816 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45817 protection macro.
45818 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45819 and <dl-machine.h>.
45820 (Elf64_FuncDesc): Remove.
45821
25ad0df1
DM
458222011-08-22 David S. Miller <davem@davemloft.net>
45823
45824 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45825 sigaltstack check, add missing cfi directives.
45826 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45827 missing cfi directives, and sigaltstack handling.
45828
e888bcbe
AS
458292011-08-16 Andreas Schwab <schwab@redhat.com>
45830
45831 [BZ #11724]
45832 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45833 object is seen twice.
45834 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45835
45836 * elf/Makefile (distribute): Add tst-initorder2.c.
45837 (tests): Add tst-initorder2.
45838 (modules-names): Add tst-initorder2a tst-initorder2b
45839 tst-initorder2c tst-initorder2d. Add rules to build them.
45840 ($(objpfx)tst-initorder2.out): New rule.
45841 * elf/tst-initorder2.c: New file.
45842 * elf/tst-initorder2.exp: New file.
45843
87162f46
AS
458442011-08-22 Andreas Schwab <schwab@redhat.com>
45845
70538b7f
AS
45846 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45847
f55ffe58
AS
45848 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45849 dependencies back to end of function.
45850
87162f46
AS
45851 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45852 $(elfobjdir)/ld.so.
45853
91b392a4
UD
458542011-08-21 Ulrich Drepper <drepper@gmail.com>
45855
45856 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45857 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45858 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45859 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45860 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45861 of __vdso_gettimeofday.
45862 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45863 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45864 attribute_hidden.
45865 (_libc_vdso_platform_setup): Remove initialization of
45866 __vdso_gettimeofday and __vdso_time.
45867
5c43483f
UD
458682011-08-20 Ulrich Drepper <drepper@gmail.com>
45869
775a77e7
UD
45870 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45871 and fgetc_unlocked.
45872 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45873 getc_unlocked.
89f447ed 45874
49c74ba9
UD
45875 * elf/dl-open.c (add_to_global): Report additions to the global scope
45876 for LD_DEBUG=scopes.
45877 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45878 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45879
5c43483f
UD
45880 [BZ #13114]
45881 * stdio-common/Makefile (tests): Add bug24.
45882 * stdio-common/bug24.c: New file.
45883
a101b025
AJ
458842011-08-19 Andreas Jaeger <aj@suse.de>
45885
45886 [BZ #13114]
45887 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45888 non-existant file when using close-on-exec mode.
45889
c88f1766
UD
458902011-08-20 Ulrich Drepper <drepper@gmail.com>
45891
0276a718
UD
45892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45893 the very first instruction.
45894
c88f1766
UD
45895 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45896 the CFI state in the end.
45897 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45898 inclusion of dl-trampoline.h.
45899 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45900
51ccffa0
AS
459012011-08-19 Andreas Schwab <schwab@redhat.com>
45902
94d7165f
AS
45903 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45904 expectations for long double.
45905
51ccffa0
AS
45906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45907 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45908
fd708658 459092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45910
45911 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45912 artificual limit depends upon the system page size.
45913
44f0a71e
UD
459142011-08-17 Ulrich Drepper <drepper@gmail.com>
45915
45916 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45917 * resolv/Makefile: Define CFLAGS-libresolv.
45918
8de79a24
AS
459192011-08-17 Andreas Schwab <schwab@redhat.com>
45920
45921 * nss/makedb.c (compute_tables): Make variables used in nested
45922 function static.
45923
27724598
UD
459242011-08-17 Ulrich Drepper <drepper@gmail.com>
45925
c5305d88
UD
45926 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45927 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45928 if buffer was too small.
45929
27724598
UD
45930 * elf/pldd.c (main): Attach to all threads in the process.
45931 Rewrite /proc handling to use *at functions.
45932
076fe015
UD
459332011-08-16 Ulrich Drepper <drepper@gmail.com>
45934
174baab3
UD
45935 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45936 specifies first scope to show.
45937 (dl_open_worker): Update callers. Move printing scope of new
45938 object to before the relocation.
44f0a71e 45939 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45940 * sysdeps/generic/ldsodefs.h: Update declaration.
45941
076fe015
UD
45942 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45943 string for the scope number.
45944
a60df2c3
UD
459452011-08-14 Ulrich Drepper <drepper@gmail.com>
45946
45947 * nscd/servicescache.c (cache_addserv): Make sure written is always
45948 initialized.
45949
5e4287d1
RM
459502011-08-14 Roland McGrath <roland@hack.frob.com>
45951
85ae0589
RM
45952 * sysdeps/i386/i486/bits/atomic.h
45953 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45954 statement expression, so as to suppress "set but not used" warning.
45955 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45956
69f63097
RM
45957 * string/strncat.c (STRNCAT): Use prototype definition.
45958
675456ef
RM
45959 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45960 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45961 -Iprograms here.
45962 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45963 (localedef-modules): Add localedef.
45964 (locale-modules): Add locale.
45965
5e4287d1
RM
45966 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45967 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45968 to avoid a warning.
45969
9c96ff23
DM
459702011-08-14 David S. Miller <davem@davemloft.net>
45971
45972 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45973 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45974
f9ddf089
UD
459752011-08-13 Ulrich Drepper <drepper@gmail.com>
45976
44f0a71e 45977 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45978 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45979 * elf/rtld.c (dl_main): Set l_name of vDSO.
45980 Call _dl_show_scope when DL_DEBUG_SCOPES.
45981 (process_dl_debug): Recognize scopes flag and also set it for all.
45982 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45983 Declare _dl_show_scope.
45984
1dc27704
UD
45985 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45986 (do_dlopen): Pass caller_dlopen to dl_open.
45987 (__libc_dlopen_mode): Initialize caller_dlopen.
45988
f9ddf089
UD
45989 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45990 of libc. Make tolower call locale-independent. Optimize a bit by
45991 using isdigit instead of isalnum.
45992 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45993
9ac533d3
UD
459942011-08-12 Ulrich Drepper <drepper@gmail.com>
45995
45996 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45997 was a dependency or dynamically loaded.
45998
89edf2e9
UD
459992011-08-11 Ulrich Drepper <drepper@gmail.com>
46000
8e999d29
UD
46001 * intl/l10nflist.c: Allow architecture-specific pop function.
46002 * sysdeps/x86_64/l10nflist.c: New file.
46003
89edf2e9
UD
46004 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46005 classification.
46006
14d96785
AS
460072011-08-10 Andreas Schwab <schwab@redhat.com>
46008
46009 * include/dirent.h: Add libc_hidden_proto for scandirat and
46010 scandirat64. Don't declare __scandirat64.
46011 * dirent/scandirat.c: Add libc_hidden_def.
46012 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46013 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46014
6761ac04
DM
460152011-08-10 David S. Miller <davem@davemloft.net>
46016
46017 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46018 enum.
46019 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46021 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46022
c55fbd1e
UD
460232011-08-09 Ulrich Drepper <drepper@gmail.com>
46024
46025 * Versions.def [libc]: Add GLIBC_2.15.
46026 * dirent/Makefile (routines): Add scandirat and scandirat64.
46027 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46028 GLIBC_2.15.
46029 * dirent/dirent.h: Declare scandirat and scandirat64.
46030 * dirent/scandirat.c: New file.
46031 * dirent/scandirat64.c: New file.
46032 * sysdeps/wordsize-64/scandirat.c: New file.
46033 * sysdeps/wordsize-64/scandirat64.c: New file.
46034 * dirent/opendir.c: Define opendirat.
46035 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46036 using scandirat.
46037 * dirent/scandir64.c: Adjust for scandir.c change.
46038 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46039 __scandirat64, and __scandir_cancel_handler.
46040 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46041 additional parameter and use openat instead of open (outside of ld.so).
46042 Add new __opendir as wrapper around __opendirat.
46043 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46044 here without requiring old scandirat implementation.
46045
879165f2
UD
460462011-08-08 Ulrich Drepper <drepper@gmail.com>
46047
46048 * dirent/scandir.c (cancel_handler): Renamed to
46049 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46050 defined. Adjust users.
46051 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46052 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46053
cb7e923b
UD
460542011-08-04 Ulrich Drepper <drepper@gmail.com>
46055
16292edd
UD
46056 * string/test-string.h (IMPL): Use __STRING to expand name and then
46057 stringify it.
46058
cb7e923b
UD
46059 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46060 of cleanups.
46061
cff82933
LD
460622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46063
46064 * string/Makefile: Update.
46065 (strop-tests): Append strncat.
46066 * string/test-wcscmp.c: New file.
46067 New comprehensive test for wcscmp.
46068 * string/test-strcmp.c: Update.
46069 (WIDE): New define.
46070
9be9bfcc
AS
460712011-07-22 Andreas Schwab <schwab@redhat.com>
46072
46073 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46074 line.
46075
2e96f1c7
AS
460762011-07-26 Andreas Schwab <schwab@redhat.com>
46077
46078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46079 encoding to ACE if AI_IDN.
46080
85188888
JJ
460812011-08-01 Jakub Jelinek <jakub@redhat.com>
46082
46083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46084 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46085
5fa16e9b
LD
460862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46087
46088 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46089 Fix overflow bug in strncat.
46090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46091
46092 * string/test-strncat.c: Update.
46093 Add new tests for checking overflow bugs.
46094
460952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46096
46097 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46098 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46099 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46100 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46102 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46103 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46104 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46105 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46106
46107 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46108 (USE_AS_STRCAT): Define.
46109 Add strcat and strncat support.
46110 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46111
8c1a459f
AS
461122011-07-25 Andreas Schwab <schwab@redhat.com>
46113
46114 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46115 __n bigger than INT_MAX+1.
46116 (__strncmp_g): Likewise.
46117
bba33c28
UD
461182011-07-23 Ulrich Drepper <drepper@gmail.com>
46119
798be72d
UD
46120 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46121 * libio/stido.h: Likewise.
46122
8accd4dc
UD
46123 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46124 (AF_NFC): Define.
46125 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46126 (AF_NFC): Define.
46127
cbff0d96
UD
46128 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46129 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46130 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46131 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46132 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46133
9191c04a
UD
46134 [BZ #13021]
46135 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46136 installed.
46137
bba33c28
UD
46138 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46139 typo.
46140 (_dl_x86_64_save_sse): Likewise.
46141
90f139dd
UD
461422011-07-22 Ulrich Drepper <drepper@gmail.com>
46143
1aae088a
UD
46144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46145 OSXSAVE.
46146 (_dl_x86_64_save_sse): Likewise.
46147
8e2045f5
UD
46148 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46149
90f139dd
UD
46150 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46151
1d002f25
AS
461522011-07-21 Andreas Schwab <schwab@redhat.com>
46153
46154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46155 change.
46156 (_dl_x86_64_save_sse): Use correct AVX check.
46157
21137f89
UD
461582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46159
46160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46161 bug in strncpy/strncat.
46162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46163
a65c0b7a
UD
461642011-07-21 Ulrich Drepper <drepper@gmail.com>
46165
46166 * string/tester.c (test_strcat): Add tests for different alignments
46167 of source and destination.
46168 (test_strncat): Likewise.
46169
6986b98a
UD
461702011-07-20 Ulrich Drepper <drepper@gmail.com>
46171
90bb2039
UD
46172 [BZ #12852]
46173 * posix/glob.c (glob): Check passed in values before using them in
46174 expressions to avoid some overflows.
46175 (glob_in_dir): Likewise.
46176
5644ef54
UD
46177 [BZ #13007]
46178 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46179 check for AVX enablement so that we don't crash with old kernels and
46180 new hardware.
46181 * elf/tst-audit4.c: Add same checks here.
46182 * elf/tst-audit6.c: Likewise.
46183
46184 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46185
bfc9dc9b
AS
461862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46187
46188 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46189
702e64bb
UD
461902011-07-20 Ulrich Drepper <drepper@gmail.com>
46191
46192 * po/cs.po: Update from translation team.
46193 * po/bg.po: Likewise.
46194
295e904f
MP
461952011-07-12 Marek Polacek <mpolacek@redhat.com>
46196
46197 * misc/sys/cdefs.h: Add support for const attribute.
46198 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46199 to gnu_dev_{major,minor,makedev} functions.
46200
3ff94596
MP
462012011-07-20 Marek Polacek <mpolacek@redhat.com>
46202
46203 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46204
28b59fca
AS
462052011-07-20 Andreas Schwab <schwab@redhat.com>
46206
46207 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46208 strlen results.
46209
19df733e
AK
462102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46211
46212 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46213 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46214 register in order to avoid conflicts with the soft frame pointer
46215 being held in r11 when necessary.
46216 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46217 (INTERNAL_VSYSCALL_NCS): Likewise.
46218
c8835729
MP
462192011-07-14 Marek Polacek <mpolacek@redhat.com>
46220
46221 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46222 * elf/dl-fini.c (_dl_fini): Adjust caller.
46223 * elf/dl-close.c (_dl_close_worker): Likewise.
46224 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46225
b902330c
MP
462262011-07-15 Marek Polacek <mpolacek@redhat.com>
46227
8991e135
MP
46228 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46229 "aux_cache->nlibs < 0".
46230
b902330c
MP
46231 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46232 in the reload-count case.
46233
99710781
LD
462342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46235
46236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46237 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46238 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46239 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46240 * sysdeps/x86_64/multiarch/strcat.S: New file.
46241 * sysdeps/x86_64/multiarch/strncat.S: New file.
46242 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46243 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46244 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46245 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46246 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46247 (USE_AS_STRCAT): Define.
46248 Add strcat and strncat support.
46249 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46251 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46252 * string/strncat.c: Update.
46253 (USE_AS_STRNCAT): Define.
46254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46255 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46256 and i7.
46257 * sysdeps/x86_64/multiarch/init-arch.h
46258 (bit_Prefer_PMINUB_for_stringop): New.
46259 (index_Prefer_PMINUB_for_stringop): Likewise.
46260 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46261 bit_Prefer_PMINUB_for_stringop.
46262
7dc6bd90
UD
462632011-07-19 Ulrich Drepper <drepper@gmail.com>
46264
46265 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46266 buffer64.
46267 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46268 of casting of buffer.
46269 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46270 buffer32 and buffer64.
46271 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46272 writes instead of casting of buffer.
46273 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46274 buffer32.
46275 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46276 casting of buffer.
46277
e0e72284
AS
462782011-07-19 Andreas Schwab <schwab@redhat.com>
46279
46280 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46281
feb1eb0b
UD
462822011-07-19 Ulrich Drepper <drepper@gmail.com>
46283
46284 * nscd/nscd.c (termination_handler): Don't do anything for a database
46285 if it has not yet been initialized.
46286
298711ff
UD
462872011-07-18 Ulrich Drepper <drepper@gmail.com>
46288
46289 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46290
462912011-07-15 Marek Polacek <mpolacek@redhat.com>
46292
46293 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46294
f9d68389
UD
462952011-07-18 Ulrich Drepper <drepper@gmail.com>
46296
46297 * po/nl.po: Update from translation team.
46298 * po/sv.po: Likewise.
46299
db290cf5
RM
463002011-07-16 Roland McGrath <roland@hack.frob.com>
46301
46302 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46303 now disallowed by GCC.
5c550700 46304
fd5e21c7
RM
46305 * configure.in (use-default-link): Default to yes if a test -shared
46306 link meets our qualifications.
46307 * configure: Regenerated.
46308
5c550700
RM
46309 * config.make.in (output-format): New variable.
46310 * configure.in: Check for ld --print-output-format support.
46311 * configure: Regenerated.
46312 * Makerules ($(common-objpfx)format.lds)
46313 [$(output-format) != unknown]: Just use $(output-format),
46314 instead of the linker-script munging.
46315
9fa2c032
RM
463162011-07-14 Roland McGrath <roland@hack.frob.com>
46317
a6928d51
RM
46318 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46319 of $(common-objpfx)shlib.lds.
46320 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46321
661607b3
RM
46322 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46323 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46324
9fa2c032
RM
46325 * configure.in (-z relro check): Adjust test code to add a large
46326 writable data section after it.
46327 * configure: Regenerated.
46328
defe9061
RM
463292011-07-11 Roland McGrath <roland@hack.frob.com>
46330
46331 * configure.in (-z relro check): Fix test code to make the variable
46332 truly const.
46333 * configure: Regenerated.
46334
319b9ad4
UD
463352011-07-11 Ulrich Drepper <drepper@gmail.com>
46336
46337 * nscd/nscd.h (struct traced_file): Define.
46338 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46339 elements. Add traced_files.
46340 (inotify_fd): Declare.
46341 (register_traced_file): Declare.
46342 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46343 (inotify_fd): Export.
46344 (resolv_conf_descr): Remove.
46345 (nscd_init): Move inotify descriptor creation to main.
46346 Don't register files for notification here.
46347 (register_traced_file): New function.
46348 (invalidate_cache): Don't use reset_res to determine whether to call
46349 res_init, go through the list of registered files.
46350 (main_loop_poll): The inotify descriptors are now stored in the
46351 structures for the traced files.
46352 (main_loop_epoll): Likewise
46353 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46354 to __nss_disable_nscd.
46355 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46356 for a database anymore. Check the records for all the registered
46357 files instead.
46358 * nss/Makefile (libnss_files-routines): Add files-init.
46359 (libnss_db-routines): Add db-init.
46360 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46361 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46362 * nss/nss_db/db-init.c: New file.
46363 * nss/nss_files/files-init.c: New file.
46364 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46365 __nss_lookup_function.
46366 (__nss_lookup_function): Call nss_load_library.
46367 (nss_load_all_libraries): New function.
46368 (__nss_disable_nscd): Take parameter with callback function for files
46369 to register. Set is_nscd. Load all the DSOs for the NSS modules
46370 used for the cached services.
46371 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46372 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46373 options for features to all the files in nscd.
46374
46375 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46376
23bee3e8
RM
463772011-07-10 Roland McGrath <roland@hack.frob.com>
46378
46379 * csu/elf-init.c (__libc_csu_init): Comment typo.
46380
46a5b7f0
UD
463812011-07-09 Ulrich Drepper <drepper@gmail.com>
46382
46383 * po/pl.po: Update from translation team.
46384 * po/ja.po: Likewise.
46385 * po/ru.po: Likewise.
46386 * po/ko.po: Likewise.
46387 * po/fr.po: Likewise.
46388
d30cf5bb
RM
463892011-07-09 Roland McGrath <roland@hack.frob.com>
46390
113ddea4
RM
46391 * configure.in (.ctors/.dtors header and trailer check):
46392 Use an empirical test on a built program.
46393 * configure: Regenerated.
46394
574920b4
RM
46395 * configure.in (-z relro check): Use an empirical test on a built DSO.
46396 Detect, but do not require, on ia64.
46397 * configure: Regenerated.
46398
d30cf5bb
RM
46399 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46400 Update tests that use readelf to use $READELF instead.
46401 * configure: Regenerated.
46402
8538fdb3
UD
464032011-07-08 Ulrich Drepper <drepper@gmail.com>
46404
46405 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46406 if the result is not used.
46407
04d08991
AJ
464082011-07-05 Andreas Jaeger <aj@suse.de>
46409
46410 [BZ#9696]
46411 * stdlib/tst-strtod.c: Add testcase.
46412
de283087
AD
464132011-07-07 Ulrich Drepper <drepper@gmail.com>
46414
4e5f31c8 46415 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46416 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46417 The latter has a higher limit. Take additional parameter to pass to
46418 the new function.
46419 (__pathconf): Pass file to __statfs_link_max.
46420 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46421 __statfs_link_max.
46422 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46423 __statfs_link_max.
46424
de283087
AD
46425 [BZ #12868]
46426 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46427 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46428 Handle Lustre.
46429 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46430 (__statfs_filesize_max): Likewise.
46431 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46432
c75fa153
AJ
464332011-07-05 Andreas Jaeger <aj@suse.de>
46434
46435 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46436
1a544854
UD
464372011-07-06 Marek Polacek <mpolacek@redhat.com>
46438
46439 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46440 `status' variable.
46441 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46442 Likewise.
46443
6f0eec67
UD
464442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46445
46446 * Makefile (strop-tests): Add strncat.
46447 * string/test-strncat.c: New file.
46448
aae30307
UD
464492011-06-30 Marek Polacek <mpolacek@redhat.com>
46450
46451 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46452
c0cfb5eb
UD
464532011-06-21 Andreas Jaeger <aj@suse.de>
46454
46455 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46456 Copy rule from iconvdata/Makefile.
46457
01636b21
UD
464582011-07-06 Ulrich Drepper <drepper@gmail.com>
46459
46460 [BZ #12922]
46461 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46462 but no long options are defined, just return 'W'.
46463
9895c8bc
UD
464642011-06-22 Marek Polacek <mpolacek@redhat.com>
46465
46466 [BZ #9696]
46467 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46468
5d4cf042
UD
464692011-07-06 Ulrich Drepper <drepper@gmail.com>
46470
46471 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46472 netgroups to read.
960e5535 46473 (innetgr): Likewise.
5d4cf042 46474
751eb97e
RM
464752011-07-05 Roland McGrath <roland@hack.frob.com>
46476
46477 * config.make.in (install_root): Default to $(DESTDIR).
46478
f15f1e45
UD
464792011-07-05 Ulrich Drepper <drepper@gmail.com>
46480
46481 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46482
4e34ac6a
RM
464832011-07-02 Roland McGrath <roland@hack.frob.com>
46484
5e9b6af4
RM
46485 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46486
84f9ea0f
RM
46487 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46488 containing directory rather than embedding absolute directory names.
46489
ea5ee9f7
RM
46490 * scripts/check-local-headers.sh: Rewritten using awk.
46491 Match by word, not by line. Print error messages for matches.
46492 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46493
1b74661a
RM
46494 * Makerules [shlib-lds-flags empty]:
46495 ($(common-objpfx)libc_pic.opts): New target.
46496 ($(common-objpfx)libc_pic.os.clean): New target.
46497 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46498
46499 * config.make.in (OBJCOPY): New variable.
46500 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46501 * configure: Regenerated.
46502
f781ef40
RM
46503 * config.make.in (use-default-link): New variable.
46504 * configure.in (use_default_link): Grok --with-default-link to set it.
46505 * configure: Regenerated.
46506 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46507 (shlib-lds, shlib-lds-flags): Define to empty.
46508
2d4fa81e
RM
46509 * Makerules (shlib-lds): New variable.
46510 (shlib-lds-flags): New variable.
46511 (build-shlib, build-moduile, build-module-asneeded): Use it.
46512 ($(common-objpfx)libc.so): Use $(shlib-lds).
46513 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46514 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46515
31fffa6b
RM
46516 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46517 DT_FLAGS/DT_FLAGS_1 with zero flags.
46518
4e34ac6a
RM
46519 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46520 linker script munging.
46521
fcfc776b
UD
465222011-07-02 Ulrich Drepper <drepper@gmail.com>
46523
46524 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46525 as 128-bit value.
46526 * crypt/sha512.c (sha512_process_block): Perform total addition using
46527 128-bit if possible.
46528 (__sha512_finish_ctx): Likewise.
46529 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46530 as 64-bit value.
46531 * crypt/sha256.c (SWAP64): Define.
46532 (sha256_process_block): Perform total addition using 64-bit if
46533 possible.
46534 (__sha256_finish_ctx): Likewise.
46535
99231d9a
UD
465362011-07-01 Ulrich Drepper <drepper@gmail.com>
46537
46538 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46540 * nscd/hstcache.c (cache_addhst): Likewise.
46541 * nscd/grpcache.c (cache_addgr): Likewise.
46542 * nscd/aicache.c (addhstaiX): Likewise
46543 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46544
445b4a53
TK
465452011-07-01 Thorsten Kukuk <kukuk@suse.de>
46546
46547 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46548 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46549 * nscd/hstcache.c (cache_addhst): Likewise.
46550 * nscd/grpcache.c (cache_addgr): Likewise.
46551 * nscd/aicache.c (addhstaiX): Likewise
46552
6d4d8e8e
AS
465532011-07-01 Andreas Schwab <schwab@redhat.com>
46554
46555 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46556 domain only when needed.
46557
89f654c5
AS
465582011-06-30 Andreas Schwab <schwab@redhat.com>
46559
46560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46561 is always restored.
46562
cf3b23ff
UD
465632011-06-29 Ulrich Drepper <drepper@gmail.com>
46564
46565 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46566 are re-adding the entry.
46567 * nscd/servicescache.c (cache_addserv): Likewise.
46568
751626f9
AJ
465692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46570
46571 * sysdeps/generic/dl-irel.h: fix protection against multiple
46572 inclusions.
46573 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46574
9113ea1f
UD
465752011-06-28 Ulrich Drepper <drepper@gmail.com>
46576
5c0b8d90
UD
46577 [BZ #12935]
46578 * malloc/memusage.sh: Fix quoting in message.
46579 * debug/xtrace.sh: Likewise.
46580
9113ea1f
UD
46581 * configure.in: Remove support for --experimental-malloc option, make
46582 it the default.
46583 * config.make.in: Likewise.
46584 * malloc/Makefile: Likewise.
46585
a4172181
AS
465862011-06-27 Andreas Schwab <schwab@redhat.com>
46587
46588 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46589 two-byte characters.
46590
78a7eee7
RM
465912011-06-27 Roland McGrath <roland@hack.frob.com>
46592
62bede13
RM
46593 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46594 AC_CACHE_CHECK invocation.
46595 * configure: Regenerated.
46596
78a7eee7
RM
46597 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46598
5ce33a62
UD
465992011-06-27 Ulrich Drepper <drepper@gmail.com>
46600
034807a9
UD
46601 [BZ #12350]
46602 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46603 bit from old_res_options.
46604
4902da17
UD
46605 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46606
5ce33a62
UD
46607 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46608 value type for setfct.
46609
c2344f56
L
466102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46611
46612 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46613 __gettimeofday instead of gettimeofday.
46614
68468076
UD
466152011-06-26 Ulrich Drepper <drepper@gmail.com>
46616
46617 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46618
acb0d739
L
466192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46620
46621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46622
46623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46624 info.
46625
8912479f
L
466262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46627
46628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46629 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46630 strcpy-sse2-unaligned strncpy-sse2-unaligned
46631 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46632 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46633 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46634 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46635 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46636 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46637 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46638 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46639 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46640 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46641 (STRCPY): Support SSE2 and SSSE3 versions.
46642
d5495a11
UD
466432011-06-24 Ulrich Drepper <drepper@gmail.com>
46644
46645 [BZ #12874]
46646 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46647 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46648 kernels which artificially limit size of requests.
46649
0b1cbaae
L
466502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46651
46652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46653 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46654 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46655 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46656 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46657 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46658 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46659 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46662 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46663 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46664 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46665 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46666 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46668 Enable unaligned load optimization for Intel Core i3, i5 and i7
46669 processors.
46670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46671 Define.
46672 (index_Fast_Unaligned_Load): Define.
46673 (HAS_FAST_UNALIGNED_LOAD): Define.
46674
07f494a0
MP
466752011-06-23 Marek Polacek <mpolacek@redhat.com>
46676
46677 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46678
fa3fc0fe
UD
466792011-06-22 Ulrich Drepper <drepper@gmail.com>
46680
46681 [BZ #12907]
46682 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46683 until it is clear that the information is realy needed.
46684 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46685
e12df166
AS
466862011-06-22 Andreas Schwab <schwab@redhat.com>
46687
46688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46689
852eb34d
UD
466902011-06-22 Ulrich Drepper <drepper@gmail.com>
46691
84e2a551
UD
46692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46693 /sys/devices/system/cpu/online if it is usable.
46694
852eb34d
UD
46695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46696 reading the information from the /proc filesystem to once a second.
46697
6e502e19
UD
466982011-06-21 Andreas Jaeger <aj@suse.de>
46699
46700 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46701 NULL after inclusion of kernel headers.
46702
75d39ff2
UD
467032011-06-21 Ulrich Drepper <drepper@gmail.com>
46704
51f9aa6a
UD
46705 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46706 calls to internal_setent.
46707
c0244a9d
UD
46708 [BZ #12885]
46709 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46710 addresses using gethostbyname4_r ignore IPv4 addresses.
46711
c5e3c2ae
UD
46712 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46713 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46714
75d39ff2
UD
46715 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46716
42675c6f
DM
467172011-06-20 David S. Miller <davem@davemloft.net>
46718
46719 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46720 inclusions.
46721 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46722
46723 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46724 (elf_irel): Use it.
46725 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46726 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46727 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46728 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46729 * sysdeps/x86_64/dl-irel.h: Likewise.
46730
46731 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46732 * elf/dl-sym.c: Likewise.
46733
57912a71
UD
467342011-06-15 Ulrich Drepper <drepper@gmail.com>
46735
46736 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46737 need to dereference resplen2.
46738
ee22793d
AS
467392011-06-14 Andreas Schwab <schwab@redhat.com>
46740
46741 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46742
a9e836b0
UD
467432011-06-15 Ulrich Drepper <drepper@gmail.com>
46744
77fb9117
UD
46745 * Makeconfig: Define vardbdir and inst_vardbdir.
46746 * nss/Makefile: Add rules to install db-Makefile.
46747
40c1b22c
UD
46748 * nss/nss_db/db-XXX.c: Cleanup.
46749
9f2da732
UD
46750 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46751 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46752 GLIBC_PRIVATE.
46753 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46754 * nss/makedb.c: Implement -g option to specify that value strings
46755 are generated and should not be added to table iterated over for
46756 get*ent calls.
46757 * nss/nss_db/db-initgroups.c: New file.
46758
82e9a1f7
UD
46759 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46760 interface.
46761
c41af17e
UD
46762 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46763 (internal_getgrouplist): Adjust to name change.
46764 Update use_initgroups_entry if this is not the first call.
46765 * nss/databases.def: Add initgroups entry.
46766
a9e836b0
UD
46767 * nss/makedb.c (compute_tables): Check result of multiple hash table
46768 sizes to minimize maximum chain length.
46769
2666d441
UD
467702011-06-14 Ulrich Drepper <drepper@gmail.com>
46771
46772 * Versions.def: Add entry for libnss_db.
46773 * shlib-versions: Likewise.
46774 * nss/Makefile: Add rules to build libnss_db.
46775 * nss/Versions: Add libnss_db information. Organize libnss_files
46776 entries better.
46777 * nss/db-Makefile: Add gshadow support. Change rules for the new
46778 makedb progra. Some minor improvements to generate smaller files.
46779 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46780 here from...
46781 * nss/makedb.c: ...here.
46782 Improve database format to be smaller and require less memory at
46783 runtime.
46784 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46785 db anymore.
46786 * nss/nss_db/db-netgrp.c: Likewise.
46787 * nss/nss_db/db-open.c: Likewise.
46788 * nss/nss_files/flies-XXX.x: Adjust comments.
46789 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46790 * nss/nss_files/files-grp.c: Likewise.
46791 * nss/nss_files/files-hosts.c: Likewise.
46792 * nss/nss_files/files-network.c: Likewise.
46793 * nss/nss_files/files-proto.c: Likewise.
46794 * nss/nss_files/files-pwd.c: Likewise.
46795 * nss/nss_files/files-rpc.c: Likewise.
46796 * nss/nss_files/files-service.c: Likewise.
46797 * nss/nss_files/files-sgrp.c: Likewise.
46798 * nss/nss_files/files-spwd.c: Likewise.
46799 * nss/nss_db/db-alias.c: Removed.
46800 * nss/nss_db/dummy-db.h: Removed.
46801
9ee76b5a
UD
468022011-06-02 Ulrich Drepper <drepper@gmail.com>
46803
46804 * nss/makedb.c: Rewritten to not use database library.
46805 * nss/Makefile: Update to build new makedb program.
46806
c71ca1f8
AJ
468072011-06-14 Andreas Jaeger <aj@suse.de>
46808
46809 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46810 memset declaration.
46811
3154bfb8
UD
468122011-06-10 Andreas Schwab <schwab@redhat.com>
46813
46814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46815 tmpbuf.
46816
b350afab
RM
468172011-06-10 Roland McGrath <roland@hack.frob.com>
46818
decd4e50
RM
46819 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46820 * elf/Makefile ($(objpfx)ld.so): Likewise.
46821
5615eaf2
RM
46822 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46823 Don't list ld.so twice in dependencies.
46824
46825 * posix/bug-regex31.c: Include <stdlib.h>.
46826
46827 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46828
46829 * nis/nss_compat/compat-spwd.c
46830 (getspent_next_nss_netgr): Remove unused variable.
46831 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46832
46833 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46834 nonmembers" output to use the right array.
46835
46836 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46837
46838 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46839
46840 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46841 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46842 * catgets/gencat.c (read_input_file): Likewise.
46843 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46844
46845 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46846 variable definition inside #if's controlling its use.
46847
46848 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46849
46850 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46851
46852 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46853
46854 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46855 unreachable code.
46856
46857 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46858
b68e08db
RM
46859 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46860 * configure: Regenerated.
46861
b350afab
RM
46862 * Makerules: Revert last change.
46863 * elf/Makefile: Likewise.
46864
28368601
RM
468652011-06-09 Roland McGrath <roland@hack.frob.com>
46866
46867 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46868 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46869 (reloc-link): Likewise.
46870
11988f8f
UD
468712011-06-09 Ulrich Drepper <drepper@gmail.com>
46872
46873 * elf/Makefile: Add rules to build pldd.
46874 * elf/pldd.c: New file.
46875 * elf/pldd-xx.c: New file.
46876
e80fab37
UD
468772011-06-07 Ulrich Drepper <drepper@gmail.com>
46878
46879 * version.h: Update for 2.15 development version.
46880
9b849836
DM
468812011-06-07 David S. Miller <davem@davemloft.net>
46882
46883 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46884 ifuncs.
46885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46886 elf_machine_lazy_rel): Likewise.
46887 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46889 elf_machine_lazy_rel): Likewise.
46890 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46891 dl_hwcap via passed in argument.
46892 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46893 Likewise.
46894
5a31b283
AK
468952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46896
46897 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46898
069e52f8
RM
468992011-06-06 Roland McGrath <roland@hack.frob.com>
46900
46901 [BZ #12849]
46902 * manual/fdl-1.1.texi: New file, verbatim from:
46903 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46904 * manual/lgpl-2.1.texi: New file, verbatim from:
46905 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46906 * manual/Makefile (licenses): New variable, list those new file names.
46907 (texis): Use it.
46908 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46909
46910 * manual/fdl.texi: File removed.
46911 * manual/lesser.texi: File removed.
46912 * manual/libc.texinfo (Copying, Documentation License):
46913 Use new @include file names, put @appendix directive before @include.
46914
f16846a5
JJ
469152011-06-04 Jakub Jelinek <jakub@redhat.com>
46916
46917 [BZ #12841]
46918 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46919 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46920 (mq_open): Add __NTH.
46921
3d29045b
L
469222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46923
46924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46925 Assume Intel Core i3/i5/i7 processor if AVX is available.
46926
8c297311
UD
469272011-05-31 Ulrich Drepper <drepper@gmail.com>
46928
46929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46930 typo.
46931
c8fc0c91
UD
469322011-05-31 Andreas Schwab <schwab@redhat.com>
46933
46934 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46935 memory. Use alloca_account. Fix memory leak when retrying.
46936
5b27a807
UD
469372011-05-31 Ulrich Drepper <drepper@gmail.com>
46938
356f8bc6
UD
46939 * version.h (RELEASE): Bump for 2.14 release.
46940 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46941
5b27a807
UD
46942 * config.make.in (RANLIB): Remove entry.
46943
01f16ab0
UD
469442011-05-30 Ulrich Drepper <drepper@gmail.com>
46945
41fce8bd
UD
46946 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46947 (libc.pot): Work around missing support for .ksh extension in xgettext.
46948
4769ae77
UD
46949 [BZ #12684]
46950 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46951 if both request failed.
46952 (send_dg): In case of server errors clear resplen or *resplen2.
46953
6b1e7d19
UD
46954 [BZ #12454]
46955 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46956 when there are multiple maps.
46957 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46958 (_dl_fini): Remove test here.
46959
01f16ab0
UD
46960 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46961
b1ebd700
UD
469622011-05-29 Ulrich Drepper <drepper@gmail.com>
46963
7ae22829
UD
46964 [BZ #12350]
46965 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46966 bit from old_res_options.
46967 (gaih_inet): Likewise.
46968
553149f6 46969 [BZ #11099]
18a84741 46970 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46971 as signed.
46972
652ffab1
UD
46973 * resolv/res_init.c (res_setoptions): Make the code more compact.
46974
16985fd0
UD
46975 [BZ #11558]
46976 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46977 set RES_USEVC.
46978
0464f746
UD
46979 [BZ #11634]
46980 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46981
7d17596c
UD
46982 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46983
cf6bbbd7
UD
46984 [BZ #11781]
46985 * malloc/malloc.h: Declare malloc hook variables as volatile.
46986
13f1ab36
UD
46987 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46988 in last patch.
46989
b1ebd700
UD
46990 [BZ #11799]
46991 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46992 raise in the comment.
80e2212d
UD
46993 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46995 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46996
ce67228d
UD
469972011-05-28 Ulrich Drepper <drepper@gmail.com>
46998
8887a920
UD
46999 [BZ #12811]
47000 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47001 grow the buffers more if it already has to be sufficient.
47002 (build_wcs_upper_buffer): Likewise.
47003 * posix/regexec.c (check_matching): Likewise.
47004 (clean_state_log_if_needed): Likewise.
47005 (extend_buffers): Don't enlarge buffers beyond size of the input
47006 buffer.
47007 Patches mostly by Emil Wojak <emil@wojak.eu>.
47008 * posix/bug-regex32.c: New file.
47009 * posix/Makefile (tests): Add bug-regex32.
47010
4f031072
UD
47011 * locale/findlocale.c (_nl_find_locale): Return right away if
47012 _nl_explode_name failed.
47013 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47014
d0478f0c
UD
47015 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47016
de81b246
UD
47017 * debug/xtrace.sh: Unify messages.
47018 * malloc/memusage.sh: Likewise.
47019
c738465a
UD
47020 [BZ #12813]
47021 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47022 time symbol from vDSO. Substitute with vsyscall if not available.
47023 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47024 __vdso_time.
47025
f1f929d7
UD
47026 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47027 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47028 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47029 Add sendmmsg and internal_sendmmsg.
47030 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47031 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47032 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47033
ce67228d
UD
47034 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47035 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47036 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47037
e57420c6
UD
470382011-05-27 Ulrich Drepper <drepper@gmail.com>
47039
a8509ca5
UD
47040 [BZ #12813]
47041 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47042 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47043 available.
47044 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47045 __vdso_getcpu.
47046
e57420c6
UD
47047 [BZ #12814]
47048 * iconvdata/Makefile (tests): Add bug-iconv9.
47049 * iconvdata/bug-iconv9.c: New file.
47050
4d07db15
AS
470512011-05-27 Andreas Schwab <schwab@redhat.com>
47052
47053 [BZ #12814]
47054 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47055
ea486f69
JJ
470562011-05-25 Jakub Jelinek <jakub@redhat.com>
47057
47058 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47059 (struct user_regs_struct): Change intcs field back to cs.
47060
6f038433
UD
470612011-05-25 Ulrich Drepper <drepper@gmail.com>
47062
47063 * po/ja.po: Update from translation team.
47064
67f86a25
UD
470652011-05-23 Ulrich Drepper <drepper@gmail.com>
47066
47067 [BZ #12795]
47068 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47069 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47070
def7fbd6
AS
470712011-05-20 Andreas Schwab <schwab@redhat.com>
47072
47073 * stdlib/longlong.h: Update from GCC.
47074
f50ef8f1
AS
470752011-05-23 Andreas Schwab <schwab@redhat.com>
47076
47077 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47078 parameter name.
47079 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47080 Add parameter name.
47081 (__sysconf): Pass it down.
47082
de7ce8f1
UD
470832011-05-22 Ulrich Drepper <drepper@gmail.com>
47084
f2962a71
UD
47085 [BZ #12671]
47086 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47087 some situations.
47088 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47089 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47090 add in in __libc_use_alloca calls. Adjust callers.
47091 (glob): Use malloc in some situations.
47092
de7ce8f1
UD
47093 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47094 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47095 pltexit.
47096
aec84f53
UD
470972011-05-21 Ulrich Drepper <drepper@gmail.com>
47098
05bb4a68
UD
47099 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47100 and CLOCK_BOOTTIME_ALARM.
47101
7ea72f99
UD
47102 [BZ #12782]
47103 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47104 is returned.
47105
7e4afad5
UD
47106 * string/_strerror.c (__strerror_r): Print negative errors as signed
47107 numbers.
47108
8e211fec
UD
47109 [BZ #12777]
47110 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47111 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47112 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47113
f7d82dc9
UD
47114 * configure.in: Fix typo in redirection and correct removal of test
47115 files in two cases.
47116
cc9e536d
UD
47117 [BZ #12788]
47118 * locale/setlocale.c (new_composite_name): Fix test to check for
47119 identical name of all categories.
47120
aec84f53
UD
47121 [BZ #12792]
47122 * libio/filedoalloc.c (local_isatty): New function.
47123 (_IO_file_doallocate): Use local_isatty.
47124 * stdio-common/perror.c (perror): In case a new stream is used
47125 forward the stream error.
47126 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47127 error flag.
47128
78e64fdc
RT
471292011-05-20 Ulrich Drepper <drepper@gmail.com>
47130
34a9094f
UD
47131 [BZ #11869]
47132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47133 alloca.
47134 * include/alloca.h (extend_alloca_account): Define.
47135
78e64fdc
RT
47136 [BZ #11857]
47137 * posix/regex.h: Fix comments with documentation of user-accessible
47138 fields after compilation and describe correct free'ing of pattern
47139 after re_compile_pattern.
47140 Patch by Reuben Thomas <rrt@sc3d.org>.
47141
457bddfc
RA
471422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47143
47144 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47145 and -mno-altivec to prevent the compiler from using Altivec and/or
47146 VSX instructions when the corresponding registers are not available.
47147
a4527b51
AS
471482011-05-19 Andreas Schwab <schwab@redhat.com>
47149
47150 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47151
ed690b2f
UD
471522011-05-19 Ulrich Drepper <drepper@gmail.com>
47153
47154 * libio/freopen.c (freopen): Use __dup2, not dup2.
47155 * libio/freopen64.c (freopen64): Likewise.
47156
8db73634
L
471572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47158
47159 [BZ #12775]
47160 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47161 * math/Makefile (tests): Add test-powl.
47162 (CFLAGS-test-powl.c): Define.
47163 * math/test-powl.c: New file.
47164
0a197a9d
L
471652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47166
47167 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47168
ee30c380
UD
471692011-05-17 Ulrich Drepper <drepper@gmail.com>
47170
47171 [BZ #11837]
47172 * iconvdata/gb18030.c: Update to GB18020-2005.
47173
6ce75379
UD
471742011-05-16 Ulrich Drepper <drepper@gmail.com>
47175
a4b89fd8
AR
47176 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47177 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47178 Patch by Aharon Robbins <arnold@skeeve.com>.
47179
ea389b12
UD
47180 [BZ #11892]
47181 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47182 on the stack.
47183
68a3f91f
UD
47184 [BZ #11895]
47185 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47186 through underflows.
47187
15cc7dd1
UD
47188 [BZ #12766]
47189 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47190 point to strings before performing equality test for error_one_per_line
47191 mode.
47192
f3799213
UD
47193 [BZ #11697]
47194 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47195
d79a9c94
UD
47196 [BZ #11820]
47197 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47198 (struct user_fpregs_struct): Avoid __uint*_t types.
47199
56e5eb46
UD
47200 [BZ #6420]
47201 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47202 symbol info. Use it instead of calling _dl_addr locally.
47203 (lock_and_info): New function.
47204 (tr_freehook): Call lock_and_info and pass symbol info as additional
47205 parameter to tr_where.
47206 (tr_mallochook): Likewise.
47207 (tr_reallochook): Likewise.
47208 (tr_memalignhook): Likewise.
47209
6ce75379
UD
47210 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47211 used and couldn't be at all thread-safe.
47212
f8a3b5bf
UD
472132011-05-15 Ulrich Drepper <drepper@gmail.com>
47214
94b7cc37
UD
47215 * libio/freopen.c (freopen): Don't close old file descriptor
47216 before the new one is opened. Instead dup the new file descriptor
47217 to the old one after the new stream is created.
47218 * libio/freopen64.c (freopen64): Likewise.
47219 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47220 * libio/fileops.c (_IO_new_file_close_it): Handle new
47221 _IO_FLAGS2_NOCLOSE flag.
47222 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47223 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47224 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47225 _IO_FLAGS2_NOCLOSE flag.
47226 * include/unistd.h: Add hidden_proto for dup3.
47227 Define __have_dup3.
47228 * io/dup3.c: Define hidden symbol.
47229 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47230
bd25564e
UD
47231 [BZ #7101]
47232 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47233 when an incomplete long option is used.
47234 * posix/tst-getopt_long1.c: New file.
47235 * posix/Makefile (tests): Add tst-getopt_long1.
47236
c84cfef4
UD
47237 [BZ #10138]
47238 * scripts/config.guess: Update from autoconf-2.68.
47239 * scripts/config.sub: Likewise.
47240
3b85df27
UD
47241 [BZ #10157]
47242 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47243 tests into ...
47244 (has_cpuclock): ...this. New function.
47245 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47246 macro here based on has_cpuclock code.
47247
15a856b1
UD
47248 [BZ #10149]
47249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47250 First byte (not low byte) is now always NUL.
47251 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47252
05f399e6
UD
47253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47254 Use non-cancelable interfaces.
47255
10a52685 47256 [BZ #9809]
94ecc67d
UD
47257 * locale/iso-639.def: Add entry for Sorani.
47258
f8a3b5bf
UD
47259 [BZ #11901]
47260 * include/stdlib.h: Move include protection to the right place.
47261 Define abort_msg_s. Declare __abort_msg with it.
47262 * stdlib/abort.c (__abort_msg): Adjust type.
47263 * assert/assert.c (__assert_fail_base): New function. Majority
47264 of code from __assert_fail. Allocate memory for __abort_msg with
47265 mmap.
47266 (__assert_fail): Now call __assert_fail_base.
47267 * assert/assert-perr.c: Remove bulk of implementation. Use
47268 __assert_fail_base.
47269 * include/assert.hL Declare __assert_fail_base.
47270 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47271 mmap.
47272 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47273
1af4e298
UD
472742011-05-14 Ulrich Drepper <drepper@gmail.com>
47275
f8a3b5bf 47276 [BZ #11952]
d26dfc60
MG
47277 [BZ #12453]
47278 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47279 until all modules are registered in the DTV.
47280 * elf/Makefile: Add rules to build and run tst-tls19.
47281 * elf/tst-tls19.c: New file.
47282 * elf/tst-tls19mod1.c: New file.
47283 * elf/tst-tls19mod2.c: New file.
47284 * elf/tst-tls19mod3.c: New file.
47285 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47286
2fc54d6f
UD
47287 [BZ #12083]
47288 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47289 correctly.
47290
98d76b46
UD
47291 [BZ #12601]
47292 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47293 two-byte sequence errors.
47294 * iconvdata/Makefile (tests): Add bug-iconv8.
47295 * iconvdata/bug-iconv8.c: New file.
47296
da3c19ef
UD
47297 [BZ #12626]
47298 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47299 buf2 definition.
47300
ca408c15
UD
47301 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47302
d6f67f7d
UD
47303 [BZ #12432]
47304 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47305 (dummy_getcfa): New function.
47306 (init): Get _Unwind_GetCFA address, use dummy if not found.
47307 (backtrace_helper): In recursion check, also check whether CFA changes.
47308 (__backtrace): Completely initialize arg.
47309
1af4e298 47310 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47311 storing incomplete byte sequence in state object. Avoid testing for
47312 guaranteed too small input if we know there is enough data available.
1af4e298 47313
da62f81b
AS
473142011-05-11 Andreas Schwab <schwab@redhat.com>
47315
47316 * Makeconfig (+link-pie): Indent.
47317 * Rules (binaries-pie): Define if $(have-fpie) and
47318 $(build-shared).
47319 (binaries-shared): Also filter out $(binaries-pie).
47320 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47321 * nscd/Makefile (others-pie): Add nscd.
47322 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47323 ($(objpfx)nscd): Remove command override.
47324 * login/Makefile (others-pie): Add pt_chown.
47325 ($(objpfx)pt_chown): Remove command override.
47326 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47327 remove command overrides.
47328
fcabc0f8
UD
473292011-05-13 Ulrich Drepper <drepper@gmail.com>
47330
20030ae6
UD
47331 * libio/tst_putwc.c: Fix error messages.
47332
fcabc0f8
UD
47333 [BZ #12724]
47334 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47335 currently writing and seek to current position when not.
47336 * libio/Makefile (tests): Add bug-fclose1.
47337 * libio/bug-fclose1.c: New file.
47338
320a5dc0
PB
473392011-05-12 Ulrich Drepper <drepper@gmail.com>
47340
47341 [BZ #12511]
47342 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47343 don't set DF_1_NODELETE here.
47344 (do_lookup_x): When entering new entry test for copy relocation
47345 and if necessary set DF_1_NODELETE flag.
47346 * elf/tst-unique4.cc: New file.
47347 * elf/tst-unique4.h: New file.
47348 * elf/tst-unique4lib.cc: New file.
47349 * elf/Makefile: Add rules to build and run tst-unique4.
47350 Patch by Piotr Bury <pbury@goahead.com>.
47351
22836f52
UD
473522011-05-11 Ulrich Drepper <drepper@gmail.com>
47353
f574184a
UD
47354 [BZ #12052]
47355 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47356
e1fb097f
UD
47357 [BZ #12625]
47358 * misc/mntent_r.c (addmntent): Flush the stream after the output
47359
22836f52
UD
47360 [BZ #12393]
47361 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47362 (is_trusted_path_normalize): Skip initial colon. Append slash
47363 to empty buffer. Duplicate is_trusted_path code but allow
47364 constructed patch to be prefix.
47365 (is_dst): Allow $ORIGIN followed by /.
47366 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47367 Correct testing of result of is_trusted_path_normalize
47368 (decompose_rpath): Fix warning.
47369
7b3b0b2a
UD
473702011-05-10 Ulrich Drepper <drepper@gmail.com>
47371
47372 [BZ #11257]
47373 * grp/initgroups.c (internal_getgrouplist): When we found the service
47374 list through the initgroups entry in nsswitch.conf do not always
47375 continue on a successful lookup. Don't always use the
eac80ce2 47376 __nss_group_database value if it is set.
7b3b0b2a
UD
47377 * nss/nsswitch.conf (initgroups): Change action for successful db
47378 lookup to continue for compatibility.
47379
2a81eaa5
UD
473802011-05-09 Ulrich Drepper <drepper@gmail.com>
47381
be97a69e
UD
47382 [BZ #11532]
47383 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47384 and CP774 modules.
47385 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47386 and CP774 modules.
47387 * iconvdata/tst-tables.sh: Likewise.
47388 * iconvdata/cp770.c: New file.
47389 * iconvdata/cp771.c: New file.
47390 * iconvdata/cp772.c: New file.
47391 * iconvdata/cp773.c: New file.
47392 * iconvdata/cp774.c: New file.
47393 * iconvdata/testdata/CP770: New file.
47394 * iconvdata/testdata/CP770..UTF8: New file.
47395 * iconvdata/testdata/CP771: New file.
47396 * iconvdata/testdata/CP771..UTF8: New file.
47397 * iconvdata/testdata/CP772: New file.
47398 * iconvdata/testdata/CP772..UTF8: New file.
47399 * iconvdata/testdata/CP773: New file.
47400 * iconvdata/testdata/CP773..UTF8: New file.
47401 * iconvdata/testdata/CP774: New file.
47402 * iconvdata/testdata/CP774..UTF8: New file.
47403
47404 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47405 END CHARMAP line.
47406 * iconvdata/gen-8bit-gap.sh: Likewise.
47407 * iconvdata/gen-8bit.sh: Likewise.
47408
c1e9e399
UD
47409 * locale/iso-639.def: Add ary entry.
47410
24c55fb3 47411 [BZ #11258]
96b4b1b0
UD
47412 * locale/C-translit.h.in: Add U20A1 transliteration.
47413
bdc2f971
KB
47414 [BZ #12178]
47415 * locale/iso-639.def: Add wae entry.
47416 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47417
2952b117
UD
47418 [BZ #12545]
47419 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47420 for n.
47421
2a81eaa5
UD
47422 [BZ #12711]
47423 * locale/C-translit.h.in: Add entry for U20B9.
47424 Patch by pravin.d.s@gmail.com.
47425
28377d1b
UD
474262011-05-08 Ulrich Drepper <drepper@gmail.com>
47427
7fb90fb8
UD
47428 [BZ #12713]
47429 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47430 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47431 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47432 in rtld. Use *stat64.
7fb90fb8 47433 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47434 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47435 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47436 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47437 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47438 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47439 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47440 __fstatat64 macros.
7fb90fb8
UD
47441 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47442 * dirent/rewinddir.c: Add libc_hidden_def.
47443 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47444 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47445
28377d1b
UD
47446 * include/dirent.h (__alloc_dir): Add flags parameter.
47447 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47448 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47449 __alloc_dir.
47450 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47451 from fdopendir if O_CLOEXEC is already set.
47452
66bdbaa4
AM
474532011-03-15 Alan Modra <amodra@gmail.com>
47454
47455 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47456 l_tls_firstbyte_offset non-zero. Save padding offset in
47457 l_tls_firstbyte_offset for later use.
47458 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47459 freeing static tls block.
47460
95721191
JN
474612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47462
47463 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47464 where #ifdef was intended. The intent is to prevent ARG_MAX from
47465 being defined by the kernel headers.
47466
f87dfb1f
UD
474672011-05-07 Ulrich Drepper <drepper@gmail.com>
47468
47469 [BZ #12734]
47470 * resolv/resolv.h: Define RES_NOTLDQUERY.
47471 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47472 no-tld-query and set RES_NOTLDQUERY.
47473 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47474 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47475 modern BIND to search name as TLD unless forbidden.
47476
47c3cd7a
UD
474772011-05-07 Petr Baudis <pasky@suse.cz>
47478 Ulrich Drepper <drepper@gmail.com>
47479
47480 [BZ #12393]
47481 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47482 (is_trusted_path): ...to here.
c1e9ea35 47483 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47484 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47485 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47486
8a35c912
PP
474872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47488
47489 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47490 __BEGIN/__END_DECLS.
47491
acd41f47
UD
474922011-05-06 Ulrich Drepper <drepper@gmail.com>
47493
47494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47495 NSS_STATUS_NOTFOUND if no record was found.
47496
597df647
AS
474972011-05-05 Andreas Schwab <schwab@redhat.com>
47498
47499 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47500 (headers-not-in-tirpc): Remove rpc/netdb.h
47501 * resolv/netdb.h: Revert last change.
47502
b9af1301
PP
475032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47504
47505 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47506 circular dependency between libgcc.a and libc.a.
47507
4e34d5f5
AS
475082011-05-05 Andreas Schwab <schwab@redhat.com>
47509
47510 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47511 * nis/Makefile: Don't install rpcsvc/*.
47512 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47513 instead of <rpc/types.h>.
47514 (MAXHOSTNAMELEN): Define.
47515
00ee369c
AS
475162011-05-03 Andreas Schwab <schwab@redhat.com>
47517
47518 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47519
0b592a30
MB
475202011-04-28 Maciej Babinski <mbabinski@google.com>
47521
47522 [BZ #12714]
47523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47524 gethostbyname4_r when IPv6 results are possible.
47525
6e04cbbe
UD
475262011-05-02 Ulrich Drepper <drepper@gmail.com>
47527
47528 [BZ #12723]
47529 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47530 _PC_PIPE_BUF handling.
47531
e4ecafe0
BH
475322011-04-30 Bruno Haible <bruno@clisp.org>
47533
47534 [BZ #12717]
47535 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47536 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47537 to 'int'.
47538 * inet/getnameinfo.c (getnameinfo): Likewise.
47539
125ee683
UD
475402011-04-29 Ulrich Drepper <drepper@gmail.com>
47541
47542 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47543 to groups setting in database lookup.
47544 * nss/nsswitch.conf: Add initgroups entry.
47545
b722481a
EB
475462011-04-22 Ulrich Drepper <drepper@gmail.com>
47547
47548 [BZ #12685]
47549 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47550 mode string.
47551 Patch by Eric Blake <eblake@redhat.com>.
47552
4df46dbd
L
475532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47554
47555 * sunrpc/Makefile (need-export-routines): Add svc_run.
47556 (routines): Remove svc_run.
47557 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47558 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47559 * sunrpc/svc_run.c (svc_run): Likewise.
47560 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47561
e84142d2
UD
475622011-04-21 Ulrich Drepper <drepper@gmail.com>
47563
47564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47565 problem in reallocation in last patch.
47566
877175d8
UD
475672011-04-20 Ulrich Drepper <drepper@gmail.com>
47568
47569 * sunrpc/Makefile: Move inclusion of Rules.
47570
ab8eed78
UD
475712011-04-19 Ulrich Drepper <drepper@gmail.com>
47572
47573 * nss/nss_files/files-initgroups.c: New file.
47574 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47575 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47576 _nss_files_initgroups_dyn.
47577
e3d8f584
RS
475782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47579
47580 * elf/elf.h (R_ARM_IRELATIVE): Define.
47581
af190f45
UD
475822011-04-19 Ulrich Drepper <drepper@gmail.com>
47583
47584 * po/ru.po: Update from translation team.
47585
53cf59ef
UD
475862011-04-17 Ulrich Drepper <drepper@gmail.com>
47587
47588 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47589 dependencies.
47590
4c559bcd
MF
475912011-02-06 Mike Frysinger <vapier@gentoo.org>
47592
47593 [BZ #12653]
47594 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47595 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47597 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47598 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47599
4420675c
AS
476002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47601
47602 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47603 differing bytes.
47604 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47606 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47607
75ea32ab
UD
476082011-04-17 Ulrich Drepper <drepper@gmail.com>
47609
47610 [BZ #12420]
47611 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47612 storing it.
47613 * stdlib/bug-getcontext.c: New file.
47614 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47615
27390476
AK
476162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47617
47618 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47619 instructions into .machine "z9-109".
47620 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47621 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47622
10442705
AK
476232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47624
47625 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47626 between environment variables and auxiliary vector.
47627
7b57bfe5
UD
476282011-04-16 Ulrich Drepper <drepper@gmail.com>
47629
47630 * Makefile: Add rules to build linkobj/libc.so.
47631 * include/libc-symbols.h: Define libc_hidden_nolink.
47632 * include/rpc/auth.h: Mark functions which are to be hidden.
47633 * include/rpc/auth_des.h: Likewise.
47634 * include/rpc/auth_unix.h: Likewise.
47635 * include/rpc/clnt.h: Likewise.
47636 * include/rpc/des_crypt.h: Likewise.
47637 * include/rpc/key_prot.h: Likewise.
47638 * include/rpc/pmap_clnt.h: Likewise.
47639 * include/rpc/pmap_prot.h: Likewise.
47640 * include/rpc/pmap_rmt.h: Likewise.
47641 * include/rpc/rpc_msg.h: Likewise.
47642 * include/rpc/svc.h: Likewise.
47643 * include/rpc/svc_auth.h: Likewise.
47644 * include/rpc/xdr.h: Likewise.
47645 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47646 * nss/Makefile: Likewise.
47647 * sunrpc/Makefile: Don't install headers. Build library with normal
47648 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47649 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47650 for the compat linking library. Remove use of INTDEF/INTUSE.
47651 * sunrpc/auth_none.c: Likewise.
47652 * sunrpc/auth_unix.c: Likewise.
47653 * sunrpc/authdes_prot.c: Likewise.
47654 * sunrpc/authuxprot.c: Likewise.
47655 * sunrpc/clnt_gen.c: Likewise.
47656 * sunrpc/clnt_perr.c: Likewise.
47657 * sunrpc/clnt_raw.c: Likewise.
47658 * sunrpc/clnt_simp.c: Likewise.
47659 * sunrpc/clnt_tcp.c: Likewise.
47660 * sunrpc/clnt_udp.c: Likewise.
47661 * sunrpc/clnt_unix.c: Likewise.
47662 * sunrpc/des_crypt.c: Likewise.
47663 * sunrpc/des_soft.c: Likewise.
47664 * sunrpc/get_myaddr.c: Likewise.
47665 * sunrpc/key_call.c: Likewise.
47666 * sunrpc/key_prot.c: Likewise.
47667 * sunrpc/netname.c: Likewise.
47668 * sunrpc/pm_getmaps.c: Likewise.
47669 * sunrpc/pm_getport.c: Likewise.
47670 * sunrpc/pmap_clnt.c: Likewise.
47671 * sunrpc/pmap_prot.c: Likewise.
47672 * sunrpc/pmap_prot2.c: Likewise.
47673 * sunrpc/pmap_rmt.c: Likewise.
47674 * sunrpc/publickey.c: Likewise.
47675 * sunrpc/rpc_cmsg.c: Likewise.
47676 * sunrpc/rpc_common.c: Likewise.
47677 * sunrpc/rpc_dtable.c: Likewise.
47678 * sunrpc/rpc_prot.c: Likewise.
47679 * sunrpc/rpc_thread.c: Likewise.
47680 * sunrpc/rtime.c: Likewise.
47681 * sunrpc/svc.c: Likewise.
47682 * sunrpc/svc_auth.c: Likewise.
47683 * sunrpc/svc_authux.c: Likewise.
47684 * sunrpc/svc_raw.c: Likewise.
47685 * sunrpc/svc_run.c: Likewise.
47686 * sunrpc/svc_simple.c: Likewise.
47687 * sunrpc/svc_tcp.c: Likewise.
47688 * sunrpc/svc_udp.c: Likewise.
47689 * sunrpc/svc_unix.c: Likewise.
47690 * sunrpc/svcauth_des.c: Likewise.
47691 * sunrpc/xcrypt.c: Likewise.
47692 * sunrpc/xdr.c: Likewise.
47693 * sunrpc/xdr_array.c: Likewise.
47694 * sunrpc/xdr_float.c: Likewise.
47695 * sunrpc/xdr_intXX_t.c: Likewise.
47696 * sunrpc/xdr_mem.c: Likewise.
47697 * sunrpc/xdr_rec.c: Likewise.
47698 * sunrpc/xdr_ref.c: Likewise.
47699 * sunrpc/xdr_sizeof.c: Likewise.
47700 * sunrpc/xdr_stdio.c: Likewise.
47701
e6c61494
UD
477022011-04-10 Ulrich Drepper <drepper@gmail.com>
47703
47704 [BZ #12650]
47705 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47706 * sysdeps/ia64/dl-tls.h: Likewise.
47707 * sysdeps/powerpc/dl-tls.h: Likewise.
47708 * sysdeps/s390/dl-tls.h: Likewise.
47709 * sysdeps/sh/dl-tls.h: Likewise.
47710 * sysdeps/sparc/dl-tls.h: Likewise.
47711 * sysdeps/x86_64/dl-tls.h: Likewise.
47712 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47713
34fe483e
AS
477142011-03-14 Andreas Schwab <schwab@redhat.com>
47715
47716 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47717 rpath element also skip the following colon.
47718 (expand_dynamic_string_token): Add is_path parameter and pass
47719 down to DL_DST_REQUIRED and _dl_dst_substitute.
47720 (decompose_rpath): Call expand_dynamic_string_token with
47721 non-zero is_path. Ignore empty rpaths.
47722 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47723 with zero is_path.
47724
f12a32e6
AS
477252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47726
47727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47728 Make cancelable.
47729
38a7d692
UD
477302011-04-09 Ulrich Drepper <drepper@gmail.com>
47731
47732 [BZ #12655]
47733 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47734 Patch by Filipe David Manana <fdmanana@apache.org>.
47735
e451d22b
AS
477362011-04-07 Andreas Schwab <schwab@redhat.com>
47737
47738 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47739 Maintain aligned stack.
47740 (CHECK_RSP): Remove unused macro.
47741
dedc7c7b
UD
477422011-04-03 Ulrich Drepper <drepper@gmail.com>
47743
47744 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47745 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47746
94521213
UD
477472011-04-02 Ulrich Drepper <drepper@gmail.com>
47748
47749 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47750
8cb700c0 47751 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47752
0354e355
L
477532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47754
47755 [BZ #12518]
47756 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47757 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47758 * sysdeps/x86_64/memmove.c: New file.
47759 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47760 (memcpy): Renamed to ...
47761 (__new_memcpy): This.
47762 (memcpy): Provide GLIBC_2_14 memcpy.
47763 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47764 (memcpy): Provide GLIBC_2_2_5 memcpy.
47765
8593482f
UD
477662011-04-01 Ulrich Drepper <drepper@gmail.com>
47767
47768 [BZ #12631]
47769 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47770
81a5726b
AS
477712011-03-30 Andreas Schwab <schwab@redhat.com>
47772
47773 * misc/syncfs.c: New file.
47774 * misc/Makefile (routines): Add syncfs.
47775 * posix/unistd.h: Declare syncfs.
47776 * sysdeps/unix/syscalls.list: Add syncfs.
47777
00e5419f
AS
477782011-04-01 Andreas Schwab <schwab@redhat.com>
47779
47780 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47781 open_by_handle_at.
47782 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47783 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47785 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47787 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47789
748876bf
UD
477902011-04-01 Ulrich Drepper <drepper@gmail.com>
47791
658e451d
UD
47792 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47793 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47794 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47796 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47799
748876bf
UD
47800 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47801 sync_file_range.c with -fexceptions.
47802 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47803 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47804 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47805 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47806 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47807 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47809 sync_file_range as cancellation point
47810 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47811 now a wrapper around __call_sync_file_range with cancellation handling.
47812 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47813 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47814 function name to __call_sync_file_range.
47815 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47816 Add call_sync_file_range.
748876bf 47817
6e63d5e1
AS
478182011-04-01 Andreas Schwab <schwab@redhat.com>
47819
47820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47821 bits/timex.h.
6e63d5e1 47822
46998f74
UD
478232011-04-01 Ulrich Drepper <drepper@gmail.com>
47824
4c1423ed
UD
47825 * iconv/iconv.h: Fix typo in comment.
47826 * io/fcntl.h: Likewise.
47827 * libio/stdio.h: Likewise.
47828 * posix/spawn.h: Likewise.
47829 * posix/unistd.h: Likewise.
47830 * stdlib/stdlib.h: Likewise.
47831 * time/time.h: Likewise.
47832 * wcsmbs/wchar.h: Likewise.
47833
158648c0
UD
47834 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47835 open_by_handle): Add.
47836 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47837 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47838 Augment a few comments.
47839 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47841 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47844 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47845 open_by_handle.
47846
46998f74
UD
47847 * io/fcntl.h (AT_EMPTY_PATH): Define.
47848
83fe108b
UD
478492011-03-30 Ulrich Drepper <drepper@gmail.com>
47850
47851 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47852 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47853 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47854 to...
47855 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47856 * Versions.def: Add GLIBC_2.14.
47857 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47858 Export.
83fe108b 47859
bb242059
UD
478602011-03-22 Ulrich Drepper <drepper@gmail.com>
47861
47862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47863 round counter.
47864 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47865
c97a1282
L
478662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47867
47868 [BZ #12597]
47869 * string/test-strncmp.c (do_page_test): New function.
47870 (check2): Likewise.
47871 (test_main): Call check2.
47872 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47873
2a115601
UD
478742011-03-20 Ulrich Drepper <drepper@gmail.com>
47875
47876 [BZ #12587]
47877 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47878 Handle cache information in CPU leaf 4.
47879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47880
8126d904
UD
478812011-03-18 Ulrich Drepper <drepper@gmail.com>
47882
042c49c6 47883 [BZ #12583]
8126d904
UD
47884 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47885 character representation.
47886 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47887
ccfe366e
RA
478882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47889
47890 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47891 END(__isnan) to END(__isnanf) to match function entry point/label
47892 EALIGN(__isnanf,...).
47893
c6e13027
JJ
478942011-03-10 Jakub Jelinek <jakub@redhat.com>
47895
47896 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47897
33f85a3f
UD
478982011-03-10 Ulrich Drepper <drepper@gmail.com>
47899
028478fa
UD
47900 [BZ #12510]
47901 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47902 copy from the symbol referenced in the relocation to initialize the
47903 used variable.
47904 Patch by Piotr Bury <pbury@goahead.com>.
47905 * elf/Makefile: Add rules to build and tst-unique3.
47906 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47907 * elf/tst-unique3.cc: New file.
47908 * elf/tst-unique3.h: New file.
47909 * elf/tst-unique3lib.cc: New file.
47910 * elf/tst-unique3lib2.cc: New file.
47911
33f85a3f
UD
47912 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47913
03592fc7
MF
479142011-03-10 Mike Frysinger <vapier@gentoo.org>
47915
47916 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47917 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47918 to _start.
03592fc7 47919
6a5ee102
UD
479202011-03-06 Ulrich Drepper <drepper@gmail.com>
47921
47922 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47923 to-be-loaded object along a path to loader is ld.so.
47924
7e4ba49c
HJ
479252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47926 Ulrich Drepper <drepper@gmail.com>
47927
47928 * sysdeps/x86_64/memset.S: After aligning destination, code
47929 branches to different locations depending on the value of
47930 misalignment, when multiarch is enabled. Fix this.
47931
479322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47933
47934 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47935 Set _x86_64_preferred_memory_instruction for AMD processsors.
47936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47937 Set bit_Prefer_SSE_for_memop for AMD processors.
47938
13a804de
UD
479392011-03-04 Ulrich Drepper <drepper@gmail.com>
47940
47941 * libio/fmemopen.c (fmemopen): Optimize a bit.
47942
9d25c392
AS
479432011-03-03 Andreas Schwab <schwab@redhat.com>
47944
47945 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47946
a5543c6a
RM
479472011-03-03 Roland McGrath <roland@redhat.com>
47948
47949 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47950
012d35f7
DM
479512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47952
7e4ba49c 47953 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47954 __bzero_ultra1 instead of __memset_ultra1.
47955
4bff6e01
AS
479562011-02-23 Andreas Schwab <schwab@redhat.com>
47957 Ulrich Drepper <drepper@gmail.com>
47958
47959 [BZ #12509]
47960 * include/link.h (struct link_map): Add l_orig_initfini.
47961 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47962 returning unsuccessfully.
47963 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47964 close of a file loaded at startup, restore the original l_initfini
47965 list.
47966 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47967 list, store the pointer.
47968 * elf/Makefile ($(objpfx)noload-mem): New rule.
47969 (noload-ENV): Define.
47970 (tests): Add $(objpfx)noload-mem.
47971 * elf/noload.c: Include <memcheck.h>.
47972 (main): Call mtrace. Close all opened handles.
47973
f2092faf
AS
479742011-02-17 Andreas Schwab <schwab@redhat.com>
47975
47976 [BZ #12454]
47977 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47978 dependencies are missing.
47979
6c8a2e88
ST
479802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47981
f2092faf 47982 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47983 Hurd needs munmap.
47984 * sysdeps/mach/hurd/ifreq.h: New file.
47985
84a42118
PB
479862011-01-27 Petr Baudis <pasky@suse.cz>
47987 Ulrich Drepper <drepper@gmail.com>
47988
071f805e 47989 [BZ 12445]#
84a42118
PB
47990 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47991 to extend_alloca().
47992 * stdio-common/bug23.c: New file.
47993 * stdio-common/Makefile (tests): Add bug23.
47994
e23fe25b
AS
479952010-09-28 Andreas Schwab <schwab@redhat.com>
47996 Ulrich Drepper <drepper@gmail.com>
47997
47998 [BZ #12489]
47999 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48000 before performing relro protection. At old place add assertion
48001 to make sure nothing changed.
48002
d3f02e10
NS
480032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48004 Glauber de Oliveira Costa <glommer@gmail.com>
48005
48006 * elf/elf.h: Add new ARM TLS relocs.
48007
d55fd7a5
RA
480082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48009
48010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48011 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48012 cast from r3.
48013 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48014 'tests' variable.
48015 * sysdeps/wordsize-64/tst-writev.c: New file.
48016
2206397e
RA
480172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48018
48019 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48020 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48021 insns in _dl_start to prevent a TOC reference before relocs are
48022 resolved.
48023
e9433893
UD
480242011-02-15 Ulrich Drepper <drepper@gmail.com>
48025
48026 [BZ #12469]
48027 * Makeconfig: Remove RANLIB definition.
48028 * Makerules: Don't use RANLIB.
48029 * aclocal.m4: Remove ranlib test.
48030 * configure.in: No need to check for ranlib.
48031 * elf/rtld-Rules: Don't use RANLIB.
48032
f75286c6
ST
480332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48034
8e31c82d
ST
48035 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48036 protection macro.
48037 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48038 inclusion protection macro.
48039
f75286c6
ST
48040 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48041 SIGRTMIN and SIGRTMAX and print information in that case only when
48042 SIGRTMIN is defined.
48043
c1d0e639
JJ
480442011-02-11 Jakub Jelinek <jakub@redhat.com>
48045
48046 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48047 arginfo fn returning -1.
48048
48049 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48050 and thousands string is zero terminated.
48051
edf9294e
AS
480522011-02-03 Andreas Schwab <schwab@redhat.com>
48053
48054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48055 sysdeps/unix/sysv/linux/bits/socket.h.
48056
2b7e92df
ST
480572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48058
edf9294e
AS
48059 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48060 (__CPU_COUNT): Remove old macros.
48061 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48062 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48063 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48064 (__sched_cpualloc, __sched_cpufree): Add declarations.
48065
a4c7ea7b
UD
480662011-02-05 Ulrich Drepper <drepper@gmail.com>
48067
48068 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48069 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48070 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48071 (readdhstai): Return value of addhstaiX call.
48072 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48073 (addgrbyX): Return value returned by cache_addgr.
48074 (readdgrbyname): Return value returned by addgrbyX.
48075 (readdgrbygid): Likewise.
48076 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48077 (addpwbyX): Return value returned by cache_addpw.
48078 (readdpwbyname): Return value returned by addhstbyX.
48079 (readdpwbyuid): Likewise.
48080 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48081 (addservbyX): Return value returned by cache_addserv.
48082 (readdservbyname): Return value returned by addservbyX:
48083 (readdservbyport): Likewise.
48084 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48085 (addhstbyX): Return value returned by cache_addhst.
48086 (readdhstbyname): Return value returned by addhstbyX.
48087 (readdhstbyaddr): Likewise.
48088 (readdhstbynamev6): Likewise.
48089 (readdhstbyaddrv6): Likewise.
48090 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48091 (readdinitgroups): Return value returned by addinitgroupsX.
48092 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48093 (prune_cache): Keep track of timeout value of re-added entries.
48094 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48095 * nscd/nscd.h: Adjust prototypes of readd* functions.
48096
a0bf67cc
RM
480972011-02-04 Roland McGrath <roland@redhat.com>
48098
48099 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48100 (nis_stats): Likewise.
48101 * nis/nis_modify.c (nis_modify): Likewise.
48102 * nis/nis_remove.c (nis_remove): Likewise.
48103 * nis/nis_add.c (nis_add): Likewise.
48104
48105 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48106
48107 * posix/fnmatch_loop.c: Add some consts.
48108
48109 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48110
435b95eb
L
481112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48112
48113 [BZ #12460]
48114 * config.make.in (config-cflags-novzeroupper): Define.
48115 * configure.in: Substitute libc_cv_cc_novzeroupper.
48116 * elf/Makefile (AVX-CFLAGS): Define.
48117 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48118 (CFLAGS-tst-auditmod4a.c): Likewise.
48119 (CFLAGS-tst-auditmod4b.c): Likewise.
48120 (CFLAGS-tst-auditmod6b.c): Likewise.
48121 (CFLAGS-tst-auditmod6c.c): Likewise.
48122 (CFLAGS-tst-auditmod7b.c): Likewise.
48123 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48124
8517b15e
UD
481252011-02-02 Ulrich Drepper <drepper@gmail.com>
48126
48127 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48128 function to the callback.
48129 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48130
10a656fe
AS
481312011-02-02 Andreas Schwab <schwab@redhat.com>
48132
48133 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48134 of errno.
48135
968dad0a
UD
481362011-01-19 Ulrich Drepper <drepper@gmail.com>
48137
9f94d2ea 48138 [BZ #11724]
968dad0a
UD
48139 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48140 of constructors.
48141 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48142 of destructors.
48143 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48144
48145 [BZ #11724]
48146 * elf/Makefile: Add rules to build and run new test.
48147 * elf/tst-initorder.c: New file.
48148 * elf/tst-initorder.exp: New file.
48149 * elf/tst-initordera1.c: New file.
48150 * elf/tst-initordera2.c: New file.
48151 * elf/tst-initordera3.c: New file.
48152 * elf/tst-initordera4.c: New file.
48153 * elf/tst-initorderb1.c: New file.
48154 * elf/tst-initorderb2.c: New file.
48155 * elf/tst-order-a1.c: New file.
48156 * elf/tst-order-a2.c: New file.
48157 * elf/tst-order-a3.c: New file.
48158 * elf/tst-order-a4.c: New file.
48159 * elf/tst-order-b1.c: New file.
48160 * elf/tst-order-b2.c: New file.
48161 * elf/tst-order-main.c: New file.
48162 New test case by George Gensure <werkt0@gmail.com>.
48163
86e92359
UD
481642010-10-01 Andreas Schwab <schwab@redhat.com>
48165
48166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48167 decoding ACE if AI_CANONIDN.
48168
5d5732b0
UD
481692011-01-18 Ulrich Drepper <drepper@gmail.com>
48170
48171 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48172
a77e8cbc
UD
481732011-01-17 Ulrich Drepper <drepper@gmail.com>
48174
6392473f
UD
48175 * version.h (RELEASE): Bump for 2.13 release.
48176 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48177
620a0529
UD
48178 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48179
18ba70a5
UD
48180 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48181 MADV_NOHUGEPAGE.
32465c3e
UD
48182 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48183 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48184 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48185 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48186 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48187 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48188
c0dafcf1
UD
48189 * posix/getconf.c: Update copyright year.
48190 * catgets/gencat.c: Likewise.
48191 * csu/version.c: Likewise.
48192 * debug/catchsegv.sh: Likewise.
48193 * debug/xtrace.sh: Likewise.
48194 * elf/ldconfig.c: Likewise.
48195 * elf/ldd.bash.in: Likewise.
48196 * elf/sprof.c (print_version): Likewise.
48197 * iconv/iconv_prog.c: Likewise.
48198 * iconv/iconvconfig.c: Likewise.
48199 * locale/programs/locale.c: Likewise.
48200 * locale/programs/localedef.c: Likewise.
48201 * malloc/memusage.sh: Likewise.
48202 * malloc/mtrace.pl: Likewise.
48203 * nscd/nscd.c (print_version): Likewise.
48204 * nss/getent.c: Likewise.
48205
a77e8cbc
UD
48206 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48207 PF_CAIF, and PF_ALG.
48208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48209
77e8bddf
AS
482102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48211
1f20b93a
AS
48212 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48213 (modules-names): Use them.
48214 (ifunc-test-modules, ifunc-pie-tests): Define.
48215 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48216 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48217 (test-extras): Likewise.
48218 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48219 $(compile-command.c).
48220 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48221 (all-built-dso): Define.
48222 (check-textrel.out, check-execstack.out): Depend on it.
48223
77e8bddf
AS
48224 * configure.in: Don't override --enable-multi-arch.
48225
bc425b33
UD
482262011-01-15 Ulrich Drepper <drepper@gmail.com>
48227
48228 [BZ #6812]
48229 * nscd/hstcache.c (tryagain): Define.
48230 (cache_addhst): Return tryagain not notfound for temporary errors.
48231 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48232 failed.
48233
794c3ad3
UD
482342011-01-14 Ulrich Drepper <drepper@gmail.com>
48235
70181fdd
UD
48236 [BZ #10563]
48237 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48238 to make the syscall.
48239 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48240
794c3ad3
UD
48241 [BZ #12378]
48242 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48243 and fall back to matching as normal character if the string ends before
48244 the matching ']' is found. This is what POSIX requires.
48245 * posix/testfnm.c: Adjust test result.
48246 * posix/globtest.sh: Adjust test result. Add new test.
48247 * posix/tst-fnmatch.input: Likewise.
48248 * posix/tst-fnmatch2.c: Add new test.
48249
68dc9497
AS
482502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48251
48252 * elf/Makefile (check-execstack): Revert last change. Depend on
48253 check-execstack.h.
48254 (check-execstack.h): New target.
48255 (generated): Add check-execstack.h.
48256 * elf/check-execstack.c: Include "check-execstack.h".
48257 (main): Revert last change.
48258 (handle_file): Return zero if GNU_STACK is absent and
48259 DEFAULT_STACK_PERMS doesn't include PF_X.
48260
451f001b
UD
482612011-01-13 Ulrich Drepper <drepper@gmail.com>
48262
cfa28e56
UD
48263 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48264 in child fails because the descriptor is already closed.
8cf8ce17
UD
48265 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48266 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48267 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48268
1086d70d
UD
48269 [BZ #12397]
48270 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48271 syscall.
48272
451f001b
UD
48273 [BZ #10484]
48274 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48275 temporary buffer used to handle multi lookups locally.
a85b5cb4 48276 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48277
08769175
UD
482782011-01-12 Ulrich Drepper <drepper@gmail.com>
48279
48280 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48281 loader is ld.so.
48282
5e49c52e
UD
482832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48284
48285 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48286 alignment for SSE2.
48287
60522a5f
UD
482882011-01-12 Ulrich Drepper <drepper@gmail.com>
48289
48290 [BZ #12394]
48291 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48292 characters. When rounding increased number of integer digits recompute
48293 number of groups.
48294 * stdio-common/tst-grouping.c: New file.
48295 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48296
f257bbd7
UD
482972011-01-09 Ulrich Drepper <drepper@gmail.com>
48298
48299 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48300 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48301
48302 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48303 void.
48304 * bits/select.h: Likewise.
48305
fa9c15cb
UD
483062011-01-08 Ulrich Drepper <drepper@gmail.com>
48307
48308 * po/ja.po: Update from translation team.
48309
16c2895f
DM
483102011-01-04 David S. Miller <davem@sunset.davemloft.net>
48311
48312 [BZ #11155]
48313 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48314 implementation just like for lxstat, fxstatat, et al.
48315
2543fef2
JM
483162010-12-27 Jim Meyering <meyering@redhat.com>
48317
48318 [BZ #12348]
48319 * posix/regexec.c (build_trtable): Return failure indication upon
48320 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48321
98727dbe
UD
483222010-12-25 Ulrich Drepper <drepper@gmail.com>
48323
5bd6dc5c
UD
48324 [BZ #12201]
48325 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48326 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48327 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48328 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48329
97983464
UD
48330 [BZ #12207]
48331 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48332
98727dbe
UD
48333 [BZ #12204]
48334 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48335 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48336
4a531bb0
L
483372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48338
48339 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48340 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48341 script has SORT_BY_INIT_PRIORITY.
48342 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48343 NO_CTORS_DTORS_SECTIONS is defined.
48344 * elf/soinit.c: Likewise.
48345 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48346 NO_CTORS_DTORS_SECTIONS is defined.
48347 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48348 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48349 * sysdeps/sh/init-first.c: Likewise.
48350 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48351
07eb4b71
UD
483522010-12-24 Ulrich Drepper <drepper@gmail.com>
48353
48354 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48355 always use the slow path.
48356
30950a5f
RA
483572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48358
48359 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48360 similar rule which adds the sysdep directories to the header search in
48361 order to pick up the correct platform stackinfo.h.
48362 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48363 perform test if it is, otherwise return successfully without testing.
48364 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48365 DEFAULT_STACK_PERMS define in stackinfo.h.
48366 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48367 defined in stackinfo.h.
48368 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48369 DEFAULT_STACK_PERMS defined in stackinfo.h.
48370 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48371 * sysdeps/ia64/stackinfo.h: Likewise.
48372 * sysdeps/s390/stackinfo.h: Likewise.
48373 * sysdeps/sh/stackinfo.h: Likewise.
48374 * sysdeps/sparc/stackinfo.h: Likewise.
48375 * sysdeps/x86_64/stackinfo.h: Likewise.
48376 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48377 PF_X for powerpc64. Retain PF_X for powerpc32.
48378
db753e2c
UD
483792010-12-19 Ulrich Drepper <drepper@gmail.com>
48380
14b697f7
UD
48381 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48382 accurately.
db753e2c
UD
48383 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48384 GETDENTS_64BIT_ALIGNED.
48385
28300719
UD
483862010-12-14 Ulrich Drepper <dreper@gmail.com>
48387
14b697f7 48388 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48389
4f197237
AS
483902010-12-10 Andreas Schwab <schwab@redhat.com>
48391
dbb0472f
AS
48392 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48393 _GNU_SOURCE.
48394
4f197237
AS
48395 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48396 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48397 Remove __restrict.
48398 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48399 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48400
fb88ac72
UD
484012010-12-09 Ulrich Drepper <drepper@gmail.com>
48402
48403 [BZ #11655]
48404 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48405 are initialized.
48406
42acbb92
JJ
484072010-12-09 Jakub Jelinek <jakub@redhat.com>
48408
48409 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48410
c038d98d
UD
484112010-12-03 Ulrich Drepper <drepper@gmail.com>
48412
48413 * po/it.po: Update from translation team.
48414
3a4a2499
L
484152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48416
48417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48418 unused codes.
48419
1e24cf6e
UD
484202010-11-30 Ulrich Drepper <drepper@gmail.com>
48421
48422 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48423
a7690819
AS
484242010-11-24 Andreas Schwab <schwab@redhat.com>
48425
48426 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48427 specially.
48428 (gaih_getanswer_slice): Likewise.
48429
3bf8d1b1
JJ
484302010-10-20 Jakub Jelinek <jakub@redhat.com>
48431
48432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48433
6db52fbb
PB
484342010-05-31 Petr Baudis <pasky@suse.cz>
48435
48436 [BZ #11149]
48437 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48438 silently even in the chroot mode.
48439
eaca7569
UD
484402010-11-22 Ulrich Drepper <drepper@gmail.com>
48441
48442 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48443 last patch a bit. Pretty printing
48444
3056dcdb
UD
484452010-05-31 Petr Baudis <pasky@suse.cz>
48446
48447 [BZ #10085]
48448 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48449 initialization of skip_initgroups_dyn.
48450
cf7c9078
UD
484512010-11-19 Ulrich Drepper <drepper@gmail.com>
48452
48453 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48455
a1fb5e3e
UD
484562010-11-16 Ulrich Drepper <drepper@gmail.com>
48457
48458 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48459
3540d66b
AS
484602010-11-11 Andreas Schwab <schwab@redhat.com>
48461
48462 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48463 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48464 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48465 ($(objpfx)tst-fnmatch-mem): New rule.
48466 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48467 * posix/tst-fnmatch.c (main): Call mtrace.
48468
13b69574
L
484692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48470
48471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48472 Support Intel processor model 6 and model 0x2c.
48473
da93d214
LM
484742010-11-10 Luis Machado <luisgpm@br.ibm.com>
48475
48476 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48477 signed comparison.
48478
8ca52c6e
L
484792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48480
48481 [BZ #12205]
48482 * string/test-strncasecmp.c (check_result): New function.
48483 (do_one_test): Use it.
48484 (check1): New function.
48485 (test_main): Use it.
48486 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48487 Support strcasecmp and strncasecmp.
48488
69da074d
UD
484892010-11-08 Ulrich Drepper <drepper@gmail.com>
48490
48491 [BZ #12194]
48492 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48493 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48494
ff02d528
L
484952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48496
48497 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48498 IFUNC support.
48499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48500 memset-x86-64.
48501 * sysdeps/x86_64/multiarch/bzero.S: New file.
48502 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48503 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48504 * sysdeps/x86_64/multiarch/memset.S: New file.
48505 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48507 Set bit_Prefer_SSE_for_memop for Intel processors.
48508 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48509 Define.
48510 (index_Prefer_SSE_for_memop): Define.
48511 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48512
344d0b54
LM
485132010-11-04 Luis Machado <luisgpm@br.ibm.com>
48514
48515 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48516 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48517
c0dde15b
UD
485182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48519
48520 [BZ #12191]
48521 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48522 (__x86_64_raw_data_cache_size_half): Likewise.
48523 (__x86_64_raw_shared_cache_size): Likewise.
48524 (__x86_64_raw_shared_cache_size_half): Likewise.
48525
48526 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48527 (__x86_64_raw_data_cache_size_half): Likewise.
48528 (__x86_64_raw_shared_cache_size): Likewise.
48529 (__x86_64_raw_shared_cache_size_half): Likewise.
48530 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48531 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48532 and __x86_64_raw_shared_cache_size_half. Round
48533 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48534 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48535 to multiple of 256 bytes.
48536
0e516e0e
MS
485372010-11-03 Ulrich Drepper <drepper@gmail.com>
48538
48539 [BZ #12167]
48540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48541 of inacessible symlinks. Verify result of symlink before returning it.
48542 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48543 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48544
0e012e87
ER
485452010-10-28 Erich Ritz <erichritz@gmail.com>
48546
48547 * math/math.h (isinf): Fix typo in comment.
48548
de0ff7bc
UD
485492010-11-01 Ulrich Drepper <drepper@gmail.com>
48550
48551 * po/da.po: Update from translation team.
48552
fa41c84d
UD
485532010-10-26 Ulrich Drepper <drepper@gmail.com>
48554
48555 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48556 is added to the list.
48557
f0967738
AK
485582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48559 Ulrich Drepper <drepper@gmail.com>
48560
48561 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48562 the global list here. Move code to...
48563 (_dl_add_to_namespace_list): ...here. New function.
48564 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48565 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48566 * elf/dl-load.c (lose): Don't remove the element from the list.
48567 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48568 (_dl_map_object): Likewise.
48569
485702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48571
48572 [BZ #12159]
48573 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48574 into all bytes of SSE register.
48575 Patch by Richard Li <richardpku@gmail.com>.
48576
f0967738 485772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48578
48579 [BZ #12140]
48580 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48581 perturbing.
48582
d0b9e94f
MB
485832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48584
48585 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48586 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48587 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48588 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48590 submachine.
48591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48592
8e9f92e9
AS
485932010-10-22 Andreas Schwab <schwab@redhat.com>
48594
48595 * include/dlfcn.h (__RTLD_SECURE): Define.
48596 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48597 mode & __RTLD_SECURE instead.
48598 (open_path): Rename preloaded parameter to secure.
48599 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48600 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48601 * elf/dl-deps.c (openaux): Likewise.
48602 * elf/rtld.c (struct map_args): Remove is_preloaded.
48603 (map_doit): Don't use it.
48604 (dl_main): Likewise.
48605 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48606 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48607
bc96fbda
AS
486082010-09-09 Andreas Schwab <schwab@redhat.com>
48609
48610 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48611 (sysd-rules-targets): Remove duplicates.
48612 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48613 rtld-%.$o dependency.
48614
22cd1c9b
AS
486152010-10-18 Andreas Schwab <schwab@redhat.com>
48616
48617 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48618 _dl_map_object do it.
48619
18edac48
UD
486202010-10-19 Ulrich Drepper <drepper@gmail.com>
48621
48622 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48623 fast fma builtins, define the macros in the C99 standard.
48624 (FP_FAST_FMAF): Likewise.
48625 (FP_FAST_FMAL): Likewise.
48626 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48627
48628 * bits/mathdef.h: Update copyright year.
48629 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48630
d2050124
MM
486312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48632
48633 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48634 builtins, define the macros in the C99 standard.
48635 (FP_FAST_FMAF): Likewise.
48636 (FP_FAST_FMAL): Likewise.
48637 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48638 multiply/add.
48639 (FP_FAST_FMAF): Likewise.
48640
475facd1
JJ
486412010-10-15 Jakub Jelinek <jakub@redhat.com>
48642
48643 [BZ #3268]
48644 * math/libm-test.inc (fma_test): Some new testcases.
48645 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48646 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48647 y and infinite z. Do multiplication by C already in long double.
48648 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48650 y and infinite z. Do bitwise or of inexact bit into u.d.
48651 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48652 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48653 * sysdeps/i386/fpu/s_fma.S: Removed.
48654 * sysdeps/i386/fpu/s_fmal.S: Removed.
48655
7c08a05c
JJ
486562010-10-16 Jakub Jelinek <jakub@redhat.com>
48657
48658 [BZ #3268]
48659 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48661 computation is not scheduled after fetestexcept. Fix value
48662 of minimum denormal long double.
48663
f3f7372d
JJ
486642010-10-14 Jakub Jelinek <jakub@redhat.com>
48665
48666 [BZ #3268]
48667 * math/libm-test.inc (fma_test): Add some more tests.
48668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48669 correctly.
48670
14d43591
AS
486712010-10-15 Andreas Schwab <schwab@redhat.com>
48672
48673 * scripts/data/localplt-s390-linux-gnu.data: New file.
48674 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48675
5e908464
JJ
486762010-10-13 Jakub Jelinek <jakub@redhat.com>
48677
48678 [BZ #3268]
48679 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48680 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48681 instead of dbl-64.
48682 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48683 inlines.
48684 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48686 if one of x and y is very large and the other is subnormal.
48687 * sysdeps/s390/fpu/s_fmaf.c: New file.
48688 * sysdeps/s390/fpu/s_fma.c: New file.
48689 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48690 * sysdeps/powerpc/fpu/s_fma.S: New file.
48691 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48692 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48693 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48694
486952010-10-12 Jakub Jelinek <jakub@redhat.com>
48696
48697 [BZ #3268]
48698 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48699 fma tests.
48700 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48701 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48702 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48703 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48704 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48705 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48706 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48707
b833d51f
UD
487082010-10-12 Ulrich Drepper <drepper@redhat.com>
48709
48710 [BZ #12078]
48711 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48712 * posix/bug-regex31.input: Add test case.
48713
1751705d
UD
487142010-10-11 Ulrich Drepper <drepper@gmail.com>
48715
e9b9cbf5
UD
48716 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48717 * posix/bug-regex31.input: New file.
48718
48719 [BZ #12078]
48720 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48721 (parse_sub_exp): Fix last change, use postorder.
48722
ef06edbe
UD
48723 * posix/bug-regex31.c: New file.
48724 * posix/Makefile: Add rules to build and run bug-regex31.
48725
a129c80d
UD
48726 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48727
48728 [BZ #12078]
48729 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48730
b76b818e
UD
48731 [BZ #12108]
48732 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48733 to have entries in sys_siglist.
48734
1751705d
UD
48735 [BZ #12093]
48736 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48737 be NULL.
48738
9ff8d36f
JJ
487392010-10-07 Jakub Jelinek <jakub@redhat.com>
48740
48741 [BZ #3268]
48742 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48743 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48744 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48745 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48746 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48747 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48748 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48749 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48750 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48751 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48752 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48753 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48754 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48755 * math/ftestexcept.c (fetestexcept): Likewise.
48756 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48757 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48758 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48759 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48760 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48761 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48762 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48763
af325969
UD
487642010-10-11 Ulrich Drepper <drepper@gmail.com>
48765
c579b202 48766 [BZ #12107]
af325969
UD
48767 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48768 newline.
48769
67a67b95
UD
487702010-10-06 Ulrich Drepper <drepper@gmail.com>
48771
48772 * string/bug-strstr1.c: New file.
48773 * string/Makefile: Add rules to build and run bug-strstr1.
48774
5fb308bc
EB
487752010-10-05 Eric Blake <eblake@redhat.com>
48776
48777 [BZ #12092]
48778 * string/str-two-way.h (two_way_long_needle): Always clear memory
48779 when skipping input due to the shift table.
48780
45db99c7
UD
487812010-10-03 Ulrich Drepper <drepper@gmail.com>
48782
3b111893
UD
48783 [BZ #12005]
48784 * malloc/mcheck.c: Handle large requests.
48785
45db99c7
UD
48786 [BZ #12077]
48787 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48788 for strncmp and strncasecmp.
48789 * string/stratcliff.c: Add tests for strcmp and strncmp.
48790 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48791
cf7a1eb8
NI
487922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48793
48794 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48795 __set_fpscr.
48796
6484ba5e
AJ
487972010-09-30 Andreas Jaeger <aj@suse.de>
48798
48799 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48800 (CGROUP_SUPER_MAGIC): Define.
48801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48802 Handle btrfs and cgroup file systems.
48803 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48804 Likewise.
48805
91c42559
LM
488062010-09-27 Luis Machado <luisgpm@br.ibm.com>
48807
48808 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48809 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48810
87a97932
AK
488112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48812
48813 [BZ #12067]
48814 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48815 trying to locate the ELF header.
48816
c21cc9bc
AS
488172010-09-27 Andreas Schwab <schwab@redhat.com>
48818
48819 [BZ #11611]
48820 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48821 Mask out sign-bit copies when constructing f_fsid.
48822
315970f6
PB
488232010-09-24 Petr Baudis <pasky@suse.cz>
48824
48825 * debug/stack_chk_fail_local.c: Add missing licence exception.
48826 * debug/warning-nop.c: Likewise.
48827
1ac7a2c7
JM
488282010-09-15 Joseph Myers <joseph@codesourcery.com>
48829
48830 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48831 implementing getdents64 using getdents syscall, set d_type if
48832 __ASSUME_GETDENTS32_D_TYPE.
48833
56801c50
AS
488342010-09-16 Andreas Schwab <schwab@redhat.com>
48835
48836 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48837 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48838
dda51327
UD
488392010-09-21 Ulrich Drepper <drepper@redhat.com>
48840
48841 [BZ #12037]
48842 * posix/unistd.h: Undo change of feature selection for ftruncate from
48843 2010-01-11.
48844
8ffcee4a
UD
488452010-09-20 Ulrich Drepper <drepper@redhat.com>
48846
a545ecd9 48847 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48848 detection.
48849
e24f0a8b
AS
488502010-09-20 Andreas Schwab <schwab@redhat.com>
48851
48852 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48853 fanotify_mark.
48854 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48855
7291c56f
AS
488562010-09-14 Andreas Schwab <schwab@redhat.com>
48857
48858 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48859 variables after CHECK_SP call.
48860 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48861
bc5fb037
AS
488622010-09-13 Andreas Schwab <schwab@redhat.com>
48863 Ulrich Drepper <drepper@redhat.com>
48864
48865 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48866 re-relocationg ld.so.
48867 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48868 _dl_init_paths call.
48869 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48870 here anymore.
48871
e66e7419
UD
488722010-09-14 Ulrich Drepper <drepper@redhat.com>
48873
48874 * resolv/res_init.c (__res_vinit): Count the default server we added.
48875
c044aa75
CLT
488762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48877 Ulrich Drepper <drepper@redhat.com>
48878
48879 [BZ #11968]
48880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48881 (____longjmp_chk): Use %ebx for saving value across system call.
48882 Add unwind info.
48883
32cf4069
AS
488842010-09-06 Andreas Schwab <schwab@redhat.com>
48885
48886 * manual/Makefile: Don't mix pattern rules with normal rules.
48887
817328ee
AS
488882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48889
48890 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48891 operation.
48892 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48893 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48894 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48895 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48896 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48897 Likewise.
48898
29fddf61
UD
488992010-09-04 Ulrich Drepper <drepper@redhat.com>
48900
48901 [BZ #11979]
48902 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48903 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48904
0959ffc9
UD
489052010-09-02 Ulrich Drepper <drepper@redhat.com>
48906
48907 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48908 * sysdeps/x86_64/addmul_1.S: Likewise.
48909 * sysdeps/x86_64/lshift.S: Likewise.
48910 * sysdeps/x86_64/mul_1.S: Likewise.
48911 * sysdeps/x86_64/rshift.S: Likewise.
48912 * sysdeps/x86_64/sub_n.S: Likewise.
48913 * sysdeps/x86_64/submul_1.S: Likewise.
48914
ece29840
ST
489152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48916
0959ffc9
UD
48917 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48918 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48919 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48920 * bits/sched.h [__need_schedparam]
ece29840 48921 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48922 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48923 (__defined_schedparam): Define to 1.
ece29840
ST
48924 (__sched_param): New structure, identical to sched_param.
48925 (__need_schedparam): Undefine.
48926
e53a31fe
MF
489272010-08-31 Mike Frysinger <vapier@gentoo.org>
48928
fdc0c10d
MF
48929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48930 (epoll_create1): Declare.
48931
e53a31fe
MF
48932 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48933
a726d796
AS
489342010-08-31 Andreas Schwab <schwab@redhat.com>
48935
48936 [BZ #7066]
48937 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48938 shifting retval into place.
48939
2f3e3dc7
UD
489402010-09-01 Ulrich Drepper <drepper@redhat.com>
48941
f2933da9
UD
48942 * nis/rpcsvc/nis.h: Update copyright notice.
48943 * nis/rpcsvc/nis.x: Likewise.
48944 * nis/rpcsvc/nis_callback.h: Likewise.
48945 * nis/rpcsvc/nis_callback.x: Likewise.
48946 * nis/rpcsvc/nis_object.x: Likewise.
48947 * nis/rpcsvc/nis_tags.h: Likewise.
48948 * nis/rpcsvc/yp.h: Likewise.
48949 * nis/rpcsvc/yp.x: Likewise.
48950 * nis/rpcsvc/ypupd.h: Likewise.
48951 * nis/yp_xdr.c: Likewise.
48952 * nis/ypupdate_xdr.c: Likewise.
48953
2f3e3dc7
UD
48954 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48955 mainly the body of pmap_getport. Add parameters to specify timeouts.
48956 (pmap_getport): Use __libc_rpc_getport.
48957 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48958 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48959 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48960
f3dcc2f9
AS
489612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48962
48963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48964 fanotify_mark.
48965
6d34eb5b
RM
489662010-08-27 Roland McGrath <roland@redhat.com>
48967
48968 * sysdeps/i386/i686/multiarch/Makefile
48969 (CFLAGS-varshift.c): New variable.
48970
9ea3de11
UD
489712010-08-27 Ulrich Drepper <drepper@redhat.com>
48972
c96d23fc
UD
48973 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48974 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48975
9ea3de11
UD
48976 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48977
48978 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48979
623aac7f
L
489802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48981
48982 * sysdeps/x86_64/strlen.S: Unroll the loop.
48983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48984 strlen-sse2 strlen-sse2-bsf.
48985 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48986 __strlen_no_bsf if bit_Slow_BSF is set.
48987 (__strlen_sse42): Removed.
48988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48989 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48990
8b2b7715
RM
489912010-08-25 Roland McGrath <roland@redhat.com>
48992
48993 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48994 * sysdeps/x86_64/multiarch/varshift.c: New file.
48995 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48996 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48997 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48998 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48999
e73015f2
L
490002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49001
49002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49003 strlen-sse2 strlen-sse2-bsf.
49004 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49005 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49006 (__strlen_sse2): Removed.
49007 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49008 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49010 bit_Slow_BSF for Atom.
49011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49012 (index_Slow_BSF): Define.
49013 (HAS_SLOW_BSF): Define.
49014
df24a73e
UD
490152010-08-25 Ulrich Drepper <drepper@redhat.com>
49016
49017 [BZ #10851]
49018 * resolv/res_init.c (__res_vinit): When no server address at all
49019 is given default to loopback.
49020
f2ac4868
RM
490212010-08-24 Roland McGrath <roland@redhat.com>
49022
09055553
RM
49023 * configure.in: Remove config-name.h generation.
49024 * configure: Regenerated.
49025 * config-name.in: File removed.
49026 * scripts/config-uname.sh: New file.
49027 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49028 ($(objdir)config-name.h): New target.
49029
f2ac4868
RM
49030 * sunrpc/rpc_parse.h: Avoid nested comment.
49031
73f27d5e
RH
490322010-08-24 Richard Henderson <rth@redhat.com>
49033 Ulrich Drepper <drepper@redhat.com>
49034 H.J. Lu <hongjiu.lu@intel.com>
49035
49036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49038 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49039 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49040 _mm_alignr_epi8 with _mm_loadu_si128.
49041 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49042 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49043 (__m128i_shift_right): Removed.
49044 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49045 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49046 * sysdeps/x86_64/multiarch/varshift.h: New file.
49047 * sysdeps/x86_64/multiarch/varshift.S: New file.
49048
84b9230c
MF
490492010-08-21 Mike Frysinger <vapier@gentoo.org>
49050
49051 * configure.in: Move assembler checks to before sysdep dir checking.
49052
9bbd0ddc
PB
490532010-08-20 Petr Baudis <pasky@suse.cz>
49054
49055 * LICENSES: Sync the sunrpc license.
49056
9da4bb31
UD
490572010-08-19 Ulrich Drepper <drepper@redhat.com>
49058
a7ab6ec8
UD
49059 * sunrpc/auth_des.c: Update copyright notice once again.
49060 * sunrpc/auth_none.c: Likewise.
49061 * sunrpc/auth_unix.c: Likewise.
49062 * sunrpc/authdes_prot.c: Likewise.
49063 * sunrpc/authuxprot.c: Likewise.
49064 * sunrpc/bindrsvprt.c: Likewise.
49065 * sunrpc/clnt_gen.c: Likewise.
49066 * sunrpc/clnt_perr.c: Likewise.
49067 * sunrpc/clnt_raw.c: Likewise.
49068 * sunrpc/clnt_simp.c: Likewise.
49069 * sunrpc/clnt_tcp.c: Likewise.
49070 * sunrpc/clnt_udp.c: Likewise.
49071 * sunrpc/clnt_unix.c: Likewise.
49072 * sunrpc/des_crypt.c: Likewise.
49073 * sunrpc/des_soft.c: Likewise.
49074 * sunrpc/get_myaddr.c: Likewise.
49075 * sunrpc/getrpcport.c: Likewise.
49076 * sunrpc/key_call.c: Likewise.
49077 * sunrpc/key_prot.c: Likewise.
49078 * sunrpc/openchild.c: Likewise.
49079 * sunrpc/pm_getmaps.c: Likewise.
49080 * sunrpc/pm_getport.c: Likewise.
49081 * sunrpc/pmap_clnt.c: Likewise.
49082 * sunrpc/pmap_prot.c: Likewise.
49083 * sunrpc/pmap_prot2.c: Likewise.
49084 * sunrpc/pmap_rmt.c: Likewise.
49085 * sunrpc/rpc/auth.h: Likewise.
49086 * sunrpc/rpc/auth_unix.h: Likewise.
49087 * sunrpc/rpc/clnt.h: Likewise.
49088 * sunrpc/rpc/des_crypt.h: Likewise.
49089 * sunrpc/rpc/key_prot.h: Likewise.
49090 * sunrpc/rpc/netdb.h: Likewise.
49091 * sunrpc/rpc/pmap_clnt.h: Likewise.
49092 * sunrpc/rpc/pmap_prot.h: Likewise.
49093 * sunrpc/rpc/pmap_rmt.h: Likewise.
49094 * sunrpc/rpc/rpc.h: Likewise.
49095 * sunrpc/rpc/rpc_des.h: Likewise.
49096 * sunrpc/rpc/rpc_msg.h: Likewise.
49097 * sunrpc/rpc/svc.h: Likewise.
49098 * sunrpc/rpc/svc_auth.h: Likewise.
49099 * sunrpc/rpc/types.h: Likewise.
49100 * sunrpc/rpc/xdr.h: Likewise.
49101 * sunrpc/rpc_clntout.c: Likewise.
49102 * sunrpc/rpc_cmsg.c: Likewise.
49103 * sunrpc/rpc_common.c: Likewise.
49104 * sunrpc/rpc_cout.c: Likewise.
49105 * sunrpc/rpc_dtable.c: Likewise.
49106 * sunrpc/rpc_hout.c: Likewise.
49107 * sunrpc/rpc_main.c: Likewise.
49108 * sunrpc/rpc_parse.c: Likewise.
49109 * sunrpc/rpc_parse.h: Likewise.
49110 * sunrpc/rpc_prot.c: Likewise.
49111 * sunrpc/rpc_sample.c: Likewise.
49112 * sunrpc/rpc_scan.c: Likewise.
49113 * sunrpc/rpc_scan.h: Likewise.
49114 * sunrpc/rpc_svcout.c: Likewise.
49115 * sunrpc/rpc_tblout.c: Likewise.
49116 * sunrpc/rpc_util.c: Likewise.
49117 * sunrpc/rpc_util.h: Likewise.
49118 * sunrpc/rpcinfo.c: Likewise.
49119 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49120 * sunrpc/rpcsvc/key_prot.x: Likewise.
49121 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49122 * sunrpc/rpcsvc/mount.x: Likewise.
49123 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49124 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49125 * sunrpc/rpcsvc/rex.x: Likewise.
49126 * sunrpc/rpcsvc/rstat.x: Likewise.
49127 * sunrpc/rpcsvc/rusers.x: Likewise.
49128 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49129 * sunrpc/rpcsvc/spray.x: Likewise.
49130 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49131 * sunrpc/rtime.c: Likewise.
49132 * sunrpc/svc.c: Likewise.
49133 * sunrpc/svc_auth.c: Likewise.
49134 * sunrpc/svc_authux.c: Likewise.
49135 * sunrpc/svc_raw.c: Likewise.
49136 * sunrpc/svc_run.c: Likewise.
49137 * sunrpc/svc_simple.c: Likewise.
49138 * sunrpc/svc_tcp.c: Likewise.
49139 * sunrpc/svc_udp.c: Likewise.
49140 * sunrpc/svc_unix.c: Likewise.
49141 * sunrpc/svcauth_des.c: Likewise.
49142 * sunrpc/xcrypt.c: Likewise.
49143 * sunrpc/xdr.c: Likewise.
49144 * sunrpc/xdr_array.c: Likewise.
49145 * sunrpc/xdr_float.c: Likewise.
49146 * sunrpc/xdr_mem.c: Likewise.
49147 * sunrpc/xdr_rec.c: Likewise.
49148 * sunrpc/xdr_ref.c: Likewise.
49149 * sunrpc/xdr_sizeof.c: Likewise.
49150 * sunrpc/xdr_stdio.c: Likewise.
49151
9da4bb31
UD
49152 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49153 handling.
49154
bdaa77bc
AS
491552010-08-19 Andreas Schwab <schwab@redhat.com>
49156
49157 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49158
fe2f79db
LM
491592010-08-19 Luis Machado <luisgpm@br.ibm.com>
49160
49161 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49162 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49163 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49164 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49165 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49166 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49167 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49168 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49169 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49170 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49171 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49172 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49173 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49174 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49175
b9b42ee0
AB
491762010-07-26 Anton Blanchard <anton@samba.org>
49177
49178 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49179 * malloc/arena.c (heap_trim): Likewise.
49180
1c06ba31
UD
491812010-08-16 Ulrich Drepper <drepper@redhat.com>
49182
49183 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49184 here. Not...
49185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49186 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49187
f8392f40
L
491882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49189
49190 * sysdeps/i386/elf/Makefile: New file.
49191
3162f12e
AS
491922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49193
49194 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49195 from fanotify_init.
49196 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49198
28c90b2c
UD
491992010-08-15 Ulrich Drepper <drepper@redhat.com>
49200
49201 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49202 of strncasecmp_l.
1feccb6c 49203 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49204
ca6bb004
UD
492052010-08-14 Ulrich Drepper <drepper@redhat.com>
49206
e9f82e0d
UD
49207 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49208 strncase_l-nonascii.
49209 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49210 Add strncase_l-ssse3.
49211 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49212 * sysdeps/x86_64/strcmp.S: Likewise.
49213 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49214 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49215 * sysdeps/x86_64/strncase.S: New file.
49216 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49217 * sysdeps/x86_64/strncase_l.S: New file.
49218 * string/Makefile (strop-tests): Add strncasecmp.
49219 * string/test-strncasecmp.c: New file.
49220
49221 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49222 warning.
49223
ca6bb004
UD
49224 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49225 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49226
052fa7b3
AS
492272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49228
49229 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49230
962dba78
UD
492312010-08-12 Ulrich Drepper <drepper@redhat.com>
49232
49233 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49234 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49235 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49236
bebff237
AM
492372010-05-01 Alan Modra <amodra@gmail.com>
49238
49239 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49240 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49241 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49242 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49243 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49244 tidying. Don't tail-call __sigjmp_save for static lib.
49245 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49246 save location.
49247 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49248 (CALL_MCOUNT): Add eh info, and nop after bl.
49249 (TAIL_CALL_SYSCALL_ERROR): New macro.
49250 (PSEUDO_RET): Use it.
49251 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49252 Correct save location of integer regs and cr.
49253 (_dl_profile_resolve): Correct cr save location. Delete nops
49254 after bl when SHARED. Reduce cfi size a little by better
49255 placement of cfi directives.
49256 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49257 make a stack frame. Instead use parm save area as a temp.
49258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49259 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49261 Don't make a stack frame for parent, use parm save area.
49262 Increase child stack frame to 112 bytes. Don't save unused reg,
49263 and adjust reg usage. Set up cfi on error recovery and
49264 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49266 (__makecontext): Add dummy nop after jump to exit.
49267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49268 Use correct parm save area and cr save, reduce stack frame.
49269 Correct cfi for possible PSEUDO_RET frame setup.
49270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49271 Branch to local label emitted by PSEUDO_RET rather than
49272 __syscall_error.
49273
02637374
AS
492742010-08-12 Andreas Schwab <schwab@redhat.com>
49275
49276 [BZ #11904]
49277 * locale/programs/locale.c (print_assignment): New function.
49278 (show_locale_vars): Use it.
49279
c3e2f19b
UD
492802010-08-11 Ulrich Drepper <drepper@redhat.com>
49281
3cdaa6ad
UD
49282 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49283 field.
49284 (struct statfs64): Likewise.
49285 (_STATFS_F_FLAGS): Define.
49286 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49287 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49288 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49289 (ST_VALID): Define locally.
49290 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49291 __statvfs_getflags, use the provided value.
49292 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49293 __ASSUME_STATFS_F_FLAGS.
49294
754f7da3
UD
49295 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49296
10b3bedc
UD
49297 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49298 Add sys/fanotify.h.
49299 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49300 fanotify_mask for GLIBC_2.13.
49301 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49302 fanotify_init and fanotify_mark.
49303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49304 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49305
c08fb0d7
UD
49306 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49307 Add prlimit.
49308 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49309 prlimit64 for GLIBC_2.13.
49310 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49311 prlimit64.
49312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49313 syscall.
49314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49315 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49316 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49317 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49318 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49319 add prlimit alias.
49320 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49321
15bac72b
UD
49322 [BZ #11903]
49323 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49324 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49325
c3e2f19b
UD
49326 * nss/Makefile: Add rules to build and run tst-nss-test1.
49327 * shlib-versions: Add entry for libnss_test1.
49328 * nss/nss_test1.c: New file.
49329 * nss/tst-nss-test1.c: New file.
49330
49331 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49332 (__nss_configure_lookup): Set appropriate entry in
49333 __nss_configure_lookup to true.
49334 * nss/nsswitch.h: Define enum with indeces of databases in
49335 databases and __nss_database_custom arrays. Declare
49336 __nss_database_custom.
49337 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49338 to avoid using nscd when custom rules are installed.
49339 * nss/getXXbyYY_r.c: Likewise.
49340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49341
49342 * nss/nss_files/files-parse.c: Whitespace fixes.
49343
f15ce4d8
UD
493442010-08-09 Ulrich Drepper <drepper@redhat.com>
49345
49346 [BZ #11883]
49347 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49348 * posix/fnmatch_loop.c: Likewise.
49349
d22e4cc9
AK
493502010-07-17 Andi Kleen <ak@linux.intel.com>
49351
49352 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49353 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49354 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49355 * Versions.def [GLIBC_2.13]: Add.
49356
805bc17d
UD
493572010-08-06 Ulrich Drepper <drepper@redhat.com>
49358
49359 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49360 Also fail if tpwd after pwuid call is NULL.
49361
5a42321d
ST
493622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49363
49364 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49365 when converting to ms.
49366
fd3ebeda
ST
493672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49368
49369 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49370 EOPNOTSUPP errors with ENOTTY.
49371 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49372 EOPNOTSUPP errors with ENOTTY.
49373
73507d3a
UD
493742010-07-31 Ulrich Drepper <drepper@redhat.com>
49375
49376 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49377 Add strcasecmp_l-ssse3.
49378 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49379 strcasecmp.
49380 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49381 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49382 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49383
fe36dd02
UD
493842010-07-30 Ulrich Drepper <drepper@redhat.com>
49385
66f6765a
UD
49386 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49387
42e08a54
UD
49388 * string/Makefile (strop-tests): Add strcasecmp.
49389 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49390 strcasecmp_l-nonascii.
49391 (gen-as-const-headers): Add locale-defines.sym.
49392 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49393 * sysdeps/x86_64/strcasecmp.S: New file.
49394 * sysdeps/x86_64/strcasecmp_l.S: New file.
49395 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49396 * sysdeps/x86_64/locale-defines.sym: New file.
49397 * string/test-strcasecmp.c: New file.
49398
fe36dd02
UD
49399 * string/test-strcasestr.c: Test both ends of the range of characters.
49400 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49401
48cbc0d6
RM
494022010-07-29 Roland McGrath <roland@redhat.com>
49403
76e6d6bc 49404 [BZ #11856]
48cbc0d6
RM
49405 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49406
880113d9
UD
494072010-07-27 Ulrich Drepper <drepper@redhat.com>
49408
49409 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49410 for ld.so.
49411
deb9cabb
AS
494122010-07-27 Andreas Schwab <schwab@redhat.com>
49413
49414 * manual/memory.texi (Malloc Tunable Parameters): Document
49415 M_PERTURB.
49416
1c7570ff
RM
494172010-07-26 Roland McGrath <roland@redhat.com>
49418
49419 [BZ #11840]
49420 * configure.in (-fgnu89-inline check): Set and substitute
49421 gnu89_inline, not libc_cv_gnu89_inline.
49422 * configure: Regenerated.
49423 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49424
24fb0f88
UD
494252010-07-26 Ulrich Drepper <drepper@redhat.com>
49426
49427 * string/test-strnlen.c: New file.
49428 * string/Makefile (strop-tests): Add strnlen.
49429 * string/tester.c (test_strnlen): Add a few more test cases.
49430 * string/tst-strlen.c: Better error reporting.
49431
49432 * sysdeps/x86_64/strnlen.S: New file.
49433
8e96b93a
UD
494342010-07-24 Ulrich Drepper <drepper@redhat.com>
49435
49436 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49437 lower-latency instructions.
49438
dbc676d4
UD
494392010-07-23 Ulrich Drepper <drepper@redhat.com>
49440
49441 * string/test-strcasestr.c: New file.
49442 * string/test-strstr.c: New file.
49443 * string/Makefile (strop-tests): Add strstr and strcasestr.
49444 * string/str-two-way.h: Don't undefine MAX.
49445 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49446
f6a31e0e
AS
494472010-07-21 Andreas Schwab <schwab@redhat.com>
49448
49449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49450 strcasestr-nonascii.
49451 (CFLAGS-strcasestr-nonascii.c): Define.
49452 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49454 Remove unused attribute.
49455
5dbc3b6c
RM
494562010-07-20 Roland McGrath <roland@redhat.com>
49457
49458 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49459 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49460 ld.so.cache was broken. With it, there is no way to disable dsocaps
49461 like LD_HWCAP_MASK can disable hwcaps.
49462
23d101d8
EPM
494632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49464
49465 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49466
cc9f2e47
UD
494672010-07-16 Ulrich Drepper <drepper@redhat.com>
49468
49469 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49470 call in strcasestr.
49471 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49472 __strcasestr_sse42_nonascii.
49473 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49474 strcasestr-nonascii.c.
49475 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49476
77c1b069
LM
494772010-06-15 Luis Machado <luisgpm@br.ibm.com>
49478
49479 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49483
440566c3
UD
494842010-07-09 Ulrich Drepper <drepper@redhat.com>
49485
49486 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49487 fcntl.
49488
5be9d05d
AS
494892010-07-06 Andreas Schwab <schwab@redhat.com>
49490
c30b7ee2 49491 [BZ #11577]
5be9d05d
AS
49492 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49493 dl_signal_cerror.
49494
8a492a67
UD
494952010-07-06 Ulrich Drepper <drepper@redhat.com>
49496
49497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49498 _PC_PIPE_BUF using F_GETPIPE_SZ.
49499
713df3d5
RM
495002010-07-05 Roland McGrath <roland@redhat.com>
49501
49502 * manual/arith.texi (Rounding Functions): Fix rint description
49503 implicit in round description.
49504
702e8f14
UD
495052010-07-02 Ulrich Drepper <drepper@redhat.com>
49506
49507 * elf/Makefile: Fix linking for a few tests to make recent linker
49508 happy.
49509
52ed8be9
AS
495102010-06-30 Andreas Schwab <schwab@redhat.com>
49511
49512 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49513 $(common-objpfx)libc_nonshared.a.
49514
f47c9a11
LM
495152010-06-21 Luis Machado <luisgpm@br.ibm.com>
49516
49517 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49518 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49519 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49520 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49521 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49522 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49523 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49524 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49539 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49540 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49541 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49542 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49543 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49544 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49545 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49546 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49547 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49548 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49549 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49550 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49565
6fb8cbcb
L
495662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49567
49568 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49569 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49570 * string/memmove.c (memmove): Renamed to ...
49571 (MEMMOVE): ...this. Default to memmove.
49572 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49573 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49574 (END_CHK): Define.
49575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49576 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49577 mempcpy-ssse3-back memmove-ssse3-back.
49578 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49580 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49581 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49582 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49583 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49584 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49585 * sysdeps/x86_64/multiarch/memmove.c: New file.
49586 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49587 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49588 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49589 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49590 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49591 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49592 Define.
49593 (index_Fast_Copy_Backward): Define.
49594 (HAS_ARCH_FEATURE): Define.
49595 (HAS_FAST_REP_STRING): Define.
49596 (HAS_FAST_COPY_BACKWARD): Define.
49597
4e733bac 495982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49599
49600 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49601 Restore proper fallback handling.
49602
63c4ed22
UD
496032010-06-19 Ulrich Drepper <drepper@redhat.com>
49604
ac2b484c
UD
49605 [BZ #11701]
49606 * posix/group_member.c (__group_member): Correct checking loop.
49607
63c4ed22
UD
49608 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49609 OOM in getpwuid_r correctly. Return error number when the caller
49610 should return, otherwise -1.
49611 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49612 call returning > 0 value.
49613 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49614
765ade4b
AS
496152010-06-07 Andreas Schwab <schwab@redhat.com>
49616
49617 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49618 libc_nonshared.a from targets in modules-names.
49619
80da2e09
KS
496202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49621
49622 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49623 requires it.
49624
158db122
LM
496252010-06-10 Luis Machado <luisgpm@br.ibm.com>
49626
49627 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49628 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49629 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49630 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49631
caa78cf8
AS
496322010-06-02 Andreas Schwab <schwab@redhat.com>
49633
49634 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49635
b2ef2c01
UD
496362010-06-14 Ulrich Drepper <drepper@redhat.com>
49637
49638 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49639 and F_GETPIPE_SZ.
49640 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49644 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49645 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49646
fbd643b6
RM
496472010-06-14 Roland McGrath <roland@redhat.com>
49648
49649 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49650
f32f2869
JJ
496512010-06-07 Jakub Jelinek <jakub@redhat.com>
49652
49653 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49654 __REDIRECT followed by __THROW.
49655 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49656 * posix/getopt.h (getopt): Likewise.
49657
2a50c078
EPM
496582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49659
49660 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49661 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49662 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49663 in AT_FLAGS.
49664 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49665 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49666
eb5ad2eb
LM
496672010-05-28 Luis Machado <luisgpm@br.ibm.com>
49668
49669 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49670
3c88fe1e
L
496712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49672
49673 [BZ #11640]
49674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49675 Properly check family and model.
49676
d2f73151
TY
496772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49678
49679 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49680
ebd2e13d
LM
496812010-05-24 Luis Machado <luisgpm@br.ibm.com>
49682
49683 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49684
b32b8b45
UD
496852010-05-21 Ulrich Drepper <drepper@redhat.com>
49686
49687 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49688 symbol reference.
49689
9acbe24d
AS
496902010-05-19 Andreas Schwab <schwab@redhat.com>
49691
49692 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49693 symbol reference.
49694
f0ccf6ea
AS
496952010-05-21 Andreas Schwab <schwab@redhat.com>
49696
3d04ff3a
AS
49697 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49698 and internal_recvmmsg.
49699 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49700 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49701 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49702 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49703
f0ccf6ea
AS
49704 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49705 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49706 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49707
5b08ac57
AS
497082010-05-20 Andreas Schwab <schwab@redhat.com>
49709
49710 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49711
4828935d
LM
497122010-05-17 Luis Machado <luisgpm@br.ibm.com>
49713
49714 POWER7 optimizations.
49715 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49716 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49717
373d545e
UD
497182010-05-19 Ulrich Drepper <drepper@redhat.com>
49719
49720 * version.h: Update for 2.13 development version.
49721
21a2b1ae
AS
497222010-05-12 Andrew Stubbs <ams@codesourcery.com>
49723
49724 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49725 exceptions. Return 0.
49726
3f7dcb2b
RM
497272010-05-07 Roland McGrath <roland@redhat.com>
49728
49729 * elf/ldconfig.c (main): Add a const.
49730
5f24d53a 497312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49732
a160f8d8
UD
49733 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49734 (args_options): Add no-idn option.
49735 (ahosts_keys_int): Add idn_flags to ai_flags.
49736 (parse_option): Handle 'i' option to clear idn_flags.
49737
5f24d53a
UD
49738 * malloc/malloc.c (_int_free): Possible race in the most recently
49739 added check. Only act on the data if no current modification
49740 happened.
265bb1ce
UD
49741
49742See ChangeLog.17 for earlier changes.